Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't define \noboundary as text command / issue 37 #45

Merged
merged 5 commits into from Sep 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion hyperref.dtx
Expand Up @@ -1231,6 +1231,9 @@
% There are several commands that prints characters in the
% printable ASCII area that don't obey the NFSS, so they have
% to be redefined here.
% UF 29.09.2017: added a mapping for \noboundary, see issue #37
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's some tex markup missing here for typeset comments, but I'll take the PR and fix locally

% https://github.com/ho-tex/hyperref/issues/37
% No test for PU, if some definition for PD1 is added it will work too.
% \begin{macrocode}
\let\{\textbraceleft
\let\}\textbraceright
Expand All @@ -1244,6 +1247,8 @@
\let\P\textparagraph
\let\ldots\textellipsis
\let\dots\textellipsis
\ltx@IfUndefined{textEncodingNoboundary}%
{}{\let\noboundary\textEncodingNoboundary}%
% \end{macrocode}
%
% \paragraph{Newline}
Expand Down Expand Up @@ -26419,7 +26424,7 @@
% U+200C ZERO WIDTH NON-JOINER; afii61664
\DeclareTextCommand{\ZWNJ}{PU}{\9040\014}% U+200C
% U+200D ZERO WIDTH JOINER; afii301
\DeclareTextCommand{\noboundary}{PU}{\9040\015}% U+200D
\DeclareTextCommand{\textEncodingNoboundary}{PU}{\9040\015}% U+200D
% \end{macrocode}
% \begin{macrocode}
%</puarenc>
Expand Down