biohackrxiv / bhxiv-gen-pdf

Generate a PDF for BioHackrXiv.org
GNU General Public License v3.0
5 stars 12 forks source link

add rsvg2pdf #12

Closed inutano closed 3 years ago

inutano commented 3 years ago

cc. @bblodfon

bblodfon commented 3 years ago

@inutano I tested it with the ./bin/gen-pdf example/logic/ "Covid2020" (I put a test .svg image in the logic directory and used it on the paper.md) and it returns an error:

[WARNING] Could not convert image '/tmp/tex2pdf.-1f36b9004c2c71fa/f7751026b93eef56705e7dc45dd65a9f36f3431f.svg': check that rsvg-convert is in path.
  rsvg-convert: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
Error producing PDF.
! LaTeX Error: Unknown graphics extension: .svg.
pjotrp commented 3 years ago
[WARNING] Could not convert image '/tmp/tex2pdf.-1f36b9004c2c71fa/f7751026b93eef56705e7dc45dd65a9f36f3431f.svg': check that rsvg-convert is in path.
  rsvg-convert: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
Error producing PDF.
! LaTeX Error: Unknown graphics extension: .svg.

Do you mind creating a branch that we can use to reproduce the problem?

bblodfon commented 3 years ago

See #16