diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots.install.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfplots/pgfplots.install.tex | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.install.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.install.tex index 13bb6c9afdd..b94fa632f7b 100644 --- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.install.tex +++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.install.tex @@ -13,16 +13,16 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GNU General Public License can be found in the package file -\begin{lstlisting} +\begin{verbatim} doc/latex/pgfplots/gpl-3.0.txt -\end{lstlisting} +\end{verbatim} You may also visit~\url{http://www.gnu.org/licenses}. \subsection{Prerequisites} \PGFPlots\ requires \PGF\ with \textbf{at least version~$2.0$}. It is used with -\begin{lstlisting} +\begin{verbatim} \usepackage{pgfplots} -\end{lstlisting} +\end{verbatim} in your preamble (see section~\ref{sec:tex:dialects} for information about how to use it with Con{\TeX}t and plain \TeX). There are several ways how to teach \TeX\ where to find the files. Choose the option which fits your needs best. \subsection{Installation in Windows} @@ -30,21 +30,21 @@ Windows users often use Mik\TeX\ which downloads the latest stable package versi \subsection{Assigning the \texttt{TEXINPUTS} Variable} You can simply install \PGFPlots\ anywhere on your disc, for example into -\begin{lstlisting} +\begin{verbatim} /foo/bar/pgfplots. -\end{lstlisting} +\end{verbatim} Then, you set the \texttt{TEXINPUTS} variable to -\begin{lstlisting} +\begin{verbatim} TEXINPUTS=/foo/bar/pgfplots//: -\end{lstlisting} +\end{verbatim} The trailing~`\texttt{:}' tells \TeX\ to check the default search paths after \lstinline!/foo/bar/pgfplots!. The double slash~`\texttt{//}' tells \TeX\ to search all subdirectories. If the \texttt{TEXINPUTS} variable already contains something, you can append the line above to the existing \texttt{TEXINPUTS} content. Furthermore, you should set |TEXDOCS| as well, -\begin{lstlisting} +\begin{verbatim} TEXDOCS=/foo/bar/pgfplots//: -\end{lstlisting} +\end{verbatim} so that the \TeX-documentation system finds the files |pgfplots.pdf| and |pgfplotstable.pdf| (on some systems, it is then enough to use |texdoc pgfplots|). Please refer to your operating systems manual for how to set environment variables. @@ -58,7 +58,7 @@ A TDS conforming installation will use the same base directory as in the last se Do not forget to run \lstinline!texhash!. \subsection{If everything else fails...} -If \TeX\ still doesn't find your files, you can copy all \lstinline!.sty!-files into your current project's working directory. +If \TeX\ still doesn't find your files, you can copy all \lstinline!.sty! and all |.tex|-files into your current project's working directory. Please refer to \url{http://www.ctan.org/installationadvice/} for more information about package installation. @@ -80,12 +80,14 @@ Furthermore, \PGF\ needs to know a \emph{driver} so that the DVI file can be con \item \lstinline!latex!/\lstinline!dvips! does not need anything special because \lstinline!dvips! is the default driver if you invoke \lstinline!latex!. \item \lstinline!pdflatex! will also work directly because \lstinline!pdflatex! will be detected automatically. \item \lstinline!latex!/\lstinline!dvipdfm! requires to use -\begin{lstlisting} +\begin{verbatim} \def\pgfsysdriver{pgfsys-dvipdfm.def} %\def\pgfsysdriver{pgfsys-pdftex.def} %\def\pgfsysdriver{pgfsys-dvips.def} \usepackage{pgfplots}. -\end{lstlisting} +\end{verbatim} The uncommented commands could be used to set other drivers explictly. \end{itemize} Please read the corresponding sections in~\cite[Section 7.2.1 and 7.2.2]{tikz} if you have further questions. These sections also contain limitations of particular drivers. + +The choice which won't produce any problems at all is |pdflatex|. |