URL: <http://puszcza.gnu.org.ua/bugs/?371>
Summary: TikZ externalization and PDF images Project: tex4ht Submitted by: michal_h21 Submitted on: Mon 16 Oct 2017 03:52:24 PM EEST Category: None Priority: 5 - Normal Severity: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I've added support for TikZ externalization and for PDF image inclusion. The externalization supports means that TikZ will not try to externalize the images with tex4ht compilation, saved images will be used instead. So it is necessary to compile the document using (pdf|lua|xe)latex first, with -shell-escape option. The externalized images will be included as PDF. This is connected with the second new feature, which is PDF image support. PDF images will be converted to some supported format, I've added support for SVG support as default. Inkscape is used for the conversion. New configuration, PdfConvert have been added. It has two arguments, first is the image format which should be used, the second is a command used for conversion. This is the default configuration: \Configure{PdfConvert}{svg}{"inkscape -z -f '\g...@base.pdf' -l '\Gin@base.\a:PdfConvert'"} I think we can add more configurations and use the command line options for choosing among them. The main reason to use the externalization instead of the default TikZ support for tex4ht, is that it has better support for text nodes and more TikZ features. And also the compilation speed should be better. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 16 Oct 2017 03:52:24 PM EEST Name: sample.tex Size: 1kB By: michal_h21 <http://puszcza.gnu.org.ua/bugs/download.php?file_id=287> _______________________________________________________ Reply to this item at: <http://puszcza.gnu.org.ua/bugs/?371> _______________________________________________ Message sent via/by Puszcza http://puszcza.gnu.org.ua/