[tex-live] Undocumented change in fmtutil --enablefmt/--disablefmt

Ken Brown kbrow1i at gmail.com
Tue Jun 16 13:43:33 CEST 2015


On 6/16/2015 7:28 AM, Zdenek Wagner wrote:
> 2015-06-16 13:10 GMT+02:00 Ken Brown <kbrow1i at gmail.com>:
>> In TL2014, the commands 'fmtutil-sys --enablefmt cont-en' and 'fmtutil-sys
>> --disablefmt cont-en' would enable/disable both cont-en formats (one with
>> engine pdftex, the other with engine xetex).
>>
>> This has changed in TL2015:
>>
>> $ fmtutil-sys --enablefmt cont-en
>> fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence
>> order):
>> fmtutil:   /usr/local/texlive/2015/texmf-config/web2c/fmtutil.cnf
>> fmtutil:   /usr/local/texlive/2015/texmf-dist/web2c/fmtutil.cnf
>> fmtutil: fmtutil is using the following fmtutil.cnf file for writing
>> changes:
>> fmtutil:   /usr/local/texlive/2015/texmf-config/web2c/fmtutil.cnf
>> fmtutil [WARNING]: More engines given for format cont-en.
>> fmtutil [WARNING]: Please specify one of the engines: xetex pdftex
>> fmtutil [WARNING]: No changes done.
>>
>> Neither the error message nor the fmtutil help text explains *how* to
>> specify the engine (by using the syntax "format/engine").  I suggest adding
>> this information.  In the case of the help text, you should probably mention
>> both
>>
>>    --enablefmt FORMATNAME
>>
>> and
>>
>>    --enablefmt FORMATNAME/ENGINENAME
>>
>> and say that the second form is mandatory if FORMATNAME occurs in
>> fmtutil.cnf with more than one engine.
>>
> I have not tried but it may be the same with pdfcsplain, we have
> formats for three engines but the formats share the same name:
>
> $ find /usr/local/texlive/2015/ -name pdfcsplain.fmt
> /usr/local/texlive/2015/texmf-var/web2c/luatex/pdfcsplain.fmt
> /usr/local/texlive/2015/texmf-var/web2c/pdftex/pdfcsplain.fmt
> /usr/local/texlive/2015/texmf-var/web2c/xetex/pdfcsplain.fmt

Yes, it is the same.  I should have made it clear that I was just using cont-en 
as an example.

Ken



More information about the tex-live mailing list