ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 2 problems with "texexec --module"
@ 2008-04-15  5:30 Peter Münster
  2008-04-15 11:30 ` Taco Hoekwater
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2008-04-15  5:30 UTC (permalink / raw)
  To: ConTeXt list

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,
%D        version=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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15  5:30 2 problems with "texexec --module" Peter Münster
@ 2008-04-15 11:30 ` Taco Hoekwater
  2008-04-15 11:53   ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2008-04-15 11:30 UTC (permalink / raw)
  To: ConTeXt list

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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15 11:30 ` Taco Hoekwater
@ 2008-04-15 11:53   ` Peter Münster
  2008-04-15 11:59     ` Taco Hoekwater
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2008-04-15 11:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15 11:53   ` Peter Münster
@ 2008-04-15 11:59     ` Taco Hoekwater
  2008-04-15 18:26       ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2008-04-15 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15 11:59     ` Taco Hoekwater
@ 2008-04-15 18:26       ` Peter Münster
  2008-04-15 18:33         ` Aditya Mahajan
  2008-04-15 18:33         ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Münster @ 2008-04-15 18:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15 18:26       ` Peter Münster
@ 2008-04-15 18:33         ` Aditya Mahajan
  2008-04-15 18:33         ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2008-04-15 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 879 bytes --]

On Tue, 15 Apr 2008, Peter Münster wrote:

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

This is realted to the bug with \filename (see my post yesterday). As a 
temporary solution, add this to the top of your module (at least works in 
this case, haven't tested with the french module).

%M \unexpanded\def\filename#1{{\\tttf\hyphenatedurl{#1}}}

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

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

* Re: 2 problems with "texexec --module"
  2008-04-15 18:26       ` Peter Münster
  2008-04-15 18:33         ` Aditya Mahajan
@ 2008-04-15 18:33         ` Hans Hagen
  2008-04-15 19:15           ` Peter Münster
  1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2008-04-15 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15 18:33         ` Hans Hagen
@ 2008-04-15 19:15           ` Peter Münster
  2008-04-15 19:51             ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2008-04-15 19:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: 2 problems with "texexec --module"
  2008-04-15 19:15           ` Peter Münster
@ 2008-04-15 19:51             ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2008-04-15 19:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

end of thread, other threads:[~2008-04-15 19:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-15  5:30 2 problems with "texexec --module" Peter Münster
2008-04-15 11:30 ` Taco Hoekwater
2008-04-15 11:53   ` Peter Münster
2008-04-15 11:59     ` Taco Hoekwater
2008-04-15 18:26       ` Peter Münster
2008-04-15 18:33         ` Aditya Mahajan
2008-04-15 18:33         ` Hans Hagen
2008-04-15 19:15           ` Peter Münster
2008-04-15 19:51             ` Hans Hagen

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