I am trying to build new MikTeX format "csplain". The reason is that after unpacking MikTeX portable csplain is not enabled by default. The sequence of steps can be seen in following screenshots:
1.
- Unchecked option "Exclude this format when updating all format files".
- Clicked on "Build" button.
- Received following error message:
- Clicked on "Áno" (means Yes in english language):
This is output of command "pdftex -ini -enable-enctex csplain-utf8.ini" recommended by Ulrike for better diagnostics of problem:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (INITEX)
encTeX v. Jun. 2004, reencoding enabled.
(f:\Software\_Office\MikTex\tex\csplain\base\csplain-utf8.ini
(f:\Software\_Office\MikTex\tex\csplain\base\csplain.ini
(f:\Software\_Office\MikTex\tex\csplain\base\csfonts.tex)
(f:\Software\_Office\MikTex\tex\plain\base\plain.tex
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(f:\Software\_Office\MikTex\tex\generic\hyphen\hyphen.tex))
(f:\Software\_Office\MikTex\tex\csplain\base\csfontsm.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\il2code.tex
Font encoding set to ISO-8859-2.)
(f:\Software\_Office\MikTex\tex\csplain\base\hyphen.lan
Loading US English hyphenation patterns in ASCII encoding, \enPatt=0 (en).
(f:\Software\_Office\MikTex\tex\csplain\base\hyphen.ex
Enhyphex.tex English exception words.)
Loading Czech hyphenation patterns in ISO-8859-2 encoding, \csILtwo=5 (cs).
(f:\Software\_Office\MikTex\tex\csplain\base\czhyphen.tex)
(f:\Software\_Office\MikTex\tex\generic\hyphen\czhyphen.ex)
Loading Slovak hyphenation patterns in ISO-8859-2 encoding, \skILtwo=6 (sk).
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.ex)
Loading Czech hyphenation patterns in Cork encoding, \csCork=15 (cs).
(f:\Software\_Office\MikTex\tex\csplain\base\t1code.tex
Font encoding set to Cork.)
(f:\Software\_Office\MikTex\tex\csplain\base\czhyphen.tex)
(f:\Software\_Office\MikTex\tex\generic\hyphen\czhyphen.ex)
Loading Slovak hyphenation patterns in Cork encoding, \skCork=16 (sk).
(f:\Software\_Office\MikTex\tex\csplain\base\t1code.tex
Font encoding set to Cork.)
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.ex)
5 patterns preloaded: \enPatt =0 \csILtwo =5 \skILtwo =6 \csCork =15 \skCork =1
6 Defaults: \language=0, \cmaccents, \nonfrenchspacing,
ISO-8859-2 font encoding)
(f:\Software\_Office\MikTex\tex\csplain\base\plaina4.tex
\hsize=159.2 mm \vsize=239.2 mm)
(f:\Software\_Office\MikTex\tex\csplain\base\csenc-u.tex
(f:\Software\_Office\MikTex\tex\generic\enctex\utf8unkn.tex)
! Undefined control sequence.
l.116 ...in=1 \mubyteout=3 \mubytelog=1 \xprncodes
=0
And this is full output of build command after doing all the things recommended by Ulrike:
Creating the csplain format file...
Running miktex-pdftex.exe...
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (INITEX)
entering extended mode
encTeX v. Jun. 2004, reencoding enabled.
(f:\Software\_Office\MikTex\tex\csplain\base\csplain-utf8.ini
(f:\Software\_Office\MikTex\tex\csplain\base\csplain.ini
(f:\Software\_Office\MikTex\tex\csplain\base\csfonts.tex)
(f:\Software\_Office\MikTex\tex\plain\base\plain.tex
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(f:\Software\_Office\MikTex\tex\generic\hyphen\hyphen.tex))
(f:\Software\_Office\MikTex\tex\csplain\base\csfontsm.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\il2code.tex
Font encoding set to ISO-8859-2.)
(f:\Software\_Office\MikTex\tex\csplain\base\hyphen.lan
eTeX's \savinghyphcodes detected - \lccode settings per pattern are saved.
Loading US English hyphenation patterns in ASCII encoding, \enPatt=0 (en).
(f:\Software\_Office\MikTex\tex\csplain\base\hyphen.ex
Enhyphex.tex English exception words.)
Loading Czech hyphenation patterns in ISO-8859-2 encoding, \csILtwo=5 (cs).
(f:\Software\_Office\MikTex\tex\csplain\base\czhyphen.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\czhyphen.ex)
Loading Slovak hyphenation patterns in ISO-8859-2 encoding, \skILtwo=6 (sk).
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.ex)
Loading Czech hyphenation patterns in Cork encoding, \csCork=15 (cs).
(f:\Software\_Office\MikTex\tex\csplain\base\t1code.tex
Font encoding set to Cork.)
(f:\Software\_Office\MikTex\tex\csplain\base\czhyphen.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\czhyphen.ex)
Loading Slovak hyphenation patterns in Cork encoding, \skCork=16 (sk).
(f:\Software\_Office\MikTex\tex\csplain\base\t1code.tex
Font encoding set to Cork.)
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.tex)
(f:\Software\_Office\MikTex\tex\csplain\base\skhyphen.ex)
5 patterns preloaded: \enPatt =0 \csILtwo =5 \skILtwo =6 \csCork =15 \skCork =1
6 Defaults: \language=0, \cmaccents, \nonfrenchspacing,
ISO-8859-2 font encoding)
(f:\Software\_Office\MikTex\tex\csplain\base\plaina4.tex
\hsize=159.2 mm \vsize=239.2 mm)
(f:\Software\_Office\MikTex\tex\csplain\base\csenc-u.tex
(f:\Software\_Office\MikTex\tex\generic\enctex\utf8unkn.tex)
! Undefined control sequence.
l.116 ...in=1 \mubyteout=3 \mubytelog=1 \xprncodes
=0
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: f:\Software\_Office\MikTex\miktex\bin\miktex-makefmt.exe
P.S.
To be more specific about my installation. I downloaded official MikTex portable package 2.9.5105 from http://miktex.org/download and unpacked it. Never used any other version of MikTex on my computer. My operating system is Windows 7 Home Premium 64-bit.
P.S. 2
To answer more specifically to question of Petr here you see file versions of tex\generic\enctex\utf8unkn.tex file. On left side you see screenshot from MikTeX portable installation after update. On right side you see content of installation package "miktex-portable-2.9.5105.exe" (which is 7z archive).
pdftex -ini -enable-enctex csplain-utf8.ini
\xprncodes
is on my system defined in the fileutf8unkn.tex
which is loaded just before the error message (at line 65). Did you check with the update manager if your system is up-to-date? Can you show the content of your version of the file?