summaryrefslogtreecommitdiff
path: root/systems/win32/w32tex/TLTEXINFO/00README-TEXINFO.TL
blob: c6adcea343069ec15474cc996bb38b11334b7464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
        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