Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Taco Hoekwater
Peter Münster wrote:
 Hello,
 
 1.) Compilation stop like this:
 
 [1.1] [2.1] . (./t-french.tex
 language   : language specific options [default-fr] introduce a 4.0pt  
 skip
 \wait=

Somewhat unexpectedly, the space after [frenchpunctuation] is not 
ignored (note: I am not saying it should). Can you try this?

   \startlanguagespecifics[fr]
 \setcharacterspacing[frenchpunctuation]%
   \stoplanguagespecifics

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Peter Münster
On Tue, Apr 15 2008, Taco Hoekwater wrote:

 Peter Münster wrote:
  Hello,
  
  1.) Compilation stop like this:
  
  [1.1] [2.1] . (./t-french.tex
  language   : language specific options [default-fr] introduce a 4.0pt  
  skip
  \wait=
 
 Somewhat unexpectedly, the space after [frenchpunctuation] is not 
 ignored (note: I am not saying it should). Can you try this?
 
\startlanguagespecifics[fr]
  \setcharacterspacing[frenchpunctuation]%
\stoplanguagespecifics

I've already tried this, but it does not work. But thanks to your remark,
I've finally found the reason: it's the space *before*
\setcharacterspacing.

This works ok:

\startlanguagespecifics[fr]
\setcharacterspacing[frenchpunctuation]
\stoplanguagespecifics

Cheers, Peter

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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Taco Hoekwater


Peter Münster wrote:
 
 \startlanguagespecifics[fr]
 \setcharacterspacing[frenchpunctuation]
 \stoplanguagespecifics

Still somewhat odd.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Peter Münster
On Tue, Apr 15 2008, Taco Hoekwater wrote:

 Peter Münster wrote:
  
  \startlanguagespecifics[fr]
  \setcharacterspacing[frenchpunctuation]
  \stoplanguagespecifics
 
 Still somewhat odd.

Indeed. And I think for several reasons:
- I believed, that texexec --module does not execute commands without a
  %D at the beginning of the line
- usually, space in the beginning of the line is ignored
- I've found another similar case:

%D \module[file=t-test]
\appendtoks \abc \to \everystarttext

fails with:

) (./t-test.tex
! You can't use `\hskip' after \the.
\obeyedspace -\hskip 
  \zeropoint \hbox to \onepoint {}\hskip \zeropoint 
inserted text 
 \abc  
\dodoappendtoks ...EA \@@toks \the \@@scratchtoks 
  }
l.2 \appendtoks \abc \to 
 \everystarttext


No problem without the space after \to.

All problems in this thread are unrelated to MKII or MKIV.

Cheers, Peter

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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Hans Hagen
Peter Münster wrote:
 On Tue, Apr 15 2008, Taco Hoekwater wrote:
 
 Peter Münster wrote:
 \startlanguagespecifics[fr]
 \setcharacterspacing[frenchpunctuation]
 \stoplanguagespecifics
 Still somewhat odd.

always messy this active :

all places where : can occur then need to be enclosed in cleanup code

-
   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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Peter Münster
On Tue, Apr 15 2008, Hans Hagen wrote:

 Peter Münster wrote:
  On Tue, Apr 15 2008, Taco Hoekwater wrote:
  
  Peter Münster wrote:
  \startlanguagespecifics[fr]
  \setcharacterspacing[frenchpunctuation]
  \stoplanguagespecifics
  Still somewhat odd.
 
 always messy this active :

The actual problem has nothing to do with \setcharacterspacing. You can
replace this line by \setupitemize[symbol=2] or similar.

And why active :? I thought, that \setcharacterspacing[frenchpunctuation]
uses some lua-magic instead of active characters?

Cheers, Peter

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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2 problems with texexec --module

2008-04-15 Thread Hans Hagen
Peter Münster wrote:
 On Tue, Apr 15 2008, Hans Hagen wrote:
 
 Peter Münster wrote:
 On Tue, Apr 15 2008, Taco Hoekwater wrote:

 Peter Münster wrote:
 \startlanguagespecifics[fr]
 \setcharacterspacing[frenchpunctuation]
 \stoplanguagespecifics
 Still somewhat odd.
 always messy this active :
 
 The actual problem has nothing to do with \setcharacterspacing. You can
 replace this line by \setupitemize[symbol=2] or similar.
 
 And why active :? I thought, that \setcharacterspacing[frenchpunctuation]
 uses some lua-magic instead of active characters?

in mkiv it does indeed; only mkii has language specifics


-
   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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] 2 problems with texexec --module

2008-04-14 Thread Peter Münster
Hello,

1.) Compilation stop like this:

[1.1] [2.1] . (./t-french.tex
language   : language specific options [default-fr] introduce a 4.0pt  skip
\wait=

With the following example:

%D \module
%D   [  file=t-french,
%Dversion=2008.04.05,
%D  title=\CONTEXT\ User Module,
%D   subtitle=For French documents,
%D author=Peter Münster,
%D   date=\currentdate,
%D  copyright={Peter Münster}]

\startlanguagespecifics[fr]
  \setcharacterspacing[frenchpunctuation]
\stoplanguagespecifics

Command: texexec --module --luatex t-french


2.) The option --result is not respected:

texexec --module --result=french-doc t-french
produces t-french.pdf but not french-doc.pdf.


Greetings, Peter

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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___