fchauvel / flap

Flattening LaTeX projects
https://fchauvel.github.io/flap
GNU General Public License v3.0
17 stars 2 forks source link

A matter of taste #7

Closed gro1729 closed 8 years ago

gro1729 commented 8 years ago

Today, I sent the merged presentation to several colleagues. Some of them use Linux, most of them work with Windows. Conversion from SVG to PDF works properly on Linux. The typical Windows-Installation of Inkscape does not work in combination with TeXLive. As a consequence, I changed "engine.py":

   def extensions_by_priority(self):

return ["svg"]

       return ["pdf"]
fchauvel commented 8 years ago

From the top of my head, I guess we could have return both extensions, So that the engine searches for PDF files first, and then searches for SVG files otherwise. Though, I haven't tested that.

return ["svg", "pdf"]
gro1729 commented 8 years ago

The suggested replacement does not seem to work

gro1729 commented 8 years ago

Sorry, my fault:

  return ["pdf", "svg"]

works