Re: mpost problem

2003-02-05 Thread Paul Vojta
> Date: 05 Feb 2003 23:52:26 +0100
> From: Olaf Weber <[EMAIL PROTECTED]>
> To: Thomas Esser <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: mpost problem
> 
> Thomas Esser writes:
> 
> > A better fix was suggested by Olaf Weber:
> 
> > --- orig/texk/web2c/mpware/makempx.in   Fri Oct 26 15:22:46 2001
> > +++ texk/web2c/mpware/makempx.inTue Feb  4 18:31:57 2003
> > @@ -15,7 +15,7 @@
> >  : ${MPTOTEX="mpto -tex"}
> >  : ${MPTOTR="mpto -troff"}
> >  : ${NEWER=newer}
> > -: ${TEX=tex}
> > +: ${TEX=tex --parse-first-line}
> >  : ${TROFF='eqn -d\$\$ | troff -Tpost'}
>  
> >  # convert relative path to absolute in $MAKEMPX_BINDIR:
> 
> By the way, I don't think quotes are required there, but do test so
> they can be added if necessary.

They're needed on Solaris 2.6.

--Paul Vojta



Re: mpost problem

2003-02-05 Thread Olaf Weber
Thomas Esser writes:

> A better fix was suggested by Olaf Weber:

> --- orig/texk/web2c/mpware/makempx.in Fri Oct 26 15:22:46 2001
> +++ texk/web2c/mpware/makempx.in  Tue Feb  4 18:31:57 2003
> @@ -15,7 +15,7 @@
>  : ${MPTOTEX="mpto -tex"}
>  : ${MPTOTR="mpto -troff"}
>  : ${NEWER=newer}
> -: ${TEX=tex}
> +: ${TEX=tex --parse-first-line}
>  : ${TROFF='eqn -d\$\$ | troff -Tpost'}
 
>  # convert relative path to absolute in $MAKEMPX_BINDIR:

By the way, I don't think quotes are required there, but do test so
they can be added if necessary.

-- 
Olaf Weber

   (This space left blank for technical reasons.)




Re: mpost problem

2003-02-05 Thread Julian Gilbey
On Tue, Feb 04, 2003 at 06:33:59PM +0100, Thomas Esser wrote:
> > and changing this to:
> >parse_first_line = t
> > would make things work again.
> 
> Sure, but I suggest to give the user a real "TeX" by default. If he
> wants to change this default, that's his decision...

Agreed (I noted this as the cause of the issue, but don't think we
should change it globally because of this).

> > Further, he advised to add to the beginning of /usr/bin/makempx 
> >parse_first_line=t
> >export parse_first_line
> > to prevent this going wrong for other people.
> 
> A better fix was suggested by Olaf Weber:
> 
> --- orig/texk/web2c/mpware/makempx.in Fri Oct 26 15:22:46 2001
> +++ texk/web2c/mpware/makempx.in  Tue Feb  4 18:31:57 2003
> @@ -15,7 +15,7 @@
>  : ${MPTOTEX="mpto -tex"}
>  : ${MPTOTR="mpto -troff"}
>  : ${NEWER=newer}
> -: ${TEX=tex}
> +: ${TEX=tex --parse-first-line}
>  : ${TROFF='eqn -d\$\$ | troff -Tpost'}
>  
>  # convert relative path to absolute in $MAKEMPX_BINDIR:

Nice!

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Julian Gilbey, website: http://www.polya.uklinux.net/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
 Visit http://www.thehungersite.com/ to help feed the hungry



Re: mpost problem

2003-02-04 Thread Atsuhito Kohda
From: Thomas Esser <[EMAIL PROTECTED]>
Subject: Re: mpost problem
Date: Tue, 4 Feb 2003 18:33:59 +0100

> > and changing this to:
> >parse_first_line = t
> > would make things work again.
> 
> Sure, but I suggest to give the user a real "TeX" by default. If he
> wants to change this default, that's his decision...
> 
> > Further, he advised to add to the beginning of /usr/bin/makempx 
> >parse_first_line=t
> >export parse_first_line
> > to prevent this going wrong for other people.
> 
> A better fix was suggested by Olaf Weber:

Thanks for your kind suggestions.

Best regards,   2003.2.5(Wed)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <[EMAIL PROTECTED]>
 Department of Math., Univ. of Tokushima



Re: mpost problem

2003-02-04 Thread Thomas Esser
> and changing this to:
>parse_first_line = t
> would make things work again.

Sure, but I suggest to give the user a real "TeX" by default. If he
wants to change this default, that's his decision...

> Further, he advised to add to the beginning of /usr/bin/makempx 
>parse_first_line=t
>export parse_first_line
> to prevent this going wrong for other people.

A better fix was suggested by Olaf Weber:

--- orig/texk/web2c/mpware/makempx.in   Fri Oct 26 15:22:46 2001
+++ texk/web2c/mpware/makempx.inTue Feb  4 18:31:57 2003
@@ -15,7 +15,7 @@
 : ${MPTOTEX="mpto -tex"}
 : ${MPTOTR="mpto -troff"}
 : ${NEWER=newer}
-: ${TEX=tex}
+: ${TEX=tex --parse-first-line}
 : ${TROFF='eqn -d\$\$ | troff -Tpost'}
 
 # convert relative path to absolute in $MAKEMPX_BINDIR:

Thomas



mpost problem

2003-02-03 Thread Atsuhito Kohda
Hi all,

I am one of maintainers of teTeX in Debian and got a bug 
report on mpost.

Please visit http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=179505

And one of our maintainers, Julian, told me that this might
be caused by the line in texmf.cnf

   parse_first_line = f

and changing this to:

   parse_first_line = t

would make things work again.

Further, he advised to add to the beginning of /usr/bin/makempx 

   parse_first_line=t
   export parse_first_line

to prevent this going wrong for other people.

How do you think on this advice?

I noticed in ChangeLog that it said

Sat Oct 26 21:54:03 CEST 2002
* remove that parse_first_line.mpost line (it does not help)

so this might be already discussed in this (or somewhere else) list.
If so, very sorry.

Best regards,   2003-2-4(Tue)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <[EMAIL PROTECTED]>
 Department of Math., Tokushima Univ.