GNUT2P

Section: Misc. Reference Manual Pages (1 )
Index Return to Main Contents
 

NAME

gnut2p - translate GnuTeX input file to GNUPLOT input file  

SYNOPSIS

gnut2P infile outfile  

DESCRIPTION

gnut2p converts an input file for the old gnutex(1) plotting program into an input file suitable for its successor, gnuplot(1) version 2.0. This program does its best, but is not perfect. Most of gnutex will translate directly, some things will translated easily (such as set size), but some things cannot be translated (such as set style). One thing this program does is to move plot commands down past the label and key commands (which change into set label and set key commands). This may move it past other commands. If it moves past variable or function definitions, set commands, or other commands which affect the plot command's execution, then the new version will be incorrect. I expect this case to be rare; indeed, I generally expect the last lines in GnuTeX input files used with LaTeX to consist of plot, label, and key commands.

The usage of this program is simple. infile is an existing GnuTeX file, and outfile will be created as the GNUPLOT equivalent. The errors, warnings, and explanatory comments appear on stderr. Any use of line continuation will be lost, and some instances of the input style (eg, white space) may be changed.  

SEE ALSO

gnuplot(1), gnutex(1)
The "GNUPLOT" 2.0 Manual
The "GnuTeX" 1.6 Manual and Tutorial
"LaTeX and the GNUPLOT Plotting Program" (notes for former GnuTeX users).  

AUTHOR

David Kotz dfk@cs.duke.edu
 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 11:30:38 GMT, February 05, 2023