diff options
Diffstat (limited to 'info/ptex-manual/ptex-guide-en.tex')
-rw-r--r-- | info/ptex-manual/ptex-guide-en.tex | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/info/ptex-manual/ptex-guide-en.tex b/info/ptex-manual/ptex-guide-en.tex index 7e7eab90ba..66c651cc76 100644 --- a/info/ptex-manual/ptex-guide-en.tex +++ b/info/ptex-manual/ptex-guide-en.tex @@ -270,7 +270,10 @@ but may also apply to other countries: they do without driver options unless really needed. For example, the convention of having a global driver option does no harm even when no driver-dependent package is used, but - some users choose to omit a driver option to avoid a warning: + some users choose to omit a driver option to avoid a warning\footnote{% + Since \LaTeXe~2020-02-02, this warning is effectively gone. This is due + to preloading of \Pkg{expl3} into the format, and the driver-dependent + code of \Pkg{expl3} interprets the global driver option.}: \begin{verbatim} LaTeX Warning: Unused global option(s): [dvipdfmx]. @@ -332,19 +335,25 @@ both two drivers. A DVI file which is output by \pTeX\ can be converted directly to a PDF file using dvipdfmx. -% [TODO] Mention kanji-config-updmap for font setup +For Japanese fonts to be used in the output PDF, dvipdfmx refers to +|kanjix.map| generated by the command |updmap|. +You can use the script |kanji-config-updmap| to change font settings; +please refer to its help message or documentation. \subsubsection{Using \emph{dvips}} A DVI file which is output by \pTeX\ can be converted to a PostScript file using dvips. -% [TODO] Mention kanji-config-updmap again +For Japanese fonts to be used in the output PostScript, dvips refers to +\code{psfonts.map} generated by the command \code{updmap}. +You can use the script |kanji-config-updmap| to change font settings; +please refer to its help message or documentation. The resulting PostScript file can then be converted to a PDF file using Ghostscript (ps2pdf) or Adobe Distiller. When using Ghostscript, a proper setup of Japanese font must be done before converting PostScript into PDF. -An easy solution for the setup is a script |cjk-gs-integrate| +An easy solution for the setup is to run a script |cjk-gs-integrate| developed by Japanese \TeX\ Development Community. \section{Programming on \pTeX\ family} @@ -448,10 +457,12 @@ Knuthian \TeX; however, it is enabled in \pTeX\ family. \csitem[\.{euc}] \csitem[\.{ifdbox} \New{p3.2 (\TL2011)}] \csitem[\.{ifddir} \New{p3.2 (\TL2011)}] + \csitem[\.{ifjfont} \New{p3.8.3 (\TL2020)}] \csitem[\.{ifmbox} \New{p3.7.1 (\TL2017)}] \csitem[\.{ifmdir}] \csitem[\.{iftbox}] \csitem[\.{iftdir}] + \csitem[\.{iftfont} \New{p3.8.3 (\TL2020)}] \csitem[\.{ifybox}] \csitem[\.{ifydir}] \csitem[\.{inhibitglue}] @@ -754,7 +765,7 @@ is as follows: Short version: \begin{itemize} \item With \epTeX~191112 or later (\TL2020), - you can use expandable primitives \.{Uchar} and \.{Ucharcat} + you can use expandable primitives \.{Uchar} and \.{Ucharcat}. \item Otherwise, use the ``\.{kansuji} trick''. \end{itemize} @@ -803,10 +814,15 @@ the ``\.{kansuji} trick'' and the ``\.{lowercase} trick'' should be used complementarily. \paragraph{\.{Uchar}, \.{Ucharcat}} -The ``\.{kansuji} trick'' above include an assignment of \.{kansujichar} +The ``\.{kansuji} trick'' above includes an assignment of \.{kansujichar} which is unexpandable. \epTeX~191112 or later (\TL2020) provides expandable primitives \.{Uchar} and \.{Ucharcat}, which are derived from \hologo{XeTeX}. +Regardless of their names, and unlike \hologo{XeTeX} or \hologo{LuaTeX}, +these primitives do \emph{not} necessarily take +a Unicode value as an argument. +These primitives in \epTeX\ and \eupTeX\ take a valid character code +(see \ref{kanji-internal}) based on the internal kanji encoding. \begin{simplelist} \csitem[\.{Uchar} <character code>] |