diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:23 +0000 |
commit | 0d9effad76aadeaf26ed7706be6f79e3aaef716e (patch) | |
tree | 9a3fddab2f3686ce02eca1366b0d923c655a0012 /Master/texmf-dist/tex/cslatex/base/cslatex.ini | |
parent | 92a15e15b276458e10aa05016bf472e8c6dd3eb0 (diff) |
trunk/Master/texmf-dist/tex/cslatex
git-svn-id: svn://tug.org/texlive/trunk@609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/cslatex/base/cslatex.ini')
-rw-r--r-- | Master/texmf-dist/tex/cslatex/base/cslatex.ini | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/cslatex/base/cslatex.ini b/Master/texmf-dist/tex/cslatex/base/cslatex.ini new file mode 100644 index 00000000000..7a1223569b0 --- /dev/null +++ b/Master/texmf-dist/tex/cslatex/base/cslatex.ini @@ -0,0 +1,53 @@ +%% The cslatex ini file +%% use: +%% tex -ini cslatex.ini +%% or (for example): +%% tex -ini \let\enc=w \input cslatex.ini +%% see the csplain.doc in csplain.tar/zip for more details + +\ifx\enc\undefined \else %% Reencoding by encTeX is needed + \begingroup + \catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`^=7 + \globaldefs=1 \input csenc-\enc.tex % changed in Sep. 2005 + \global\let\orieveryjob=\everyjob + \gdef\everyjob#1{\let\everyjob=\orieveryjob + \let\orieveryjob=\undefined + \everyjob=\expandafter{\the\everyjob #1}} + \endgroup +\fi +\ifx\xprncode\undefined \else %% The encTeX is detected + \begingroup + \catcode`\{=1 \catcode`\}=2 + \count255=128 + \def\next{\xprncode\count255=1 \advance\count255 by 1 + \ifnum \count255>255 \let\next=\relax \fi \next} + \next + \endgroup +% \let\enc=\undefined \let\setinputchr=\undefined +% \let\xordcode=\undefined \let\xchrcode=\undefined \let\xprncode=\undefined +\fi + +\ifx\pdfoutput\undefined \else % added in Feb. 2005 + \catcode`\{=1 \catcode`\}=2 + \def\tmpa{\pdfcslatex} + \expandafter\def\expandafter\tmpb\expandafter{\csname\jobname\endcsname} + \ifx\tmpa\tmpb %% PDFTeX with PDF output + \message {jobname=pdfcslatex, PDF output initialised.} + \openin0=pdftexconfig.tex + \ifeof0 \message{WARNING: pdftexconfig.tex does not exist. + I set \string\pdfoutput=1 only.}% + \else \closein0 \input pdftexconfig.tex + \fi + \pdfoutput=1 + \else + \message {jobname=cslatex with pdftex, DVI output initialised.} + \pdfoutput=0 + \let\oripdfoutput=\pdfoutput \let\pdfoutput=\undefined + \fi + \let\tmpa=\undefined \let\tmpb=\undefined + \catcode`\{=12 +\fi + + +\input latex.ltx + |