From 671551a95af115dfc9afc2cf4ed4caed130b1abf Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Mar 2019 22:33:18 +0000 Subject: xetexref (5mar19) git-svn-id: svn://tug.org/texlive/trunk@50244 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xetex/xetexref/README.txt | 2 +- .../doc/xetex/xetexref/xetex-reference.pdf | Bin 149805 -> 149713 bytes .../doc/xetex/xetexref/xetex-reference.tex | 32 +++++++++++++++++++-- 3 files changed, 30 insertions(+), 4 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/xetex/xetexref/README.txt b/Master/texmf-dist/doc/xetex/xetexref/README.txt index 1835ecea38a..4c67c8708e3 100644 --- a/Master/texmf-dist/doc/xetex/xetexref/README.txt +++ b/Master/texmf-dist/doc/xetex/xetexref/README.txt @@ -16,7 +16,7 @@ A standard TeX distribution that includes XeTeX is needed to compile the `xetex- ## Legalities -Copyright 2007-2018 Will Robertson +Copyright 2007-2019 Will Robertson 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 28be55006e6..d2e2ddc92ad 100644 Binary files a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf and b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.pdf differ diff --git a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex index 3be42f8a96f..ea7e45707c7 100644 --- a/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex +++ b/Master/texmf-dist/doc/xetex/xetexref/xetex-reference.tex @@ -21,7 +21,7 @@ \title{The \xetex reference guide\\\url{https://ctan.org/pkg/xetexref}} \author{Will Robertson \and Khaled Hosny \and Karl Berry} -\date{2018-12-07} +\date{2019-03-05} \suppressfontnotfounderror=1 @@ -871,7 +871,32 @@ optional keyword:\medskip \desc{Typesets the radical in the \xarg{glyph slot} in the family specified.} \endcmd -\section{Character classes} +\section{Characters} + +\cmd|\Uchar| +\xarg{number} +\desc{Expands to a character token with specified slot \meta{number} (range 0 to 1,114,111) with category code 12. While it looks superficially like the \TeX\ primitive \cs{char}, \cs{Uchar} is an expandable operation.} +\endcmd + +\begin{example} +\edef\x{\Uchar`\$} +\ttfamily\meaning\x\par +\expandafter\ifcat\x.[`other']\fi +\end{example} + +\cmd|\Ucharcat| +\xarg{number} +\xarg{catcode} +\desc{Expands to a character token with slot \meta{number} and \meta{catcode} specified.} +\endcmd + +\begin{example} +\edef\x{\Ucharcat`\# 3} +\ttfamily\meaning\x\par +\expandafter\ifcat\x$[`mathshift']\fi +\end{example} + +\subsection{Character classes} The idea behind character classes is to define a boundary where tokens can be added to the input stream without explicit markup. It was @@ -1275,6 +1300,7 @@ offset or length are given.} keyword is given, the MD5 sum of the file contents.} \endcmd + \subsection{Fonts} \cmd|\pdfmapfile| @@ -1305,7 +1331,7 @@ suppressed and the font control sequence being defined is set to \endcmd -\section{Misc.} +\section{Engine version} \cmd|\XeTeXversion| \desc{Expands to a number corresponding to the \xetex version: -- cgit v1.2.3