#555 cairolatex terminal


In patch tracker 3397971, the possibility of a cairo variant of the epslatex terminal was discussed.
The attached patch implements this idea and additionally adds a pdflatex terminal.

Positioning of text is still far from perfect, especially for the pdflatex terminal. This is partially due to the fact that the bounding box of the eps/pdf graph is a little off. Help texts are still missing.


  • Bastian Märkisch

    Following the suggestion of cbersch, this new patch implements a single new terminal "cairolatex" with options "eps" and "pdf".

    Since the bounding box of the cairo eps and pdf backend currently does not exactly match what we asked for, text and graph currently do not align out-of-the-box. This problem can be (partially) solved by displacing the graph a bit by manually modifying the \put command in front of \includegraphics in the generated .tex file.

  • Bastian Märkisch

    New version of the cairolatex terminal. The bounding box of eps files is fixed to the canvas size, overwriting any determination of a minimal box by Cairo. Thus, text placement is ok now (or rather graph placement).

    Is this code ok for CVS? Help text will follow, of course.

  • Bastian Märkisch

    • summary: epscairolatex and pdflatex terminals --> cairolatex terminal
  • Bastian Märkisch

    cairolatex terminal, 4th update

  • Bastian Märkisch

    Update to current CVS plus some enhancements:
    - Thanks to Christoph Bersch's background code for epslatex, the background option is now handled correctly.
    - Bounding Box issues have been fixed in the same way as for the epscairo terminal.
    - A modified copy of the epslatex help text is now included.

    In summary, this should now be completely working.
    diffstat: 4 files changed, 482 insertions(+), 31 deletions(-)

  • Bastian Märkisch

    • status: open --> closed-accepted

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks