[cstex] Generovani formatu v mikTeXu

Zdenek Wagner zdenek.wagner at gmail.com
Fri Nov 22 14:22:24 CET 2013


2013/11/22 Petr Olsak <petr at olsak.net>:
>
> Dobry den,
>
> tem hlasenim taky nejak nerozumim, ani nevim, o co se snazite. Nicmene pro
> uplnost dodavam dve veci:
>
Ja jsem nechtel odpovidat, protoze vnitrnostem MiKTeXu nerozumim, ale
zaujala me hlaska Too late for \patterns. Pokud se nemylim, \patterns
lze pouzit pouze pri generovani formatu a musi byt pouzit initex.
Tahla hlaska by tedy mohla znamenat, ze se format generuje texem, ne
initexem. V nekterych distribucich se initex od texu odlisuje pouze
parametrem na prikazovem radku. Nevim, jak to resi MiKTeX.

> - DVI vystup se dela pdftexem, pokud jmeno formatu nezacina na pdf.
>   Napriklad csplain.fmt. Pokud zacina na pdf (napriklad pdfcsplain), pak
>   implicitne je nastaven PDF vystup.
>
> - Pozadal jsem v zari 2013 Christiana Schenka, aby pridal UTF-8 podporu do
>   csplainu a pridal pdfcsplain. Text s mym navrhem zmen a s odpovedi
>   pripojuji. Osobne jsem pak nic netestoval, protoze MS Windows
>   nepouzivam. A co popisujete se mi jevi tak trochu jako alchymie.
>
> Zdravim
>
> Petr Olsak
>
> ========================================================================
>
> Dear Christian,
>
> I have communicated with some users of MikTeX and I have realized that
> (may be) there is no simple way to configure the iniTeX options for format
> generation. If I understand well the configuration details of MikTeX that
> the name of the format is hardliked to the TeX engine and it is able to
> read *only* the ``Input file'' for format generation from configuration
> data.
>
> So I suggest to add two files to the MikTeX's version of csplain package:
>
> -----------------------------------
>
> csplain.mi:
>
> %&-enc
> \enc=u \input csplain.ini
>
> % csplain.mi -- MikTeX ini file
> % You can write   pdftex -enc -ini csplain.mi   on the command line or
> % you can fill out the "Format Definition" dialog by:
> % Format name = csplain, Compiler = pdftex, Input file name = csplain.mi
> % The format csplain.fmt with UTF-8 input and DVI otput will be created.
>
> pdfcsplain.mi:
>
> %&-enc
> \enc=u \input csplain.ini
>
> % pdfcsplain.mi -- MikTeX ini file
> % You can write   pdftex -enc -ini pdfcsplain.mi   on the command line or
> % you can fill out the "Format Definition" dialog by:
> % Format name = pdfcsplain, Compiler = pdftex, Input file name =
> pdfcsplain.mi
> % The format pdfcsplain.fmt with UTF-8 input and PDF otput will be created.
>
> ------------------------------------
>
> Is it possible to add these files to the MikTeX and to set the csplain and
> the pdfcsplain as the prepared formats?
>
> Thank you
>
> Petr Olsak
>
>
> =============================================
>
> Hello Petr,
>
> thank you for the info. I will add these files to the MiKTeX
> distribution and change formats.ini accordingly.
>
> Kind regards,
> Christian
>
>
> ====================================================================
>
>
> On Fri, 22 Nov 2013, Va'clav Studeny' wrote:
>
>> Musel jsme znovu nainstalovat mikTeX a zdá se mi, ?e se od poslední doby
>> n?co zmenilo: neda?í se mi vytvorit format plainTeXu pro vystup do dvi:
>>
>> Kdy? pomocí zálo?ek nastavím, ?e se má kompilovatr programem TeX, s
>> imputem
>> csplain-utf8.ini  a nebo csplain.ini, poka?dé skon?ím takto:
>>
>>
>>
>> initexmf.EXE: Data: C:\Program Files\MiKTeX
>> 2.9\miktex\bin\x64\miktex-makefmt.exe
>>
>> This is TeX, Version 3.1415926 (MiKTeX 2.9 64-bit) (INITEX)
>> miktex-tex.exe: The memory dump file could not be found.
>> miktex-tex.exe: Data: csplain.fmt
>> miktex-makefmt: miktex-tex.exe failed on csplain.ini.
>> initexmf.EXE: The operation failed for some reason.
>> initexmf.EXE: Data: C:\Program Files\MiKTeX
>> 2.9\miktex\bin\x64\miktex-makefmt.exe
>>
>>
>> nebo
>>
>> miktex-makefmt: miktex-tex.exe failed on csplain-utf8.ini.
>>
>> Musim se priznat, ze tomu chybovemu hlaseni nerozumuim.  Nevite nekdo o co
>> by mohlo jit?
>>
>>
>> Kdyz zkusim ke kompilaci pdfTeX (ale ten by mi, p?edpokládám, stejn? dával
>> výstuop pdf) skoncim chybopu ve skriptu:
>>
>> ("C:\Program Files\MiKTeX 2.9\tex\generic\hyphen\hyphen.tex"
>>
>> ! Too late for \patterns.
>>
>> l.5 \patterns
>>
>>             { % just type <return> if you're not using INITEX
>>
>> No pages of output.
>>
>> Transcript written on csplain-utf8.log.
>>
>> miktex-makefmt: miktex-pdftex.exe failed on csplain-utf8.ini.
>> initexmf.EXE: The operation failed for some reason.
>> initexmf.EXE: Data: C:\Program Files\MiKTeX
>> 2.9\miktex\bin\x64\miktex-makefmt.exe
>>
>> Krom toho ale predpokladam, ze pdfTeX bude mit vystup primo do pdf.
>>
>>
>> ---
>> Tato zpráva neobsahuje viry ani jiný škodlivý kód - avast! Antivirus je
>> aktivní.
>> http://www.avast.com
>>
>>
>> _______________________________________________
>> csTeX mailing list
>> csTeX at cs.felk.cvut.cz
>> https://lists.felk.cvut.cz/mailman/listinfo/cstex
>
>
> _______________________________________________
> csTeX mailing list
> csTeX at cs.felk.cvut.cz
> https://lists.felk.cvut.cz/mailman/listinfo/cstex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz




More information about the csTeX mailing list