summaryrefslogtreecommitdiff
path: root/info
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-10 03:01:52 +0000
committerNorbert Preining <norbert@preining.info>2019-12-10 03:01:52 +0000
commit0174af21196c197a5b3672c87bc6f7a614fddd7d (patch)
tree00b155441be0755336593a3a2170f7531a055e99 /info
parentd1cebb67c836ee110bdbd3aeb622675df479c993 (diff)
CTAN sync 201912100301
Diffstat (limited to 'info')
-rw-r--r--info/xetexref/README.txt1
-rw-r--r--info/xetexref/xetex-reference.pdfbin149713 -> 146393 bytes
-rw-r--r--info/xetexref/xetex-reference.tex32
3 files changed, 23 insertions, 10 deletions
diff --git a/info/xetexref/README.txt b/info/xetexref/README.txt
index 4c67c8708e..85af7cb8c9 100644
--- a/info/xetexref/README.txt
+++ b/info/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/info/xetexref/xetex-reference.pdf b/info/xetexref/xetex-reference.pdf
index d2e2ddc92a..0619b58836 100644
--- a/info/xetexref/xetex-reference.pdf
+++ b/info/xetexref/xetex-reference.pdf
Binary files differ
diff --git a/info/xetexref/xetex-reference.tex b/info/xetexref/xetex-reference.tex
index ea7e45707c..2c6cc2661e 100644
--- a/info/xetexref/xetex-reference.tex
+++ b/info/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}