yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

Direct SVG->PDF support #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Both pdflatex and xelatex can include SVG images as PDFs, however, there seems 
to be no reason to convert those SVGs to EPS first before converting to PDF, 
since inkscape can convert directly to PDF. Patch is attached, but there is 
probably something I'm missing, therefore only as a bug report, feel free to 
close it.

If this patch is not accepted, then some minor fixing should be done, since at 
least convert-svg seems to have the equals sign in --export-eps on the wrong 
side of the closing paren.

Original issue reported on code.google.com by nikol...@prokoschenko.de on 16 Aug 2010 at 9:17

Attachments:

GoogleCodeExporter commented 9 years ago
Is this, in fact, converting to EPS first for you?  This should only happen if 
the build strategy is set to latex instead of pdflatex.  That's why the logic 
is in there to either emit the ps or pdf flag.  The logic that your patch 
deletes is there for backward compatibility, and shouldn't really be affecting 
your use of the makefile.  If it is, then that's a bug and I need to fix it.

Original comment by shiblon on 7 Sep 2010 at 7:56

GoogleCodeExporter commented 9 years ago
I don't know what was causing your version of the makefile to attempt to move 
through eps first, but I can't reproduce it here.  Just the same, I wrapped the 
svg -> eps code in an if block that should keep make from using it as an 
intermediate step when pdf is the intended output.

r92405c50b8df has the fix.  Full makefile attached.

Original comment by shiblon on 4 Jan 2011 at 3:53

Attachments: