ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: TUO loading bug
Date: Sat, 17 Dec 2005 18:09:15 +0100	[thread overview]
Message-ID: <43A4463B.3040802@elvenkind.com> (raw)
In-Reply-To: <43A41F45.7050700@nibua-r.org>

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

Hi,

Renaud AUBIN wrote:
>>
>>
> [failing \cite commands in a component file]

I've found the problem, and it is in fact not related to the bib
module (and not really to the project structure either). The real
culprit was a bug in the tuo file loader, triggered by your

   \useencoding[ffr]

in the environment file. Your environment file is loaded *after*
\startproduct (which implies \starttext), and therefore the switch
comes too late. Moving the three french language related lines to
the stop of the actual prd_phd.tex file (before \starttext) solves
the problem.

(What follows is for Hans' benefit mostly)

Nasty little bug, this. I only found it because eventually, I
decided to test the citations using explicit "\in{}[]" and
found out that that didn't work either. I've attached a minimal
file demonstrating the bug.

Here is the problem in the tuo:

   \thisissectionseparator{-} % <= NOTE!
   ....
   \twopassentry{floatdata}{0}{1::1} % <= WRONG, loading of .tuo aborted
   \twopassentry{float}{1}{1}

When I remove either this float, or the \useencoding line, all is fine,
but simple redefining \dosavefloatdata was not enough apparently,
because that did not work.

Cheers, Taco



[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 187 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  parent reply	other threads:[~2005-12-17 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15 21:40 Trivial \cite & m-bib related question Renaud AUBIN
     [not found] ` <43A30B6F.9000107@elvenkind.com>
     [not found]   ` <43A31C1B.7030600@nibua-r.org>
     [not found]     ` <43A31D7C.8030904@elvenkind.com>
     [not found]       ` <43A3F3DB.5060803@elvenkind.com>
     [not found]         ` <43A406CF.8090707@nibua-r.org>
     [not found]           ` <43A41422.3070200@elvenkind.com>
     [not found]             ` <43A41F45.7050700@nibua-r.org>
2005-12-17 17:09               ` Taco Hoekwater [this message]
2005-12-19 12:44                 ` TUO loading bug 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=43A4463B.3040802@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).