File: latexinfo2.info Node: Installing LaTeXinfo, Prev: Extending LaTeXinfo, Up: Top, Next: Converting Files to LaTeXinfo Installing LaTeXinfo ******************** * Menu: * Compiling LaTeXinfo:: * Installing the LaTeXinfo Distribution::  File: latexinfo2.info Node: Compiling LaTeXinfo, Prev: Installing LaTeXinfo, Up: Installing LaTeXinfo, Next: Installing the LaTeXinfo Distribution Compiling LaTeXinfo =================== To compile LaTeXinfo: 1. Run the shell script `configure'. You will be asked to provide the following: BINDIR Where to install the executables. INFODIR Where to install the info files. EMACS the name of your GNU Emacs. These must exists, and you must be able to write to these directories. For example, Where would you like to install the binaries? Please type the full path to your binaries directory: >/usr5/gnu/bin-sparc The binaries path was verfied to be [/usr5/gnu/bin-sparc] Where are the Gnu Info files located? Please type the full path to your info directory: >/usr5/gnu/info The Info directory was verfied to be [/usr5/gnu/info] Where is your GNU Emacs command: Please type the name of your GNU Emacs command: >xemacs 2. Then you will be asked: Would you like to install the elisp and LaTeX files elsewhere, or leave them here, and set an environment variable to point to here? Set an environment variable to point to here [y/n]? If you choose y `configure' will set the environment variable `LATEXINFO' in the `.login' to point to this directory, and you won't need to `make install'. n You will be asked about: ELISPDIR Where to install the compiled Elisp code. TEXDIR Where to install the style files. For example, Set an environment variable to point to here [y/n]? n Where would you like to install GNU Emacs code (elisp)? Please type the full path to your elisp directory: >/usr5/gnu/lib/emacs/latexinfo The elisp path was verfied to be [/usr5/gnu/lib/emacs/latexinfo] Where would you like to install the LaTeX style files? Please type the full path to your LaTeX style directory: >/usr5/gnu/lib/tex The LaTeX style path was verfied to be [/usr5/gnu/lib/tex] 3. Type `make'. This will make the executables `latexindex', `info', make the manual, and compile the `.el' files. It will also make the files `.emacs' and `.login'. You may also have to change the definitions of your LaTeX commands in the shell script `manual/latex2dvi' is you are unusual.  File: latexinfo2.info Node: Installing the LaTeXinfo Distribution, Prev: Compiling LaTeXinfo, Next: Installing the Style Files Installing the LaTeXinfo Distribution ===================================== 1. If you chose to install the elisp and LaTeX files elsewhere, type `make install' to make the executables, the manual and compile the `.el' files. This will `make install.C' which will move the executables to `BINDIR'. `make install.manual' which will move a copy of the files `manual/latexinfo.info*' to the info directory of the GNU Emacs distribution specified by `INFODIR', and a copy of the sample file to the LaTeX styles directory specified by `TEXDIR'. `make install.elisp' which will move a copy of the files `styles/*.elc' to the the GNU Emacs lisp directory specified by `ELISPDIR'. `make install.styles' which will move a copy of the files `styles/*.sty' to the the LaTeX styles directory specified by `TEXDIR'. 2. Edit the `dir' file in `INFO' directory to include lines like * LaTeXinfo: (latexinfo2.info). With one source file, make either a printed manual using LaTeX or an Info file. 3. Include a copy of the `.emacs' file in your `~/.emacs'. 4. Include a copy of the `.login' file in your `~/.login'. 5. Print a copy of the `manual/latexinfo.dvi' file and enjoy.