[NTG-context] Re: Installation problem

Patrick Gundlach ntg-context@ntg.nl
Tue Jun 22 11:21:19 CEST 2004


Hello Hans and Matt,


here is my solution:

in texexec.ini change

set  TeXFormatFlag      to  &

into:

set  TeXFormatFlag      to  

(empty)


and run texexec like:

texexec --tex=pdfetex file.tex


this is because texexec checks 

if ( $TeXFormatFlag eq "" ) {
    if ($TeXProgram =~ /(etex|pdfetex)/) {
        $TeXFormatFlag = "-efmt=" ; # >=2004 -fmt=
    } elsif ($TeXProgram =~ /(eomega)/) {
        $TeXFormatFlag = "-eoft=" ; # >=2004 obsolete
    } elsif ($TeXProgram =~ /(aleph)/) {
        $TeXFormatFlag = "-fmt=" ;
    } else {
        $TeXFormatFlag = "-fmt=" ;
    }
}


and $TeXProgram is not set to $TeXExecutable (why the two different vars?)


Patrick



More information about the ntg-context mailing list