jgm/pandoc

audodesk's .dfx support

kasperk81 opened this issue · 2 comments

i believe pandoc support for autodesk's .dfx -> .pdf would be a great enhancement!

spec: https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf

This is wildly –hilariously– out of scope for Pandoc. 😄 DXF files are not documents, they are CAD / vector graphics. There would be nothing at all to convert into a document tree that corresponds to any of the other document formats. They don't have headings and sections and paragraphs and block quotes and emphasis and footnotes and links — they have layers and lines and line weights and curves and coordinates and layers and such.

PDF is in fact not exactly a document format either and you might be surprised to learn that Pandoc does not even create them! It only creates document formats that other helper programs (specifically typesetters) render into PDF (such as LaTeX or HTML). Then it calls the external helper program to render that document format into a finished layout saved as a PDF, which is essentially an image format. A vector image format, but more an image format than a document format.

Rendering a DXF to a PDF is a reasonable operation to need to do and there are tools that can do it, but it isn't reasonable to do that with a document manipulation tool: this is pandoc not panimage, panformat, pandraw, etc.

ouch, lol. thanks for the write up. i will try my luck elsewhere. 😜