On 2010-03-15 <14:10:10>, Hans Hagen wrote:
> On 15-3-2010 0:32, Philipp Gesang wrote:
> >On 2010-03-15<00:12:03>, Philipp Gesang wrote:
> >>Good evening all,
> >>
> >>
> >>I'm experiencing a weird behaviour when using my module to transliterate
> >>stuff in a footnote.  ConTeXt fails with an undefined control sequence
> >>if an only if I switch on interaction.
> >>
> >>The issue vanishes when I removing either the footnote environment or
> >>the interaction or the transliteration or the tag with the text to be
> >>transliterated.
> >>
> >>In the following minimal example I specified the lines that will make
> >>context process the file when commented out.  Please note that
> >>everything works fine outside xml as the transliteration immediately
> >>after “\starttext” demonstrates.
> >Correction: It doesn't work fine outside xml, too, when again put in a
> >footnote.[1]  So forget about the xml part.  Interaction seems to be the
> >culprit.
> 
> you have to make a minial example that i can run here (no fancy
> module code that can interfere)

Of course.  I could narrow it down to this.  Try commenting out the
interaction part.
---8<-------------------------------------------------------------------------

\setupinteraction[state=start] 

\def\test{\dosingleempty\dotest}
\def\dotest[#1]#2{#2}

\starttext

Words before a footnote\footnote{
  Test
  \test{Test}
}

\stoptext

% vim:ft=context

---8<-------------------------------------------------------------------------

The error I get is the same as with my module:
---8<-------------------------------------------------------------------------
! Undefined control sequence.
\dododescriptioncomponent ...entdescriptioncoding 
                                                  \s!tex \fi \ifx \currentde...
\@@notemakedescription ...list =,\c!bookmark =,][]
                                                  \xdef \currentnotenumber {...
l.11 }
---8<-------------------------------------------------------------------------


Philipp


> 
> 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
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to