You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pandoc.process:
[pandoc] Processing D:/projects/eXml/frameworks/dita/DITA-OT3.x/plugins/fox.jason.passthrough.pandoc-master/test/input-markdown/markdown.md
[file-rename] Moving 1 file to D:\projects\eXml\frameworks\dita\DITA-OT3.x\plugins\fox.jason.passthrough.pandoc-master\test\input-markdown\temp\html5\oxygen_dita_temp
[pandoc] Processing D:/projects/eXml/frameworks/dita/DITA-OT3.x/plugins/fox.jason.passthrough.pandoc-master/test/input-markdown/Word File with various structures.docx
[pandoc] Result: 1
[pandoc] pandoc: File: openBinaryFile: does not exist (No such file or directory)
Running pandoc from the command line on the same Word document seems to work for me:
pandoc "D:/projects/eXml/frameworks/dita/DITA-OT3.x/plugins/fox.jason.passthrough.pandoc-master/test/input-markdown/Word File with various structures.docx"
The text was updated successfully, but these errors were encountered:
@jason-fox I confirm it works for me 👍 One small thing, somehow in the generated TOC the title of the word document which appears there contains %20 instead of spaces.
Btw, as pandoc does not support ASCIIDoc conversions I recently worked on a plugin for converting ASCII Doc to DITA:
I liked your idea to use ANT build files as a way to do the actual conversion so what my "dita-asciidoc" plugin does is that its XMLReader implementation class actually runs an ANT build file passing to it parameters for the input and output files:
So instead of having the custom build.xml as part of the preprocessing stage, the custom build.xml is called for each conversion and is giving a parameter for the input file and a parameter for the output file.
Probably your way of doing things is faster though because the processing is done for all resources from a single build file.
I had success in converting Markdown to DITA using the plugin.
I'm attaching a Word Document (DOCX).
Word File with various structures.docx
If I refer to it from a DITA Map:
the publishing is not able to convert it to DITA:
Running pandoc from the command line on the same Word document seems to work for me:
The text was updated successfully, but these errors were encountered: