summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xetex/xetexref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-09 21:52:18 +0000
committerKarl Berry <karl@freefriends.org>2019-12-09 21:52:18 +0000
commit7d0077637061cb8071b3b080e88cfab0802ff523 (patch)
tree26046a16b53057020c7d69c67ce7180b7d2f117c /Master/texmf-dist/doc/xetex/xetexref
parentdc9c7b5f7c7c9112526d8ff124b5d6c001f78f78 (diff)
xetexref (9dec19)
git-svn-id: svn://tug.org/texlive/trunk@53068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xetex/xetexref')
-rw-r--r--Master/texmf-dist/doc/xetex/xetexref/README.txt1
-rw-r--r--Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdfbin149713 -> 146393 bytes
-rw-r--r--Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex32
3 files changed, 23 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/xetex/xetexref/README.txt b/Master/texmf-dist/doc/xetex/xetexref/README.txt
index 4c67c8708e3..85af7cb8c92 100644
--- a/Master/texmf-dist/doc/xetex/xetexref/README.txt
+++ b/Master/texmf-dist/doc/xetex/xetexref/README.txt
@@ -17,6 +17,7 @@ A standard TeX distribution that includes XeTeX is needed to compile the `xetex-
## Legalities
Copyright 2007-2019 Will Robertson
+Copyright 2019 Hironobu Yamashita
Copyright 2018 Joseph Wright
Copyright 2011-2017 Karl Berry
Copyright 2013 Khaled Hosny.
diff --git a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf
index d2e2ddc92ad..0619b588369 100644
--- a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf
+++ b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex
index ea7e45707c7..2c6cc2661e0 100644
--- a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex
+++ b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex
@@ -1,6 +1,4 @@
-% Copyright 2007-2017 Will Robertson
-% Copyright 2011 Karl Berry
-% Copyright 2013 Khaled Hosny
+% Copyright for this work included in README.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -21,7 +19,7 @@
\title{The \xetex reference guide\\\url{https://ctan.org/pkg/xetexref}}
\author{Will Robertson \and Khaled Hosny \and Karl Berry}
-\date{2019-03-05}
+\date{\VERSION}
\suppressfontnotfounderror=1
@@ -555,6 +553,13 @@ output but is slower. Activated ($\ge\mathtt1$) by default.}
\XeTeXuseglyphmetrics=1 \fbox{a}\fbox{A}\fbox{j}\fbox{J}
\end{example}
+\cmd|\XeTeXgenerateactualtext|
+\xarg{integer}
+\desc{Controls the output of \texttt{/ActualText} entry. Default is 0.
+When set to 1, the \texttt{/ActualText} entry is added to the output PDF
+for better copy/paste and search in PDF viewers.}
+\endcmd
+
\subsection{OpenType fonts}
\cmd|\XeTeXOTcountscripts|
@@ -887,7 +892,8 @@ optional keyword:\medskip
\cmd|\Ucharcat|
\xarg{number}
\xarg{catcode}
-\desc{Expands to a character token with slot \meta{number} and \meta{catcode} specified.}
+\desc{Expands to a character token with slot \meta{number} and \meta{catcode} specified.
+The values allowed for \meta{catcode} are: 1--4, 6--8 and 10--13.}
\endcmd
\begin{example}
@@ -922,11 +928,11 @@ language (in another script) is present in the text.
\opteq
\xarg{interchar class}
\desc{Assigns a class corresponding to \xarg{interchar class} (range
-0–255) to a \xarg{char slot}. Most characters are class 0 by
+0–4095) to a \xarg{char slot}. Most characters are class 0 by
default. Class 1 is for CJK ideographs, classes 2 and 3 are CJK
-punctuation. The boundary of a text string is considered class 255,
+punctuation. The boundary of a text string is considered class 4095,
wherever there is a boundary between a ‘run’ of characters and something
-else — glue, kern, math, box, etc. Special case class 256 is ignored;
+else — glue, kern, math, box, etc. Special case class 4096 is ignored;
useful for diacritics so I’m told.}
\endcmd
@@ -1170,6 +1176,12 @@ the specified \xarg{font} to $n/1000$\,em. $n$ is clipped to $\pm1000$.}
\subsection{Programming}
+\cmd|\expanded|
+\xarg{general text}
+\desc{Carries out full expansion of a token list like \texttt{\char`\\message},
+but it is still expandable.}
+\endcmd
+
\cmd|\ifincsname...(\else...)\fi|
\desc{\tex conditional to branch true if the expansion occurs within
\texttt{\char`\\csname ... \char`\\endcsname}.}
@@ -1212,9 +1224,9 @@ Shell escape \ifnum\shellescape>0 is \else is not \fi enabled.
\xarg{arg one}
\xarg{arg two}
\desc{Compares the full expansion of the two token list
-arguments. Expands to zero if they are the same, less than one if the
+arguments. Expands to zero if they are the same, $-1$ if the
first argument sorts lower (lexicographically) than the second argument,
-and greater than one if vice versa.}
+and~$1$ if vice versa.}
\endcmd
\begin{example}