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/
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
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/
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/
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
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 -----------------------------------------------------------------
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/
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 -----------------------------------------------------------------
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
Peter Münster
-
Taco Hoekwater