ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* texexec ignores switches
@ 2001-07-07  7:59 David Antos
  2001-07-07 13:37 ` Giuseppe Bilotta
  2001-07-07 13:53 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: David Antos @ 2001-07-07  7:59 UTC (permalink / raw)


	Hi all,

I've a small problem with texexec (latest official version, running
on TeXLive 5).
My texexec seems to ignore some switches. When I say
texexec --make --tex=pdftex
the pdfetex format is generated instead, when I say
texexec --interface=en --format=cont-cz blah.tex
the Czech format requires Czech interface (and reports unknown commands).
I really hate Czech commands so I solved it by changing the
\defaultinterface in cont-cz.tex. But I consider it to be a really ugly
solution, very bad on multiuser system.

And texexec --verbose says:
     locating ini file : found by kpsewhich
               reading : /usr/TeX/texmf/context/config/texexec.rme
even if the texexec.ini file exists.

Is there something wrong in my TeX installation? I think that texexec
command line switches should take precedence over the system (e.g., fmtutil)
settings.

	Thanks
				D.A.


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

* Re: texexec ignores switches
  2001-07-07  7:59 texexec ignores switches David Antos
@ 2001-07-07 13:37 ` Giuseppe Bilotta
  2001-07-07 13:53 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Giuseppe Bilotta @ 2001-07-07 13:37 UTC (permalink / raw)
  Cc: ntg-context

Saturday, July 07, 2001 David Antos wrote:
DA> texexec --interface=en --format=cont-cz blah.tex
DA> the Czech format requires Czech interface (and reports unknown commands).
DA> I really hate Czech commands so I solved it by changing the
DA> \defaultinterface in cont-cz.tex. But I consider it to be a really ugly
DA> solution, very bad on multiuser system.

Shouldn't it be

texexec --interface=cz --format=cont-en blah.tex?

Giuseppe "Oblomov" Bilotta


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

* Re: texexec ignores switches
  2001-07-07  7:59 texexec ignores switches David Antos
  2001-07-07 13:37 ` Giuseppe Bilotta
@ 2001-07-07 13:53 ` Hans Hagen
  2001-07-08 10:03   ` David Antos
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2001-07-07 13:53 UTC (permalink / raw)
  Cc: ntg-context

At 09:59 AM 7/7/01 +0200, David Antos wrote:
>
>	Hi all,
>
>I've a small problem with texexec (latest official version, running
>on TeXLive 5).
>My texexec seems to ignore some switches. When I say
>texexec --make --tex=pdftex
>the pdfetex format is generated instead, when I say
>texexec --interface=en --format=cont-cz blah.tex
>the Czech format requires Czech interface (and reports unknown commands).
>I really hate Czech commands so I solved it by changing the
>\defaultinterface in cont-cz.tex. But I consider it to be a really ugly
>solution, very bad on multiuser system.
>
>And texexec --verbose says:
>     locating ini file : found by kpsewhich
>               reading : /usr/TeX/texmf/context/config/texexec.rme
>even if the texexec.ini file exists.
>
>Is there something wrong in my TeX installation? I think that texexec
>command line switches should take precedence over the system (e.g., fmtutil)
>settings.

texexec --make --alone 

will give you the precedence

so you want an english context but with czech defaults?

  texexec --make --alone --language=en,cz --bodyfont=csr en

will do that for you: czech as main language, with czech fonts. 

Hans

-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: texexec ignores switches
  2001-07-07 13:53 ` Hans Hagen
@ 2001-07-08 10:03   ` David Antos
  2001-07-08 22:33     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: David Antos @ 2001-07-08 10:03 UTC (permalink / raw)
  Cc: ntg-context

>
>so you want an english context but with czech defaults?

I'd prefer Czech ConTeXt with English interface only :-)

>
>  texexec --make --alone --language=en,cz --bodyfont=csr en
>
>will do that for you: czech as main language, with czech fonts.

Oops, I've tried it before but the fonts get broken (characters with
accents are not displayed in dvi). Maybe I misunderstand the ideas of
multilanguage interface and texexec switches, I think --interface says,
what language the ConTeXt commands are and the language of the messages,
--language says what hyphenating patterns to use (it's the same as
\mainlanguage[xx], isn't it).

The format determines the set of hyphenation patterns (they are
hardcoded in it), sets the default language, default font and may
install additional languages. The generated words (Chapter, Contents and
so on) should be also set to the default language of the format.

How does interface depend on format? I think I should use `format of the
language of the document' being able to switch to any interface
installed in the format. (In fact, I'm sure that most Czech users use
English interfaces, why shouldn't they use texexec --format=cont-cz
--interface=en? Or without setting the interface if someone likes Czech
commands?)

Where am I wrong? How the things really are? BTW, if I change
cont-usr.tex and regenerate formats, does it change all the formats? Is
cont-usr.tex loaded by the \loaduserspecifications command in
cont-{en,cz,...}?

Sorry for bothering too much and thanks for answer

			D.A.

>
>Hans
>


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

* Re: texexec ignores switches
  2001-07-08 10:03   ` David Antos
@ 2001-07-08 22:33     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2001-07-08 22:33 UTC (permalink / raw)
  Cc: ntg-context

At 12:03 PM 7/8/01 +0200, David Antos wrote:
>>
>>so you want an english context but with czech defaults?
>
>I'd prefer Czech ConTeXt with English interface only :-)
>
>>
>>  texexec --make --alone --language=en,cz --bodyfont=csr en
>>
>>will do that for you: czech as main language, with czech fonts.
>
>Oops, I've tried it before but the fonts get broken (characters with
>accents are not displayed in dvi). Maybe I misunderstand the ideas of
>multilanguage interface and texexec switches, I think --interface says,
>what language the ConTeXt commands are and the language of the messages,
>--language says what hyphenating patterns to use (it's the same as
>\mainlanguage[xx], isn't it).

right, and for czech, things have been extended recently [this what petr
and i were doing when we were sitting next to you: checking the two most
widely used encodings] so, currently context can work with the two
encodings used in czech patterne at the same time].  

>The format determines the set of hyphenation patterns (they are
>hardcoded in it), sets the default language, default font and may
>install additional languages. The generated words (Chapter, Contents and
>so on) should be also set to the default language of the format.

right, but defauktlanguage is called \mainlanguage in context 

>How does interface depend on format? I think I should use `format of the
>language of the document' being able to switch to any interface
>installed in the format. (In fact, I'm sure that most Czech users use
>English interfaces, why shouldn't they use texexec --format=cont-cz
>--interface=en? Or without setting the interface if someone likes Czech
>commands?)

beware 

  texexec cz 

is enough, the format switch is for plain and mptopdf and alike

>Where am I wrong? How the things really are? BTW, if I change
>cont-usr.tex and regenerate formats, does it change all the formats? Is
>cont-usr.tex loaded by the \loaduserspecifications command in
>cont-{en,cz,...}?

cont usr is always loaded, unless you use 

  --language  / --bodyfont 

so, 

  texexec --language={cz,sk,en,de,sp} --bodyfont=csr en 

should give you an english interface with czech as main language and the
czech tuned cmr fonts. 

>Sorry for bothering too much and thanks for answer

no problem, the texexec manual should be better -) 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

end of thread, other threads:[~2001-07-08 22:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-07  7:59 texexec ignores switches David Antos
2001-07-07 13:37 ` Giuseppe Bilotta
2001-07-07 13:53 ` Hans Hagen
2001-07-08 10:03   ` David Antos
2001-07-08 22:33     ` 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).