Re: [NTG-context] utility file analysis : another run needed

2004-08-31 Thread jean-pierre le narzul
Hi,
I tried what you suggested but the tuo files are the same ...
I am joining .tar.gz of the (simplified) project as Patrick asked.
thanks to everybody for help

essai.tar.gz
Description: GNU Zip compressed data

  jean-pierre
Le 31 août 04, à 09:54, Hans Hagen a écrit :
jean-pierre le narzul wrote:
Hi,
When I launch texexec --pdf ., it runs several times (6 or 7) 
before
ending with the following message  :

utility file analysis : another run needed
The pdf seems to be correct but it takes long to be generated .
Any idea of the problem ?
it looks like you have some oscillation going on; one way to find out 
is
texexec --pdf yourfile
copy yourfile.tuo yourfile-old.tuo texexec --pdf yourfile --once 
texutil --ref yourfile
diff yourfile-old.tuo yourfile.tuo
it should show differences
oscillation can take place when decisions are made based on previous 
runs (but only in tricky situations where the multi pass info gets 
loose from the target); it's one reason why there will never be real 
automated  high quality typesetting -)
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
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2003-09-20 Thread Jean-Pierre Le Narzul
Hi,

I'm trying to configure my itemization environment so that
second level switches to a smaller font.
The following code does not produce the expected result (no change in 
font size).

I imagine I'm doing something wrong but could not figure what ...
(setupitemize[1][before=\tx] is works well)
 Any idea ?

 jp

\starttext

\setupitemize[2][before=\tx]

\startitemize
\item First Level
\startitemize
\item Second Level
\stopitemize
\stopitemize
\stoptext

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] sorry ... I forgot the title .... \setupitemize

2003-09-20 Thread Jean-Pierre Le Narzul
Hi,

I'm trying to configure my itemization environment so that
second level switches to a smaller font.
The following code does not produce the expected result (no change in 
font size).

I imagine I'm doing something wrong but could not figure what ...
(setupitemize[1][before=\tx] is works well)
 Any idea ?

 jp

\starttext

\setupitemize[2][before=\tx]

\startitemize
\item First Level
\startitemize
\item Second Level
\stopitemize
\stopitemize
\stoptext

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setuptyping

2003-09-17 Thread Jean-Pierre Le Narzul
Hi,

For typing Java code in a context document, I use \starttyping ... 
\stoptyping.

I have a problem when I configure \setuptyping in the following way :

\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]

If I put characters like { or _ in my source (between \starttyping and 
\stoptyping)
, they do not appear in the produced document

{ character is replaced by - character
_ character is replaced by '  character
etc
If I configure setuptyping in the following way

\setuptyping[typing][color=black,style=\tt,escape=/,option=commands]

(just change \ss to \tt)

everything is ok !

Any idea ?

thanks in advance for any help

jp

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: \setuptyping

2003-09-17 Thread Jean-Pierre Le Narzul
Hi,

Thanks for your explanation.
I understand the problem now !
But unfortunately, the example you provide is not working for me.
The pdf file displays the wrong characters for both \starttyping 
\stoptyping ...

  jp

PS: sorry for not providing an example in my first mail. I am using 
yours now 

Le jeudi, 18 sep 2003, à 00:18 Europe/Paris, Patrick Gundlach a écrit :

Hi,

Jean-Pierre Le Narzul [EMAIL PROTECTED] writes:

Any idea ?
Yes: don't use computer-modern fonts. They don't have { } and _
except for typewriter.
Use any other font encoded in ec or texnansi or whatever encoding.
See for example latin-modern:
==
\starttext
\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]

\starttyping
hello_world {brace}
\stoptyping
\setupencoding [default=ec]
\usetypescript [all] [latin-modern] [\defaultencoding]%
\setupbodyfont[reset]%
\setupbodyfont[cmr]%
\starttyping
hello_world {brace}
\stoptyping
\stoptext
==
Patrick

PS: and please (!!!) provide a minimal but complete working (or
no-working) example next time. It would save the others some time.
--
Silent is the goldfish in its bowl
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context