Hello, in order to get correct output of pdfinfo, I need to redefine \doprepareidentity : \let\doprepareidentity\relax % try with and without this line \setupoutput[pdf] \enableregime[il1] \setupinteraction[state=start,author=ä,title=ä,subtitle=ä,keyword=ä] \starttext test \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/
Peter Münster wrote:
Hello, in order to get correct output of pdfinfo, I need to redefine \doprepareidentity :
\let\doprepareidentity\relax % try with and without this line \setupoutput[pdf] \enableregime[il1] \setupinteraction[state=start,author=ä,title=ä,subtitle=ä,keyword=ä] \starttext test \stoptext
patch this on core-int: \def\doprepareidentity % beware, we need to construct {\let\!!stringa\@@iakeyword % an unexpanded space separated \let\@@iakeyword\empty % list of keywords from a comma \def\doprepareidentity##1% % separated one {\ifx\@@iakeyword\empty \appended\def\@@iakeyword{##1}% \else \appended\def\@@iakeyword{ ##1}% \fi}% \@EA\processcommalist\@EA[\!!stringa]\doprepareidentity \global\let\doprepareidentity\relax} (lazy expansion is needed) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, 17 Mar 2005, Hans Hagen wrote:
patch this on core-int:
\def\doprepareidentity % beware, we need to construct {\let\!!stringa\@@iakeyword % an unexpanded space separated \let\@@iakeyword\empty % list of keywords from a comma \def\doprepareidentity##1% % separated one {\ifx\@@iakeyword\empty \appended\def\@@iakeyword{##1}% \else \appended\def\@@iakeyword{ ##1}% \fi}% \@EA\processcommalist\@EA[\!!stringa]\doprepareidentity \global\let\doprepareidentity\relax}
Thanks, this works very well! Peter -- http://pmrb.free.fr/contact/
participants (2)
-
Hans Hagen
-
Peter Münster