ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange bug with ffr and \in[]
@ 2004-05-19 19:05 Peter Münster
  2004-05-21 10:27 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2004-05-19 19:05 UTC (permalink / raw)


Hello,
with the following example and the latest beta-ConTeXt, I get the following
error: unknown reference [][bla]

file proj.tex:
\startproject proj
\environment env
\product prod
\stopproject

file env.tex:
\startenvironment env
\useencoding[ffr]
\stopenvironment

file prod.tex:
\startproduct prod
\project proj
\section[bla]{bla}
\in[bla]
\stopproduct

Strange, because there is no such problem without the project/product
structure. Using \starttext and \stoptext everything is fine.

Could you help please?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
________________________________________________________________
FilmSearch engine with a lot of new features: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange bug with ffr and \in[]
  2004-05-19 19:05 Strange bug with ffr and \in[] Peter Münster
@ 2004-05-21 10:27 ` Hans Hagen
  2004-05-21 12:24   ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2004-05-21 10:27 UTC (permalink / raw)


At 21:05 19/05/2004, you wrote:
>Hello,
>with the following example and the latest beta-ConTeXt, I get the following
>error: unknown reference [][bla]
>
>file proj.tex:
>\startproject proj
>\environment env
>\product prod
>\stopproject
>
>file env.tex:
>\startenvironment env
>\useencoding[ffr]
>\stopenvironment
>
>file prod.tex:
>\startproduct prod
>\project proj
>\section[bla]{bla}
>\in[bla]
>\stopproduct
>
>Strange, because there is no such problem without the project/product
>structure. Using \starttext and \stoptext everything is fine.

The reason is that the environment that handles the : is loaded after the 
first access to the utility file;

you can try to add this to your local cont-sys.tex file

\enablemode[activecolon] \usemodule[tryout]

Hans  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange bug with ffr and \in[]
  2004-05-21 10:27 ` Hans Hagen
@ 2004-05-21 12:24   ` Peter Münster
  2004-06-07 15:51     ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2004-05-21 12:24 UTC (permalink / raw)


On Fri, 21 May 2004, Hans Hagen wrote:

> The reason is that the environment that handles the : is loaded after the 
> first access to the utility file;
> 
> you can try to add this to your local cont-sys.tex file
> 
> \enablemode[activecolon] \usemodule[tryout]

Yes, it works. Thank you!
Peter

-- 
http://pmrb.free.fr/contact/
________________________________________________________________
FilmSearch engine with a lot of new features: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange bug with ffr and \in[]
  2004-05-21 12:24   ` Peter Münster
@ 2004-06-07 15:51     ` Peter Münster
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Münster @ 2004-06-07 15:51 UTC (permalink / raw)


On Fri, 21 May 2004, Peter Münster wrote:

> On Fri, 21 May 2004, Hans Hagen wrote:
> 
> > The reason is that the environment that handles the : is loaded after the 
> > first access to the utility file;
> > 
> > you can try to add this to your local cont-sys.tex file
> > 
> > \enablemode[activecolon] \usemodule[tryout]
> 
> Yes, it works. Thank you!

Oh, no, I was too fast. There is no more problem with \in[], but there is
no more space before a colon:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
bla: bla % no space before colon, if \useencoding[ffr] is in environment.
\stoptext

Do you know the reason?
Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-07 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 19:05 Strange bug with ffr and \in[] Peter Münster
2004-05-21 10:27 ` Hans Hagen
2004-05-21 12:24   ` Peter Münster
2004-06-07 15:51     ` Peter Münster

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).