Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picture resolutions: try to generate .svg graphics where possible to avoid losses during scaling #5

Closed
xdbr opened this issue Mar 24, 2014 · 2 comments

Comments

@xdbr
Copy link
Contributor

xdbr commented Mar 24, 2014

Note: Try to produce svg with all renderers and as a default if that is possible.

For now, a first quick round of investigation yields:

  • ditaa: N/A ?
  • dot: use -Tsvg on dot command
  • rdfdot: use file extension .svg on output file of renderer-command
  • yuml.me: use file extension .svg on output file of renderer-command (caution: this has to go through another python module, maybe do a curl oneself instead?)
  • plantuml: use -tsvg on renderer command
@nichtich
Copy link
Contributor

For PDF one cannot simply use SVG and support of SVG for PDF in pandoc will not be implemented (jgm/pandoc#265), so SVG as default is problematic. A possible workardound is to use inkscape with ConTeXt or svg-inkscape with a wrapper. If ppp can be this wrapper, use of SVG in Pandoc Markdown would be possible. Inkscape can also convert SVG to PNG with a given size in pixel:

inkscape -z -e image.png -w 800 -h 600 image.svg

@xdbr
Copy link
Contributor Author

xdbr commented Mar 31, 2014

Closing as fixed in v0.9.0

@xdbr xdbr closed this as completed Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants