[pdftex] \pdfstringdef doesn't like newline code in Unicode
document?
Heiko Oberdiek
oberdiek at uni-freiburg.de
Thu Jul 29 14:43:41 CEST 2004
On Thu, Jul 29, 2004 at 10:46:50AM +0100, Roboco Sanchez wrote:
> I'm trying to have multiple-line text in annotation box in unicode
> document. I've tried this,
>
> \pdfstringdef\annot at text{LINE1\string\n LINE2}
hyperref.dtx:
% \paragraph{Newline}
% \cmd{\newline} or \cmd{\\} do not work in bookmarks, in text
% annotations they should expand to \cmd{\r}. In pdf strings
% \cmd{\\} stands for a backslash. Therefore the commands
% are disabled now. The user can redefine them for a result
% what he want:
% \begin{description}
% \item[backslash:]
% |\pdfstringdefDisableCommands{\let\\\textbackslash}|
% \item[new line:]
% |\pdfstringdefDisableCommands{\let\\\textCR}|
% \item[disabled:]
% |\pdfstringdefDisableCommands{\let\\\empty}|
% \end{description}
% At any case, however, the optional argument or the star
% cannot be scanned in a 100\% sure manner.
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list