Skip to content

Commit

Permalink
change encoding name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrike Fischer committed Aug 12, 2022
1 parent ee25c7b commit 883b634
Show file tree
Hide file tree
Showing 3 changed files with 1,981 additions and 1,970 deletions.
12 changes: 10 additions & 2 deletions build.lua
Expand Up @@ -5,7 +5,12 @@ module = "hyperref"
docfiledir = "doc"
docfiles = {"paper.pdf", "slides.pdf", "*.html", "*.css","doc/*.tex"}
textfiles = {"*.md", "*.txt"}
installfiles = {"*.def", "*.sty", "*.cfg","putfenc.def",}
installfiles = {"*.def", "*.sty", "*.cfg",
"puxenc.def",
"puxenc-greekbasic.def",
"puxenc-extra.def",
"puxarenc.def",
}
tdslocations = {
"doc/latex/hyperref/ChangeLog.txt",
"doc/latex/hyperref/README.md",
Expand Down Expand Up @@ -92,7 +97,10 @@ sourcefiles = {
"*.ins",
"*-hyper.sty",
"new-pdfstring.sty",
"putfenc.def",
"puxenc.def",
"puxenc-greekbasic.def",
"puxenc-extra.def",
"puxarenc.def",
"bmhydoc.sty",
"paperslides99.zip"
}
Expand Down
13 changes: 8 additions & 5 deletions new-pdfstring.sty
Expand Up @@ -2,10 +2,10 @@
[2022-08-10 v0.1 %
redefinition of pdfstringdef of hyperref]

\input{putfenc.def}
\DeclareFontFamily{PUTF}{pdf}{}%
\DeclareFontShape{PUTF}{pdf}{m}{n}{ <-> cmr10 }{}%
\DeclareFontSubstitution{PUTF}{pdf}{m}{n}
\input{puxenc.def}
\DeclareFontFamily{PUX}{pdf}{}%
\DeclareFontShape{PUX}{pdf}{m}{n}{ <-> cmr10 }{}%
\DeclareFontSubstitution{PUX}{pdf}{m}{n}

%
\def\newpdfstringdef#1#2{%
Expand All @@ -17,7 +17,7 @@
\edef\3{\string\3}%
\edef\8{\string\8}%
\edef\9{\string\9}%
\fontencoding{PUTF}%
\fontencoding{PUX}%
\let\unichar\HyPsd@unichar
\let\utf@viii@undeferr\HyPsd@utf@viii@undeferr % needed?
\enc@update
Expand Down Expand Up @@ -343,8 +343,11 @@
}
}
}
\ExplSyntaxOff
\def\HyPsd@UnicodeReplacementCharacter{�}
\def\HyPsd@DieFaceLarge{\ERROR}
Expand Down

0 comments on commit 883b634

Please sign in to comment.