Skip to content

Commit

Permalink
updated for attachments support, metanorma/metanorma-standoc#872
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Mar 4, 2024
1 parent c7d8f0c commit a58ea3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/metanorma/fop/PDFGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,9 @@ private void convertmn2pdf(fontConfig fontcfg, XSLTconverter xsltConverter, File
additionalXSLTparams.setProperty("basepath", basepath);

File fInputXML = new File(inputXMLFilePath);
additionalXSLTparams.setProperty("inputxml_basepath", fInputXML.getParent() + File.separator);
String fInputXMLParent = fInputXML.getAbsoluteFile().getParent() + File.separator;

additionalXSLTparams.setProperty("inputxml_basepath", fInputXMLParent);
additionalXSLTparams.setProperty("inputxml_filename", fInputXML.getName());

xsltConverter.setParams(additionalXSLTparams);
Expand Down

0 comments on commit a58ea3c

Please sign in to comment.