Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #955

Re: Question about tikz terminal

From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Question about tikz terminal
Date 2012-02-22 09:56 +0100
Organization GWDG, Goettingen
Message-ID <ji2ak0$1lvb$2@gwdu112.gwdg.de> (permalink)
References <ji0gln$e4v$1@news.albasani.net>

Show all headers | View raw


On 21.02.2012 17:27, Gudrun wrote:
> Dear all,
> I am able to create an output via tikz terminal using
> set term tikz size 5in,3in standalone header
> "\\usepackage{MyGnuplotLaTeX}" font "\\rmfamily,12"
>
> I obtain a .tex-file. Although this tex-file contains the line
> \begin{document}, it has no \end{document} which results in a problem if
> my gnuplot script has the following lines:
>
>
> system(sprintf('pdflatex %s%s', basename, end3))
>
> basename=filename
> end3=.tex
>
> The terminal is not able to finish pdflatex as it asks for an \end. At
> least I assume the missing \end{document} is the reason for this.
> Terminal says: (Please type a command or say `\end')
> If I type into the terminal \end{document}, the latex run finsihes.
>
> How can this be fixed, please?

Type a

set output

before the pdflatex compilation line:

set term tikz
...
set output
system(sprintf('pdflatex %s%s', basename, end3))


Christoph

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Question about tikz terminal Gudrun <bestenborstel@gmail.com> - 2012-02-21 16:27 +0000
  Re: Question about tikz terminal Gudrun <bestenborstel@gmail.com> - 2012-02-21 16:55 +0000
    Re: Question about tikz terminal Christoph Bersch <usenet@bersch.net> - 2012-02-22 09:54 +0100
      Re: Question about tikz terminal Gudrun <bestenborstel@gmail.com> - 2012-02-22 14:18 +0000
  Re: Question about tikz terminal Christoph Bersch <usenet@bersch.net> - 2012-02-22 09:56 +0100
    Re: Question about tikz terminal Gudrun <bestenborstel@gmail.com> - 2012-02-22 14:23 +0000

csiph-web