diff options
author | Karl Berry <karl@freefriends.org> | 2022-08-04 20:34:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-08-04 20:34:18 +0000 |
commit | 277c704145fc53d03e29c11ca1f20c6de294897e (patch) | |
tree | cfaf48f13946e3a175f7b2a95ad7f07d45deceb2 /Master/texmf-dist/tex/optex/base/pdfuni-string.opm | |
parent | e5abeecbac2ac10f0170c8f3d03d886484dd15c3 (diff) |
optex (4aug22)
git-svn-id: svn://tug.org/texlive/trunk@64050 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/optex/base/pdfuni-string.opm')
-rw-r--r-- | Master/texmf-dist/tex/optex/base/pdfuni-string.opm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/optex/base/pdfuni-string.opm b/Master/texmf-dist/tex/optex/base/pdfuni-string.opm index 25781ddfb4f..89a479895ae 100644 --- a/Master/texmf-dist/tex/optex/base/pdfuni-string.opm +++ b/Master/texmf-dist/tex/optex/base/pdfuni-string.opm @@ -23,7 +23,10 @@ \egroup \_doc ----------------------------- - \`\pdfunidef``\macro{<text>}` does more things than only converting to hexadecimal PDF string. + \`\pdfunidef``\macro{<text>}` defines `\macro` as <text> converted to + Big Endian UTF-16 and enclosed to \code{<>}. Example of usage: + `\pdfunidef\infoauthor{Petr Olšák} \pdfinfo{/Author \infoauthor}`.\nl + \^`\pdfunidef` does more things than only converting to hexadecimal PDF string. The <text> can be scanned in verbatim mode (it is true becuase \^`\_Xtoc` reads the <text> in verbatim mode). First `\edef` do `\_scantextokens\unexpanded` and second `\edef` expands the parameter @@ -86,7 +89,7 @@ } \_doc ----------------------------- - The \^`\regmacro` is used in order to sed the values of macros + The \^`\regmacro` is used in order to set the values of macros `\em`, `\rm`, `\bf`, `\it`, `\bi`, `\tt`, `\/` and `~` to values usable in PDF outlines. \_cod ----------------------------- |