Re: package TikZ e gnuplot con pdfLaTeX

#14063
Up
0
Down
::

Salve a tutti.
Sto scrivendo la tesi con (pdf)LaTeX (MiKTeX + WinEdt su WinXP) e mi farebbe comodo utilizzare le funzionalità del package TikZ di Till Tantau per plottare grafici con comandi gnuplot. Nella documentazione del package ho letto che compilando un sorgente ad es con pdfLaTeX, gnuplot dovrebbe essere richiamato automaticamente e compilare la parte di codice che gli compete. Cito dalla documentazione

For the plotting mechanism to work, two conditions must be met:
1. You must have allowed TEX to call external programs. This is often switched off by default since this
is a security risk (you might, without knowing, run a TEX file that calls all sorts of “bad” commands).
To enable this “calling external programs” a command line option must be given to the TEX program.
Usually, it is called something like shell-escape or enable-write18. For example, for my pdflatex
the option –shell-escape can be given.
2. You must have installed the gnuplot program and TEX must find it when compiling your file.

Penso che per la seconda opzione dovrebbe bastare mettere l’eseguibile di gnuplot in texmf/miktex/bin (ditemi se sbaglio!) mentre per la prima non ho proprio idea. Qualcuno saprebbe gentilmente spiegarmi come abilitare tale opzione (ricordo che sto usando winedt, mentre Tantau compila sotto linux).

Grazie in anticipo a chi vorrà rispondermi.

michele

Qualcuno dopo tutto questo tempo ha una risposta. Interessa pure a me!

Grazie.

Go to top