summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/pdfuni-string.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-15 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2020-03-15 03:01:24 +0000
commit87cddce361c3b477029d13b27bdaa57190b2d74b (patch)
tree0b8f15ef416645c1438cdc4228a1ddb44691b17c /macros/luatex/optex/pdfuni-string.opm
parent942e56ba7d147d18d379305e76f064cec0aade7d (diff)
CTAN sync 202003150301
Diffstat (limited to 'macros/luatex/optex/pdfuni-string.opm')
-rw-r--r--macros/luatex/optex/pdfuni-string.opm11
1 files changed, 4 insertions, 7 deletions
diff --git a/macros/luatex/optex/pdfuni-string.opm b/macros/luatex/optex/pdfuni-string.opm
index 923a08fc86..0aafcce27a 100644
--- a/macros/luatex/optex/pdfuni-string.opm
+++ b/macros/luatex/optex/pdfuni-string.opm
@@ -13,8 +13,7 @@
\_def\_pdfunidef#1#2{%
\_begingroup
\_catcode`\\=12 \_let\\=\_bslash
- \_the\_pdfstringout % extra defnitions of logos etc.
- \_the\_outlineshook % user definitions
+ \_the\_regoul \_relax % \_regmacro alternatives of logos etc.
\_edef#1{#2}%
\_ea\_edef \_ea#1\_ea{\_ea\_removeoutmath #1$\_end$}% $x$ -> x
\_ea\_edef \_ea#1\_ea{\_ea\_removeoutbraces #1{\_end}}% {x} -> x
@@ -39,14 +38,12 @@
\_def\_removeoutbracesA #1{\_ifx\_end#1\_else #1\_ea\_removeoutbraces\_fi}
\_def\_removeoutmath #1$#2${#1\_ifx\_end#2\_else #2\_ea\_removeoutmath\_fi}
-\_newtoks \_pdfstringout \_newtoks \_outlineshook
-
-\_pdfstringout={\_let\em=\_empty \_let\rm=\_empty \_let\bf=\_empty
+\_regmacro {}{}{\_let\em=\_empty \_let\rm=\_empty \_let\bf=\_empty
\_let\it=\_empty \_let\bi=\_empty \_let\tt=\_empty \_let\/=\_empty
- \_let~=\_space \let\nl=\_space
+ \_let~=\_space
}
-\public \pdfunidef \outlineshook ;
+\public \pdfunidef ;
\_endcode % --------------------------------