Tikz support for latex2rtf
Pathc contains two files tikz.c and tikz.h. This files provide functions CmdTikzpicture and CmdTikzlib. This function converts TikZ graphics to bitmap and includes this bitmap in output RTF-document.
CmdTikzlib provides TikZ libraries processing
Files tikz.c and tikz.h are attached.
You should also add following lines in file commands.c:
#include "tikz.h" // At beginning of file {"usetikzlibrary",CmdTikzlib, 0}, // To CommandArray commands[] {"tikzpicture",CmdTikzPicture, 0}, // To CommandArray params[]
Anonymous
Vadim, your patch was added to SVN (some minor changes were necessary to make it fit in the source code). It would be helpful if you could supply a LaTeX file using Tikz for testing with latex2rtf!
LaTeX file with TikZ graphics and result RTF file are attached.
Sorry, but the attachment tikz.tar.gz still only contains the source code but no LaTeX files.
Sorry, it was my error. There is new attachment.
Based on your patch, basic support for tikz graphics is now (v.2.3.4) implemented.
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
This tex file no longer works in latex2rtf
Windows introduced a "convert" command, ImageMagick in turn changed its calling syntax from "convert" to "magick convert". After updating this in the latex2png script, latex2rtf is able to process the tex file in the tikz-test.tgz (.tar.gz) archive.