[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#182563: tex doesn't recognize command line options in input file



On Thu, 27 Feb 2003, Atsuhito Kohda wrote:

> From: Olaf Weber <olaf@infovore.xs4all.nl>
> Subject: Bug#182563: tex doesn't recognize command line options in input file
> Date: 26 Feb 2003 19:31:07 +0100
> 
> > Michal Bialoskorski writes:
> > 
> > > special meaning of '%&' at first line of input file stopped working 
> > > after 1.0.7 version of tetex
> > 
> > This used to be enabled by default, and is now disabled by default.
> > Include a line in texmf.cnf like this to get it enabled by default
> > again.
> > 
> > parse_first_line = t
> 
> In case Debian tetex, you could create /etc/texmf/texmf.d/94michal.cnf
> (or whatever you like) with contents
> 
> parse_first_line = t
> 
> and run "update-texmf".
> 
> I'm not sure but if this fails please try 
> /etc/texmf/texmf.d/96michal.cnf
> (94 -> 96)
> 


Thaks, now it's working!

It have to be included in /etc/texmf/texmf.d/94michal.cnf, which is before 
95NonPath.cnf, where parse_first_line appeared first time.

But in this way this option is double in texmf.cnf, the same will be other
options included by user. I think that this could cause a problem in
future. Now tex takes the first value of 'parse_first_line' which appear
in texmf.cnf. I'm not sure that in next releases, TeX it will behave like
this. 

In may opinon good idea would be to told that for ex. "the last occurence 
of prarmeter is taken to texmf.cnf" and make this by update-texmf
script...

Double the parameter in config file is never good idea.

thaks,
Michal.



Reply to: