ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* reference error with startproduct
@ 2005-02-17 16:26 Peter Münster
  2005-02-17 19:14 ` Willi Egger
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Münster @ 2005-02-17 16:26 UTC (permalink / raw)


Hello,
when I compile the following product, I get this error:
"unknown reference [][bla]"

\startproduct product
\project project
\section[bla]{bla}
test: \in[bla]
\stopproduct

This is the project file:

\startproject project
\useencoding[ffr]
\mainlanguage[fr]
\product product
\stopproject

Could someone help please?

Greetings, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: reference error with startproduct
  2005-02-17 16:26 reference error with startproduct Peter Münster
@ 2005-02-17 19:14 ` Willi Egger
  2005-02-17 20:30   ` Peter Münster
  2005-02-18 10:09   ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Willi Egger @ 2005-02-17 19:14 UTC (permalink / raw)


Hi Peter,

your code works if you say \in{section}[bla]. \in is normally used with 
a indicator what you are referencing.

\at{page}[bla]
\about[bla]

Using
  TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
  pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
  ConTeXt  ver: 2005.01.26  fmt: 2005.1.26  int: english  mes: english

Willi

Peter Münster wrote:
> Hello,
> when I compile the following product, I get this error:
> "unknown reference [][bla]"
> 
> \startproduct product
> \project project
> \section[bla]{bla}
> test: \in[bla]
> \stopproduct
> 
> This is the project file:
> 
> \startproject project
> \useencoding[ffr]
> \mainlanguage[fr]
> \product product
> \stopproject
> 
> Could someone help please?
> 
> Greetings, Peter
> 

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

* Re: reference error with startproduct
  2005-02-17 19:14 ` Willi Egger
@ 2005-02-17 20:30   ` Peter Münster
  2005-02-17 22:14     ` Willi Egger
  2005-02-18 10:09   ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Münster @ 2005-02-17 20:30 UTC (permalink / raw)


On Thu, 17 Feb 2005, Willi Egger wrote:

> your code works if you say \in{section}[bla]. \in is normally used with 
> a indicator what you are referencing.
> 
> \at{page}[bla]
> \about[bla]
> 
> Using
>   TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
>   pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
>   ConTeXt  ver: 2005.01.26  fmt: 2005.1.26  int: english  mes: english

Hi Willi,
even with \in{section}[bla] I get an error...

Using:
TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
ConTeXt  ver: 2005.01.31  fmt: 2005.2.17  int: english  mes: english

So, should I downgrade???

Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: reference error with startproduct
  2005-02-17 20:30   ` Peter Münster
@ 2005-02-17 22:14     ` Willi Egger
  0 siblings, 0 replies; 7+ messages in thread
From: Willi Egger @ 2005-02-17 22:14 UTC (permalink / raw)


Hi Peter,

I would definitely not downgrade!

I tried your example with the alpha-version and the result is ok.

  TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
  pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
  ConTeXt  ver: 2005.02.14  fmt: 2005.2.15  int: english  mes: english


Best,

Willi


Peter Münster wrote:
> On Thu, 17 Feb 2005, Willi Egger wrote:
> 
> 
>>your code works if you say \in{section}[bla]. \in is normally used with 
>>a indicator what you are referencing.
>>
>>\at{page}[bla]
>>\about[bla]
>>
>>Using
>>  TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
>>  pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
>>  ConTeXt  ver: 2005.01.26  fmt: 2005.1.26  int: english  mes: english
> 
> 
> Hi Willi,
> even with \in{section}[bla] I get an error...
> 
> Using:
> TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> ConTeXt  ver: 2005.01.31  fmt: 2005.2.17  int: english  mes: english
> 
> So, should I downgrade???
> 
> Peter
> 

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

* Re: reference error with startproduct
  2005-02-17 19:14 ` Willi Egger
  2005-02-17 20:30   ` Peter Münster
@ 2005-02-18 10:09   ` Hans Hagen
  2005-02-18 10:45     ` Willi Egger
  2005-02-18 19:32     ` Peter Münster
  1 sibling, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2005-02-18 10:09 UTC (permalink / raw)


>> \useencoding[ffr]

this command should come first (i.e. even before any \startproject or so since 
it set an internal separator (has to do with active french quotes); some day i 
will change that to a more convenient method

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

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

* Re: reference error with startproduct
  2005-02-18 10:09   ` Hans Hagen
@ 2005-02-18 10:45     ` Willi Egger
  2005-02-18 19:32     ` Peter Münster
  1 sibling, 0 replies; 7+ messages in thread
From: Willi Egger @ 2005-02-18 10:45 UTC (permalink / raw)


Hi, yes indeed I changed the code of Peter in that sense and made a 
separate file of the product-code before testing. I did this not because 
I knew it, but it looked just more Context-like to me ;-)


Willi

\setupoutput[pdftex]

\useencoding[ffr]
\mainlanguage[fr]

% This is the project file:

\starttext
\startproject project
\product product
\stopproject

\stoptext

Hans Hagen wrote:
>>> \useencoding[ffr]
> 
> 
> this command should come first (i.e. even before any \startproject or so 
> since it set an internal separator (has to do with active french 
> quotes); some day i will change that to a more convenient method
> 
> 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

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

* Re: reference error with startproduct
  2005-02-18 10:09   ` Hans Hagen
  2005-02-18 10:45     ` Willi Egger
@ 2005-02-18 19:32     ` Peter Münster
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Münster @ 2005-02-18 19:32 UTC (permalink / raw)


On Fri, 18 Feb 2005, Hans Hagen wrote:

> >> \useencoding[ffr]
> 
> this command should come first (i.e. even before any \startproject or so since 
> it set an internal separator (has to do with active french quotes); some day i 
> will change that to a more convenient method

Thanks for your explanations. My goal is, to write things like
\useencoding[ffr] and \mainlanguage[fr] only once in an environment file,
and not in every product.

What do you think about the following method, can I get other kinds of
problems?

Product file:

\startproduct product
\project project

\section[bla:bla]{bla}
test: \in[bla]

\section[bla]{bla}
test: \in[bla:bla]

hallo «hallo» hallo «hallo», hallo
hallo: hallo; hallo? hallo! hallo
\stopproduct

Project file:

\startproject project
\enableregime[il1]
\mainlanguage[fr]
\defineactivecharacter « {\leftguillemot\,}
\defineactivecharacter » {\,\rightguillemot}
\defineactivecharacter ! {\,\string!}
\defineactivecharacter ? {\,\string?}
\defineactivecharacter : {\,\string:}
\defineactivecharacter ; {\,\string;}

\product product

\stopproject

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

end of thread, other threads:[~2005-02-18 19:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-17 16:26 reference error with startproduct Peter Münster
2005-02-17 19:14 ` Willi Egger
2005-02-17 20:30   ` Peter Münster
2005-02-17 22:14     ` Willi Egger
2005-02-18 10:09   ` Hans Hagen
2005-02-18 10:45     ` Willi Egger
2005-02-18 19:32     ` 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).