texlive-bin/core 2017

This commit is contained in:
AlmAck 2017-10-26 21:35:10 +02:00
parent 0303dd6dfb
commit 52b353b2b2
7 changed files with 1374 additions and 130 deletions

View File

@ -1,9 +1,9 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-bin
pkgname=('texlive-bin' 'libsynctex')
pkgver=2016.41290
pkgrel=8
_biber_ver=2.5 # for biblatex 3.4 only.
pkgver=2017.44590
pkgrel=2
_biber_ver=2.6 # for biblatex 3.5 only.
license=('GPL')
arch=('x86_64')
makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
@ -12,27 +12,44 @@ makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
'perl' 'clisp' 'ffcall')
url='http://tug.org/texlive/'
source=("http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
"http://downloads.sourceforge.net/project/biblatex-biber/biblatex-biber/${_biber_ver}/binaries/Linux/biber-linux_x86_64.tar.gz")
"http://downloads.sourceforge.net/project/biblatex-biber/biblatex-biber/${_biber_ver}/binaries/Linux/biber-linux_x86_64.tar.gz"
"luatex-gcc7.patch"
"texlive-poppler-0.59.patch")
noextract=(biber-linux_x86_64.tar.gz)
md5sums=('7303361f2d441eb5c962a996fd77e8fa'
'688235040e2cab1020b7e75a03845a1c')
md5sums=('aef593aa0021ececdaeb0845e85ec70b'
'25709fa4b66c57ec2dfe9e382f23d72c'
'd5d1671308eba33b4f23b697834485c6'
'382d5c6a3261d35055bd65974ebbd5f5')
prepare() {
tar xf biber-linux_x86_64.tar.gz
cd "$srcdir/source"
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
## prevent compiling Xdvi with libXp
sed -i~ 's|-lXp ||' texk/xdvik/configure
# Luatex crashes when compiled with GCC7.1
patch -Np0 -i "${srcdir}/luatex-gcc7.patch"
# Poppler 0.58 introduces API changes by hiding internal object
# management.
patch -Np1 -i "${srcdir}/texlive-poppler-0.59.patch"
}
build() {
export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"
tar xf biber-linux_x86_64.tar.gz
# t4ht expects to be un /usr/share/texmf/bin/t4ht
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
#############################################################
### configure
cd source
## prevent compiling Xdvi with libXp
sed -i~ 's|-lXp ||' texk/xdvik/configure
test ! -d Work && mkdir Work
cd Work
echo "--> Initial configuration..."
cd "$srcdir"
#############################################################
### configure
cd source
mkdir -p Work
cd Work
echo "--> Initial configuration..."
# we use temporary prefix to avoid messing the existing
# $pkgdir/usr/share/texmf tree
# system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
@ -91,9 +108,8 @@ package_libsynctex() {
install -d "$pkgdir"/usr/lib
for lib in "$srcdir"/source/Work/texk/web2c/.libs/libsynctex.so*; do
cp -P $lib "$pkgdir"/usr/lib/
done
cd "${srcdir}/source/Work"
make -C texk/web2c DESTDIR="${pkgdir}" install-data-am install-libLTLIBRARIES
}
package_texlive-bin() {
@ -109,67 +125,65 @@ package_texlive-bin() {
options=('!strip')
#############################################################
### install
cd source
# fixes for xindy
find utils/xindy -name Makefile \
-exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" \
-e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" \
-e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" \
-e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
### install
cd source
# fixes for xindy
find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
echo "-------------------------------------------------------"
echo "--> Proceeding with make install ..."
echo "-------------------------------------------------------"
cd Work
make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
## install biber
install -m755 "${srcdir}"/biber "${pkgdir}/usr/bin/biber"
echo "-------------------------------------------------------"
echo "--> Proceeding with make install ..."
echo "-------------------------------------------------------"
cd Work
make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
## install biber
install -m755 "${srcdir}"/biber "${pkgdir}/usr/bin/biber"
## symlink engines by hand. texlinks has moved to texlive-core...
mkdir -p ${pkgdir}/usr/bin
ln -s eptex ${pkgdir}/usr/bin/platex
ln -s euptex ${pkgdir}/usr/bin/uplatex
ln -s luatex ${pkgdir}/usr/bin/dvilualatex
ln -s luatex ${pkgdir}/usr/bin/dviluatex
ln -s luatex ${pkgdir}/usr/bin/lualatex
ln -s pdftex ${pkgdir}/usr/bin/amstex
ln -s pdftex ${pkgdir}/usr/bin/cslatex
ln -s pdftex ${pkgdir}/usr/bin/csplain
ln -s pdftex ${pkgdir}/usr/bin/eplain
ln -s pdftex ${pkgdir}/usr/bin/etex
ln -s pdftex ${pkgdir}/usr/bin/jadetex
ln -s pdftex ${pkgdir}/usr/bin/latex
ln -s tex ${pkgdir}/usr/bin/lollipop
ln -s pdftex ${pkgdir}/usr/bin/mex
ln -s pdftex ${pkgdir}/usr/bin/mllatex
ln -s pdftex ${pkgdir}/usr/bin/mltex
ln -s pdftex ${pkgdir}/usr/bin/pdfetex
ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
ln -s pdftex ${pkgdir}/usr/bin/pdflatex
ln -s pdftex ${pkgdir}/usr/bin/pdfmex
ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
ln -s pdftex ${pkgdir}/usr/bin/texsis
ln -s pdftex ${pkgdir}/usr/bin/utf8mex
ln -s pdftex ${pkgdir}/usr/bin/xmltex
ln -s xetex ${pkgdir}/usr/bin/xelatex
## symlink engines by hand. texlinks has moved to texlive-core...
mkdir -p ${pkgdir}/usr/bin
ln -s eptex ${pkgdir}/usr/bin/platex
ln -s euptex ${pkgdir}/usr/bin/uplatex
ln -s luatex ${pkgdir}/usr/bin/dvilualatex
ln -s luatex ${pkgdir}/usr/bin/dviluatex
ln -s luatex ${pkgdir}/usr/bin/lualatex
ln -s pdftex ${pkgdir}/usr/bin/amstex
ln -s pdftex ${pkgdir}/usr/bin/cslatex
ln -s pdftex ${pkgdir}/usr/bin/csplain
ln -s pdftex ${pkgdir}/usr/bin/eplain
ln -s pdftex ${pkgdir}/usr/bin/etex
ln -s pdftex ${pkgdir}/usr/bin/jadetex
ln -s pdftex ${pkgdir}/usr/bin/latex
ln -s tex ${pkgdir}/usr/bin/lollipop
ln -s pdftex ${pkgdir}/usr/bin/mex
ln -s pdftex ${pkgdir}/usr/bin/mllatex
ln -s pdftex ${pkgdir}/usr/bin/mltex
ln -s pdftex ${pkgdir}/usr/bin/pdfetex
ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
ln -s pdftex ${pkgdir}/usr/bin/pdflatex
ln -s pdftex ${pkgdir}/usr/bin/pdfmex
ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
ln -s pdftex ${pkgdir}/usr/bin/texsis
ln -s pdftex ${pkgdir}/usr/bin/utf8mex
ln -s pdftex ${pkgdir}/usr/bin/xmltex
ln -s xetex ${pkgdir}/usr/bin/xelatex
#############################################################
# remove dangling symlinks
_bibtexextra_scripts="
bibexport
#############################################################
# remove dangling symlinks
_bibtexextra_scripts="
bbl2bib
bibdoiadd
bibexport
bibmradd
bibzbladd
listbib
ltx2crossrefxml
multibibliography
urlbst
"
_core_scripts="
_core_scripts="
a2ping
a5toa4
adhocfilelist
@ -202,15 +216,26 @@ epstopdf
findhyph
fmtutil
fmtutil-sys
fmtutil-user
fontinst
fragmaster
ht
htcontext
htlatex
htmex
httex
httexi
htxelatex
htxetex
installfont-tl
kpsepath
kpsetool
kpsewhere
kpsexpand
latex-git-log
latex-papersize
latex2man
latex2nemeth
latexdiff
latexdiff-vc
latexfileversion
@ -224,9 +249,11 @@ ltximg
lua2dox_filter
luaotfload-tool
luatools
lwarpmk
make4ht
match_parens
mf2pt1
mk4ht
mkjobtexmf
mkt1font
mktexfmt
@ -247,6 +274,7 @@ pdfjam-pocketmod
pdfjam-slides3up
pdfjam-slides6up
pdfjoin
pdflatexpicscale
pdfnup
pdfpun
pdfxup
@ -281,27 +309,32 @@ texlinks
texliveonfly
texloganalyser
texmfstart
texosquery
texosquery-jre5
texosquery-jre8
thumbpdf
typeoutfileinfo
updmap
updmap-sys
updmap-user
vpl2ovp
vpl2vpl
xhlatex
xindy
"
_games_scripts="rubikrotation"
_htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
_games_scripts="rubikrotation"
_humanities_scripts="diadia"
_langcyrillic_scripts="rubibtex rumakeindex"
_langextra_scripts="ebong"
_langgreek_scripts="mkgrkindex"
_langjapanese_scripts="convbkmk ptex2pdf
_langcyrillic_scripts="rubibtex rumakeindex"
_langextra_scripts="ebong"
_langgreek_scripts="mkgrkindex"
_langjapanese_scripts="convbkmk ptex2pdf
kanji-fontmap-creator
kanji-config-updmap
kanji-config-updmap-sys
kanji-config-updmap-user
"
_langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
_latexextra_scripts="
_langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
_latexextra_scripts="
authorindex
exceltex
makedtx
@ -314,8 +347,8 @@ splitindex
svn-multi
vpe
yplan"
_music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
m-tx musixtex musixflx pmx2pdf pmxchords"
_music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
m-tx musixtex musixflx pmxchords"
_pictures_scripts="
cachepic
epspdf
@ -325,29 +358,32 @@ getmapdl
mathspic
mkpic
pn2pdf"
_pstricks_scripts="pedigree pst2pdf"
_science_scripts="pygmentex ulqda"
for s in \
${_bibtexextra_scripts} \
${_core_scripts} \
${_games_scripts} \
${_htmlxml_scripts} \
_pstricks_scripts="pedigree pst2pdf"
_science_scripts="pygmentex ulqda"
for s in \
${_bibtexextra_scripts} \
${_core_scripts} \
${_games_scripts} \
${_htmlxml_scripts} \
${_humanities_scripts} \
${_langcyrillic_scripts} \
${_langextra_scripts} \
${_langgreek_scripts} \
${_langjapanese_scripts} \
${_langkorean_scripts} \
${_latexextra_scripts} \
${_music_scripts} \
${_pictures_scripts} \
${_pstricks_scripts} \
${_science_scripts} \
tlmgr; do
! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
done
###################################################################
${_langcyrillic_scripts} \
${_langextra_scripts} \
${_langgreek_scripts} \
${_langjapanese_scripts} \
${_langkorean_scripts} \
${_latexextra_scripts} \
${_music_scripts} \
${_pictures_scripts} \
${_pstricks_scripts} \
${_science_scripts} \
tlmgr; do
! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
done
###################################################################
# remove libsynctex
rm -f "$pkgdir"/usr/lib/libsynctex.*
rm -f "$pkgdir"/usr/include/synctex/*
rm -f "$pkgdir"/usr/lib/libsynctex.*
rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
rm -f "$pkgdir"/usr/share/man/man*/synctex.*
}

View File

@ -1,12 +0,0 @@
--- source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c.orig 2009-09-30 19:27:00.935039526 +0200
+++ source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c 2009-09-30 19:28:04.908364646 +0200
@@ -495,6 +495,9 @@
{ "Big5HKSCS", e_big5hkscs },
{ "Big5-HKSCS", e_big5hkscs },
{ "UTF-8", e_utf8 },
+ { "utf-8", e_utf8 },
+ { "UTF8", e_utf8 },
+ { "utf8", e_utf8 },
{ "ISO-10646/UTF-8", e_utf8 },
{ "ISO_10646/UTF-8", e_utf8 },
{ "UCS2", e_unicode },

View File

@ -0,0 +1,32 @@
Author: Dr. Werner Fink <werner@suse.de>
---
texk/web2c/luatexdir/luaffi/ctype.c | 4 ++++
texk/web2c/luatexdir/luaffi/ffi.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
--- texk/web2c/luatexdir/luaffi/ctype.c
+++ texk/web2c/luatexdir/luaffi/ctype.c 2017-05-31 13:08:25.421741873 +0000
@@ -245,6 +245,10 @@ void* to_cdata(lua_State* L, int idx, st
lua_pop(L, 1); /* mt */
cd = (struct cdata*) lua_touserdata(L, idx);
+ if (!cd) {
+ lua_pushnil(L);
+ return NULL;
+ }
*ct = cd->type;
lua_getuservalue(L, idx);
--- texk/web2c/luatexdir/luaffi/ffi.h
+++ texk/web2c/luatexdir/luaffi/ffi.h 2017-06-01 09:12:45.128442092 +0000
@@ -370,7 +370,7 @@ __declspec(align(16))
#endif
struct cdata {
const struct ctype type
-#ifdef __GNUC__
+#if 0 /* def __GNUC__ */
__attribute__ ((aligned(16)))
#endif
;

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,7 @@ post_upgrade() {
_pacout=$(pacman -Q texlive-core 2>/dev/null)
read corename corever <<< ${_pacout}
# only recreate formats if texlive-core has right version
if [[ ${corever} == 2016* ]]; then
if [[ ${corever} == 2017* ]]; then
if [[ -f usr/bin/fmtutil-sys ]]; then
echo -n "recreating all formats..."
usr/bin/fmtutil-sys --all 1>/dev/null

View File

@ -1,8 +1,8 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-core
pkgname=texlive-core
pkgver=2016.41471
_revnr=${pkgver#2016.}
pkgver=2017.44918
_revnr=${pkgver#2017.}
pkgrel=1
pkgdesc="TeX Live core distribution"
license=('GPL')
@ -26,6 +26,7 @@ replaces=('tetex' 'texlive-latex3')
url='http://tug.org/texlive/'
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
"$pkgname.maps"
"$pkgname.fmts"
"texmf.cnf"
"texmfcnf.lua"
"09-texlive-fonts.conf")
@ -41,8 +42,9 @@ backup=(etc/texmf/web2c/texmf.cnf \
etc/texmf/web2c/fmtutil.cnf \
etc/texmf/web2c/mktex.cnf \
etc/texmf/xdvi/XDvi)
md5sums=('7e73ca95a2c2da5cb59af6fbb2aa40fe'
md5sums=('feee8bb3f8ea6c55941c5dcd9b423ac2'
'54a34f8ddbeccec2427e4d5763349f9b'
'd38aaf62ad1e4d09113c44cd68d82fed'
'df537245012f3e5f05bdc55644b7a3df'
'16ad4dc53deb00029baef1b01ba1d984'
'393a4bf67adc7ca5df2b386759d1a637')
@ -61,6 +63,7 @@ package() {
sed -i '/^#/d' CONTENTS
install -m644 -D CONTENTS $pkgdir/var/lib/texmf/chakra/installedpkgs/${pkgname}_${_revnr}.pkgs
install -m644 $pkgname.maps $pkgdir/var/lib/texmf/chakra/installedpkgs/
install -m644 $pkgname.fmts $pkgdir/var/lib/texmf/chakra/installedpkgs/
install -m755 -d $pkgdir/usr/share
wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
for dir in $wanteddirs; do
@ -113,10 +116,6 @@ package() {
"$pkgdir"/etc/texmf/xdvi/
# remove TL specific warnings in the language.{dat,def} files:
sed -i -e '/DO NOT EDIT/,+3 d' "$pkgdir"/etc/texmf/tex/generic/config/language.*
# clean updmap.cfg
sed -i '/^\(Map\|MixedMap\)/d' "$pkgdir"/etc/texmf/web2c/updmap.cfg
sed -i '/^#! \(Map\|MixedMap\)/d' "$pkgdir"/etc/texmf/web2c/updmap.cfg
# replace upstream texmf.cnf with ours
rm -f "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf
@ -126,8 +125,6 @@ package() {
ln -sf /etc/texmf/web2c/texmf.cnf "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf
# replace upstream texmfcnf.lua with ours
install -m644 "$srcdir"/texmfcnf.lua "$pkgdir"/usr/share/texmf-dist/web2c/texmfcnf.lua
## remove aleph from fmtutil.cnf
sed -i -e '/aleph/d' "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf
# create symlinks for formats
echo "--> Create symlinks for TeX formats ..."
@ -187,6 +184,7 @@ de-macro/de-macro
dosepsbin/dosepsbin.pl
dtxgen/dtxgen
dviasm/dviasm.py
dviinfox/dviinfox.pl
epstopdf/epstopdf.pl
findhyph/findhyph
fontools/afm2afm
@ -195,7 +193,9 @@ fontools/ot2kpx
fragmaster/fragmaster.pl
installfont/installfont-tl
latex-git-log/latex-git-log
latex-papersize/latex-papersize.py
latex2man/latex2man
latex2nemeth/latex2nemeth
latexdiff/latexdiff-vc.pl
latexdiff/latexdiff.pl
latexdiff/latexrevise.pl
@ -207,13 +207,14 @@ ltxfileinfo/ltxfileinfo
ltximg/ltximg.pl
lua2dox/lua2dox_filter
luaotfload/luaotfload-tool.lua
lwarp/lwarpmk.lua
make4ht/make4ht
match_parens/match_parens
mf2pt1/mf2pt1.pl
mkjobtexmf/mkjobtexmf.pl
oberdiek/pdfatfi.pl
pdfbook2/pdfbook2
pdfcrop/pdfcr
pdfcrop/pdfcrop.pl
pdfjam/pdf180
pdfjam/pdf270
pdfjam/pdf90
@ -226,6 +227,7 @@ pdfjam/pdfjam-slides6up
pdfjam/pdfjoin
pdfjam/pdfnup
pdfjam/pdfpun
pdflatexpicscale/pdflatexpicscale.pl
pdfxup/pdfxup
pfarrei/a5toa4.tlu
pfarrei/pfarrei.tlu
@ -240,6 +242,16 @@ srcredact/srcredact.pl
sty2dtx/sty2dtx.pl
texcount/texcount.pl
tex4ebook/tex4ebook
tex4ht/ht.sh
tex4ht/htcontext.sh
tex4ht/htlatex.sh
tex4ht/htmex.sh
tex4ht/httex.sh
tex4ht/httexi.sh
tex4ht/htxelatex.sh
tex4ht/htxetex.sh
tex4ht/mk4ht.pl
tex4ht/xhlatex.sh
texdef/texdef.pl
texdiff/texdiff
texdirflatten/texdirflatten
@ -252,6 +264,7 @@ texlive/dvi2fax.sh
texlive/dvired.sh
texlive/e2pall.pl
texlive/fmtutil-sys.sh
texlive/fmtutil-user.sh
texlive/fmtutil.pl
texlive/fontinst.sh
texlive/kpsetool.sh
@ -264,6 +277,7 @@ texlive/texconfig-sys.sh
texlive/texconfig.sh
texlive/texlinks.sh
texlive/updmap-sys.sh
texlive/updmap-user.sh
texlive/updmap.pl
texliveonfly/texliveonfly.py
texloganalyser/texloganalyser

View File

@ -0,0 +1,32 @@
cont-en pdftex cont-usr.tex -8bit *cont-en.mkii
cont-en xetex cont-usr.tex -8bit *cont-en.mkii
#! cont-fr pdftex cont-usr.tex -8bit *cont-fr.mkii
#! cont-it pdftex cont-usr.tex -8bit *cont-it.mkii
#! cont-nl pdftex cont-usr.tex -8bit *cont-nl.mkii
#! cont-ro pdftex cont-usr.tex -8bit *cont-ro.mkii
cslatex pdftex - -etex cslatex.ini
csplain pdftex - -etex -enc csplain-utf8.ini
dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini
dviluatex luatex language.def,language.dat.lua dviluatex.ini
etex pdftex language.def -translate-file=cp227.tcx *etex.ini
latex pdftex language.dat -translate-file=cp227.tcx *latex.ini
#! luajitlatex luajittex language.dat,language.dat.lua lualatex.ini
luajittex luajittex language.def,language.dat.lua luatex.ini
lualatex luatex language.dat,language.dat.lua lualatex.ini
luatex luatex language.def,language.dat.lua luatex.ini
mex pdftex mexconf.tex -translate-file=cp227.tcx *mex.ini
mf mf-nowin - -translate-file=cp227.tcx mf.ini
#! mflua mflua-nowin - mf.ini
mptopdf pdftex - -translate-file=cp227.tcx mptopdf.tex
pdfcslatex pdftex - -etex cslatex.ini
pdfcsplain luatex - -etex csplain.ini
pdfcsplain pdftex - -etex -enc csplain-utf8.ini
pdfcsplain xetex - -etex csplain.ini
pdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
pdflatex pdftex language.dat -translate-file=cp227.tcx *pdflatex.ini
pdfmex pdftex mexconf.tex -translate-file=cp227.tcx *pdfmex.ini
pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
tex tex - tex.ini
utf8mex pdftex mexconf.tex -enc *utf8mex.ini
xelatex xetex language.dat -etex xelatex.ini
xetex xetex language.def -etex xetex.ini