I was trying to use an imbeded svg within an ascidoctor file to then generate a pdf file. Generally i don't have that many graphics, but in this case i had an svg file, that i can edit perfectly in Inkscape.
When i used the latest asciidoctor-pdf (asciidoctor-pdf -v
Asciidoctor PDF 1.5.0.alpha.13 using Asciidoctor 1.5.4 [http://asciidoctor.org]
Runtime Environment (ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8))
The text part generated ok but the graphic came out somewhat messed up. I've attached the svg file.EMT_Revision3.svg
What is the proper workflow for using svg files for generating pdf files?
I seemed to have fixed my issue, and wanted to pass the info along.
My original graphic was created in LucidChart (https://www.lucidchart.com), a pretty good, free, visio-like drawing package. From this package i generated the svg file. Using asciidoctor-pdf to generate the pdf, with this graphic referenced, caused the malformed graphic output. It appears that LucidChart, for any text, draws the text as graphic objects rather than text objects. To solve the problem, i had LucidChart export the graphic as a pdf, then i imported this pdf into Inkscape. From Inkscape i generated the svg and this worked fine with asciidoctor-pdf. (Note: i don't think the issue was solely that the text was drawn as graphic objects. Inkscape did in its generated svg and that seemed to work fine.)