summaryrefslogtreecommitdiff
path: root/macros/optex/base/pdfuni-string.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/optex/base/pdfuni-string.opm')
-rw-r--r--macros/optex/base/pdfuni-string.opm7
1 files changed, 5 insertions, 2 deletions
diff --git a/macros/optex/base/pdfuni-string.opm b/macros/optex/base/pdfuni-string.opm
index 25781ddfb4..89a479895a 100644
--- a/macros/optex/base/pdfuni-string.opm
+++ b/macros/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 -----------------------------