Commit 1b69d34c authored by Roland Herzog's avatar Roland Herzog
Browse files

Improve a comment

parent 8de74bc7
......@@ -17,11 +17,10 @@
% \lang{A} defaults to English.
\NewDocumentCommand{\lang}{ O{en} m}{\expandafter\csname lang#1\endcsname{#2}}
% According to
% https://tex.stackexchange.com/questions/516547/
% the translations package surrounds its output by \unexpanded, which stops
% The translations package surrounds its output by \unexpanded, which stops
% hyperref processing. Therefore, \GetTranslation gives incorrectly encoded
% unicode characters, e.g., inside \pdftitle.
% unicode characters, e.g., inside \pdftitle. The implementation of a
% work-around uses ideas from https://tex.stackexchange.com/questions/516547/.
\newcommand{\GetTranslationPDF}[1]{%
\csname @trnslt@word@\detokenize{#1}@\@trnslt@language{\@trnslt@current@language}\endcsname
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment