How to install Texinfo addin in TeX Live W32


In the following, $INSTALLDIR is $SELFAUTOPARENT in the TeX Live,
that is, the parent directory of "texmf-dist". Actually the
directory $INSTALLDIR is shown by a command:

   kpsewhich --var-value=SELFAUTOPARENT


(1) Expand the file tl-texinfo.zip in $INSTALLDIR.
   Then you can typeset Texinfo files:

   [A] DVI MODE (dvi --> dvips --> ps2pdf)
       Used engine is etex.
       texi2dvi --verbose filename.texi

   [B] PDF MODE (create pdf directly)
       Used engines are pdftex , xetex, luatex, luahbtex.
       1. engin = pdftex
       texi2pdf --verbose filename.texi
       2. engin = xetex
       set PDFTEX=xetex& texi2pdf --verbose filename.texi
       3. engin = luatex
       set PDFTEX=luatex& texi2pdf --verbose filename.texi
       4. engin = luahbtex
       set PDFTEX=luahbtex& texi2pdf --verbose filename.texi

   Supported encoding is UTF-8 only.
   makeinfo etc. in the original Texinfo are not supported.


(2) If you define an environment variable TEXINPUTS as
   set TEXINPUTS=$INSTALLDIR/texmf-texinfo/tex/texinfo;
   Japanese extension by M. Hosoda becomes available:
   set PDFTEX=xetex& texi2pdf --verbose yatex-lx.texi
   in cmd.exe command line creates yatex-lx.pdf.
   An example file yatex-lx.texi is in texmf-texinfo/doc/texinfo.
   Note that, in defining the environment variable TEXINPUTS,
   you should input the actual value of $INSTALLDIR, for example,
   set TEXINPUTS=C:/texlive/2020/texmf-texinfo/tex/texinfo;
   and the trailing semicolon, ";" is absolutely necessary.


(3) How to uninstall Texinfo addin in TeX Live W32.
   When tl-texinfo.zip is expanded in $INSTALLDIR, a batch file
   uninstalltexinfo.bat is also created in $INSTALLDIR directory.
   For safety, examine contents in the file uninstalltexinfo.bat.
   Go to $INSTALLDIR, and run the batch file uninstalltexinfo.bat.
   Then the Texinfo addin is removed. For example:

   cd C:\texlive\2020
   uninstalltexinfo.bat

   uninstalltexinfo.bat finally removes itself. You will see a
   message:
   "Batch file is not found"
   Ignore this message.

--
Akira Kakuto