![]() Running pf2svg on the output of pdfcrop.sh gives the right -hand image below: Left: dvisvgm. ![]() pdfcrop.sh by default crops white space off the edges. configure worked apt-cyg is very nice: cd installs/Īpt-cyg install libpoppler-glib-devel libpoppler-develĪnd it works a treat for a 1-page file: $ pdf2svg.exe unsrt-eg.pdf unsrt-eg.svgĪlso works on cropped ones. Then here is the bit of Cygwin bash history (Cygwin = no use of sudo) I’m not sure exactly what the dependencies are, I just installed things until. Run setup-x8664.exe any time you want to update or install a Cygwin package for 64-bit windows. There is also pdf2svg, a separate program. Installing and Updating Cygwin for 64-bit versions of Windows. No other programs have problems with the cropped PDFs, but you never know! Also, the dvisvgm on Cygwin is version 2.9, not quite the latest. I used pdfcrop.sh, which uses a combination of gs and pdftk and perl. The problem might relate to how the image were cropped. I found that it worked well unless the PDF had been cropped, in which case it seemed to use a box the size of the cropped PDF but the box had an origin where the uncropped PDF did, so it cut off some of the image. ![]() It can convert PDF and EPS as well as DVI files to SVG. First is dvisvgm, that is generally part of a modern LaTeX suite, or can radily be installed alongside.
0 Comments
Leave a Reply. |