| <!DOCTYPE html> |
| <html> |
| <!-- Created by Texinfo 6.8dev+dev, http://www.gnu.org/software/texinfo/ --> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <!-- This manual is for GNU Texinfo (version 6.8dev, 23 February 2022), |
| a documentation system that can produce both online information and a |
| printed manual from a single source using semantic markup. |
| |
| Copyright (C) 1988, 1990-1993, 1995-1999, 2001-2022 Free Software Foundation, Inc. |
| |
| Permission is granted to copy, distribute and/or modify this document |
| under the terms of the GNU Free Documentation License, Version 1.3 or |
| any later version published by the Free Software Foundation; with no |
| Invariant Sections, with no Front-Cover Texts, and with no Back-Cover |
| Texts. A copy of the license is included in the section entitled |
| "GNU Free Documentation License". --> |
| <title>Preparing for TeX (GNU Texinfo 6.8dev)</title> |
| |
| <meta name="description" content="Preparing for TeX (GNU Texinfo 6.8dev)"> |
| <meta name="keywords" content="Preparing for TeX (GNU Texinfo 6.8dev)"> |
| <meta name="resource-type" content="document"> |
| <meta name="distribution" content="global"> |
| <meta name="Generator" content="texi2any"> |
| <meta name="viewport" content="width=device-width,initial-scale=1"> |
| |
| <link href="index.html" rel="start" title="Top"> |
| <link href="Command-and-Variable-Index.html" rel="index" title="Command and Variable Index"> |
| <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> |
| <link href="Hardcopy.html" rel="up" title="Hardcopy"> |
| <link href="Overfull-hboxes.html" rel="next" title="Overfull hboxes"> |
| <link href="Requirements-Summary.html" rel="prev" title="Requirements Summary"> |
| <style type="text/css"> |
| <!-- |
| div.display {margin-left: 3.2em} |
| div.example {margin-left: 3.2em} |
| pre.display-preformatted {font-family: inherit} |
| span.r {font-family: initial; font-weight: normal} |
| --> |
| </style> |
| |
| |
| </head> |
| |
| <body lang="en"> |
| <div class="section-level-extent" id="Preparing-for-TeX"> |
| <div class="nav-panel"> |
| <p> |
| Next: <a href="Overfull-hboxes.html" accesskey="n" rel="next">Overfull “hboxes”</a>, Previous: <a href="Requirements-Summary.html" accesskey="p" rel="prev">TeX Formatting Requirements Summary</a>, Up: <a href="Hardcopy.html" accesskey="u" rel="up">Formatting and Printing Hardcopy</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p> |
| </div> |
| <hr> |
| <h3 class="section" id="Preparing-for-TeX-1">18.9 Preparing for TeX</h3> |
| <a class="index-entry-id" id="index-Preparing-for-TeX"></a> |
| <a class="index-entry-id" id="index-TeX-input-initialization"></a> |
| <a class="index-entry-id" id="index-_002eprofile-initialization-file"></a> |
| <a class="index-entry-id" id="index-_002ecshrc-initialization-file"></a> |
| <a class="index-entry-id" id="index-Initialization-file-for-TeX-input"></a> |
| |
| <p>TeX needs to find the <samp class="file">texinfo.tex</samp> file that the |
| ‘<samp class="samp">\input texinfo</samp>’ command on the first line reads. The |
| <samp class="file">texinfo.tex</samp> file tells TeX how to handle @-commands; it is |
| included in all standard GNU distributions. The latest version |
| released for general use is available |
| from the usual GNU servers and mirrors: |
| </p> |
| <div class="display"> |
| <pre class="display-preformatted"><a class="uref" href="http://ftp.gnu.org/gnu/texinfo/texinfo.tex">http://ftp.gnu.org/gnu/texinfo/texinfo.tex</a> |
| <a class="uref" href="http://ftpmirror.gnu.org/texinfo/texinfo.tex">http://ftpmirror.gnu.org/texinfo/texinfo.tex</a> |
| </pre></div> |
| |
| <p>The latest development version is available from the Texinfo source |
| repository: |
| </p> |
| <div class="display"> |
| <pre class="display-preformatted"><a class="uref" href="http://git.savannah.gnu.org/cgit/texinfo.git/plain/doc/texinfo.tex">http://git.savannah.gnu.org/cgit/texinfo.git/plain/doc/texinfo.tex</a> |
| </pre></div> |
| |
| <a class="index-entry-id" id="index-texinfo_002etex_002c-installing"></a> |
| <p><samp class="file">texinfo.tex</samp> is essentially a standalone file, |
| so, if you need or want to try a newer version |
| than came with your system, it nearly always suffices to download it |
| and put it anywhere that TeX will find it. You can replace |
| any existing <samp class="file">texinfo.tex</samp> with a newer version (of course saving |
| the original in case of disaster). |
| </p> |
| <a class="index-entry-id" id="index-epsf_002etex_002c-installing"></a> |
| <p>Also, you should install <samp class="file">epsf.tex</samp>, if it is not already installed |
| from another distribution. More details are at the end of the description |
| of the <code class="code">@image</code> command (see <a class="pxref" href="Images.html">Inserting Images</a>). |
| </p> |
| <a class="index-entry-id" id="index-European-Computer-Modern-fonts-1"></a> |
| <a class="index-entry-id" id="index-EC-fonts_002c-installing"></a> |
| <a class="index-entry-id" id="index-CM_002dSuper-fonts-1"></a> |
| <p>To use quotation marks other than those used in English, you’ll need |
| to have the European Computer Modern fonts (e.g., <samp class="file">ecrm1000</samp>) and |
| (for PDF output) CM-Super fonts (see <a class="pxref" href="Inserting-Quotation-Marks.html">Inserting Quotation Marks</a>). |
| </p> |
| <a class="index-entry-id" id="index-feymr10"></a> |
| <a class="index-entry-id" id="index-Euro-font_002c-installing"></a> |
| <p>To use the <code class="code">@euro</code> command, you’ll need the ‘<samp class="samp">feym*</samp>’ fonts |
| (e.g., <samp class="file">feymr10</samp>). See <a class="xref" href="_0040euro.html"><code class="code">@euro</code> (€): Euro Currency Symbol</a>. |
| </p> |
| <p>All of the above files should be installed by default in a reasonable |
| TeX installation. |
| </p> |
| <a class="index-entry-id" id="index-texinfo_002ecnf-installation"></a> |
| <a class="index-entry-id" id="index-Customizing-of-TeX-for-Texinfo"></a> |
| <a class="index-entry-id" id="index-Site_002dwide-Texinfo-configuration-file"></a> |
| <p>Optionally, you may create a file <samp class="file">texinfo.cnf</samp> for site configuration. |
| When processing a Texinfo file, TeX looks for this file |
| in its search path, which includes the current directory and standard |
| installation directories. |
| You can use this file for local conventions. For example, if |
| <samp class="file">texinfo.cnf</samp> contains the line |
| ‘<samp class="samp">@afourpaper</samp>’ (see <a class="pxref" href="A4-Paper.html">Printing on A4 Paper</a>), then all Texinfo documents |
| will be processed with that page size in effect. If you have nothing |
| to put in <samp class="file">texinfo.cnf</samp>, you do not need to create it. |
| </p> |
| <a class="index-entry-id" id="index-Environment-variable-TEXINPUTS"></a> |
| <a class="index-entry-id" id="index-TEXINPUTS"></a> |
| <p>You can set the <code class="code">TEXINPUTS</code> environment variable |
| to allow TeX to find <samp class="file">texinfo.cnf</samp>. |
| (This also works for <samp class="file">texinfo.tex</samp> and any other file TeX |
| might read). For example, if you are using a Bourne shell-compatible shell |
| (<code class="code">sh</code>, <code class="code">bash</code>, <code class="code">ksh</code>, …), your <samp class="file">.profile</samp> file |
| could contain the lines: |
| </p> |
| <div class="example"> |
| <pre class="example-preformatted">TEXINPUTS=.:/home/me/mylib: |
| export TEXINPUTS |
| </pre></div> |
| |
| <p>These settings would cause TeX first to look for an <samp class="file">\input</samp> file |
| in the current directory, indicated by the ‘<samp class="samp">.</samp>’, then in a |
| hypothetical user ‘<samp class="samp">me</samp>’’s <samp class="file">mylib</samp> directory, and finally in |
| the system directories. (A leading, trailing, or doubled ‘<samp class="samp">:</samp>’ |
| indicates searching the system directories at that point.) |
| </p> |
| |
| </div> |
| <hr> |
| <div class="nav-panel"> |
| <p> |
| Next: <a href="Overfull-hboxes.html">Overfull “hboxes”</a>, Previous: <a href="Requirements-Summary.html">TeX Formatting Requirements Summary</a>, Up: <a href="Hardcopy.html">Formatting and Printing Hardcopy</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p> |
| </div> |
| |
| |
| |
| </body> |
| </html> |