Menu

#29 Tikz processing for latex2rtf

Unstable_(example)
accepted
tikz (1)
1
2018-01-03
2013-11-06
No

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[]
1 Attachments

Discussion

  • Wilfried Hennings

    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!

     
  • Vadim Kuznetsov

    Vadim Kuznetsov - 2013-11-08

    LaTeX file with TikZ graphics and result RTF file are attached.

     
  • Wilfried Hennings

    Sorry, but the attachment tikz.tar.gz still only contains the source code but no LaTeX files.

     
  • Vadim Kuznetsov

    Vadim Kuznetsov - 2013-11-08

    Sorry, it was my error. There is new attachment.

     
  • Wilfried Hennings

    Based on your patch, basic support for tikz graphics is now (v.2.3.4) implemented.

     
  • Wilfried Hennings

    • status: open --> accepted
     
  • Anonymous

    Anonymous - 2014-12-03

    This tex file no longer works in latex2rtf

     
  • Wilfried Hennings

    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.

     

Anonymous
Anonymous

Add attachments
Cancel