ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: interaction fails with footnotes
Date: Mon, 15 Mar 2010 19:01:27 +0100	[thread overview]
Message-ID: <20100315180127.GA23848@localhost.localdomain> (raw)
In-Reply-To: <4B9E31B2.7010004@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 3130 bytes --]

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 : ntg-context@ntg.nl / 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 #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

maillist : ntg-context@ntg.nl / 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	other threads:[~2010-03-15 18:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 23:12 xml with interaction fails in footnotes Philipp Gesang
2010-03-14 23:32 ` interaction fails with footnotes (was: xml with interaction fails in footnotes) Philipp Gesang
2010-03-15  3:01   ` Curiouslearn
2010-03-15  7:00     ` Philipp Gesang
2010-03-15 13:10   ` interaction fails with footnotes Hans Hagen
2010-03-15 18:01     ` Philipp Gesang [this message]
2010-03-15 21:40       ` Wolfgang Schuster
2010-03-15 23:20         ` Philipp Gesang
2010-03-15 23:33           ` Wolfgang Schuster
2010-03-16  9:58             ` Philipp Gesang
2010-03-16 10:48               ` Wolfgang Schuster
2010-03-16 11:19                 ` Philipp Gesang
2010-03-16  8:48           ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100315180127.GA23848@localhost.localdomain \
    --to=pgesang@ix.urz.uni-heidelberg.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).