diff options
Diffstat (limited to 'macros/luatex/optex/pdfuni-string.opm')
-rw-r--r-- | macros/luatex/optex/pdfuni-string.opm | 11 |
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 % -------------------------------- |