Re: [NTG-context] \doprepareidentity

2005-03-17 Thread Hans Hagen
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}%
   [EMAIL PROTECTED]@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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \doprepareidentity

2005-03-17 Thread Peter Münster
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}%
 [EMAIL PROTECTED]@EA[\!!stringa]\doprepareidentity
 \global\let\doprepareidentity\relax}

Thanks, this works very well!
Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \doprepareidentity

2005-03-16 Thread Peter Mnster
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/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context