User talk:Nbarth/Archive 2013

Latest comment: 10 years ago by Nbarth in topic Svg output from LaTeX source

Archive 2012 | Archive 2013 | Archive 2014

Svg output from LaTeX source

Hello Nils, I wonder how to produce Svg output from LaTeX source files. Apparently, you know how to do that, and produced your File:Affine space, projective space, vector space.svg this way. Could you tell me how you achieved that? (My LaTeX produces dvi or pdf, the latter leading to dirty-looking jpg-rendering of Wikipedia thumbnail images, see e.g. File:Combination of abstract domains.pdf.) Many thanks in advance. Best regards - Jochen Burghardt (talk) 12:18, 12 December 2013 (UTC)

Hi Jochen,
Thanks for the interest, and sorry for forgetting to include a link!
(Added links to file page and to category pages.)
The help is at Help:Displaying a formula: Commutative diagrams, and specific details about conversion to SVG are at: Help:Displaying a formula: Convert to SVG.
Hope these help, and if you need any further help, feel free to ask!
—Nils von Barth (nbarth) (talk) 14:58, 12 December 2013 (UTC)

Hi Nils, eventually, I achieved to install pdf2svg (Thank you again for your information!!), to convert my pdf images to svg, upload and categorize them again, and to replace the links from the wikipedia articles (e.g. en:Abstract interpretation). I think all that work could have been avoided if the wikipedia/commons server would render thumbnails of pdf images in svg (rather than jpg) format, and provide a downloadable svg version via the image description page. After all, vector graphic is preferred over raster graphic; the thumbnailing mechanism should reflect this priority. Do you have an idea where/how to issue such a suggestion? - Jochen Burghardt (talk) 14:28, 30 December 2013 (UTC)

Thanks Jochen – no problem, and glad you managed to get it working!
I’ve done a bit of additional cleanup (copying the description and source code to the SVG file, and listing File:Combination of abstract domains.pdf for deletion; I assume this is ok, as the SVG version is much better).
For automatic conversion of PDF to SVG, you could place a request or question at the Village pump, where people could address it. I suspect that our use case (diagrams created in PDF) is a bit too specialized though – usually PDF files are (large) documents, so converting them to SVG would generate massive files, when all that’s needed for commons is a simple preview (since it’s going to be downloaded), for which JPEG is sufficient. Still, worth a shot – SVG would be nicer if it works!
Have a great new year, and thanks again.
—Nils von Barth (nbarth) (talk) 00:40, 5 January 2014 (UTC)
Return to the user page of "Nbarth/Archive 2013".