[efrench] [26] Suppression de kbXtoY et du support TeX associ?\195?\169. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/efrench Archives
]
Revision: 26
Author: mpg
Date: 2011-01-27 00:09:26 +0100 (Thu, 27 Jan 2011)
Log Message:
-----------
Suppression de kbXtoY et du support TeX associ?\195?\169.
Removed Paths:
-------------
trunk/doc/keyboard_doc.pdf
trunk/initex/tests/kbtest.tex
trunk/initex/tests/kbtest8.tex
trunk/inputs/historyk.pdf
trunk/inputs/keyboard/TeX.kbc
trunk/inputs/keyboard/ansinew.kbc
trunk/inputs/keyboard/applemac.kbc
trunk/inputs/keyboard/ascii.kbc
trunk/inputs/keyboard/cp850.kbc
trunk/inputs/keyboard/decmulti.kbc
trunk/inputs/keyboard/english.keyboard.dat
trunk/inputs/keyboard/french8keyboard-msg.tex
trunk/inputs/keyboard/french_keyboard-msg.tex
trunk/inputs/keyboard/frenchfc.tex
trunk/inputs/keyboard/german8keyboard-msg.tex
trunk/inputs/keyboard/german_keyboard-msg.tex
trunk/inputs/keyboard/kbconfig.tex
trunk/inputs/keyboard/keyboard-msg.tex
trunk/inputs/keyboard/keyboard.dat
trunk/inputs/keyboard/keyboard.org
trunk/inputs/keyboard/keyboard.sty
trunk/inputs/keyboard/keyboard.tex
trunk/inputs/keyboard/latin1.kbc
trunk/inputs/keyboard/latin9.kbc
trunk/inputs/keyboard/next.kbc
trunk/inputs/keyboard/qwerty.kbc
trunk/inputs/keyboard/utf8.kbc
trunk/kb2lex.tex
trunk/kb7to8.c
trunk/kb8to7.c
trunk/tst/kbto.tex
Deleted: trunk/doc/keyboard_doc.pdf
===================================================================
(Binary files differ)
Deleted: trunk/initex/tests/kbtest.tex
===================================================================
--- trunk/initex/tests/kbtest.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/initex/tests/kbtest.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,583 +0,0 @@
-% kbtest.tex Jeu d'essai caracteres accentues 7bits et 8bits cree le 04/28/93
-% Copyright Bernard Gaulle as in french_doc.pdf
-%
-% Peut etre compile sous TeX/LaTeX. C'est un fichier << binaire >> ASCII 8bits
-% Il est adapte a << mon >> clavier (voir apres les catcodes)
-%============================================================
-% Retrait du L scandinave le 7/10/93 pour etre en accord avec keyboard.dat
-% NFSS2 ne pouvait pas traiter correctement ce fichier dans certains cas.
-% (bug dans \@accent@use) patch de Rainer Schoepf inclus. --bg 15/12/93
-% Desactivation des caracteres en dehors du test du format cad
-% qd keyboard.sty est appele a nouveau et fait tout le travail.
-% Passage par un fichier auxchars.tex pour reintroduire dans la
-% bouche de TeX les caracteres desires. --bg 21/12/93
-% Accepter le format LaTeX2e. --bg 29/09/94
-% Let 2e use \typeout instead of \message, hoping that \typeout
-% could expand in a next future (with a screen encoding). --bg 11/17/94
-% Secure \ier in \todayfrench in case \undefined. --bg 12/01/94
-% Print correctly our messages containing diacritics under MlTeX. --bg 12/05/94
-% More precise comments and s-tzet activated. --bg 01/12/95
-% Use of i/I instead of \i/\I with 2e. --bg 02/07/95
-% Last mod done only for T1. --bg 02/08/95
-% Correct invalid syntax for token \csname...\endcsname. --bg 02/10/95
-% Remove information printed for lowercase of I, when MlTeX. --bg 03/07/95
-% Retrait de l'expansion des lignes 8-bits. --bg 04/12/95
-% Second test put inside a group for accurate message. --bg 05/02/96
-% Removing obsolate stuff 2.09. --bg 97/06/20
-% Changing codes for spanish ! and ?, and also the pound sign. --bg 97/09/19
-% \rm is unsure in LaTeX... and always returning to cm/ec fonts
-% thus for testing with Times font... moved to plain test. --bg 97/09/25
-% keyboard is now a LaTeX package, thus few mods. --bg 97/10/01
-% using now \unusedslot (if defined) instead of ^^9c. --bg 97/10/14
-% Added \tracinglostchars.
-% Input encoding now printed if any \kbencoding. --bg 98/04/29
-% Option \forceMlTeXtoCork tested for info. --bg 98/05/11
-% A new line test for 8bits chars in math. when the feature is
-% available (MlTeX, OT1, no active chars).
-% Added \"{y} and \xDD
-% Cedilla still missing in math... --bg 98/05/12
-% Added french guillemets. --bg 98/06/09
-% \newwrite done only if \auxchars \undefined. --bg 98/08/14
-% Macro "!" now defined as \noexpand. --bg 99/08/13
-% Few comments added for math.
-% Math not printed outside OT1.
-% \ifKB is now set to false defaultly. --bg 98/09/01
-% \nonlatin test added for encoding having no uppercase \oe
-% and \"{y}. --bg 98/09/04
-% Nullify accent macros for the math test, in case they were used.--bg 98/12/17
-% \fguillemets & \endfguillemets replaced by \guillemotleft &
-% \guillemotright. --bg 99/01/15
-% \unusedslot usage now listed.
-% Clean up "unusedslot" when finishing. --bg 99/01/19
-% Get modified \lowercase if any. --bg 99/02/18
-% Removed \makeatletter undefined with plain. --bg 99/02/19
-% \@unusedslot may be \undefined. --bg 99/02/25
-% \forceMlTeXtoCork code removed.
-% Added output of \meaning A-grave. --bg 2000/06/29
-% Cedilla now allowed in mltex math mode. --bg 2001/12/14
-% Source of messages now in 7bits. --bg 2003/10/24
-% Few mods, about error handling, for utf8. --bg 2004/02/09
-% Use \MakeLowercase and \MakeUppercase when defined (ie LaTeX)
-% and kbencoding is utf8. Thanks FMi. --bg 2004/02/18
-% Testing if \@kbencoding available or not for testing utf8. --bg 2005/02/23
-% Due to kbconfig V6,10 change, \csname i\endcsname and
-% \csname I\endcsname should be expanded first. --bg 2005/03/09
-%
-%%
-%% checksum = "54348 583 1898 22955"
-%%
-\let\ifKB\iffalse% cette ligne pour la validation d'un format.
-%
-\ifx\typeout\undefined\else%
-\catcode`\@=11
-\let\typeoutORI\typeout%
-\ifx\documentclass\undefined\let\@aiguORI=\'\let\@gravORI=\`%
-\else%
- \expandafter\let\expandafter\@aiguORI\expandafter=%
- \csname OT\string1\string\'\endcsname%
- \expandafter\let\expandafter\@gravORI\expandafter=%
- \csname OT\string1\string\`\endcsname%
-\fi
-\def\typeout#1{{\def\@noAc##1{##1}%
- \ifx\charsubdef\undefined\let\protect\string%
- \else%
- \def\'##1{\expandafter\@noAc\@aiguORI##1}%
- \def\`##1{\expandafter\@noAc\@gravORI##1}%
- \fi%
- \edef\@tempa{#1}% expand it now
- \typeoutORI{^^J Message kbtest ==> \@tempa}}}%
-\let\message\typeout\fi% better with 2e
-\catcode`@=12
-%
-\expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated locally in V3
-\def\Disactivate{
- \catcode`^^80=11\catcode`^^81=11\catcode`^^82=11\catcode`^^83=11
- \catcode`^^90=11\catcode`^^91=11\catcode`^^92=11\catcode`^^93=11
- \catcode`^^a0=11\catcode`^^a1=11\catcode`^^a2=11\catcode`^^a3=11
- \catcode`^^b0=11\catcode`^^b1=11\catcode`^^b2=11\catcode`^^b3=11
- \catcode`^^c0=11\catcode`^^c1=11\catcode`^^c2=11\catcode`^^c3=11
- \catcode`^^d0=11\catcode`^^d1=11\catcode`^^d2=11\catcode`^^d3=11
- \catcode`^^e0=11\catcode`^^e1=11\catcode`^^e2=11\catcode`^^e3=11
- \catcode`^^f0=11\catcode`^^f1=11\catcode`^^f2=11\catcode`^^f3=11
- \catcode`^^84=11\catcode`^^85=11\catcode`^^86=11\catcode`^^87=11
- \catcode`^^94=11\catcode`^^95=11\catcode`^^96=11\catcode`^^97=11
- \catcode`^^a4=11\catcode`^^a5=11\catcode`^^a6=11\catcode`^^a7=11
- \catcode`^^b4=11\catcode`^^b5=11\catcode`^^b6=11\catcode`^^b7=11
- \catcode`^^c4=11\catcode`^^c5=11\catcode`^^c6=11\catcode`^^c7=11
- \catcode`^^d4=11\catcode`^^d5=11\catcode`^^d6=11\catcode`^^d7=11
- \catcode`^^e4=11\catcode`^^e5=11\catcode`^^e6=11\catcode`^^e7=11
- \catcode`^^f4=11\catcode`^^f5=11\catcode`^^f6=11\catcode`^^f7=11
- \catcode`^^88=11\catcode`^^89=11\catcode`^^8a=11\catcode`^^8b=11
- \catcode`^^98=11\catcode`^^99=11\catcode`^^9a=11\catcode`^^9b=11
- \catcode`^^a8=11\catcode`^^a9=11\catcode`^^aa=11\catcode`^^ab=11
- \catcode`^^b8=11\catcode`^^b9=11\catcode`^^ba=11\catcode`^^bb=11
- \catcode`^^c8=11\catcode`^^c9=11\catcode`^^ca=11\catcode`^^cb=11
- \catcode`^^d8=11\catcode`^^d9=11\catcode`^^da=11\catcode`^^db=11
- \catcode`^^e8=11\catcode`^^e9=11\catcode`^^ea=11\catcode`^^eb=11
- \catcode`^^f8=11\catcode`^^f9=11\catcode`^^fa=11\catcode`^^fb=11
- \catcode`^^8c=11\catcode`^^8d=11\catcode`^^8e=11\catcode`^^8f=11
- \catcode`^^9c=11\catcode`^^9d=11\catcode`^^9e=11\catcode`^^9f=11
- \catcode`^^ac=11\catcode`^^ad=11\catcode`^^ae=11\catcode`^^af=11
- \catcode`^^bc=11\catcode`^^bd=11\catcode`^^be=11\catcode`^^bf=11
- \catcode`^^cc=11\catcode`^^cd=11\catcode`^^ce=11\catcode`^^cf=11
- \catcode`^^dc=11\catcode`^^dd=11\catcode`^^de=11\catcode`^^df=11
- \catcode`^^ec=11\catcode`^^ed=11\catcode`^^ee=11\catcode`^^ef=11
- \catcode`^^fc=11\catcode`^^fd=11\catcode`^^fe=11\catcode`^^ff=11
- }
-\fi
-\let\protect\relax% for plain TeX
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Liste ci-dessous des caracteres 8bits a tester :
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\catcode`!=13\let!=\noexpand%
-\tracinglostchars=100 % if any
-\def\tempa{\csname newwrite\endcsname\auxchars}
-\ifx\nonlatin\undefined\else\let\oe\relax\let\OE\relax\fi% uppercase missing
-\ifx\auxchars\undefined\expandafter\tempa\fi
-\immediate\openout\auxchars=auxchars.tex
-\def\MeanmajN{\meaning \`{A}}%
-\bgroup\catcode`\@=11%\makeatletter%
-\def\reserved@a#1#2{\@tempcnta#1\relax\@tempcntb#2\relax\reserved@b}%
-\def\reserved@b{\ifnum\@tempcnta>\@tempcntb\else\reserved@c\@tempcnta%
- \advance\@tempcnta\@ne\expandafter\reserved@b\fi}%
-\def\reserved@c#1{\catcode#1=11\relax}%
-\reserved@a{"80}{"FF}% disactivate all 8-bits chars
-\gdef\minXN{!\def!\minN!{% caracteres 8bits minuscules
- !\`{a} !\`{e} !\`{u} !\'{e} !\^{a} !\^{e} !\^{\i} !\^{o} !\^{u} !\"{a} !\"{e} !\"{\i} !\"{u} %
- !\ifx!\nonlatin!\undefined! %
- !\"{y} !{\oe} !\fi! %
- !{\ae} !\r{a} !{\o} !{\ss} !\c{c} !<< !>> %
- !}}%
-\gdef\majXN{%
- !\def!\majN!{% caracteres 8bits majuscules
- !\`{A} !\`{E} !\`{U} !\'{E} !\^{A} !\^{E} !\^{\I} !\^{O} !\^{U} !\"{A} !\"{E} !\"{\I} !\"{U} %
- !\ifx!\nonlatin!\undefined! %
- !\"{Y} !{\OE} !\fi! %
- !{\AE} !\r{A} !{\O} %
- {!\csname! SS!\endcsname} %
- !\c{C} !<< !>> %
- !}}%
-\immediate\write\auxchars{\minXN}
-\immediate\write\auxchars{\majXN}
-\egroup
-\catcode`\!=12
-{\expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated locally in V3
-\Disactivate\fi
-% just one char active
-{\catcode`\@=11%
-\def\setX{\edef\X{\@kbencoding}}%
-\ifx\@kbencoding\undefined\else\setX\fi\def\Y{utf8}%
-\ifx\X\Y\else%
-\catcode`%
- {\ss}% Convertir ce fichier en 8 bits avant utilisation !
- =\active
-\fi%
-\gdef\minD{\`{a} \`{e} \`{u} \'{e} \^{a} \^{e} \^{\i} \^{o} \^{u} \"{a} \"{e} \"{\i} \"{u} \ifx\nonlatin\undefined \"{y} {\oe} \fi%
- {\ae} \r{a} {\o} {\ss} \c{c} << >>}% caracteres 8bits minuscules
-\gdef\majD{\`{A} \`{E} \`{U} \'{E} \^{A} \^{E} \^{\I} \^{O} \^{U} \"{A} \"{E} \"{\I} \"{U} \ifx\nonlatin\undefined \"{Y} {\OE} \fi%
- {\AE} \r{A} {\O} %
- {\csname SS\endcsname} % % L barre majuscule
- \c{C} << >>}% caracteres 8bits majuscules
-}}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newif\ifECM \ECMfalse
-\def\minO{\`%
- a \`%
- e \`%
- u \'%
- e \^%
- a \^%
- e
- \ifx\documentclass\undefined\^%
- \csname i\endcsname{ }%
- \else\ifECM\^%
- i \else
- \expandafter\^%
- \csname i\endcsname{ }%
- \fi%
- \fi%
- \^%
- o \^%
- u \"%
- a \"%
- e
- \ifx\documentclass\undefined\expandafter\"%
- \csname i\endcsname{ }%
- \else\ifECM\"%
- i \else
- \expandafter\"%
- \csname i\endcsname{ }%
- \fi%
- \fi%
- \"%
- u
- \ifx\nonlatin\undefined\"%
- y {\csname oe\endcsname} \fi%
- {\csname ae\endcsname}
- {\csname aa\endcsname} {\csname o\endcsname}
- {\csname ss\endcsname} %{\csname l\endcsname}
- \c%
- {c} <%
- < >%
- >}
-\def\majO{\`%
- A \`%
- E \`%
- U \'%
- E \^%
- A \^%
- E
- \ifx\documentclass\undefined\expandafter\^%
- \csname I\endcsname{ }%
- \else\ifECM\^%
- I \else
- \expandafter\^%
- \csname I\endcsname{ }%
- \fi%
- \fi%
- \^%
- O \^%
- U \"%
- A \"%
- E
- \ifx\documentclass\undefined\expandafter\"%
- \csname I\endcsname{ }%
- \else\ifECM\"%
- I \else
- \expandafter\"%
- \csname I\endcsname{ }%
- \fi%
- \fi%
- \"%
- U
- \ifx\nonlatin\undefined\"%
- Y {\csname OE\endcsname} \fi
- {\csname AE\endcsname}
- {\csname AA\endcsname} {\csname O\endcsname}
- {\csname SS\endcsname}
- \c%
- {C} <%
- < >%
- >}
-\ifx\flowercase\undefined\else\let\lowercase\flowercase\fi% get ours.
- \def\MYlowercase#1/{\lowercase{#1}}%
- \def\MYuppercase#1/{\uppercase{#1}}%
-\catcode`\@=11%
-\def\setX{\edef\X{\@kbencoding}}%
-\ifx\@kbencoding\undefined\else\setX\fi\def\Y{utf8}%
-\ifx\X\Y%
- \ifx\MakeLowercase\undefined%
- \else%
- \def\MYlowercase#1/{\MakeLowercase{#1}}% apply LaTeX one first
- \def\MYuppercase#1/{\MakeUppercase{#1}}%
- \fi%
-\fi
-\catcode`\@=12%
-
-\def\lowerCase#1{\expandafter\MYlowercase#1/}
-\def\upperCase#1{\expandafter\MYuppercase#1/}
-
-\font\ttPLAIN=cmtt10\let\tt\ttPLAIN% pour utilisation ponctuelle
-
-\def\tempfmt{lplain}\ifx\fmtname\tempfmt\else\def\tempfmt{LaTeX2e}\fi
-\ifx\fmtname\tempfmt
-\documentclass[titlepage]{article}
-% QUELLE FONTE, QUEL ENCODAGE, QUEL SCHEMAS DE CHARGEMENT ?
-%\def\encodingdefault{T1}% C'est commente car mon moteur est OT1 par defaut
-%\usepackage{times}% A mettre pour tester du Times
-%\font\rm=ecrm1000\input ec.sty % simple way to test with only one font
-%\let\charsubdef\undefined% Do it without MlTeX
-%
-\begin{document}
-\let\tt\ttPLAIN
-\noindent {\tt Test LaTeX{}}
-\else
-\rm% be sure we use \rm
-Test
-\fi
-\space des caract\`%
-eres accentu\'%
-es avec moteur
- \ifx\charsubdef\undefined%
- \ifx\starthyph\undefined\else le vieux Ml\fi%
- \else Ml\fi\TeX{}
-%%%\expandafter\ifx\csname ^^63\endcsname\c V3
-%%% \else V2
-%%% \fi
-% is ed/dc used ?
- \def\isatDC#1#2#3\relax{\if d#11\fi \if e#11\fi \if c#22\fi}%
- \def\dcdo{% \dcdo code Version 3 as of 01/27/92 on DCFONT discussion list
- \ifnum 12=0\expandafter\isatDC\fontname\font xx\relax\space%
- \expandafter\dcatfirst%
- \else \expandafter\dcatsecond%
- \fi}%
- \def\dcatfirst#1#2{#1}%
- \def\dcatsecond#1#2{#2}%
-{\rm\dcdo{\global\ECMtrue}{\global\ECMfalse}}% final EC test
-%
-\def\X{T1}
-\ifx\undefined\encodingdefault% re-etablir la verite !
-\else\ifx\X\encodingdefault\ECMtrue\fi
-\fi
-%
-% Provide noerror 7bit \guillemot cs.
-\ifECM\else\def\guillemotleft{<%
- <}\def\guillemotright{>%
- >}\fi%
-\ifECM \par avec encodage de fontes
- \ifx\X\encodingdefault
- \else\message{L'encodage actif (\encodingdefault) est modifi\'%
-e pour cette fonte (\fontname\font).}
- \edef\encodingdefault{\X}
- \fi
- \ifx\undefined\encodingdefault DC/EC \else \encodingdefault\space\fi
- \expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated
- \ifKB\Disactivate\fi% only if keyboard.sty loaded
- \fi
-\else
- \ifx\X\encodingdefault
- \message{L'encodage actif (\encodingdefault) est annul\'%
-e pour cette fonte (\fontname\font).}
- \let\encodingdefault\undefined
- \fi
-\fi
-%
-\def\todayfrench{\ifx\ier\undefined\def\ier{er}\fi%
- \ifnum\day=1\relax 1\ier%........................ \todayfrench
- \else \number\day\fi% (also called in babel: \datefrench)
- \space\ifcase\month\or janvier\or f\'%
- evrier\or mars\or
- avril\or mai\or juin\or juillet\or ao\^%
- ut\or septembre\or
- octobre\or novembre\or d\'%
- ecembre\fi \space\number\year}%
-le \todayfrench.\par \medskip\noindent
-
-% Qq contournements pour charger l'extension keyboard maintenant.
-% Genre de choses a ne jamais faire !
-\def\DeclareOption#1#2{\if#1*\else\def\OPTION{#2}\fi}%
-\def\ExecuteOptions#1{\OPTION}%
-\let\ProcessOptions\relax%
-\def\ProvidesPackage#1[#2]{}%
-%
-% On peut re-introduire un autre clavier et le tester separement d'initex
-% C'est ce qu'il faut faire aussi si on change d'encodage.
-\ifx\ifKB\undefined
-\else\ifKB
- \catcode`@=11\input keyboard.sty
- \par %
- Extension {\tt keyboard} utilis\'{e}e avec codage %
- \else
- \par
- Codage d'entr\'%
-ee %
- \fi
- {\catcode`@=11 % why that ?
- \ifx\@kbencoding\undefined inconnu\else {\tt
- \@kbencoding}\fi.%
- }
- {\catcode`@=11%
- \ifx\@unusedslot\undefined\else Avec ``unusedslot''.\fi}
-\fi
-% here are special chars which could be activated.
-\def\esoter{!` % ! espagnol
- ?` % ? espagnol
-% % signe paragraph
- {\copyright} % copyright
- {\P} % pilcrow
- {\pounds} % livre sterling
-% << >> % guillemets <== necessite french.sty
- }% fin caracteres 8 bits speciaux
-%
-\immediate\closeout\auxchars
-\input auxchars % re-input chars now
-
-\message{Fonte utilis\'%
-ee : \fontname\font}
- {Fonte utilis\'%
-ee : \fontname\font}\par
-
-\ifECM\else%===================
-Avertissement : en cas d'utilisation des polices 7bits (cm)
-
--- 1. les guillemets fran\c %
-cais n'existent pas avec cette fonte mais peuvent
-
- \^%
-etre simul\'%
-es par l'extension {\tt french} ;
-
-\ifx\documentclass\undefined
--- 2. le caract\`%
-ere majuscule allemand SS n'existant pas il ne peut \^%
-etre
-
- mis correctement en minuscule ;
-
-% solution trouvee le 12/1/95
--- 3. inversement le s-tzet allemand ne peut \^%
-etre mis en majuscule.
-
-\ifx\charsubdef\undefined%
--- 4. le I accentu\'{e} majuscule ne peut \^%
-etre mis
- correctement en minuscule puisque
- le I majuscule a pour minuscule i et non \i{} ;
-\fi%
-
-\fi
-
- \ifx\charsubdef\undefined%
- \ifx\starthyph\undefined\else
- \fi%
- \fi%
-\fi%===================
-\let\Edef\def% no more need of \edef in 2e
-\bigskip
---- les 4 expansions suivantes doivent \^%
-etre identiques :
-
-\medskip
-minuscules 7 bits : \phantom{s} \minO
-
-minuscules 8 bits : \phantom{s} \minN
-
----
-
-lowercase de 7 bits : \lowerCase\majO
-
-lowercase de 8 bits : \Edef\TT{\lowerCase\majN}\TT
-
-\bigskip
---- les 4 expansions suivantes doivent \^%
-etre identiques :
-
-\medskip
-majuscules 7 bits : \phantom{s} \majO
-
-majuscules 8 bits : \phantom{s} \majN
-
----
-
-[\`%
-A v\'%
-erifier : {\tt
- \catcode`\@=11%\makeatletter
- \let\@inpenc@undefined@\@gobble
- \MeanmajN}]
-
----
-
-uppercase de 7 bits : \upperCase\minO
-
-uppercase de 8 bits : %
-{\catcode`\@=11% D. Knuth defined \oalign in a way that we can't use it in
-% % an \edef or \xdef so i changed it temporarily
-\ifx\Edef\edef%
-\def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
- \ialign{####\crcr#1\crcr}}}% put characters over each other
-\fi%
-%%%
-\Edef\TT{\upperCase\minN}\TT%
-%%%
-}
-
-\bigskip
---- math\'%
-ematiques :
-\begingroup
-\def\tempc{dispositif inactif.}
-\ifECM\else\ifx\charsubdef\undefined\else\ifx\forceMlTeXtoCork\undefined%
-\def\tempc{}
-
-\catcode`\/=0{\catcode`/\=12/gdef/boi{{/protect/string\}}}%}emacs+TeX
-/catcode`/\=0\catcode`\/=12%
-(sans les caract\`%
-eres actifs et les macros
-{\tt\boi ae, \boi oe, \boi o, \boi ss} qui n'ont pas
-
-de glyphe en mode math)
-
-(pour les caract\`%
-eres actifs : \hfill\penalty -10000
-\hbox{}\hfill message macro accent \tt{\boi x invalid in math mode})\hfill
-
-% nullify unavailable macros
-\def\r#1{.}\def\gobble#1{}
-\let\^\gobble\let\`\gobble\let\'\gobble\let\"\gobble
-\let\ae\relax\let\oe\relax\let\o\relax\let\ss\relax
-\catcode`\@=11%\makeatletter
-\let\@inpenc@undefined@\@gobble% for utf8
-\catcode`{\ss}=\active\let {\ss}\ss
-\let\AE\relax\let\OE\relax\let\O\relax\let\SS\relax
-%\let\fguillemets\relax\let\endfguillemets\relax
-\let\guillemotleft\relax\let\guillemotright\relax
-\catcode`\!=13\def!{.}
- \def\Tgobble#1#2#3#4#5#6{\def#1}
- \expandafter\Tgobble\expandafter\minN\minXN
- \expandafter\Tgobble\expandafter\majN\majXN
-minuscules 8 bits : $\minN$
-
-majuscules 8 bits : $\majN$
-\fi\fi\fi%
-\tempc
-\endgroup
-
-\bigskip
-\let\ERRORnotDEFINED\relax% for utf8
---- caract\`%
-eres 8bits sp\'%
-eciaux : \esoter
-
-NB : v\'%
-erifier dans le fichier .log que tout est correct jusqu'\`%
-a ce niveau.
-
-\iffalse% On squeeze la deuxieme partie sans gd interet
-\message{ / Fin premi\`%
-ere partie /}\par
-********************** Fin premi\`%
-ere partie **************************\par
-
-\bigskip
-\noindent
-Ce qui suit n'est vraiment bon que dans un
-environnement enti\`%
-erement 8-bits o\`%
-u le codage d'entr\'%
-ee et celui
-de sortie sont identiques (ISO-Latin-1 en entr\'%
-ee et T1 en sortie,
-par exemple). Seuls s-tzet et
-\ifx\unusedslot\undefined\string ^\string ^9c
- \else le code de `{\let\noexpand\string\unusedslot}'%
-\fi%
-peuvent \^%
-etre actifs ici :\par
-\bgroup
-\expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated locally in V3
- \Disactivate\fi
-
-uppercase de 8 bits : \upperCase\minD
-
-lowercase de 8 bits : \lowerCase\majD
-\egroup
-\message{/ Fin deuxi\`%
-eme partie /}\par
-********************** Fin deuxi\`%
-eme partie *************************\par
-\fi
-
-\bigskip
-% clean up unusedslot
-\catcode`@=11
-\ifx\@unusedslot\undefined\else
-\global\expandafter\let\@unusedslot\undefined\global\let\@unusedslot\undefined
-\fi
-\catcode`@=12
---- \%\% FIN \%\%
-
-\ifx\fmtname\tempfmt\def\tempa{\end{document}}\else\def\tempa{}\fi
-\tempa\bye
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/initex/tests/kbtest8.tex
===================================================================
--- trunk/initex/tests/kbtest8.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/initex/tests/kbtest8.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,583 +0,0 @@
-% kbtest.tex Jeu d'essai caracteres accentues 7bits et 8bits cree le 04/28/93
-% Copyright Bernard Gaulle as in french_doc.pdf
-%
-% Peut etre compile sous TeX/LaTeX. C'est un fichier \xAB binaire \xBB ASCII 8bits
-% Il est adapte a \xAB mon \xBB clavier (voir apres les catcodes)
-%============================================================
-% Retrait du L scandinave le 7/10/93 pour etre en accord avec keyboard.dat
-% NFSS2 ne pouvait pas traiter correctement ce fichier dans certains cas.
-% (bug dans \@accent@use) patch de Rainer Schoepf inclus. --bg 15/12/93
-% Desactivation des caracteres en dehors du test du format cad
-% qd keyboard.sty est appele a nouveau et fait tout le travail.
-% Passage par un fichier auxchars.tex pour reintroduire dans la
-% bouche de TeX les caracteres desires. --bg 21/12/93
-% Accepter le format LaTeX2e. --bg 29/09/94
-% Let 2e use \typeout instead of \message, hoping that \typeout
-% could expand in a next future (with a screen encoding). --bg 11/17/94
-% Secure \ier in \todayfrench in case \undefined. --bg 12/01/94
-% Print correctly our messages containing diacritics under MlTeX. --bg 12/05/94
-% More precise comments and s-tzet activated. --bg 01/12/95
-% Use of i/I instead of \i/\I with 2e. --bg 02/07/95
-% Last mod done only for T1. --bg 02/08/95
-% Correct invalid syntax for token \csname...\endcsname. --bg 02/10/95
-% Remove information printed for lowercase of I, when MlTeX. --bg 03/07/95
-% Retrait de l'expansion des lignes 8-bits. --bg 04/12/95
-% Second test put inside a group for accurate message. --bg 05/02/96
-% Removing obsolate stuff 2.09. --bg 97/06/20
-% Changing codes for spanish ! and ?, and also the pound sign. --bg 97/09/19
-% \rm is unsure in LaTeX... and always returning to cm/ec fonts
-% thus for testing with Times font... moved to plain test. --bg 97/09/25
-% keyboard is now a LaTeX package, thus few mods. --bg 97/10/01
-% using now \unusedslot (if defined) instead of ^^9c. --bg 97/10/14
-% Added \tracinglostchars.
-% Input encoding now printed if any \kbencoding. --bg 98/04/29
-% Option \forceMlTeXtoCork tested for info. --bg 98/05/11
-% A new line test for 8bits chars in math. when the feature is
-% available (MlTeX, OT1, no active chars).
-% Added \xFF and \xDD
-% Cedilla still missing in math... --bg 98/05/12
-% Added french guillemets. --bg 98/06/09
-% \newwrite done only if \auxchars \undefined. --bg 98/08/14
-% Macro "!" now defined as \noexpand. --bg 99/08/13
-% Few comments added for math.
-% Math not printed outside OT1.
-% \ifKB is now set to false defaultly. --bg 98/09/01
-% \nonlatin test added for encoding having no uppercase \oe
-% and \xFF. --bg 98/09/04
-% Nullify accent macros for the math test, in case they were used.--bg 98/12/17
-% \fguillemets & \endfguillemets replaced by \guillemotleft &
-% \guillemotright. --bg 99/01/15
-% \unusedslot usage now listed.
-% Clean up "unusedslot" when finishing. --bg 99/01/19
-% Get modified \lowercase if any. --bg 99/02/18
-% Removed \makeatletter undefined with plain. --bg 99/02/19
-% \@unusedslot may be \undefined. --bg 99/02/25
-% \forceMlTeXtoCork code removed.
-% Added output of \meaning A-grave. --bg 2000/06/29
-% Cedilla now allowed in mltex math mode. --bg 2001/12/14
-% Source of messages now in 7bits. --bg 2003/10/24
-% Few mods, about error handling, for utf8. --bg 2004/02/09
-% Use \MakeLowercase and \MakeUppercase when defined (ie LaTeX)
-% and kbencoding is utf8. Thanks FMi. --bg 2004/02/18
-% Testing if \@kbencoding available or not for testing utf8. --bg 2005/02/23
-% Due to kbconfig V6,10 change, \csname i\endcsname and
-% \csname I\endcsname should be expanded first. --bg 2005/03/09
-%
-%%
-%% checksum = "54348 583 1898 22955"
-%%
-\let\ifKB\iffalse% cette ligne pour la validation d'un format.
-%
-\ifx\typeout\undefined\else%
-\catcode`\@=11
-\let\typeoutORI\typeout%
-\ifx\documentclass\undefined\let\@aiguORI=\'\let\@gravORI=\`%
-\else%
- \expandafter\let\expandafter\@aiguORI\expandafter=%
- \csname OT\string1\string\'\endcsname%
- \expandafter\let\expandafter\@gravORI\expandafter=%
- \csname OT\string1\string\`\endcsname%
-\fi
-\def\typeout#1{{\def\@noAc##1{##1}%
- \ifx\charsubdef\undefined\let\protect\string%
- \else%
- \def\'##1{\expandafter\@noAc\@aiguORI##1}%
- \def\`##1{\expandafter\@noAc\@gravORI##1}%
- \fi%
- \edef\@tempa{#1}% expand it now
- \typeoutORI{^^J Message kbtest ==> \@tempa}}}%
-\let\message\typeout\fi% better with 2e
-\catcode`@=12
-%
-\expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated locally in V3
-\def\Disactivate{
- \catcode`^^80=11\catcode`^^81=11\catcode`^^82=11\catcode`^^83=11
- \catcode`^^90=11\catcode`^^91=11\catcode`^^92=11\catcode`^^93=11
- \catcode`^^a0=11\catcode`^^a1=11\catcode`^^a2=11\catcode`^^a3=11
- \catcode`^^b0=11\catcode`^^b1=11\catcode`^^b2=11\catcode`^^b3=11
- \catcode`^^c0=11\catcode`^^c1=11\catcode`^^c2=11\catcode`^^c3=11
- \catcode`^^d0=11\catcode`^^d1=11\catcode`^^d2=11\catcode`^^d3=11
- \catcode`^^e0=11\catcode`^^e1=11\catcode`^^e2=11\catcode`^^e3=11
- \catcode`^^f0=11\catcode`^^f1=11\catcode`^^f2=11\catcode`^^f3=11
- \catcode`^^84=11\catcode`^^85=11\catcode`^^86=11\catcode`^^87=11
- \catcode`^^94=11\catcode`^^95=11\catcode`^^96=11\catcode`^^97=11
- \catcode`^^a4=11\catcode`^^a5=11\catcode`^^a6=11\catcode`^^a7=11
- \catcode`^^b4=11\catcode`^^b5=11\catcode`^^b6=11\catcode`^^b7=11
- \catcode`^^c4=11\catcode`^^c5=11\catcode`^^c6=11\catcode`^^c7=11
- \catcode`^^d4=11\catcode`^^d5=11\catcode`^^d6=11\catcode`^^d7=11
- \catcode`^^e4=11\catcode`^^e5=11\catcode`^^e6=11\catcode`^^e7=11
- \catcode`^^f4=11\catcode`^^f5=11\catcode`^^f6=11\catcode`^^f7=11
- \catcode`^^88=11\catcode`^^89=11\catcode`^^8a=11\catcode`^^8b=11
- \catcode`^^98=11\catcode`^^99=11\catcode`^^9a=11\catcode`^^9b=11
- \catcode`^^a8=11\catcode`^^a9=11\catcode`^^aa=11\catcode`^^ab=11
- \catcode`^^b8=11\catcode`^^b9=11\catcode`^^ba=11\catcode`^^bb=11
- \catcode`^^c8=11\catcode`^^c9=11\catcode`^^ca=11\catcode`^^cb=11
- \catcode`^^d8=11\catcode`^^d9=11\catcode`^^da=11\catcode`^^db=11
- \catcode`^^e8=11\catcode`^^e9=11\catcode`^^ea=11\catcode`^^eb=11
- \catcode`^^f8=11\catcode`^^f9=11\catcode`^^fa=11\catcode`^^fb=11
- \catcode`^^8c=11\catcode`^^8d=11\catcode`^^8e=11\catcode`^^8f=11
- \catcode`^^9c=11\catcode`^^9d=11\catcode`^^9e=11\catcode`^^9f=11
- \catcode`^^ac=11\catcode`^^ad=11\catcode`^^ae=11\catcode`^^af=11
- \catcode`^^bc=11\catcode`^^bd=11\catcode`^^be=11\catcode`^^bf=11
- \catcode`^^cc=11\catcode`^^cd=11\catcode`^^ce=11\catcode`^^cf=11
- \catcode`^^dc=11\catcode`^^dd=11\catcode`^^de=11\catcode`^^df=11
- \catcode`^^ec=11\catcode`^^ed=11\catcode`^^ee=11\catcode`^^ef=11
- \catcode`^^fc=11\catcode`^^fd=11\catcode`^^fe=11\catcode`^^ff=11
- }
-\fi
-\let\protect\relax% for plain TeX
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Liste ci-dessous des caracteres 8bits a tester :
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\catcode`!=13\let!=\noexpand%
-\tracinglostchars=100 % if any
-\def\tempa{\csname newwrite\endcsname\auxchars}
-\ifx\nonlatin\undefined\else\let\oe\relax\let\OE\relax\fi% uppercase missing
-\ifx\auxchars\undefined\expandafter\tempa\fi
-\immediate\openout\auxchars=auxchars.tex
-\def\MeanmajN{\meaning \xC0}%
-\bgroup\catcode`\@=11%\makeatletter%
-\def\reserved@a#1#2{\@tempcnta#1\relax\@tempcntb#2\relax\reserved@b}%
-\def\reserved@b{\ifnum\@tempcnta>\@tempcntb\else\reserved@c\@tempcnta%
- \advance\@tempcnta\@ne\expandafter\reserved@b\fi}%
-\def\reserved@c#1{\catcode#1=11\relax}%
-\reserved@a{"80}{"FF}% disactivate all 8-bits chars
-\gdef\minXN{!\def!\minN!{% caracteres 8bits minuscules
- !\xE0 !\xE8 !\xF9 !\xE9 !\xE2 !\xEA !\xEE !\xF4 !\xFB !\xE4 !\xEB !\xEF !\xFC %
- !\ifx!\nonlatin!\undefined! %
- !\xFF !\x9C !\fi! %
- !\xE6 !\xE5 !\xF8 !\xDF !\xE7 !\xAB !\xBB %
- !}}%
-\gdef\majXN{%
- !\def!\majN!{% caracteres 8bits majuscules
- !\xC0 !\xC8 !\xD9 !\xC9 !\xC2 !\xCA !\xCE !\xD4 !\xDB !\xC4 !\xCB !\xCF !\xDC %
- !\ifx!\nonlatin!\undefined! %
- !\x9F !\x8C !\fi! %
- !\xC6 !\xC5 !\xD8 %
- {!\csname! SS!\endcsname} %
- !\xC7 !\xAB !\xBB %
- !}}%
-\immediate\write\auxchars{\minXN}
-\immediate\write\auxchars{\majXN}
-\egroup
-\catcode`\!=12
-{\expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated locally in V3
-\Disactivate\fi
-% just one char active
-{\catcode`\@=11%
-\def\setX{\edef\X{\@kbencoding}}%
-\ifx\@kbencoding\undefined\else\setX\fi\def\Y{utf8}%
-\ifx\X\Y\else%
-\catcode`%
- \xDF% Convertir ce fichier en 8 bits avant utilisation !
- =\active
-\fi%
-\gdef\minD{\xE0 \xE8 \xF9 \xE9 \xE2 \xEA \xEE \xF4 \xFB \xE4 \xEB \xEF \xFC \ifx\nonlatin\undefined \xFF \x9C \fi%
- \xE6 \xE5 \xF8 \xDF \xE7 \xAB \xBB}% caracteres 8bits minuscules
-\gdef\majD{\xC0 \xC8 \xD9 \xC9 \xC2 \xCA \xCE \xD4 \xDB \xC4 \xCB \xCF \xDC \ifx\nonlatin\undefined \x9F \x8C \fi%
- \xC6 \xC5 \xD8 %
- {\csname SS\endcsname} % % L barre majuscule
- \xC7 \xAB \xBB}% caracteres 8bits majuscules
-}}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newif\ifECM \ECMfalse
-\def\minO{\`%
- a \`%
- e \`%
- u \'%
- e \^%
- a \^%
- e
- \ifx\documentclass\undefined\^%
- \csname i\endcsname{ }%
- \else\ifECM\^%
- i \else
- \expandafter\^%
- \csname i\endcsname{ }%
- \fi%
- \fi%
- \^%
- o \^%
- u \"%
- a \"%
- e
- \ifx\documentclass\undefined\expandafter\"%
- \csname i\endcsname{ }%
- \else\ifECM\"%
- i \else
- \expandafter\"%
- \csname i\endcsname{ }%
- \fi%
- \fi%
- \"%
- u
- \ifx\nonlatin\undefined\"%
- y {\csname oe\endcsname} \fi%
- {\csname ae\endcsname}
- {\csname aa\endcsname} {\csname o\endcsname}
- {\csname ss\endcsname} %{\csname l\endcsname}
- \c%
- {c} <%
- < >%
- >}
-\def\majO{\`%
- A \`%
- E \`%
- U \'%
- E \^%
- A \^%
- E
- \ifx\documentclass\undefined\expandafter\^%
- \csname I\endcsname{ }%
- \else\ifECM\^%
- I \else
- \expandafter\^%
- \csname I\endcsname{ }%
- \fi%
- \fi%
- \^%
- O \^%
- U \"%
- A \"%
- E
- \ifx\documentclass\undefined\expandafter\"%
- \csname I\endcsname{ }%
- \else\ifECM\"%
- I \else
- \expandafter\"%
- \csname I\endcsname{ }%
- \fi%
- \fi%
- \"%
- U
- \ifx\nonlatin\undefined\"%
- Y {\csname OE\endcsname} \fi
- {\csname AE\endcsname}
- {\csname AA\endcsname} {\csname O\endcsname}
- {\csname SS\endcsname}
- \c%
- {C} <%
- < >%
- >}
-\ifx\flowercase\undefined\else\let\lowercase\flowercase\fi% get ours.
- \def\MYlowercase#1/{\lowercase{#1}}%
- \def\MYuppercase#1/{\uppercase{#1}}%
-\catcode`\@=11%
-\def\setX{\edef\X{\@kbencoding}}%
-\ifx\@kbencoding\undefined\else\setX\fi\def\Y{utf8}%
-\ifx\X\Y%
- \ifx\MakeLowercase\undefined%
- \else%
- \def\MYlowercase#1/{\MakeLowercase{#1}}% apply LaTeX one first
- \def\MYuppercase#1/{\MakeUppercase{#1}}%
- \fi%
-\fi
-\catcode`\@=12%
-
-\def\lowerCase#1{\expandafter\MYlowercase#1/}
-\def\upperCase#1{\expandafter\MYuppercase#1/}
-
-\font\ttPLAIN=cmtt10\let\tt\ttPLAIN% pour utilisation ponctuelle
-
-\def\tempfmt{lplain}\ifx\fmtname\tempfmt\else\def\tempfmt{LaTeX2e}\fi
-\ifx\fmtname\tempfmt
-\documentclass[titlepage]{article}
-% QUELLE FONTE, QUEL ENCODAGE, QUEL SCHEMAS DE CHARGEMENT ?
-%\def\encodingdefault{T1}% C'est commente car mon moteur est OT1 par defaut
-%\usepackage{times}% A mettre pour tester du Times
-%\font\rm=ecrm1000\input ec.sty % simple way to test with only one font
-%\let\charsubdef\undefined% Do it without MlTeX
-%
-\begin{document}
-\let\tt\ttPLAIN
-\noindent {\tt Test LaTeX{}}
-\else
-\rm% be sure we use \rm
-Test
-\fi
-\space des caract\`%
-eres accentu\'%
-es avec moteur
- \ifx\charsubdef\undefined%
- \ifx\starthyph\undefined\else le vieux Ml\fi%
- \else Ml\fi\TeX{}
-%%%\expandafter\ifx\csname ^^63\endcsname\c V3
-%%% \else V2
-%%% \fi
-% is ed/dc used ?
- \def\isatDC#1#2#3\relax{\if d#11\fi \if e#11\fi \if c#22\fi}%
- \def\dcdo{% \dcdo code Version 3 as of 01/27/92 on DCFONT discussion list
- \ifnum 12=0\expandafter\isatDC\fontname\font xx\relax\space%
- \expandafter\dcatfirst%
- \else \expandafter\dcatsecond%
- \fi}%
- \def\dcatfirst#1#2{#1}%
- \def\dcatsecond#1#2{#2}%
-{\rm\dcdo{\global\ECMtrue}{\global\ECMfalse}}% final EC test
-%
-\def\X{T1}
-\ifx\undefined\encodingdefault% re-etablir la verite !
-\else\ifx\X\encodingdefault\ECMtrue\fi
-\fi
-%
-% Provide noerror 7bit \guillemot cs.
-\ifECM\else\def\guillemotleft{<%
- <}\def\guillemotright{>%
- >}\fi%
-\ifECM \par avec encodage de fontes
- \ifx\X\encodingdefault
- \else\message{L'encodage actif (\encodingdefault) est modifi\'%
-e pour cette fonte (\fontname\font).}
- \edef\encodingdefault{\X}
- \fi
- \ifx\undefined\encodingdefault DC/EC \else \encodingdefault\space\fi
- \expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated
- \ifKB\Disactivate\fi% only if keyboard.sty loaded
- \fi
-\else
- \ifx\X\encodingdefault
- \message{L'encodage actif (\encodingdefault) est annul\'%
-e pour cette fonte (\fontname\font).}
- \let\encodingdefault\undefined
- \fi
-\fi
-%
-\def\todayfrench{\ifx\ier\undefined\def\ier{er}\fi%
- \ifnum\day=1\relax 1\ier%........................ \todayfrench
- \else \number\day\fi% (also called in babel: \datefrench)
- \space\ifcase\month\or janvier\or f\'%
- evrier\or mars\or
- avril\or mai\or juin\or juillet\or ao\^%
- ut\or septembre\or
- octobre\or novembre\or d\'%
- ecembre\fi \space\number\year}%
-le \todayfrench.\par \medskip\noindent
-
-% Qq contournements pour charger l'extension keyboard maintenant.
-% Genre de choses a ne jamais faire !
-\def\DeclareOption#1#2{\if#1*\else\def\OPTION{#2}\fi}%
-\def\ExecuteOptions#1{\OPTION}%
-\let\ProcessOptions\relax%
-\def\ProvidesPackage#1[#2]{}%
-%
-% On peut re-introduire un autre clavier et le tester separement d'initex
-% C'est ce qu'il faut faire aussi si on change d'encodage.
-\ifx\ifKB\undefined
-\else\ifKB
- \catcode`@=11\input keyboard.sty
- \par %
- Extension {\tt keyboard} utilis\xE9e avec codage %
- \else
- \par
- Codage d'entr\'%
-ee %
- \fi
- {\catcode`@=11 % why that ?
- \ifx\@kbencoding\undefined inconnu\else {\tt
- \@kbencoding}\fi.%
- }
- {\catcode`@=11%
- \ifx\@unusedslot\undefined\else Avec ``unusedslot''.\fi}
-\fi
-% here are special chars which could be activated.
-\def\esoter{\xA1 % ! espagnol
- \xBF % ? espagnol
-% % signe paragraph
- \xA9 % copyright
- \xB6 % pilcrow
- \xA3 % livre sterling
-% \xAB \xBB % guillemets <== necessite french.sty
- }% fin caracteres 8 bits speciaux
-%
-\immediate\closeout\auxchars
-\input auxchars % re-input chars now
-
-\message{Fonte utilis\'%
-ee : \fontname\font}
- {Fonte utilis\'%
-ee : \fontname\font}\par
-
-\ifECM\else%===================
-Avertissement : en cas d'utilisation des polices 7bits (cm)
-
--- 1. les guillemets fran\c %
-cais n'existent pas avec cette fonte mais peuvent
-
- \^%
-etre simul\'%
-es par l'extension {\tt french} ;
-
-\ifx\documentclass\undefined
--- 2. le caract\`%
-ere majuscule allemand SS n'existant pas il ne peut \^%
-etre
-
- mis correctement en minuscule ;
-
-% solution trouvee le 12/1/95
--- 3. inversement le s-tzet allemand ne peut \^%
-etre mis en majuscule.
-
-\ifx\charsubdef\undefined%
--- 4. le I accentu\xE9 majuscule ne peut \^%
-etre mis
- correctement en minuscule puisque
- le I majuscule a pour minuscule i et non \i{} ;
-\fi%
-
-\fi
-
- \ifx\charsubdef\undefined%
- \ifx\starthyph\undefined\else
- \fi%
- \fi%
-\fi%===================
-\let\Edef\def% no more need of \edef in 2e
-\bigskip
---- les 4 expansions suivantes doivent \^%
-etre identiques :
-
-\medskip
-minuscules 7 bits : \phantom{s} \minO
-
-minuscules 8 bits : \phantom{s} \minN
-
----
-
-lowercase de 7 bits : \lowerCase\majO
-
-lowercase de 8 bits : \Edef\TT{\lowerCase\majN}\TT
-
-\bigskip
---- les 4 expansions suivantes doivent \^%
-etre identiques :
-
-\medskip
-majuscules 7 bits : \phantom{s} \majO
-
-majuscules 8 bits : \phantom{s} \majN
-
----
-
-[\`%
-A v\'%
-erifier : {\tt
- \catcode`\@=11%\makeatletter
- \let\@inpenc@undefined@\@gobble
- \MeanmajN}]
-
----
-
-uppercase de 7 bits : \upperCase\minO
-
-uppercase de 8 bits : %
-{\catcode`\@=11% D. Knuth defined \oalign in a way that we can't use it in
-% % an \edef or \xdef so i changed it temporarily
-\ifx\Edef\edef%
-\def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
- \ialign{####\crcr#1\crcr}}}% put characters over each other
-\fi%
-%%%
-\Edef\TT{\upperCase\minN}\TT%
-%%%
-}
-
-\bigskip
---- math\'%
-ematiques :
-\begingroup
-\def\tempc{dispositif inactif.}
-\ifECM\else\ifx\charsubdef\undefined\else\ifx\forceMlTeXtoCork\undefined%
-\def\tempc{}
-
-\catcode`\/=0{\catcode`/\=12/gdef/boi{{/protect/string\}}}%}emacs+TeX
-/catcode`/\=0\catcode`\/=12%
-(sans les caract\`%
-eres actifs et les macros
-{\tt\boi ae, \boi oe, \boi o, \boi ss} qui n'ont pas
-
-de glyphe en mode math)
-
-(pour les caract\`%
-eres actifs : \hfill\penalty -10000
-\hbox{}\hfill message macro accent \tt{\boi x invalid in math mode})\hfill
-
-% nullify unavailable macros
-\def\r#1{.}\def\gobble#1{}
-\let\^\gobble\let\`\gobble\let\'\gobble\let\"\gobble
-\let\ae\relax\let\oe\relax\let\o\relax\let\ss\relax
-\catcode`\@=11%\makeatletter
-\let\@inpenc@undefined@\@gobble% for utf8
-\catcode`\xDF=\active\let \xDF\ss
-\let\AE\relax\let\OE\relax\let\O\relax\let\SS\relax
-%\let\fguillemets\relax\let\endfguillemets\relax
-\let\guillemotleft\relax\let\guillemotright\relax
-\catcode`\!=13\def!{.}
- \def\Tgobble#1#2#3#4#5#6{\def#1}
- \expandafter\Tgobble\expandafter\minN\minXN
- \expandafter\Tgobble\expandafter\majN\majXN
-minuscules 8 bits : $\minN$
-
-majuscules 8 bits : $\majN$
-\fi\fi\fi%
-\tempc
-\endgroup
-
-\bigskip
-\let\ERRORnotDEFINED\relax% for utf8
---- caract\`%
-eres 8bits sp\'%
-eciaux : \esoter
-
-NB : v\'%
-erifier dans le fichier .log que tout est correct jusqu'\`%
-a ce niveau.
-
-\iffalse% On squeeze la deuxieme partie sans gd interet
-\message{ / Fin premi\`%
-ere partie /}\par
-********************** Fin premi\`%
-ere partie **************************\par
-
-\bigskip
-\noindent
-Ce qui suit n'est vraiment bon que dans un
-environnement enti\`%
-erement 8-bits o\`%
-u le codage d'entr\'%
-ee et celui
-de sortie sont identiques (ISO-Latin-1 en entr\'%
-ee et T1 en sortie,
-par exemple). Seuls s-tzet et
-\ifx\unusedslot\undefined\string ^\string ^9c
- \else le code de `{\let\noexpand\string\unusedslot}'%
-\fi%
-peuvent \^%
-etre actifs ici :\par
-\bgroup
-\expandafter\ifx\csname ^^63\endcsname\c % 128-255 disactivated locally in V3
- \Disactivate\fi
-
-uppercase de 8 bits : \upperCase\minD
-
-lowercase de 8 bits : \lowerCase\majD
-\egroup
-\message{/ Fin deuxi\`%
-eme partie /}\par
-********************** Fin deuxi\`%
-eme partie *************************\par
-\fi
-
-\bigskip
-% clean up unusedslot
-\catcode`@=11
-\ifx\@unusedslot\undefined\else
-\global\expandafter\let\@unusedslot\undefined\global\let\@unusedslot\undefined
-\fi
-\catcode`@=12
---- \%\% FIN \%\%
-
-\ifx\fmtname\tempfmt\def\tempa{\end{document}}\else\def\tempa{}\fi
-\tempa\bye
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/historyk.pdf
===================================================================
(Binary files differ)
Deleted: trunk/inputs/keyboard/TeX.kbc
===================================================================
--- trunk/inputs/keyboard/TeX.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/TeX.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,26 +0,0 @@
-% TeX.kbc for 7bit An idea of Bernard Gaulle 92/04/21
-% last mods: 2005/04/19
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-%
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Latin-1 ---------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-% I have no diacritics in pure ASCII and no interesting special char!
-%------------------------------------------------------------------------------
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/ansinew.kbc
===================================================================
--- trunk/inputs/keyboard/ansinew.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/ansinew.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,168 +0,0 @@
-% ansinew.kbc for Ansinew windows encoding An idea of Bernard Gaulle 92/04/21
-% last mods: 2005/04/13
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Dec -------------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \xE8 | \xE9 | \xEB | \xEA | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xC8 | \xC9 | \xCB | \xCA | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \xF6 | \xF4 | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \xD6 | \xD4 | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \xF9 | . | \xFC | \xFB | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xD9 | . | \xDC | \xDB | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire pour T1
-[y | . | . | \xFF | . | . | . | . | . |% y trema
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
-[Y | . | . | \x9F | . | . | . | . | . |% Y trema
- \hex| . | . | ^^98 | . | . | . | . | . ]%
-\ACTIVEfalse%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1
- \MACROtrue% depuis LaTeX2e
-%------------------------------------------------------------------------------
-[{\oe{}}
- | . | . | . | . | . | \x9C | . | . |% e dans l'o
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE{}}
- | . | . | . | . | . | \x8C | . | . |% E dans l'O
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xE6 | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xC6 | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \xF8 | . | . |% o scandinave
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \xD8 | . | . |%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xBF | . | . |% ? espagnol
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xAB | . | . |% ouvrants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xBB | . | . |% fermants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xB0 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xDF | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}}
- | . | . | . | . | . | \xA9 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xB6 | . | . |% "pilcrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA7 | . | . |% "section"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/applemac.kbc
===================================================================
--- trunk/inputs/keyboard/applemac.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/applemac.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,193 +0,0 @@
-% applemac.kbc for Mac keyboards An idea of Bernard Gaulle 92/04/21
-% last mods: 2004/10/12
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Mac -------------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \x88 | . | \x8A | \x89 | . | . | . | \x8C |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xCB | . | \x80 | \xE5 | . | . | . | \x81 |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \x8F | \x8E | \x91 | \x90 | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xE9 | \x83 | \xE8 | \xE6 | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \x95 | \x94 | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xEC | \xEB | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \x9A | \x99 | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \x85 | \xEF | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \x9D | . | \x9F | \x9E | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xF4 | . | \x86 | \xF3 | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[y | . | . | \xD8 | . | . | . | . | . |% y trema
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
-[Y | . | . | \xD9 | . | . | . | . | . |% Y trema
- \hex| . | . | ^^98 | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \x8D | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \x82 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres actifs)
- \MACROtrue% depuis LaTeX2e
-[{\oe{}}
- | . | . | . | . | . | \xCF | . | . |% e dans l'o
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE{}}
- | . | . | . | . | . | \xCE | . | . |% E dans l'O
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xBE | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xAE | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \xBF | . | . |% o scandinave
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \xAF | . | . |%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-[{!`} | . | . | . | . | . | \xC1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xC0 | . | . |% ? espagnol
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xC7 | . | . |% ouvrants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xC8 | . | . |% fermants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xA1 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\csname texteuro\endcsname} %
- | . | . | . | . | . | \xDB | . | . |% euro
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |% currency
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xA7 | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}} %
- | . | . | . | . | . | \xA9 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xA6 | . | . |% "plicrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA4 | . | . |% paragraph
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-%%%%%%%%%
-% patch to allow hyphenation and lowercase for that i-encoding --bg 04/19/95
-\lccode`^^e8=`^^e8% \\xACE n'aura pas de minuscule
-\lccode`^^e9=`^^e9% \`E n'aura pas de minuscule
-\lccode`^^f4=`^^f4% \`U n'aura pas de minuscule
-\ifx\lowercaseORI\undefined%
-\global\let\lowercaseORI\lowercase%
-\fi%
-\catcode`^^f4=11\catcode`^^9d=11 % Disactivate them 98/05
-\catcode`^^e9=11\catcode`^^8f=11 % for the patch
-\catcode`^^e8=11\catcode`^^91=11 % content.
-\long\gdef\@flowercase#1{\lowercaseORI{#1}}% 2004/06
-\long\gdef\@flowercasetxt#1{\bgroup% 2004/06
- \lccode`^^f4=`^^9d% \`U retrouve sa minuscule
- \lccode`^^e9=`^^8f% \`E retrouve sa minuscule
- \lccode`^^e8=`^^91% \\xACE retrouve sa minuscule
- \lowercaseORI{\egroup #1}%
- }%
-\gdef\flowercase{\ifmmode% only in text mode 98/05
- \expandafter\@flowercase%
- \else% temporary change of lccode
- \expandafter\@flowercasetxt%
- \fi%
- }%
-%%%%%%%%%
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/ascii.kbc
===================================================================
--- trunk/inputs/keyboard/ascii.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/ascii.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,26 +0,0 @@
-% ascii.kbc for 7bit An idea of Bernard Gaulle 92/04/21
-% last mods: 2004/06/23
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-%
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Latin-1 ---------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-% I have no diacritics in pure ASCII and no interesting special char!
-%------------------------------------------------------------------------------
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/cp850.kbc
===================================================================
--- trunk/inputs/keyboard/cp850.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/cp850.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,173 +0,0 @@
-% cp850.kbc for PC (code page 850) An idea of Bernard Gaulle 92/04/21
-% last mods: 2005/04/13
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier PC --------------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \x85 | . | \x84 | \x83 | . | . | . | \x86 |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xB7 | . | \x8E | \xB6 | . | . | . | \x8F |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \x8A | \x82 | \x89 | \x88 | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xD4 | \x90 | \xD3 | \xD2 | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \x8B | \x8C | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xD8 | \xD7 | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \x94 | \x93 | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \x99 | \xE2 | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \x97 | . | \x81 | \x96 | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xEB | . | \x9A | \xEA | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[y | . | . | \xA0 | . | . | . | . | . |% y trema
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
-[Y | . | . | \xED | . | . | . | . | . |% Y trema
- \hex| . | . | ^^98 | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \x87 | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \x80 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres actifs)
- \MACROtrue% depuis LaTeX2e
-% Malheureusement \oe n'est pas un code iso reconnu a ce jour...
-%[{\oe{}}
-% | . | . | . | . | . | \xF7 | . | . |% e dans l'o
-% \hex| . | . | . | . | . | ^^f7 | . | . ]%
-%[{\OE{}}
-% | . | . | . | . | . | \xD7 | . | . |% E dans l'O
-% \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \x91 | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \x92 | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \x9B | . | . |% o scandinave
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \x9D | . | . |%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-[{!`} | . | . | . | . | . | \xAD | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xA8 | . | . |% ? espagnol
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xAE | . | . |% ouvrants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xAF | . | . |% fermants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xF8 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xE1 | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \x9C | . | . |%sterling pound
- \hex| . | . | . | . | . | ^^bf | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}}
- | . | . | . | . | . | \xB8 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xF4 | . | . |% "plicrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-%%%% patch to allow hyphenation and lowercase for that i-encoding --bg 04/25/96
-\lccode`^^e2=`^^e2% \^O n'aura pas de minuscule
-\ifx\lowercaseORI\undefined%
-\global\let\lowercaseORI\lowercase%
-\fi%
-\gdef\@flowercase#1{\lowercaseORI{#1}}% 2004/06
-\gdef\@flowercasetxt#1{\bgroup% 2004/06
- \lccode`\xE2=`\x93% \^O retrouve sa minuscule
- \lowercaseORI{\egroup #1}%
- }%
-\long\gdef\flowercase{\ifmmode% only in text mode 99/02
- \expandafter\@flowercase%
- \else% temporary change of lccode
- \expandafter\@flowercasetxt%
- \fi%
- }%
-%%%%%%%%%
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/decmulti.kbc
===================================================================
--- trunk/inputs/keyboard/decmulti.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/decmulti.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,169 +0,0 @@
-% decmulti.kbc for Dec Multinational An idea of Bernard Gaulle 92/04/21
-% last mods: 2004/06/23
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Dec -------------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \xE8 | \xE9 | \xEB | \xEA | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xC8 | \xC9 | \xCB | \xCA | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \xF6 | \xF4 | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \xD6 | \xD4 | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \xF9 | . | \xFC | \xFB | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xD9 | . | \xDC | \xDB | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire pour T1
-[y | . | . | \xFF | . | . | . | . | . |% y trema
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
- % la majuscule n'est certainement pas la bonne...%
-[Y | . | . | \xDD | . | . | . | . | . |% Y trema
- \hex| . | . | ^^98 | . | . | . | . | . ]%
-\ACTIVEfalse%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres actifs)
- \MACROtrue% depuis LaTeX2e
-[{\oe{}}
- | . | . | . | . | . | \xF7 | . | . |% e dans l'o
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE{}}
- | . | . | . | . | . | \xD7 | . | . |% E dans l'O
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xE6 | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xC6 | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \xF8 | . | . |% o scandinave
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \xD8 | . | . |%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
-%------------------------------------------------------------------------------
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xBF | . | . |% ? espagnol
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xAB | . | . |% ouvrants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xBB | . | . |% fermants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}}
- | . | . | . | . | . | \xB0 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xDF | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}}
- | . | . | . | . | . | \xA9 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xB6 | . | . |% "pilcrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA7 | . | . |% "section"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/english.keyboard.dat
===================================================================
--- trunk/inputs/keyboard/english.keyboard.dat 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/english.keyboard.dat 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,214 +0,0 @@
-% keyboard.dat An idea of Bernard Gaulle 04/21/92
-% last mods: 2004/03/29
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to customize copies of that file)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% User data definitions for the keyboard package (and other stuff) %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the "keyboard" LaTeX package)
-% (might be called at any time by kb2lex.tex to generate .lex translators)
-%
-% This is a way to customize your LaTeX format/document accordingly with
-% your own (temporary or most generally used) keyboard. Is _always_ superseeded
-% by any later call to the "inputenc" package.
-%
-% Give below the encoding you want use for your input:
-\kbencoding{qwerty}% is the nest for French
-%\kbencoding{ascii}% the most reduced input character set.
-%%%%%%%%%%%%%%%%%%%%%% (choose among xxx.kbc files)
-%
-% This previous information superseeds any site definition provided
-% via a keyboard.cfg file.
-%
-% The real data which are loaded in memory are in fact in files xxx.kbc
-% where xxx can be "decmulti", "ansinew", "latin1", "applemac", etc.
-% You can have your own definition file. To understand the contents of the
-% tables in xxx.kbc, you have first to know that:
-% First line is for lower caps and second for their hexa. codes in ec fonts
-% third line is for upper caps and fourth for " " " " " "
-% Each hexa line (\hex) can be preceded by their unicode numbers (\ucs line).
-% A dot is inserted in any non-applicable case.
-% Use \ESC when you want to pass a TeX cs (except already used ones in *.kbc)
-% to kb2lex for kb*.lex file generation.
-%
-\endinput% an example of such table is provided at the end of this file.
-%
-%%%%%%%%%%%%%%%%%%%%% Explications plus detaillees %%%%%%%%%%%%%%%%%%%%%%%
-% (en francais)
-% concernant le fichier de definitions
-% de votre type de clavier
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Ce qui suit s'applique aux fichiers xxx.kbc, ou xxx est relatif
-% a une type de codage de caracteres entres au clavier.
-%
-% Ce fichier ne concerne _pas_ les << moteurs >> utilisant un filtre
-% d'entree/sortie (lorsque le caractere source n'est pas celui donne a TeX
-% mais un autre caractere de substitution).
-%
-% Il est normalement pret a l'usage si le codage de votre clavier est
-% l'un de ceux fournis. Toutefois ce n'est pas toujours le cas...
-%
-% Vous pouvez modifier ce fichier pour l'adapter a votre clavier.
-% Voici la demarche d'esprit a garder en memoire pour modifier ce tableau
-% << Si on applique l'accent a la lettre indiquee (1ere colonne) on
-% obtient le signe indique a l'ecran dans la case correspondante.
-% Le code hexa de la ligne suivante indique seulement a TeX -- dans
-% certains cas -- quel code interne utiliser >>
-% (ce code est celui de la norme de Cork aussi appele << font encoding >> T1)
-% Ces lignes concernent le codage sur 1 caractere que TeX aura a interpreter.
-% Une ligne \ucs peut exister pour les codages en unicode (sur 2 caracteres).
-% Il vous suffit donc de prendre une copie du fichier xxx.kbc en yyy.kbc,
-% d'editer ce tableau et de mettre les lettres accentuees
-% appropriees. Attention un blanc peut cacher un code hexa non-affichable !
-% Les caracteres [ ] | et . sont significatifs.
-% (le . indique une case vide, il doit etre precede et suivi d'un espace).
-% Il est possible de rajouter d'autres tableaux de ce genre.
-% Ceux fournis ne concernent que les caracteres accentues usuels en francais
-% ainsi que des ligatures, les oe ae et d'autres caracteres moins usuels.
-% Pour ces derniers il ne s'agit plus d'accentuation mais d'equivalences
-% entre un caractere et sa macro TeX.
-%
-% Les codes hexadecimaux sont ceux des polices ec ils ne doivent en aucun
-% cas etre changes si vous respectez le << font encoding >> T1.
-%
-% Les programmes TeX qui utilisent xxx.kbc savent detecter si
-% l'option MlTeX est active et dans ce cas donnent au moteur TeX la definition
-% des caracteres fournis dans ce tableau. Ces nouveaux caracteres sont bien
-% dans ce cas de type caractere (\catcode 11) pour le compilateur TeX.
-% L'avantage d'utiliser MlTeX est donc ici de ne pas avoir de nouveau
-% caractere actif (comme cela est avec l'extension "inputenc").
-%
-% Pour diverses raisons techniques il est parfois necessaire d'utiliser
-% le mecanisme des caracteres actifs et ce sera en general le cas des
-% caracteres qui ne sont pas composes d'une lettre _et_ d'un accent.
-% Alors il vous faudra le preciser en encadrant les definitions de ce genre
-% par la sequence \ACTIVEtrue ... definitions ... \ACTIVEfalse
-% Les caracteres seront alors des caracteres actifs (donc des macros) et
-% ne pouront pas alors faire partie d'un nom de macro-instruction.
-% Le temps de calcul pour le traitement des documents s'en trouvera un peu
-% rallonge.
-%
-% On encadrera de la meme maniere les definitions de ligatures par
-% \LIGStrue ... definitions de ligatures ... \LIGSfalse
-%
-% Il faudra enfin encadrer par :
-% \MACROtrue ... definitions des macros ... \MACROfalse
-% les equivalences qui n'aboutissent pas a un seul caractere de police
-% et/ou necessitent d'etre composes au dernier moment parcequ'elles
-% s'appliquent differemment selon que la lettre suivante est une majuscule
-% ou une minuscule (par exemple).
-%
-% Si vous choisissez de modifier ce tableau, il est conseille de le faire
-% tres progressivement, ligne par ligne, caractere par caractere et de
-% tester les effets a l'aide de kbtest.tex (a adapter a votre clavier).
-% N'OUBLIEZ PAS que vous ne pouvez pas avoir deux fois le meme caractere
-% dans la table. Si vous le faites, il est normal que TeX s'en plaigne et
-% s'arrete, sur un message du style :
-%
-% ! Missing control sequence inserted.
-% <inserted text>
-% \inaccessible
-%
-% mais cela dependra des circonstances.
-%
-% Autres commentaires : a la generation d'un nouveau format vous devez
-% =================== imperativement avoir le message << No pages of output >>
-% si ce n'etait pas le cas, verifiez que vous n'avez pas suprime d'espace
-% autour des definitions de caracteres ou de commandes.
-%
-% Pour la generation des fichiers kb*.lex via kb2lex : si vous souhaitez
-% passer des commandes TeX autres que celles deja utilisees dans les fichiers
-% *.kbc il est imperatif de faire preceder ces commandes d'une macro
-% d'echappement \ESC, voir exemple dans un fichier .kbc.
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Voici un exemple succint de tableau de definition :
-
-%------ Tableau des caracteres accentues de mon clavier francais --------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \ucs| 00E0 | . | 00E4 | 00E2 | . | . | . | 00E5 ]% + angstroem
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \ucs| 00C0 | . | 00C4 | 00C2 | . | . | . | 00C5 ]%
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[{\i} | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \ucs| . | . | 00EF | 00EE | . | . | . | . ]%
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I} | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \ucs| . | . | 00CF | 00CE | . | . | . | . ]%
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \ucs| . | . | . | . | 00E7 | . | . | . ]%
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \ucs| . | . | . | . | 00C7 | . | . | . ]%
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-%(*) A noter :
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Macro-instructions d'accention utilisables avec l'option "-mltex"
-%
-% *----------------------------------*
-% | \` | \' | \" | \^ | {\c} | {\r} |%<==
-% |----------------------------------| |-- 7 bits accent. macros
-% | \v | \u | \= | \. | \H | \~ |%<==
-% *----------------------------------*
-%
-% Les autres macros-instruction d'accentuation restent utilisables mais
-% ne tirent pas profit de l'option "-mltex".
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
- \MACROtrue%
-%------------------------------------------------------------------------------
-[{\oe} | . | . | . | . | . | \xF7 | . | . |% e dans l'o
- \ucs| . | . | . | . | . | 0153 | . | . ]%
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE} | . | . | . | . | . | \xD7 | . | . |% E dans l'O
- \ucs| . | . | . | . | . | 0152 | . | . ]%
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
- \MACROfalse%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-% Ci-dessous les macro-caracteres qui sont des caracteres mathematiques
-% et donc (pour l'instant) ne font pas partie des fontes EC.
-%------------------------------------------------------------------------------
- \ACTIVEtrue
-%------------------------------------------------------------------------------
-[{\ss} | . | . | . | . | . | \xDF | . | . |% es-zet
- \ucs| . | . | . | . | . | 00DF | . | . ]%
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS} | . | . | . | . | . | {{SS}} | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
- \ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/french8keyboard-msg.tex
===================================================================
--- trunk/inputs/keyboard/french8keyboard-msg.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/french8keyboard-msg.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,64 +0,0 @@
-% Fichier french_keyboard-msg.tex (messages de l'extension FrenchPro)
-\msgencoding{ansinew}\msgheader{-\msgid-\space}
-\msg{28}{ATTENTION \string: TeX Version 2 ne permet pas d'utiliser des %
- caract\xE8res accentu\xE9s 8-bits}{}
-\msg*{29}{***Attention*** \string: le moteur TeX en utilisation avec %
- des fontes CM %
- \MessageBreak %
- (comme dans ce format TeX) est insuffisant pour la c\xE9sure %
- \MessageBreak %
- des mots accentu\xE9s (comme en fran\xE7ais).}{}
-\msg{33}{VERIFIEZ si les codes TeX hexad\xE9cimaux list\xE9s ne peuvent s'afficher %
- \MessageBreak %
- \xE0 l'\xE9cran et d\xE9cidez s'ils doivent \xEAtre \xE9limin\xE9s de \@kbencoding.kbc %
- \MessageBreak %
- en supposant que votre ''locale'' est bien initialis\xE9e %
- sur votre syst\xE8me.}{}
-\msg*{40}{\xC9criture de kb8to7.lex et kb7to8.lex}{}
-\msg*{47}{je dois m'arr\xEAter car votre moteur TeX engine n'est pas capable %
- de g\xE9n\xE9rer des codes 8-bits en sortie, d\xE9sol\xE9 \string!}{}
-\msg{54}{ERREUR \string: \string\unusedslot\space (\unusedslot) est invalide}{}
-\msg{55}{ERREUR le caract\xE8re \string\unusedslot\space %
- (\@unusedslot) n'est pas actif.}{}
-\msg*{56}{Les caract\xE8res 8-bits trait\xE9s sont \string:}{}
-\msg{57}{extension keyboard #1 charg\xE9e pour le codage de fonte %
- \f@encoding.^^J}{}
-\msg*{59}{ERREUR FATALE \string: texte g\xE9n\xE9r\xE9 \xE9trange et inhabituel.}{}
-\msg*{67}{ATTENTION il semble que vous utilisez \xE0 la fois inputenc et %
- keyboard, merci de choisir \string!}{}
-\msg{72}{kbconfig \string: le codage utf8 ne peut \xEAtre r\xE9alis\xE9 avec %
- plain \string! %
- \MessageBreak %
- kbconfig \string: on continue sans caract\xE8res Unicode.}{}
-\msg*{74}{ERREUR, extension keyboard charg\xE9e apr\xE8s %
- \frenchpack!}{}
-\msg{75}{kbconfig \string: codage utf8 non trouv\xE9 via l'extension %
- inputenc \string! %
- \MessageBreak %
- kbconfig \string: on continue sans caract\xE8res Unicode.}{}
-\msg{76}{kbconfig \string: pas de contraintes de langage possibles %
- avec Plain TeX \string!}{}
-\msg*{78}{ERREUR \string: l'otion noutf8 fournie est en conflit.}{}
-\msg*{79}{keyboard.sty \string: pas d'option locale fournie, %
- codage utf8 impossible.}{}
-\msg{86}{keyboard.sty \string: %
- le dispositif mltex a \xE9t\xE9 annul\xE9 par l'option #1.}{}
-\msg{88}{Aucun caract\xE8re n'a \xE9t\xE9 d\xE9fini\MessageBreak %
- pour le codage clavier `utf8'\MessageBreak}{}
-\msg{89}{kbconfig : Le caract\xE8re utilis\xE9 n'est pas d\xE9fini \MessageBreak %
- avec le codage clavier `utf8'}%
- {Vous pouvez en fournir une d\xE9finition avec %
- \noexpand\DeclareInputText\MessageBreak ou %
- \noexpand\DeclareInputMath avant de l'utiliser.}%
-\msg{90}{Caract\xE8re Unicode invalide, valeur \string < 00A0}{\@eha}
-\msg{91}{La cha\xEE{}ne de caract\xE8res Unicode #1 n'a pas \xE9t\xE9 %
- d\xE9finie pour \xEAtre utilis\xE9e avec LaTeX}{\@eha}
-\msg{92}{Vous devez \styring:\MessageBreak %
- - soit utiliser un moteur avec option MlTeX,\MessageBreak %
- - soit passer en codage T1 par d\xE9faut.}{}
-\msgheader{}
-\msg{*}{le message \msgid\space de l'extension keyboard %
- \MessageBreak %
- n'est pas r\xE9pertori\xE9}{}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
Deleted: trunk/inputs/keyboard/french_keyboard-msg.tex
===================================================================
--- trunk/inputs/keyboard/french_keyboard-msg.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/french_keyboard-msg.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,64 +0,0 @@
-% Fichier french_keyboard-msg.tex (messages de l'extension FrenchPro)
-\msgencoding{TeX}\msgheader{-\msgid-\space}
-\msg{28}{ATTENTION \string: TeX Version 2 ne permet pas d'utiliser des %
- caract\`eres accentu\'es 8-bits}{}
-\msg*{29}{***Attention*** \string: le moteur TeX en utilisation avec %
- des fontes CM %
- \MessageBreak %
- (comme dans ce format TeX) est insuffisant pour la c\'esure %
- \MessageBreak %
- des mots accentu\'es (comme en fran\c cais).}{}
-\msg{33}{VERIFIEZ si les codes TeX hexad\'ecimaux list\'es ne peuvent s'afficher %
- \MessageBreak %
- \`a l'\'ecran et d\'ecidez s'ils doivent \^etre \'elimin\'es de \@kbencoding.kbc %
- \MessageBreak %
- en supposant que votre ''locale'' est bien initialis\'ee %
- sur votre syst\`eme.}{}
-\msg*{40}{\'Ecriture de kb8to7.lex et kb7to8.lex}{}
-\msg*{47}{je dois m'arr\^eter car votre moteur TeX engine n'est pas capable %
- de g\'en\'erer des codes 8-bits en sortie, d\'esol\'e \string!}{}
-\msg{54}{ERREUR \string: \string\unusedslot\space (\unusedslot) est invalide}{}
-\msg{55}{ERREUR le caract\`ere \string\unusedslot\space %
- (\@unusedslot) n'est pas actif.}{}
-\msg*{56}{Les caract\`eres 8-bits trait\'es sont \string:}{}
-\msg{57}{extension keyboard #1 charg\'ee pour le codage de fonte %
- \f@encoding.^^J}{}
-\msg*{59}{ERREUR FATALE \string: texte g\'en\'er\'e \'etrange et inhabituel.}{}
-\msg*{67}{ATTENTION il semble que vous utilisez \`a la fois inputenc et %
- keyboard, merci de choisir \string!}{}
-\msg{72}{kbconfig \string: le codage utf8 ne peut \^etre r\'ealis\'e avec %
- plain \string! %
- \MessageBreak %
- kbconfig \string: on continue sans caract\`eres Unicode.}{}
-\msg*{74}{ERREUR, extension keyboard charg\'ee apr\`es %
- \frenchpack!}{}
-\msg{75}{kbconfig \string: codage utf8 non trouv\'e via l'extension %
- inputenc \string! %
- \MessageBreak %
- kbconfig \string: on continue sans caract\`eres Unicode.}{}
-\msg{76}{kbconfig \string: pas de contraintes de langage possibles %
- avec Plain TeX \string!}{}
-\msg*{78}{ERREUR \string: l'otion noutf8 fournie est en conflit.}{}
-\msg*{79}{keyboard.sty \string: pas d'option locale fournie, %
- codage utf8 impossible.}{}
-\msg{86}{keyboard.sty \string: %
- le dispositif mltex a \'et\'e annul\'e par l'option #1.}{}
-\msg{88}{Aucun caract\`ere n'a \'et\'e d\'efini\MessageBreak %
- pour le codage clavier `utf8'\MessageBreak}{}
-\msg{89}{kbconfig : Le caract\`ere utilis\'e n'est pas d\'efini \MessageBreak %
- avec le codage clavier `utf8'}%
- {Vous pouvez en fournir une d\'efinition avec %
- \noexpand\DeclareInputText\MessageBreak ou %
- \noexpand\DeclareInputMath avant de l'utiliser.}%
-\msg{90}{Caract\`ere Unicode invalide, valeur \string < 00A0}{\@eha}
-\msg{91}{La cha\^\i{}ne de caract\`eres Unicode #1 n'a pas \'et\'e %
- d\'efinie pour \^etre utilis\'ee avec LaTeX}{\@eha}
-\msg{92}{Vous devez \styring:\MessageBreak %
- - soit utiliser un moteur avec option MlTeX,\MessageBreak %
- - soit passer en codage T1 par d\'efaut.}{}
-\msgheader{}
-\msg{*}{le message \msgid\space de l'extension keyboard %
- \MessageBreak %
- n'est pas r\'epertori\'e}{}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
Deleted: trunk/inputs/keyboard/frenchfc.tex
===================================================================
--- trunk/inputs/keyboard/frenchfc.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/frenchfc.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,23 +0,0 @@
-
-% frenchfc.tex The ``Full Chars'' French translation for keyboard package.
-% An idea of Bernard Gaulle 2002/02/27
-% last mods: 2002/05/07
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it to your own needs)
-
-% Requirement: \usepackage[fullchars]{keyboard}
-% Here is the translation i want for French when i type \kbtypeout{message}
-
-\makeatletter%
-\def\@nobraces#1{#1}%
-\def\oe{oe\@GobbleEmpty}\def\OE{OE\@GobbleEmpty}%
-\def\ae{ae\@GobbleEmpty}\def\AE{AE\@GobbleEmpty}%
-\def\O{O\@GobbleEmpty}%
-\def\texteuro{EUR\ \@GobbleEmpty}\let\textcurrency\texteuro%
-\def\ss{ss\@GobbleEmpty}\def\SS{SS\@GobbleEmpty}%
-\def\ { }%
-\def\@gotl{<<}\def\@gotr{>>\@GobbleEmpty}%
-\def\multiplier{*}\def\diviser{/}%
-\def\r{\string\degre\ \@GobbleEmpty}\def\pounds{livre sterling\@GobbleEmpty}%
-
-\endinput%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/german8keyboard-msg.tex
===================================================================
--- trunk/inputs/keyboard/german8keyboard-msg.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/german8keyboard-msg.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,63 +0,0 @@
-% File french-msg.tex (messages issued by the FrenchPro package)
-\msgencoding{ansinew}\msgheader{-\msgid-\space}
-%%%%%%% translated by Werner Struckmann, THANKS! %%%%%%%%%%%%%%%
-\msg{28}{WARNUNG\string: TeX Version 2 gestattet nicht die Verwendung %
- von 8-Bit-Zeichen mit Umlauten.}{}
-\msg*{29}{***Warning***\string: TeX mit CM-Fonts %
- \MessageBreak %
- (wie im aktuellen TeX-Format) kann keine W\xF6rter trennen,%
- \MessageBreak %
- die Umlaute enthalten.}{}
-\msg{33}{\xDCberpr\xFCfen Sie bitte die Liste auf hexadezimale Codes,%
- \MessageBreak %
- die nicht dargestellt werden k\xF6nnen und entfernen Sie diese ggf.
- \MessageBreak %
- aus \@kbencoding.kbc.}{}
-\msg*{40}{Die Dateien kb8to7.lex und kb7to8.lex werden erzeugt.}{}
-\msg*{47}{Die Verarbeitung muss leider abgebrochen werden, da diese TeX-Version nicht %
- in der Lage ist, 8-Bit-Ausgaben zu erzeugen.\string!}{}
-\msg{54}{FEHLER\string: \string\unusedslot\space (\unusedslot) ist ung\xFCltig.}{}
-\msg{55}{FEHLER \string\unusedslot\space character %
- (\@unusedslot) wurde nicht aktiviert.}{}
-\msg*{56}{Folgende 8-Bit-Zeichen wurden verarbeitet\string:}{}
-\msg{57}{Das Keyboard-Paket #1 wurde f\xFCr die Font-Kodierung %
- \f@encoding geladen.^^J}{}
-\msg*{59}{Fataler FEHLER\string: Ungew\xF6hnlicher Text wurde erzeugt.}{}
-\msg*{67}{WARNUNG: Sie verwenden vermutlich inputenc und keyboard, %
- bitte w\xE4hlen Sie \string!}{}
-\msg{72}{kbconfig\string: Die utf8-Kodierung kann nicht mit plain\string %
- vervollst\xE4ndigt werden. %
- \MessageBreak %
- kbconfig\string: Es wird mit Unicode-Zeichen fortgefahren.}{}
-\msg*{74}{FEHLER, die keyboard-Datei wurde nach \frenchpack geladen!}{}
-\msg{75}{kbconfig\string: Die utf8-Kodierung konnte durch %
- die inputenc-Datei\string nicht gefunden werden.
- \MessageBreak %
- kbconfig\string: Es wird mit Unicode-Zeichen fortgefahren.}{}
-\msg{76}{kbconfig\string: Leider sind keine Sprachabh\xE4ngigkeiten in %
- Plain TeX\string verf\xFCgbar.}{}
-\msg*{78}{FEHLER\string: Die Option noutf8 wurde mit unterschiedlichen %
- Argumenten gew\xE4hlt.}{}
-\msg*{79}{keyboard.sty\string: Es wurden weder eine lokale Option noch %
- die utf8-Kodierung angegeben.}{}
-
-\msg{86}{keyboard.sty\string: Aufgrund der #1\space Option wurde mltex %
- nicht verwendet.}{}
-\msg{88}{Durch einen Wechsel der Keyboard Codierung zu `utf8' %
- \MessageBreak %
- sind keine Zeichen definiert.\MessageBreak}{}
-\msg{89}{Das verwendete Zeichen ist\MessageBreak %
- in der Keyboard Codierung `utf8' undefiniert.}%
- {Sie m\xFCssen eine Definition durch %
- \noexpand\DeclareInputText\MessageBreak oder %
- \noexpand\DeclareInputMath angeben, bevor Sie dieses Zeichen benutzen.}
-\msg{90}{Ung\xFCltiges Unicode-Zeichen \string < 00A0}{\@eha}
-\msg{91}{Das Unicode-Zeichen #1 wurde\space %
- f\xFCr die Verwendung mit LaTeX nicht eingerichtet.}{\@eha}
-\msg{92}{Sie sollten entweder \string:\MessageBreak %
- - TeX mit der Option MlTeX verwenden oder\MessageBreak %
- - per Default zur Kodierung T1 wechseln.}{}
-\msgheader{}
-\msg{*}{Diese Meldung \msgid\space ist im \frenchname\space %
- Paket unbekannt.}{}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/german_keyboard-msg.tex
===================================================================
--- trunk/inputs/keyboard/german_keyboard-msg.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/german_keyboard-msg.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,63 +0,0 @@
-% File french-msg.tex (messages issued by the FrenchPro package)
-\msgencoding{TeX}\msgheader{-\msgid-\space}
-%%%%%%% translated by Werner Struckmann, THANKS! %%%%%%%%%%%%%%%
-\msg{28}{WARNUNG\string: TeX Version 2 gestattet nicht die Verwendung %
- von 8-Bit-Zeichen mit Umlauten.}{}
-\msg*{29}{***Warning***\string: TeX mit CM-Fonts %
- \MessageBreak %
- (wie im aktuellen TeX-Format) kann keine W\"{o}rter trennen,%
- \MessageBreak %
- die Umlaute enthalten.}{}
-\msg{33}{\"{U}berpr\"{u}fen Sie bitte die Liste auf hexadezimale Codes,%
- \MessageBreak %
- die nicht dargestellt werden k\"{o}nnen und entfernen Sie diese ggf.
- \MessageBreak %
- aus \@kbencoding.kbc.}{}
-\msg*{40}{Die Dateien kb8to7.lex und kb7to8.lex werden erzeugt.}{}
-\msg*{47}{Die Verarbeitung muss leider abgebrochen werden, da diese TeX-Version nicht %
- in der Lage ist, 8-Bit-Ausgaben zu erzeugen.\string!}{}
-\msg{54}{FEHLER\string: \string\unusedslot\space (\unusedslot) ist ung\"{u}ltig.}{}
-\msg{55}{FEHLER \string\unusedslot\space character %
- (\@unusedslot) wurde nicht aktiviert.}{}
-\msg*{56}{Folgende 8-Bit-Zeichen wurden verarbeitet\string:}{}
-\msg{57}{Das Keyboard-Paket #1 wurde f\"{u}r die Font-Kodierung %
- \f@encoding geladen.^^J}{}
-\msg*{59}{Fataler FEHLER\string: Ungew\"{o}hnlicher Text wurde erzeugt.}{}
-\msg*{67}{WARNUNG: Sie verwenden vermutlich inputenc und keyboard, %
- bitte w\"ahlen Sie \string!}{}
-\msg{72}{kbconfig\string: Die utf8-Kodierung kann nicht mit plain\string %
- vervollst\"andigt werden. %
- \MessageBreak %
- kbconfig\string: Es wird mit Unicode-Zeichen fortgefahren.}{}
-\msg*{74}{FEHLER, die keyboard-Datei wurde nach \frenchpack geladen!}{}
-\msg{75}{kbconfig\string: Die utf8-Kodierung konnte durch %
- die inputenc-Datei\string nicht gefunden werden.
- \MessageBreak %
- kbconfig\string: Es wird mit Unicode-Zeichen fortgefahren.}{}
-\msg{76}{kbconfig\string: Leider sind keine Sprachabh\"angigkeiten in %
- Plain TeX\string verf\"ugbar.}{}
-\msg*{78}{FEHLER\string: Die Option noutf8 wurde mit unterschiedlichen %
- Argumenten gew\"ahlt.}{}
-\msg*{79}{keyboard.sty\string: Es wurden weder eine lokale Option noch %
- die utf8-Kodierung angegeben.}{}
-
-\msg{86}{keyboard.sty\string: Aufgrund der #1\space Option wurde mltex %
- nicht verwendet.}{}
-\msg{88}{Durch einen Wechsel der Keyboard Codierung zu `utf8' %
- \MessageBreak %
- sind keine Zeichen definiert.\MessageBreak}{}
-\msg{89}{Das verwendete Zeichen ist\MessageBreak %
- in der Keyboard Codierung `utf8' undefiniert.}%
- {Sie m\"{u}ssen eine Definition durch %
- \noexpand\DeclareInputText\MessageBreak oder %
- \noexpand\DeclareInputMath angeben, bevor Sie dieses Zeichen benutzen.}
-\msg{90}{Ung\"{u}ltiges Unicode-Zeichen \string < 00A0}{\@eha}
-\msg{91}{Das Unicode-Zeichen #1 wurde\space %
- f\"{u}r die Verwendung mit LaTeX nicht eingerichtet.}{\@eha}
-\msg{92}{Sie sollten entweder \string:\MessageBreak %
- - TeX mit der Option MlTeX verwenden oder\MessageBreak %
- - per Default zur Kodierung T1 wechseln.}{}
-\msgheader{}
-\msg{*}{Diese Meldung \msgid\space ist im \frenchname\space %
- Paket unbekannt.}{}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/kbconfig.tex
===================================================================
--- trunk/inputs/keyboard/kbconfig.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/kbconfig.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,2070 +0,0 @@
-% kbconfig.tex An idea of Bernard Gaulle as of 1992/07/29
-% V7,03
-% Copyright Bernard Gaulle as in french.doc
-%
-% (previous changes listed in historyk.pdf)
-% V7,00 Global definition of chars replaced by local ones using
-% \outside macros. This was required because kbconfig can
-% be used by the "msg" package (\msgencoding) and thus
-% the encoding should only be changed locally for the
-% issued message and not globally for the document. --bg 2005/04/08
-% K3 modified for \c noexpansion.
-% Added ^^J newline for Plain.
-% \outsidecase completed. --bg 2005/04/12
-% \noexpand moved to \protect for unusedslot ^^8d. --bg 2005/04/15
-% V7,01 \ifLEX now saved on second pass. --bg 2005/04/20
-% V7,02 Let \kbAissue be \relax with Plain.
-% Allow kbconfig to be used with XeTeX. --bg 2005/04/21
-% V7,03 Wrong encoding for accentued \i char, as shown by
-% Andre Valentin. --bg 2005/08/29
-%%
-%% checksum = "64196 2070 4788 91646"
-%%
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% If not loaded by kbconfig.tex or keyboard.sty
-% this code will read keyboard.dat, and do appropriate customisation
-% of your keyboard according to the engine you are using.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Is supposed to run with \catcode`@=11.
-\def\GOfrench{\ifx\@prevkbencoding\@kbencoding\expandafter\endinput\fi}%
-\def\@tempc{\let\ifLEX\iffalse\let\ifLEXhic\iftrue}%
-\ifx\ifLEX\undefined\message{keyboard (kbconfig V7,03),}\@tempc\fi%
-%
-\def\@tempc{\let\ifLEX\iffalse\let\unusedslot\undefined%
- }%
-\ifx\documentclass\undefined\let\kbAissue\relax\let\messag@\message%
-\else%
- \let\messag@\@gobble%
-% For debugging one can remove "msg" access, just uncomment
-%\let\kbAissue\relax% this line.
- \ifx\kbAissue\undefined%
-% Firstly we add the material to use the "msg" package for localization.
-% (but don't use "msg" inside "msg").
- \def\kbAissue{\ifx\msgid\undefined\expandafter\kb@issue%
- \else\let\kbAissue\relax\let\messag@\message\fi}%
- \def\kb@issue#1#2{\kb@issue@[#1]#2\void}% The local \issuemsg macro.
- % which will call the real one;
- % #1 is the macro message required.
- % #2 is the message header + msg number
- % such as "^^J -234-", just message
- % number (234) is kept.
- \def\kb@issue@[#1]#2-#3-#4\void{\issuemsg[#1]#3(keyboard)}%
- \else\let\kbAissue\relax\let\messag@\message%
-%%% \@tempc% Avoid second level loop.
- \fi%
-\fi%
-%
-\ifLEX\def\GOfrench{}\fi%
-\ifx\@kbencoding\undefined\else\expandafter\GOfrench\fi%
-\let\@prevkbencoding\@kbencoding%
-\let\UTFviii@two@octets\string% If utf8 was loaded then
-\let\UTFviii@three@octets\string% nullify it until we
-\let\UTFviii@four@octets\string% know if it is requested.
-\ifx\@gobble\undefined\def\@gobble#1{}\fi%
-\ifx\@GobbleEmpty\undefined%
- \gdef\@GobbleEmpty#1{\ifx#1\empty\else\expandafter#1\fi}%
-\fi%
-\ifx\blankspace\undefined%
-{\def~{\global\futurelet\blankspace\relax}~ }%
-\fi%
-\ifx\dGs\undefined\let\dGs\empty\fi%
-\ifx\@firstoftwo\undefined\long\def\@firstoftwo#1#2{#1}\fi%
-\ifx\@@charsubdef\undefined\else% Case mltex.sty preloaded,
- \let\charsubdef\@@charsubdef% reset saved primitive meaning.
-\fi%
-%-------------Debugging part-----------------------------------------
-%\let\DEBUGmessage\message% Uncomment to obtain debugging messages.
-%\let\charsubdef\undefined% Uncomment to make MlTeX unkown for tests.
-%\let\kbtypeout=\typeout% Uncomment to do nothing more when \kbtypeout
-%--------------------------------------------------------------------
-\ifx\DEBUGmessage\undefined\let\DEBUGmessage\@gobble\fi%
-\ifx\message\DEBUGmessage%
-\def\tracingall{\tracingonline\@ne\tracingcommands\tw@\tracingstats\tw@
- \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne
- \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne
- \showboxbreadth\maxdimen\showboxdepth\maxdimen\errorstopmode}
-\fi%
-%
-%%%% Check if we can output 8bit without translation to ^^codes
-%
-\def\@tempa{%
- \edef\GOresetat{\noexpand\catcode\GOfrench=\the\catcode\GOfrench}%
- \ifx\ifEightBitOutput\undefined% in a second pass non-MlTeX
- \ifx\accent@spacefactor\undefined\let\accent@spacefactor\relax%
- \ifx\inputencoding\undefined\else%
- \def\@tempa{french}%
- \ifx\l@nguagename\@tempa%
-\kbAissue%
-\message{^^J -67- WARNING it seeems your are using inputenc and keyboard,
- please chose!}%
- \else%
-\kbAissue%
-\message{^^J -67- ATTENTION il me semble que vous utilisez \`a la fois
- inputenc et keyboard, svp choisissez \string!}%
- \fi%
- \fi%
- \fi%
- \edef\GOfrench{^^e9}% this char. which is activated should not be expanded
- \fi% because all the LaTeX stuff is not available.
-\catcode`\^=12%
- }%\@tempa
-\edef\GOfrench{`\string ^}% temp def further correctly defined
-\ifnum\catcode\GOfrench=12% mods of code proposed by DT that
- \let\GOresetat\relax% accepts also that ^ were active
-\else\expandafter\@tempa%
-\fi%
-\def\@tempc#1 #2\null{\def\@jobname{#1}}% \jobname may contain a space
-\expandafter\expandafter%
-\expandafter\@tempc% on Mac.set \@jobname with first
-\csname jobname\expandafter\endcsname\space\null% non blank chars.
-\ifx\kbconfigw\undefined\csname newwrite\endcsname\kbconfigw\fi%
-\ifx\kbconfigr\undefined\csname newread\endcsname\kbconfigr\fi%
-\def\@tempc{\csname newif\endcsname\ifEightBitOutput\EightBitOutputfalse%
- \immediate\openout\kbconfigw=\@jobname.tmp%
- \immediate\write\kbconfigw{\string\def\string\ligne{\GOfrench}}%
- \immediate\closeout\kbconfigw%
-{\catcode`\^=12
-\input\@jobname.tmp % If pb, insure you wrote in an inputable directory.
-\def\vide{}\def\gobbleIV##1##2##3##4{}
-\def\yy^##1^##2^{\def\aa{##1}%
- \ifx\aa\vide\let\next\gobbleIV
- \else\aftergroup\EightBitOutputtrue
-\let\next\relax\fi
- \next}
-\expandafter\yy\expandafter^\ligne^^
-}%\catcode
-}%\@tempc
-\ifx\EightBitOutputfalse\undefined\expandafter\@tempc\fi%
-\GOresetat\let\GOfrench\undefined%
-\let\@tempc=\undefined% so if someone use it...
-%%%% Dirty hack to be remove later...
-\def\@tempc{\let\ifECM\iffalse}%
-\ifx\ifECM\undefined\relax\@tempc\fi%
-\ifx\documentclass\undefined% Case Plain: no language.xx.kbc file
-\message{ -76- kbconfig: no language dependencies available within Plain TeX!}%
- \def\IfFileExists#1#2#3{#3}%
-\fi%
-\ifLEX\else%
-\ifx\documentclass\undefined% This is Plain
-\newlinechar=`^^J%
- \ifx\IeC\undefined\gdef\IeC#1{\ifx\protect\relax #1%
- \else\noexpand\IeC{\noexpand #1}\fi}% 1999/11/26
- \fi%
-\else% This is LaTeX
- \ifx\IeC\undefined%
- \gdef\IeC{\ifx\protect\@typeset@protect\expandafter\@firstofone%
- \else\noexpand\IeC\fi}%
- \fi%
-\ifx\undefined\@uclclist% is it initex? yes probably
- \let\kbAissue\relax% No localization with Plain.
- \ifx\dumpORI\undefined\let\dumpORI=\dump%
-\wlog{ -69- kbconfig: Intercepting the dump control sequence for %
- eliminating few invalid chars.}%
- \let\InitexTime\relax%
- \def\dump{\makeatletter%
- \let\xordcode\undefined% disable encTeX
- \let\xchrcode\undefined% as in TUGboat vol 19 (1998) #4
- \let\xprncode\undefined% p 370.
- \input kbconfig.tex %
- \let\dump\dumpORI%
- \ifECM\relax\else\uccode`\^^Y=`\^^Y%
- \uccode`\^^Z=`\^^Z%
-\wlog{ -35- kbconfig: Redefining \string ^\string ^\string Y uccode.}%
-\wlog{ -35- kbconfig: Redefining \string ^\string ^\string Z uccode.}%
- \fi%
- \let\InitexTime\undefined%
-\ifx\charsubdef\undefined\else%
- \expandafter%
- \ifx\csname @tbkORI\endcsname\relax\let\@tbkORI=\@tabacckludge%
- \def\@tabacckludge{\ifmmode\expandafter\@gobble\else\expandafter\@tbkORI\fi}%
- \fi
- \wlog{ -70- kbconfig: modifying \string\@tabacckludge\space for math.}%
-\fi%
- \makeatother\dump}%
- \fi%
-\fi% LaTeX2e
-\fi% initex
-\fi% LEX
-%%%%
-\ifx\I\undefined\def\I{I}\fi%
-\ifx\cedilla\undefined\gdef\cedilla{\noexpand\m@c@@}\fi%
-\ifx\m@c@@\undefined% For cedilla in math mode.
-\gdef\m@c@@#1{\setbox\z@\hbox{$#1$}%
- {\ooalign{\unhbox\z@\crcr\ifdim\ht\z@<1ex\else\hidewidth\fi%
- $\char24$\hidewidth}}%
- }%
-\fi%
-\ifx\SS\undefined\def\SS{\hbox{SS}}\fi% new defs
-% \" is redefined, look at the accentuation macros
-%%% unused slot preliminary processing
-{% (testing activation of the unused slot char)
-\ifx\@unusedslot\undefined%
-\ifx\unusedslot\undefined\else%
- \def\@tempb{}\def\@tempc{\catcode`}
- \edef\@unusedslot{\unusedslot}%
- \expandafter\ifnum\expandafter\@tempc\@unusedslot=\active\else%
- \def\@tempb{\kbAissue%
- \message{ -55- ERROR \string\unusedslot\space character
- (\@unusedslot) is not activated.}\stop}%
- \fi%
-\expandafter\@tempb%
-\fi%
-\fi%
-}%
-%
-\def\newcount{\alloc@0\count\countdef\insc@unt}%.................... \newcount
-\def\@tempa{\newcount\@tempcnta\newcount\@tempcntb}%
-\ifx\@tempcnta\undefined\expandafter\@tempa\fi% case plain TeX.
-\def\reserved@a#1#2{\@tempcnta#1\relax\@tempcntb#2\relax\reserved@b}%
-\def\reserved@b{\ifnum\@tempcnta>\@tempcntb\else\reserved@c\@tempcnta%
- \advance\@tempcnta\@ne\expandafter\reserved@b\fi}%
-%
-% Go back to default LaTeX catcodes
-%
-\ifLEX\else% don't activate for kb2lex
-\expandafter\ifx\csname ^^63\endcsname\c % 128-255 going \active locally in V3
-\catcode`\ =10
-\catcode`\#=6
-\catcode`\$=3
-\catcode`\%=14
-\catcode`\&=4
-\catcode`\\=0
-\catcode`\^=7
-\catcode`\_=8
-\catcode`\{=1
-\catcode`\}=2
-\catcode`\~=13
-\catcode`\@=11
-\catcode`\^^I=10
-\catcode`\^^J=12
-\catcode`\^^L=13
-\catcode`\^^M=5
-\def\reserved@c#1{\catcode#1=12\relax}
-\reserved@c{`\!}
-\reserved@c{`\"}
-\reserved@a{`\'}{`\?}
-\reserved@c{`\[}
-\reserved@c{`\]}
-\reserved@c{`\`}
-\reserved@c{`\|}
-%
-\def\reserved@c#1{\catcode#1=11\relax}
-\reserved@a{`\A}{`\Z}
-\reserved@a{`\a}{`\z}
-\def\reserved@c#1{\catcode#1=15\relax}
-\reserved@a{0}{`\^^H}
-\reserved@c{`\^^K}
-\reserved@a{`\^^N}{31}
- \catcode"7F=15
-\def\reserved@c#1{\catcode#1=13\relax}%
-\reserved@a{"7F}{"FF}% activate all 8-bits chars
-\def\reserved@c#1{%
- \count@=#1\advance\count@ by -"20
- \uccode#1=\count@
- \lccode#1=#1}
-\reserved@a{`\a}{`\z}
-\ifnum\inputlineno=\m@ne\else
- \reserved@a{"A0}{"BC}
- \reserved@a{"E0}{"FF}
-\fi
-\def\reserved@c#1{%
- \count@=#1\advance\count@ by "20
- \uccode#1=#1
- \lccode#1=\count@
- \sfcode#1=999
- }
-\reserved@a{`\A}{`\Z}
-\ifnum\inputlineno=\m@ne\else
- \reserved@a{"80}{"9C}
- \reserved@a{"C0}{"DF}
-\fi
-\uccode`\^^Y=`\I % dotless i
-\lccode`\^^Y=`\^^Y % dotless i
-\uccode`\^^Z=`\J % dotless j, ae in OT1
-\lccode`\^^Z=`\^^Z % dotless j, ae in OT1
-\ifnum\inputlineno=\m@ne\else
- \lccode`\^^9d=`\i % dotted I
- \uccode`\^^9d=`\^^9d % dotted I
- \lccode`\^^9e=`\^^9e % d-bar
- \uccode`\^^9e=`\^^d0 % d-bar
-\fi
-% reset macros to initial values
-\def\reserved@a#1#2{\@tempcnta#1\relax\@tempcntb#2\relax\reserved@b}%
-\def\reserved@b{\ifnum\@tempcnta>\@tempcntb\else\reserved@c\@tempcnta%
- \advance\@tempcnta\@ne\expandafter\reserved@b\fi}%
-%
-\ifx\unusedslot\undefined\edef\@unusedslot{\noexpand ^^9c}%
- \else\edef\@unusedslot{\unusedslot}%
-\fi%
-\expandafter\let \@unusedslot =\undefined%
-\fi% ifx TeX V3
-\fi%\ifLEX
-\def\ESC{}% no escape char
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\gdef\@kbspecials{}%
-%---------------------------------------------------------------------------
-\begingroup
-\catcode`\"=12
-\catcode`\<=12
-\catcode`\.=12
-\catcode`\,=12
-\catcode`\;=12
-\catcode`\!=12
-\catcode`\~=13
-\gdef\GenUcsCode#1{% DeclareUnicodeCharacter#1#2%
- \count@"#1\relax%
- \begingroup%
-% same code as in inputenc \parse@XML@charref
- \ifnum\count@<"A0\relax
- \def\@tempa{\PackageError{keyboard}}\kbAissue\@tempa%
- {-90- Invalid Unicode char value < 00A0}\@eha
- \else\ifnum\count@<"800\relax
- \kbparse@UTFviii@a,%
- \kbparse@UTFviii@b C\UTFviii@two@octets.,%
- \else\ifnum\count@<"10000\relax
- \kbparse@UTFviii@a;%
- \kbparse@UTFviii@a,%
- \kbparse@UTFviii@b E\UTFviii@three@octets.{,;}%
- \else
- \kbparse@UTFviii@a;%
- \kbparse@UTFviii@a,%
- \kbparse@UTFviii@a!%
- \kbparse@UTFviii@b F\UTFviii@four@octets.{!,;}%
- \fi%
- \fi%
- \fi%
- \endgroup%
-%\edef\UcsCode{\expandafter\@gobble\UTFviii@tmp}%
-}%
-\gdef\kbparse@UTFviii@a#1{%
- \@tempcnta\count@
- \divide\count@ 64
- \@tempcntb\count@
- \multiply\count@ 64
- \advance\@tempcnta-\count@
- \advance\@tempcnta 128
- \uccode`#1\@tempcnta
- \count@\@tempcntb}%
-\gdef\kbparse@UTFviii@b#1#2#3#4{%
- \advance\count@ "#10\relax
- \uccode`#3\count@
-% \uppercase{\gdef\UTFviii@tmp{#2#3#4}}}%
- \uppercase{\gdef\UcsCode{#3#4}}}%
-\endgroup%
-%---------------------------------------------------------------------------
-%Original code coming from compatible.tex (Aug. 1990) of MJF and Justin Bur
-% \csubinverse mechanism only apply when MlTeX, otherwise pivot macro
-% is (re)set to undefined to avoid any previous definition use.
-\def\csubinverse#1#2#3{\ifx\charsubdef\undefined%
-% \global\expandafter\let\csname #2#3\endcsname\undefined%
- \edef\GOfrench{\noexpand\protect\expandafter\noexpand\csname #2#3\endcsname}%
- \outside{\expandafter\let\expandafter\GOfrench\protect\undefined}% 2005/04/08
- \else%
-% \expandafter\xdef\csname #2#3\endcsname{#1}%
- \outside{\expandafter\edef\csname #2#3\endcsname{#1}}% 2005/04/08
- \fi%
- \@csubencodedecode{#1}{#2}{#3}% added 99/05
- }%
-\def\@csubencodedecode#1#2#3#4#5{%
- \ifx\kbtypeout\typeout\else%
- {\edef\tempf{\expandafter\noexpand%
- \csname#2#3\endcsname}%
- % To avoid ORI char expands:
- \def\protect{\noexpand\protect\noexpand}%
- \edef\tempc{\expandafter\noexpand%
- \csname#2#3ORI\endcsname}%
-\expandafter%
-\ifx\tempf\relax\else%
- \edef\tempe{#5}%
- \ifx\tempe\empty%
-\expandafter%
- \ifx\tempc\relax\else% bg 25/01/2005
- \xdef\@kbspecials{\@kbspecials% Set specials.
- \protect\let\expandafter%
- \protect\tempf\expandafter%
- \protect\tempc%
- }%
- \DEBUGmessage{Kspe (\expandafter\string\expandafter%
- \let\expandafter\noexpand\tempf\tempc)}%
- \def\tempf{#3}\expandafter%
- \ifx\tempf\i\edef\tempf{\expandafter\noexpand%
- \csname#2i\endcsname}%
- \xdef\@kbspecials{\@kbspecials% Set specials.
- \protect\let\expandafter%
- \protect\tempf\expandafter%
- \protect\tempc%
- }%
- \fi
- \def\tempf{#3}\expandafter%
- \ifx\tempf\j\edef\tempf{\expandafter\noexpand%
- \csname#2i\endcsname}%
- \xdef\@kbspecials{\@kbspecials% Set specials.
- \protect\let\expandafter%
- \protect\tempf\expandafter%
- \protect\tempc%
- }%
- \fi
- \fi%
- \else\DEBUGmessage{Kucs(#5)}%
- \GenUcsCode{#5}\edef\tempc{{\UcsCode}}%
- \xdef\@kbspecials{\@kbspecials% Set ucs specials.
- \protect\def\expandafter%
- \protect\tempf\expandafter%
- \protect\tempc%
- }%
- \fi% tempe
-\fi% tempf
- }% document/format keyboard output target char.
- \fi%
- }%
-% #1 -- extended 8bits character to replace accent+letter
-% #2 -- accent macro name invocation for...
-% #3 -- this letter (base character)
-% #4 -- the 7bit accent macro
-% #5 -- extended unicode value
-%---------------------------------------------------------------------------
-\def\@stdencodedecode#1#2{%
- \ifx\kbtypeout\typeout\else%
- {\let\ESC\noexpand%
- \def\tempd##1##2${\edef\tempf{##2}}%
- \def\tempg\csname##1\endcsname{\edef\tempf{##1}}%
- \def\temph##1${\edef\tempf{##1}}%
-\def\tempa##1##2${\def\tempi{}%
- \ifx##1\csname\tempg#2%
- \else\ifx##1\ESC\temph\ESC#2$%
- \else\ifx\##1\bgroup\temph\bgroup#2$%
- \else%
- \def\tempi{\@GobbleEmpty}%
- \expandafter\tempd\string##1$%
- \fi%
- \fi%
- \fi}%
- \tempa#2$%
- \edef\tempc{\expandafter\csname\tempf @ORI\endcsname}%
- \xdef\tempg{\tempc}%
- \expandafter\ifx\tempc\relax%
- \def\tempa{\expandafter\noexpand#1}%
- \expandafter%
- \xdef\tempc{\tempa}\expandafter%
- \xdef\tempc{\protect\string%
- \expandafter\expandafter%
- \expandafter\string\tempc}%
- \fi%
- \def\protect{\noexpand\protect\noexpand}%
-\expandafter\ifx\tempg\relax\else\xdef\tempg{\tempg}%
- \xdef\@kbspecials{\@kbspecials%
- \protect\def\expandafter%
- \protect\csname\tempf\endcsname%
- {\protect\string %
- \expandafter\protect\tempg%
- \expandafter\protect\tempi}%
- }%
-\fi%
- }%
- \fi%
- }%
-% #1 -- extended 8bits character to replace
-% #2 -- a specific macro (like \oe {})
-%---------------------------------------------------------------------------
-\let\KBdefs\relax% Let it be known anyway.
-\begingroup% to protect all the marmelade done here
-\ifx\XeTeXinputencoding\undefined% Set off the XeTeX feature
-\else\XeTeXinputencoding "bytes"% for default utf8 encoding.
-\fi%
-\ifx\guillemotleft\undefined% 2005/04/12
- \def\guillemotleft{\protect\protect\protect\guillemotleft}\fi%
-\ifx\guillemotright\undefined% 2005/04/12
- \def\guillemotright{\protect\protect\protect\guillemotright}\fi%
-\def\copyright{\protect\protect\protect\copyright}% Don't expand now
-\def\cedilla{\protect\protect\protect\cedilla}% Don't expand now
-% Previous usage: \def\outside#1{\expandafter\global #1}%
-\def\outside#1{#1\bgroup% 2005/04/08
- \def\protect{\noexpand\protect\noexpand}%
- \def\undefined{\noexpand\undefined\noexpand}%
- \def\@tempb##1##2{\expandafter%
- \ifx##1\edef\def%
- \else\expandafter##1\fi\protect##2}%
- \def\dGs{\protect\dGs}% Don't expand now
- \edef\@tempc{\expandafter\@tempb #1}%
- \xdef\KBdefs{\KBdefs\@tempc}%
- \egroup%
- }%
-\def\outsidecase#1`#2=`#3{#1`#2=`#3\bgroup% 2005/04/12
- \def\protect{\noexpand\protect\noexpand}%
- \edef\@tempc{#1`\protect #2=`\protect #3}%
- \xdef\KBdefs{\KBdefs\@tempc}%
- \egroup%
- }%
-\def\outsideuns#1{\def\unusedslot{\noexpand #1}\edef\@unusedslot{\unusedslot}%
- \bgroup%
- \def\protect{\noexpand\protect\noexpand}%
- \def\@tempc{\protect\def\protect\unusedslot{%
- \protect\noexpand\protect #1}%
- \protect\edef%
- \protect\@unusedslot{\protect\unusedslot}%
- }%
- \xdef\KBdefs{\KBdefs\@tempc}%
- \egroup%
- }%
-\let\KBdefs\empty% Initialization of list.
-\ifLEX\let\kbtypeout\typeout\else\let\protect\noexpand\fi%
-\catcode`[=13\catcode`@=11%
-\catcode`<=13\catcode`>=13% will allow << and >> in keyboard.dat
-%%%%%%%%%
-% test if ECM can be used (in fact DCM here)
-%
-\newif\ifECM% local redefinition for a global expansion.
-\global\let\ifECM\ifHB% may be it's already set by \ifHB in lhyphen/plain
-\ifx\ifHB\undefined\global\ECMfalse\fi%
-\ifECM\else% skip this if already decided
-\ifx\encodingdefault\undefined%%%%%%%%%%%%
- \ifECM\else% if false test (again) if it might be an ec/dc font
- \ifx\rm\undefined% may be \rm isn't allready defined (specially with LaTeX)
- \def\graveDC{\mathaccent"7000 }% so test such char
- \ifx\graveDC\grave\ECMtrue\else\ECMfalse\fi%
- \else% try on fontname that is a better security
- \def\is@DC#1#2#3\relax{\if d#11\fi \if e#11\fi \if c#22\fi}%
- \def\dcdo{% \dcdo code Version 3 as of 01/27/92 on DCFONT discussion list
- \ifnum 12=0\expandafter\is@DC\fontname\font xx\relax\space%
- \expandafter\dc@first%
- \else \expandafter\dc@second%
- \fi}%
- \def\dc@first#1#2{#1}%
- \def\dc@second#1#2{#2}%
- {\rm\dcdo{\global\ECMtrue}{\global\ECMfalse}}% final DC test
- \fi%\ifx\rm\undefined
- \fi%\ifECM\else..
-%
- \ifECM\global\def\encodingdefault{T1}% T1 is for DC/EC
- \else\global\def\encodingdefault{OT1}% OT1 is for CM
- \fi%
-%
-\else%
-\ifx\f@encoding\undefined\edef\f@encoding{\encodingdefault}\fi%
-% \edef\@tempa{OT1}\ifx\@tempa\f@encoding%
-% {\global\ECMfalse}%
-% \else{\global\ECMtrue}%
-% \fi%
- \def\@tempa{OT1}\ifx\@tempa\f@encoding%
- \def\@tempa{\global\ECMfalse}%
- \else\def\@tempa{LO1}\ifx\@tempa\f@encoding%
- \def\@tempa{\global\ECMfalse}%
- \else% could be LY1
- \def\@tempa{\global\ECMtrue}%
- \fi%
- \fi%
-\@tempa%
-\fi%\encodingdefault
-\fi% ifECM
-%%%%%%
-% Prevent LaTeX2e invalid chars
-\ifx\documentclass\undefined\else
-\ifECM%
-\catcode`\^^_=11%
-\catcode`\^^Y=11%
-\else%
-\catcode`\^^P=11%
-\catcode`\^^Q=11%
-\catcode`\^^Y=11%
-\catcode`\^^Z=11%
-\catcode`\^^]=11%
-\catcode`\^^[=11%
-\catcode`\^^^=11%
-\catcode`\^^\=11%
-\catcode`\^^_=11%
-\fi\fi%
-%%%%%%
-\newif\ifMACRO\MACROfalse\newif\ifLIGS\LIGSfalse
-%------------------------------------------------------------------
-% Now where is the accent in the font? local mods of plain code.
-% and how code it: diacritic+letter or accented 8bits char?
-%
-%Caution: never use TeX V2 hexadecimal notation, lowercase would be wrong
-\ifECM\def\POSgr{"00}\def\POSac{"01}\def\POSan{"06}
- \def\POSv{"07}\def\POSu{"08}\def\POSeq{"09}
- \def\POShat{"02}\def\POSdot{"0a}\def\POSH{"05}\def\POStil{"03}
- \def\POSum{"04}\def\POSc{"13}
-\else\def\POSgr{18}\def\POSac{19}
- \def\POSv{20}\def\POSu{21}\def\POSeq{22}\def\POSan{23}
- \def\POShat{94}\def\POSdot{95}\def\POSH{125}\def\POStil{126}
- \def\POSum{127}\def\POSc{24}
-\fi%
- \let\MPOSgr\grave\let\MPOSac\acute\let\MPOSv\check\let\MPOSu\breve%
- \let\MPOSeq\bar\let\MPOSan\mathring%
- \let\MPOShat\hat\let\MPOSdot\dot\let\MPOSH\undefined% Hugarian umlaut
- \let\MPOStil\tilde\let\MPOSum\ddot\let\MPOSc\cedilla%
-\ifx\+\undefined\else% Not an outer macro here, with Plain,
-\def\+{\tabalign}% just for the following few lines.
-\fi% % Is defaultly reset later.
-\ifLEX\begingroup%
- \catcode`\+=0\catcode`\[= 1\catcode`\]=2
- \catcode`\{=12\catcode`\}=12\catcode`\\=12
- +gdef+ESC[\+string]% set escape char for next char \ string
- +gdef+GobbEmpty#1[+ifx#1+empty+else+expandafter[#1]+fi]
- +gdef+ToEight[% Due to lex capacities we keep only one expansion of
- % usual accent macros e.g. {\'E} but not \'{E} nor \'E
- +def+ESC##1[+ifx##1+string+expandafter+@GETNEXT%
- +else+expandafter+@NONEXT+fi[##1]]%
- +def+@NONEXT##1[+expandafter+@ESC+string##1|]%
- +def+@GETNEXT##1##2[+expandafter+@ESC+string##1##2|]%
- +def+@ESC##1##2|[+string##1+string##1"##2"]%
- +def+`##1[\\`##1|\\`\{##1\}]%
- +def+'##1[\\'##1|\\'\{##1\}]%
- +def+r##1[\\"r "##1|\\r\{##1\}]%
- +def+v##1[\\"v "##1|\\v\{##1\}]%
- +def+u##1[\\"u "##1|\\u\{##1\}]%
- +def+d##1[\\"d "##1|\\d\{##1\}]%
- +def+b##1[\\"b "##1|\\b\{##1\}]%
- +def+t##1[\\"t "##1|\\t\{##1\}]%
- +def+k##1[\\"k "##1|\\k\{##1\}]%
- +def+G##1[\\"G "##1|\\G\{##1\}]%
- +def+U##1[\\"U "##1|\\U\{##1\}]%
- +def+=##1[\\=##1|\\=\{##1\}]%
- +def+^##1[\\^##1|\\^\{##1\}]%
- +def+.##1[\\.##1|\\.\{##1\}]%
- +def+H##1[\\"H "##1|\\H\{##1\}]%
- +def+~##1[\\~##1|\\~\{##1\}]%
- +def+"##1[\\\"##1|\\\"\{##1\}]%
- +def+c##1[\\"c "##1|\\c\{##1\}]%
- +def+i[\\i+GobbEmpty]%
- +def+I[\\I+GobbEmpty]%
- +def+j[\\j+GobbEmpty]%
- +def+copyright[\{\\"copyright"\}|\\"copyright"\{\}|\\"copyright "%
- +GobbEmpty]%
- +def+oe[\\"oe "|\{\\"oe"\}|\\"oe"\{\}+GobbEmpty]%
- +def+OE[\\"OE "|\{\\"OE"\}|\\"OE"\{\}+GobbEmpty]%
- +def+ss[\\"ss "|\{\\"ss"\}|\\"ss"\{\}+GobbEmpty]%
- +def+SS[\\"SS "|\{\\"SS"\}|\\"SS"\{\}+GobbEmpty]%
- +def+ae[\\"ae "|\{\\"ae"\}|\\"ae"\{\}+GobbEmpty]%
- +def+AE[\\"AE "|\{\\"AE"\}|\\"AE"\{\}+GobbEmpty]%
- +def+l[\\"l "|\{\\"l"\}|\\"l"\{\}+GobbEmpty]%
- +def+L[\\"L "|\{\\"L"\}|\\"L"\{\}+GobbEmpty]%
- +def+o[\\"o "|\{\\"o"\}|\\"o"\{\}+GobbEmpty]%
- +def+O[\\"O "|\{\\"O"\}|\\"O"\{\}+GobbEmpty]%
- +def+P[\\"P "|\{\\"P"\}|\\"P"\{\}+GobbEmpty]%
- +def+degre[\\"degre"]% only one expansion
- +def+texteuro[\\"texteuro "|\{\\"texteuro"\}|\\"texteuro"\{\}]%
- +def+pounds[\\"pounds "|\{\\"pounds"\}|\\"pounds"\{\}+GobbEmpty]%
- +def+S[\\"S "|\{\\S\}|\\S\{\}+GobbEmpty]%
- +def+guillemotleft["+string<+string<"]% nothing to gobble.
- +def+guillemotright["+string>+string>"+GobbEmpty]%
- ]%
- +gdef+ToSeven[%
- +def+`##1[\\`{##1}]%
- +def+'##1[\\'{##1}]%
- +def+r##1[\\r{##1}]%
- +def+v##1[\\v{##1}]%
- +def+u##1[\\u{##1}]%
- +def+d##1[\\d{##1}]%
- +def+b##1[\\b{##1}]%
- +def+t##1[\\t{##1}]%
- +def+k##1[\\k{##1}]%
- +def+G##1[\\G{##1}]%
- +def+U##1[\\U{##1}]%
- +def+=##1[\\={##1}]%
- +def+^##1[\\^{##1}]%
- +def+.##1[\\.{##1}]%
- +def+H##1[\\H{##1}]%
- +def+~##1[\\~{##1}]%
- +def+"##1[\\\"{##1}]%
- +def+c##1[\\c{##1}]%
- +def+i[\\i+GobbEmpty]%
- +def+I[\\I+GobbEmpty]%
- +def+j[\\j+GobbEmpty]%
- +def+copyright[{\\copyright}+GobbEmpty]%
- +def+oe[{\\oe}+GobbEmpty]%
- +def+OE[{\\OE}+GobbEmpty]%
- +def+ss[{\\ss}+GobbEmpty]%
- +def+SS[{\\SS}+GobbEmpty]%
- +def+ae[{\\ae}+GobbEmpty]%
- +def+AE[{\\AE}+GobbEmpty]%
- +def+l[{\\l}+GobbEmpty]%
- +def+L[{\\L}+GobbEmpty]%
- +def+o[{\\o}+GobbEmpty]%
- +def+O[{\\O}+GobbEmpty]%
- +def+P[{\\P}+GobbEmpty]%
- +def+pounds[{\\pounds}+GobbEmpty]%
- +def+texteuro[{\\texteuro}]%
- +def+degre##1##2[\\degre##1##2]% no {}
- +def+S[{\\S}+GobbEmpty]%
- +def+guillemotleft[+string<+string<]% nothing to gobble.
- +def+guillemotright[+string>+string>+GobbEmpty]%
- ]%
- +endgroup
-\else%
-% Folowing \ifx are not required there are here in case of any misplacement
-% of kbconfig (eg after hyconfig).
-\ifx\documentclass\undefined% do it in 2.09
-\edef\`#1{\expandafter\ifx\csname @gr@#1\endcsname\relax%
- \ifECM{\accent"00 #1}\else{\accent18 #1}\fi%
- \else\csname @gr@#1\endcsname\fi}%
-\edef\'#1{\expandafter\ifx\csname @ac@#1\endcsname\relax%
- \ifECM{\accent"01 #1}\else{\accent19 #1}\fi%
- \else\csname @ac@#1\endcsname\fi}%
-\edef\v#1{\expandafter\ifx\csname @v@#1\endcsname\relax%
- \ifECM{\accent"07 #1}\else{\accent20 #1}\fi%
- \else\csname @v@#1\endcsname\fi}%
-\edef\u#1{\expandafter\ifx\csname @u@#1\endcsname\relax%
- \ifECM{\accent"08 #1}\else{\accent21 #1}\fi%
- \else\csname @u@#1\endcsname\fi}%
-\edef\=#1{\expandafter\ifx\csname @eq@#1\endcsname\relax%
- \ifECM{\accent"09 #1}\else{\accent22 #1}\fi%
- \else\csname @eq@#1\endcsname\fi}%
-\edef\^#1{\expandafter\ifx\csname @hat@#1\endcsname\relax%
- \ifECM{\accent"02 #1}\else{\accent94 #1}\fi%
- \else\csname @hat@#1\endcsname\fi}%
-\edef\.#1{\expandafter\ifx\csname @dot@#1\endcsname\relax%
- \ifECM{\accent"0a #1}\else{\accent95 #1}\fi%
- \else\csname @dot@#1\endcsname\fi}%
-\edef\H#1{\expandafter\ifx\csname @H@#1\endcsname\relax%
- \ifECM{\accent"05 #1}\else{\accent125 #1}\fi%
- \else\csname @H@#1\endcsname\fi}%
-\edef\~#1{\expandafter\ifx\csname @til@#1\endcsname\relax%
- \ifECM{\accent"03 #1}\else{\accent126 #1}\fi%
- \else\csname @til@#1\endcsname\fi}%
-% plain defined it ``wrongly'' in hex ("7F) and so could be wrongly lowercased
-\edef\"#1{\expandafter\ifx\csname @um@#1\endcsname\relax%plain define it in hex
- \ifECM{\accent"04 #1}\else{\accent127 #1}\fi%
- \else\csname @um@#1\endcsname\fi}%
-\def\c#1{\expandafter\ifx\csname @c@#1\endcsname\relax\noexpand\c#1%
- \else\csname @c@#1\endcsname\fi}%
-% D. Knuth defined \oalign in a way that we can't use it in
-% an \edef or \xdef so i changed it temporarily
-\def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
- \ialign{####\crcr#1\crcr}}}% put characters over each other
-% our new def for angstrom bec. undefined in plain as an accent. macro
-\def\r#1{\if#1a\@a:a\else\if#1A\@A:A\fi\fi}%
-\def\@a:a{\expandafter\ifx\csname @an@a\endcsname\relax%
- \ifECM{\accent"06a}\else{\accent23a}\fi%
- \else\csname @an@a\endcsname\fi}%
-\def\@A:A{\expandafter\ifx\csname @an@A\endcsname\relax%
- \leavevmode\setbox0\hbox{h}\dimen@\ht0%
- \advance\dimen@-1ex\rlap{\raise.67\dimen@\hbox{%
- \ifECM\char"06\else\char'27\fi}}A%
- \else\csname @an@A\endcsname\fi}%
-\xdef\aa{\r a}\xdef\AA{\r A}%
-\fi% done for 2.09
-\fi%\ifLEX
-%
-\catcode`\^^[=11%
-\catcode`\^^^=11%
-\catcode`\^^Y=11%
-\catcode`\^^Z=11%
-\catcode`\^^]=11%
-\catcode`\^^_=11%
-\catcode`\^^\=11%
-\catcode`\^^P=11%
-\catcode`\^^Q=11%
-% Strings def are global to allow \@accent@ to work properly (not for 2e)
-\def\@gobbletwo#1#2{}%
-\ifx\documentclass\undefined\let\Gdef=\gdef%
-\else\let\Gdef\@gobbletwo% Prevent LaTeX2e invalid chars even if gobbled
-\fi%
-\ifECM\Gdef\oe{\string ^^f7}\else\Gdef\oe{^^[}\fi%
-\ifECM\Gdef\OE{\string ^^d7}\else\Gdef\OE{^^^}\fi%
-\ifECM\Gdef\ss{\string ^^ff}\else\Gdef\ss{^^Y}\fi%
-\ifECM\Gdef\ae{\string ^^e6}% ^^e6 introduce a pb, why?
- \else\Gdef\ae{^^Z}%
- \fi%
-\ifECM\Gdef\AE{\string ^^c6}\else\Gdef\AE{^^]}\fi%
-\ifECM\else\global\lccode`^^]=`^^Z% a bypass for V2
- \global\uccode`^^Z=`^^]%
- \global\uccode`^^[=`^^^%
- \global\lccode`^^^=`^^[%
- \global\lccode`^^[=`^^[% 98/12
- \global\lccode`^^_=`^^\%
- \global\uccode`^^\=`^^_%
- \global\uccode`^^P=`I%
- \global\uccode`^^Q=`J%
-\fi%
-\ifECM\Gdef\o {\string ^^f8}\else\Gdef\o {^^\}\fi%
-\ifECM\Gdef\O {\string ^^d8}\else\Gdef\O {^^_}\fi%
-% but require an uppercase def for \ss different for ec/dc ie:
-\ifECM\Gdef\SS{\string ^^df}\fi% valid global def for DC
-%
-\def\D{\char^^bf}%
-\ifx\D\pounds\Gdef\pounds{\string ^^bf}\fi%
-% Plain has no definition of \pounds
-\ifx\pounds\undefined{\ifECM\Gdef\pounds{\string ^^bf}%lfonts.tex will redef.it
- \else\Gdef\pounds{{\csname it\endcsname\char'44}}\fi}\fi%
-%
-\ifx<\undefined\gdef<{\string <}\fi% defs until french.sty were activated
-\ifx>\undefined\gdef>{\string >}\fi%
-%
-\ifECM\Gdef\i{^^Y}\else\Gdef\i{^^P}\fi% needed by \csubinverse for patterns
-\ifECM\Gdef\j{^^Z}\else\Gdef\j{^^Q}\fi% dotless letters
-% Localy needed anyway:
-\ifECM\def\i{^^Y}\else\def\i{^^P}\fi% needed for \csubinverse
-% LaTeX 2e doesn't care of i and j without dot on it
-\ifx\documentclass\undefined\else\ifECM\edef\i{i}\edef\j{j}\fi\fi%
-%
-% Are we in TeX V2 or V3?
-\newif\ifVtwo \newif\ifSkip \Skipfalse
-\newif\ifnonActifCar\nonActifCartrue %
-\def\ACTIVEtrue{\nonActifCarfalse}% user interface is reversed.
-\def\ACTIVEfalse{\nonActifCartrue}%
-\newif\ifMlTeXthree \MlTeXthreefalse
-\catcode`^=\active% non hexa processing in V2
-\ifx\undefined\lefthyphenmin\Vtwotrue% Vtwo means MlTeX V2
- \def^#1{\ifx#1^\else\string ^#1\fi}% eat ^^ in TeX v2
- \kbAissue%
- \message{ -28- ATTENTION : TeX Version 2 ne permet pas
- d'utiliser des caracteres}%
- \messag@{ accentues 8-bits.}%
- \ifnum\catcode`\{=1%\} emacs
- \catcode`^=12%
- \ifx\kbAissue\relax\newlinechar=`\^\message{^}\fi%
- \kbAissue%
- \message{ -92- Vous devez : }%
- \messag@{ - soit utiliser un moteur avec option MlTeX,}%
- \messag@{ - soit passer en codage T1 par defaut.}
- \Stop% a vous de choisir... --bg
- \fi%
- \Skiptrue%
-\else\ifx\starthyph\undefined\Vtwofalse\else\Vtwotrue%
-\fi%
-\ifx\charsubdef\undefined\else\MlTeXthreetrue\fi%
-\ifLEX\else%
- \ifMlTeXthree\else%
- \ifECM\else{\catcode`\^=12\def\@tempb{^ }%%%\catcode`\^=7%
- \def\@tempa{\noexpand\dGs}%
- \ifx\@tempa\dGs\else%
- \ifx\@kb@msgXXIX\undefined%
- \gdef\@kb@msgXXIX{\global\let\@kb@msgXXIX\relax%
- \ifx\kbAissue\relax\newlinechar=`\^\message{^}\fi%
- \kbAissue%
- \message{ -29- ***Warning***\string: TeX engine in use along with CM fonts}%
- \messag@{ (as in current TeX format) isn't sufficient to hyphenate}%
- \messag@{ words containing diacritics (like in French).}%
- }\@kb@msgXXIX%
- \fi%
- \fi%
- }%\catcode`\^=12
- \fi%\ifECM
- \fi%\ifMlTeXthree
-\fi% ifLEX
-\fi% lefthyphenmin
-\ifVtwo\else\catcode`\^=7% reset value of plain
-% reset first 32 chars too erroneously (?) illegal since 2e
-\catcode`\^^00=11%
-\catcode`\^^01=11%
-\catcode`\^^02=11%
-\catcode`\^^03=11%
-\catcode`\^^04=11%
-\catcode`\^^05=11%
-\catcode`\^^06=11%
-\catcode`\^^07=11%
-\catcode`\^^08=11%
-%\catcode`\^^09=11% is tab ^^I
-%\catcode`\^^0a=11% is nl ^^J
-\catcode`\^^0b=11%
-%\catcode`\^^0c=11% is ff ^^L
-%\catcode`\^^0d=11% is cr ^^M
-\catcode`\^^0e=11%
-\catcode`\^^0f=11%
-\catcode`\^^10=11%
-\catcode`\^^11=11%
-\catcode`\^^12=11%
-\catcode`\^^13=11%
-\catcode`\^^14=11%
-\catcode`\^^15=11%
-\catcode`\^^16=11%
-\catcode`\^^17=11%
-\catcode`\^^18=11%
-\catcode`\^^19=11%
-\catcode`\^^1a=11%
-\catcode`\^^1b=11%
-\catcode`\^^1c=11%
-\catcode`\^^1d=11%
-\catcode`\^^1e=11%
-\catcode`\^^1f=11%
-\fi%
-\ifSkip\else% The code is only for MlTeX or TeX V3.xxxx
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Codage du tableau : definition de l'accentuation
-\def\@ac#1#2#3{\ifx.#2\let#1\undefined%
- \else\def#1{#2}%
- \ifx#2\`\def#3{gr}\else%
- \ifx#2\'\def#3{ac}\else%
- \ifx#2\"\def#3{um}\else%
- \ifx#2\^\def#3{hat}\else%
- \ifx#2\v\def#3{v}\else%
- \ifx#2\u\def#3{u}\else%
- \ifx#2\=\def#3{eq}\else%
- \ifx#2\.\def#3{dot}\else%
- \ifx#2\~\def#3{til}\else%
- \ifx#2\H\def#3{H}\else%
- \ifx#2\c\def#3{c}\else%
- \ifx#2\r\def#3{an}\else\let#3\undefined\fi%
- \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi%
- \fi}%
-\def\ac[ #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 ]%
-{\ifLEX\kbAissue\message{^^J -56- Processed 8bits characters are:}\fi%
- \@ac\ACa{#1}\ANa%
- \@ac\ACb{#2}\ANb%
- \@ac\ACc{#3}\ANc%
- \@ac\ACd{#4}\ANd%
- \@ac\ACe{#5}\ANe%
- \@ac\ACf{#6}\ANf%
- \@ac\ACg{#7}\ANg%
- \@ac\ACh{#8}\ANh\let[\minu%]
- }%
-% La macro precisant les noms internes est devenue inutile.
-\def\noms| #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 |%
- {\ifx.#1\let\ANa\undefined\else\def\ANa{#1}\fi%
- \ifx.#2\let\ANb\undefined\else\def\ANb{#2}\fi%
- \ifx.#3\let\ANc\undefined\else\def\ANc{#3}\fi%
- \ifx.#4\let\ANd\undefined\else\def\ANd{#4}\fi%
- \ifx.#5\let\ANe\undefined\else\def\ANe{#5}\fi%
- \ifx.#6\let\ANf\undefined\else\def\ANf{#6}\fi%
- \ifx.#7\let\ANg\undefined\else\def\ANg{#7}\fi%
- \ifx.#8\let\ANh\undefined\else\def\ANh{#8}\fi%
- }%
-\newif\ifONE\newif\ifOK%
-\def\ONECHAR#1#2/{\ifx9#2\ONEtrue\else\ONEfalse\fi}%
-%definition des minuscules
-%==>\madef{caract accentue}{accentuation}{Nom minuscule}{lettre}
-\def\madef#1#2#3#4#5{\ifx.#1\else\@madef{#1}{#2}{#3}{#4}{#5}\fi}% si pas un .
-\def\@madef#1#2#3#4#5{\ONECHAR#19/%
- \ifx#2\undefined%
- \else
- \ifVtwo\ifONE% #1 is defaultly \active with MlTeX R1
- \DEBUGmessage{K0(\noexpand #1)}%
-% \xdef#1{#2{#4}}%
- \outside{\edef#1{#2{#4}}}% 2005/04/08
- \fi%
- \else%\def\tempb{\global\catcode`}% now in V3
- \def\tempb{\catcode`}% now in V3 2005/04/08
- \let\A=A\ifMACRO\let\A\active\else\ifLIGS\let\A\active\fi\fi%
- \ifx#2\empty\let\A=\active\fi%
- \ifcat\active\A%
- \ifECM\OKfalse% normally nothing to do
- \ifMACRO\OKtrue\fi% except for macros
- \ifLIGS\OKtrue\fi% except for ligs
- \ifnonActifCar\ifx\ss #4\OKtrue\fi% \ss is specific
- \else\OKtrue\fi% except if active char
- \ifOK%
- \ifONE% exclude multiletters
- \ifLEX\else%
-\DEBUGmessage{K1(\noexpand #1)}%
-% \gdef #1{#4}% 98/12/24
- \outside{\def #1{#4}}% 2005/04/08
- \edef\tempe{\noexpand#1}%
- \ifLIGS\else\@stdencodedecode\tempe{#4}\fi%
- \fi%
-% Defaultly there is no lower/upper case
-%\global
-\outsidecase\lccode`#1=`#1% 2005/04/12
-%\global
-\outsidecase\uccode`#1=`#1% 2005/04/12
- \edef\OldActiveChars{\@tempc}%
- \xdef\@tempc{\OldActiveChars%
- \tempb\string#1=\active}%
- \fi% ifONE
- \fi% ifOK
- \else% Not using ECM
- \ifONE% will exclude multiletters
-\ifnonActifCar\else\tempb#1=\active\fi%
- \ifMlTeXthree\else\tempb#1=\active\fi%
- \ifLEX\else% don't xdef for oe, ae, etc.
-% future dev: test if #4 need to be ended by {} or not. Today assumed.
-\DEBUGmessage{K2(\noexpand #1)}%
-% \gdef #1{#4}% usually ended by {} 1/99
- \outside{\def #1{\protect #4}}% usually ended by {} 2005/04/08
- \edef\tempe{\noexpand#1}%
- \ifLIGS\else\@stdencodedecode\tempe{#4}\fi%
-% Defaultly there is no lower/upper case
-%\global
-\outsidecase\lccode`#1=`#1% 2005/04/12
-%\global
-\outsidecase\uccode`#1=`#1% 2005/04/12
- \fi%ifLEX
- \edef\OldActiveChars{\@tempc}%
- \xdef\@tempc{\OldActiveChars%
- \tempb\string#1=\active}%
- \fi%
- \fi%
- \else% Not a Macro, Not a lig, ..
- \ifLEX\else\def\D{#4}%
-% \if\i #4\def\D{\noexpand\i}\fi%
-% \if\j #4\def\D{\noexpand\j}\fi%
- \if\i #4\def\D{\protect\i}\fi% 2005/08/29
- \if\j #4\def\D{\protect\j}\fi% 2005/08/29
-\DEBUGmessage{K3(\noexpand #1)}%
-% \xdef#1{\expandafter\noexpand#2{\D}}%
-% \noexpand moved to \protect, due to \c wrong expansion. 2005/04/08
- \outside{\edef#1{\expandafter\protect#2{\D}}}% 2005/04/08
-% Defaultly there is no lower/upper case
-%\global
-\outsidecase\lccode`#1=`#1% 2005/04/12
-%\global
-\outsidecase\uccode`#1=`#1% 2005/04/12
- \fi%
-\ifnonActifCar\else\tempb#1=\active\fi%
- \ifMlTeXthree\else\tempb#1=\active\fi%
- \edef\OldActiveChars{\@tempc}%
- \xdef\@tempc{\OldActiveChars%
- \tempb\string#1=\active}%
- \fi%
- \fi% ifVtwo
- \expandafter\def\csname #3\endcsname{#1}% for further use
- \fi% ifx#2
-\iffalse%%%%%%%%%%%%%%%
- \ifLEX\ifLEXhic\ifONE\message{\string#1 \space}
- {\ToSeven\def\GUILL{"}
- \edef\FULL{#2\LaLettre}%
- \ifx\empty#2\edef\FULL{\LaLettre}\fi
- \immediate\write\kbseven{\string#1\space\space\space
- printf(\GUILL\FULL\GUILL);}}
- {\ToEight\def\GUILL{\ifLIGS"\fi}%
- \edef\FULL{#2{\GUILL\LaLettre\GUILL}}%
- \ifx\empty#2\edef\FULL{\GUILL\LaLettre\GUILL}\fi
- \immediate\write\kbeight{\FULL%
- |\string#1\space\space\space printf("\string#1");}}%
- \fi\fi\fi% ifLEX
-\fi%%%%%%%%%%%%%%%%%%%%
-%%% Set ORI char if not already defined.
-\ifx#5\undefined\else%
- \def\GOfrench{utf8}%
- \ifx\@kbencoding\GOfrench%
- \else\def\GOfrench##1##2\void{##1}% Remove braces. 2005/03/14
- \expandafter%
- \ifx\csname @#5@\GOfrench#4\void ORI\endcsname\relax%
- \expandafter\xdef\csname @#5@\GOfrench#4\void ORI\endcsname{\string #1}%
- \fi%
- \fi%
-\def\GOfrench##1##2\void{##1}% Remove braces. 2005/03/14
-\DEBUGmessage{KORI (\string\@#5@\GOfrench#4\void ORI=%
- \csname @#5@\GOfrench#4\void ORI\endcsname)}%
-\fi%
-%%%
-}% @madef
-\def\minu#1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 | #9 |%
- {% The following for doFLEX (new kb2lex)
-\DEBUGmessage{^^J low ---- }%
-\let\LAa\undefined\let\LAb\undefined\let\LAc\undefined\let\LAd\undefined
-\let\LAe\undefined\let\LAf\undefined\let\LAg\undefined\let\LAh\undefined
-\ifLEX\edef\@tempc{}\fi% required for LaTeX kb2lex!
-\def\@tempa##19{\def\LaLettre{##1}%
- \def\LLa{##1}\def\LLb{##1}\def\LLc{##1}\def\LLd{##1}%
- \def\LLe{##1}\def\LLf{##1}\def\LLg{##1}\def\LLh{##1}%
- }\@tempa#19%
- \madef#2{\ACa}{LAa}{#1}\ANa%
- \madef#3{\ACb}{LAb}{#1}\ANb%
- \madef#4{\ACc}{LAc}{#1}\ANc%
- \madef#5{\ACd}{LAd}{#1}\ANd%
- \madef#6{\ACe}{LAe}{#1}\ANe%
- \madef#7{\ACf}{LAf}{#1}\ANf%
- \madef#8{\ACg}{LAg}{#1}\ANg%
- \madef#9{\ACh}{LAh}{#1}\ANh%
- \let\A=A\ifMACRO\let\A\active\else\ifLIGS\let\A\active\fi\fi%
- \ifcat\A\active\xdef\Lchar{}\else\xdef\Lchar{#1}\fi%dummy for \oe \ae etc.
- \let\ucs\ucsminu%
- \let\hex\hexminu}%
-\def\hexminu| #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 %[
- ]%
- {\ifx.#1\let\HLa\undefined\else\edef\HLa{\noexpand#1}\fi%
- \ifx.#2\let\HLb\undefined\else\edef\HLb{\noexpand#2}\fi%
- \ifx.#3\let\HLc\undefined\else\edef\HLc{\noexpand#3}\fi%
- \ifx.#4\let\HLd\undefined\else\edef\HLd{\noexpand#4}\fi%
- \ifx.#5\let\HLe\undefined\else\edef\HLe{\noexpand#5}\fi%
- \ifx.#6\let\HLf\undefined\else\edef\HLf{\noexpand#6}\fi%
- \ifx.#7\let\HLg\undefined\else\edef\HLg{\noexpand#7}\fi%
- \ifx.#8\let\HLh\undefined\else\edef\HLh{\noexpand#8}\fi%
- \let[\MAJU%]
- }%
-\let\ULa\empty\let\ULb\empty\let\ULc\empty\let\ULd\empty\let\ULe\empty%
-\let\ULf\empty\let\ULg\empty\let\ULh\empty%
-\let\ifucs\iffalse%
-\def\ucsminu| #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 %[
- ]%
- {\let\ifucs\iftrue%
- \ifx.#1\let\ULa\empty\else\edef\ULa{\noexpand#1}\fi%
- \ifx.#2\let\ULb\empty\else\edef\ULb{\noexpand#2}\fi%
- \ifx.#3\let\ULc\empty\else\edef\ULc{\noexpand#3}\fi%
- \ifx.#4\let\ULd\empty\else\edef\ULd{\noexpand#4}\fi%
- \ifx.#5\let\ULe\empty\else\edef\ULe{\noexpand#5}\fi%
- \ifx.#6\let\ULf\empty\else\edef\ULf{\noexpand#6}\fi%
- \ifx.#7\let\ULg\empty\else\edef\ULg{\noexpand#7}\fi%
- \ifx.#8\let\ULh\empty\else\edef\ULh{\noexpand#8}\fi%
- }%
-%definition des majuscules
-%==>\Madef{caract accentue}{accentuation}{Nom majuscule}{lettre}{Nom accent}
-\def\Madef#1#2#3#4#5{\ifx.#1\else\@madef{#1}{#2}{#3}{#4}{#5}\fi}% si pas un .
-\def\MAJU#1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 | #9 |%
- {\DEBUGmessage{^^J UP \space ---- }%
- \let\MAa\undefined\let\MAb\undefined\let\MAc\undefined\let\MAd\undefined
- \let\MAe\undefined\let\MAf\undefined\let\MAg\undefined\let\MAh\undefined
- \ifLEX\edef\@tempc{}\fi% required for LaTeX kb2lex!
-\def\@tempa##1/{\def\LaLettre{##1}%
- \def\MLa{##1}\def\MLb{##1}\def\MLc{##1}\def\MLd{##1}%
- \def\MLe{##1}\def\MLf{##1}\def\MLg{##1}\def\MLh{##1}%
- }\@tempa#1/%
- \Madef#2{\ACa}{MAa}{#1}\ANa%
- \Madef#3{\ACb}{MAb}{#1}\ANb%
- \Madef#4{\ACc}{MAc}{#1}\ANc%
- \Madef#5{\ACd}{MAd}{#1}\ANd%
- \Madef#6{\ACe}{MAe}{#1}\ANe%
- \Madef#7{\ACf}{MAf}{#1}\ANf%
- \Madef#8{\ACg}{MAg}{#1}\ANg%
- \Madef#9{\ACh}{MAh}{#1}\ANh%
- \let\A=A\ifMACRO\let\A\active\else\ifLIGS\let\A\active\fi\fi%
- \ifcat\A\active\xdef\Mchar{}\else%
- \ifx.#1\xdef\Mchar{}\else\xdef\Mchar{#1}\fi%
- \fi% dummy for \OE etc.
- \let\ucs\ucsMAJU%
- \let\hex\hexMAJU}%
-\def\hexMAJU| #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 %[
- ]%
- {\ifx.#1\let\HMa\undefined\else\edef\HMa{\noexpand#1}\fi%
- \ifx.#2\let\HMb\undefined\else\edef\HMb{\noexpand#2}\fi%
- \ifx.#3\let\HMc\undefined\else\edef\HMc{\noexpand#3}\fi%
- \ifx.#4\let\HMd\undefined\else\edef\HMd{\noexpand#4}\fi%
- \ifx.#5\let\HMe\undefined\else\edef\HMe{\noexpand#5}\fi%
- \ifx.#6\let\HMf\undefined\else\edef\HMf{\noexpand#6}\fi%
- \ifx.#7\let\HMg\undefined\else\edef\HMg{\noexpand#7}\fi%
- \ifx.#8\let\HMh\undefined\else\edef\HMh{\noexpand#8}\fi%
- % process hexdecimal codes if necessary
-\ifx\HLa\undefined\else\DOhex\ACa{\LAa}{\HLa}{\MAa}{\HMa}{\ANa}{\ULa}{\UMa}\fi%
-\ifx\HLb\undefined\else\DOhex\ACb{\LAb}{\HLb}{\MAb}{\HMb}{\ANb}{\ULb}{\UMb}\fi%
-\ifx\HLc\undefined\else\DOhex\ACc{\LAc}{\HLc}{\MAc}{\HMc}{\ANc}{\ULc}{\UMc}\fi%
-\ifx\HLd\undefined\else\DOhex\ACd{\LAd}{\HLd}{\MAd}{\HMd}{\ANd}{\ULd}{\UMd}\fi%
-\ifx\HLe\undefined\else\DOhex\ACe{\LAe}{\HLe}{\MAe}{\HMe}{\ANe}{\ULe}{\UMe}\fi%
-\ifx\HLf\undefined\else\DOhex\ACf{\LAf}{\HLf}{\MAf}{\HMf}{\ANf}{\ULf}{\UMf}\fi%
-\ifx\HLg\undefined\else\DOhex\ACg{\LAg}{\HLg}{\MAg}{\HMg}{\ANg}{\ULg}{\UMg}\fi%
-\ifx\HLh\undefined\else\DOhex\ACh{\LAh}{\HLh}{\MAh}{\HMh}{\ANh}{\ULh}{\UMh}\fi%
-%%%%%%%%%%%%%%%%%%
-% Process kb2lex %
-%%%%%%%%%%%%%%%%%%
-\ifx\ULa\empty%
-\ifx\LAa\undefined\else\expandafter\doFLEX\expandafter{\LAa}{\ACa}{\LLa}\fi%
-\else\GenUcsCode{\ULa}%
-\ifx\LAa\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACa}{\LLa}\fi%
-\fi%
-\ifx\UMa\empty%
-\ifx\MAa\undefined\else\expandafter\doFLEX\expandafter{\MAa}{\ACa}{\MLa}\fi%
-\else\GenUcsCode{\UMa}%
-\ifx\MAa\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACa}{\MLa}\fi%
-\fi%
-\ifx\ULb\empty%
-\ifx\LAb\undefined\else\expandafter\doFLEX\expandafter{\LAb}{\ACb}{\LLb}\fi%
-\else\GenUcsCode{\ULb}%
-\ifx\LAb\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACb}{\LLb}\fi%
-\fi%
-\ifx\UMb\empty%
-\ifx\MAb\undefined\else\expandafter\doFLEX\expandafter{\MAb}{\ACb}{\MLb}\fi%
-\else\GenUcsCode{\UMb}%
-\ifx\MAb\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACb}{\MLb}\fi%
-\fi%
-\ifx\ULc\empty%
-\ifx\LAc\undefined\else\expandafter\doFLEX\expandafter{\LAc}{\ACc}{\LLc}\fi%
-\else\GenUcsCode{\ULc}%
-\ifx\LAc\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACc}{\LLc}\fi%
-\fi%
-\ifx\UMc\empty%
-\ifx\MAc\undefined\else\expandafter\doFLEX\expandafter{\MAc}{\ACc}{\MLc}\fi%
-\else\GenUcsCode{\UMc}%
-\ifx\MAc\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACc}{\MLc}\fi%
-\fi%
-\ifx\ULd\empty%
-\ifx\LAd\undefined\else\expandafter\doFLEX\expandafter{\LAd}{\ACd}{\LLd}\fi%
-\else\GenUcsCode{\ULd}%
-\ifx\LAd\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACd}{\LLd}\fi%
-\fi%
-\ifx\UMd\empty%
-\ifx\MAd\undefined\else\expandafter\doFLEX\expandafter{\MAd}{\ACd}{\MLd}\fi%
-\else\GenUcsCode{\UMd}%
-\ifx\MAd\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACd}{\MLd}\fi%
-\fi%
-\ifx\ULe\empty%
-\ifx\LAe\undefined\else\expandafter\doFLEX\expandafter{\LAe}{\ACe}{\LLe}\fi%
-\else\GenUcsCode{\ULe}%
-\ifx\LAe\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACe}{\LLe}\fi%
-\fi%
-\ifx\UMe\empty%
-\ifx\MAe\undefined\else\expandafter\doFLEX\expandafter{\MAe}{\ACe}{\MLe}\fi%
-\else\GenUcsCode{\UMe}%
-\ifx\MAe\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACe}{\MLe}\fi%
-\fi%
-\ifx\ULf\empty%
-\ifx\LAf\undefined\else\expandafter\doFLEX\expandafter{\LAf}{\ACf}{\LLf}\fi%
-\else\GenUcsCode{\ULf}%
-\ifx\LAf\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACf}{\LLf}\fi%
-\fi%
-\ifx\UMf\empty%
-\ifx\MAf\undefined\else\expandafter\doFLEX\expandafter{\MAf}{\ACf}{\MLf}\fi%
-\else\GenUcsCode{\UMf}%
-\ifx\MAf\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACf}{\MLf}\fi%
-\fi%
-\ifx\ULg\empty%
-\ifx\LAg\undefined\else\expandafter\doFLEX\expandafter{\LAg}{\ACg}{\LLg}\fi%
-\else\GenUcsCode{\ULg}%
-\ifx\LAg\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACg}{\LLg}\fi%
-\fi%
-\ifx\UMg\empty%
-\ifx\MAg\undefined\else\expandafter\doFLEX\expandafter{\MAg}{\ACg}{\MLg}\fi%
-\else\GenUcsCode{\UMg}%
-\ifx\MAg\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACg}{\MLg}\fi%
-\fi%
-\ifx\ULh\empty%
-\ifx\LAh\undefined\else\expandafter\doFLEX\expandafter{\LAh}{\ACh}{\LLh}\fi%
-\else\GenUcsCode{\ULh}%
-\ifx\LAh\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACh}{\LLh}\fi%
-\fi%
-\ifx\UMh\empty%
-\ifx\MAh\undefined\else\expandafter\doFLEX\expandafter{\MAh}{\ACh}{\MLh}\fi%
-\else\GenUcsCode{\UMh}%
-\ifx\MAh\undefined\else\expandafter\doFLEX\expandafter{\UcsCode}{\ACh}{\MLh}\fi%
-\fi%
- % now ready to start a 4up
- \let[\minu%]
- }%
-\let\UMa\empty\let\UMb\empty\let\UMc\empty\let\UMd\empty\let\UMe\empty%
-\let\UMf\empty\let\UMg\empty\let\UMh\empty%
-\def\ucsMAJU| #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 %[
- ]%
- {\let\ifucs\iftrue%
- \ifx.#1\let\UMa\empty\else\edef\UMa{\noexpand#1}\fi%
- \ifx.#2\let\UMb\empty\else\edef\UMb{\noexpand#2}\fi%
- \ifx.#3\let\UMc\empty\else\edef\UMc{\noexpand#3}\fi%
- \ifx.#4\let\UMd\empty\else\edef\UMd{\noexpand#4}\fi%
- \ifx.#5\let\UMe\empty\else\edef\UMe{\noexpand#5}\fi%
- \ifx.#6\let\UMf\empty\else\edef\UMf{\noexpand#6}\fi%
- \ifx.#7\let\UMg\empty\else\edef\UMg{\noexpand#7}\fi%
- \ifx.#8\let\UMh\empty\else\edef\UMh{\noexpand#8}\fi%
- }%
-\def\@tempc{}%
-\def\Recycle#1{\def\ligne{}%
- \bgroup\def\tempa{\catcode`}\expandafter\tempa#1=11%
- \edef\ligne{\expandafter\string #1}%
- \edef\tempa{\expandafter\noexpand#1}%
- \edef\tempa{\expandafter\string\tempa}%
- \ifx\ligne\tempa% Do we need to re-input the string?
- \xdef\ligne{\ligne}%
- \DEBUGmessage{(stringed \ligne)}%
- \else%
- \immediate\openout\kbconfigw=\@jobname.tmp%
- \immediate\write\kbconfigw{\expandafter\string#1}%
- \immediate\closeout\kbconfigw%
- \immediate\openin\kbconfigr=\@jobname.tmp%
- \immediate\read\kbconfigr to \ligne %
- \immediate\closein\kbconfigr%
- \xdef\ligne{\expandafter\@firstoftwo\ligne{}}%
- \DEBUGmessage{%
- (recycled \expandafter\string #1 ==\string> \ligne)}%
- \fi%
- \egroup%
- }%
-\def\DOhex#1#2#3#4#5#6#7#8{%
-% 1 2 3 4 5 6
-% accentuation, lettre_min+ code_hex, lettre_maj+code_hex, nom_accent
-% 7 8
-% ucs-min-code ucs-maj-code
-%look firstly to see if there are more than one letter character
-\ONEfalse\ifx\undefined#4\else\expandafter\ONECHAR#49/\fi%
- \ifVtwo% nothing to do in MlTeX V2
- \else% we are with TeX 3 or MlTeX
- \ifECM\ifnonActifCar\else%as just a chardef adjustement in hex.
- \ifLEX\else% not for LEX
-% \def\tempa{\global\catcode`}%
-% \expandafter\tempa#2=\active%
- \def\tempa{\catcode`}%
- \outside{\expandafter\tempa#2=\active}% 2005/04/08
-\DEBUGmessage{K4a(#2)}%
-\ifx #3\undefined%
-% \expandafter\xdef#2{\expandafter\string#3}%
- \outside{\expandafter\edef#2{\expandafter\string#3}}% 2005/04/08
-\else%
-\expandafter\let\expandafter\tempe #2% For plain especially: first expansion,
-\expandafter\def\expandafter\tempe\expandafter{\tempe}% second and last.
-% \expandafter\xdef#2{\noexpand\IeC{%only one expansion
-% \expandafter\noexpand\tempe}}% for plain
- \outside{\expandafter\edef#2{\noexpand\IeC{%only one expansion for Plain
- \expandafter\noexpand\tempe}}}% 2005/04/08
- \ifx#6\undefined\ifLIGS\else\def\tempa{\@stdencodedecode{#2}}%
- \expandafter\tempa\tempe\fi\fi%
-\fi% #3\undefined%
- \fi% not for LEX
- \ifONE% exclude multiletters
- \ifx\undefined#4\else%
-% \def\tempa{\global\catcode`}%
-% \expandafter\tempa#4=\active%
- \def\tempa{\catcode`}%
- \outside{\expandafter\tempa#4=\active}%
-\DEBUGmessage{K4b(#4)}%
-\ifx #5\undefined%
-% \expandafter\xdef#4{\expandafter\string#5}%
- \outside{\expandafter\edef#4{\expandafter\string#5}}% 2005/04/08
-\else%
-\expandafter\let\expandafter\tempe #4% For plain especially: first expansion,
-\expandafter\def\expandafter\tempe\expandafter{\tempe}% second and last.
-% \expandafter\xdef#4{\noexpand\IeC{%only one expansion
-% \expandafter\noexpand\tempe}}% for plain
- \outside{\expandafter\edef#4{\noexpand\IeC{%only one expansion for Plain
- \expandafter\noexpand\tempe}}}% 2005/04/08
- \ifx#6\undefined\ifLIGS\else\def\tempa{\@stdencodedecode{#4}}%
- \expandafter\tempa\tempe\fi\fi%
-\fi% #5\undefined%
- \fi%\undefined#4
- \fi%\ifONE%
- \fi%
- \fi% now define \lccode & \uccode %%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ifx\empty#1\let\X=X%
- \ifECM\ifnonActifCar%don't activate oe ae etc in 8bits
- \expandafter\ifx #2\undefined\else\edef\D{#2}\fi%
- \edef\E{\noexpand\ss}
- \ifx \D\E% but let s-tzet
- \else%
-% \def\tempa{\global\catcode`}%\def\tempb{^}%
-% \expandafter\tempa#2=11%
- \def\tempa{\catcode`}%
- \outside{\expandafter\tempa#2=11}% 2005/04/08
- \def\tempe{\string}%
- \edef\OldActiveChars{\@tempc}% disactivate
- \xdef\@tempc{\OldActiveChars%
- \tempa\expandafter\tempe#2=11}%
- \ifx\undefined#4\else
- \ifONE\expandafter\tempa#4=11%
- \edef\OldActiveChars{\@tempc}%disactivate
- \xdef\@tempc{\OldActiveChars%
- \tempa\expandafter\tempe#4=11}%
- \else%
- \ifx\undefined#5\else% case hex code is undef
- \let\tempc=#5\expandafter\tempa\tempc=11%
- \fi% ifx undefined
- \fi%
- \fi
- \let\X=\active%
- \fi% s-tzet
- \fi\fi%
- \else\let\X\active\ifnonActifCar%
-% \def\tempa{\global\catcode`}\expandafter\tempa#2=11%
-% \ifx\undefined#4\else\expandafter\tempa#4=11\fi%
- \def\tempa{\catcode`}\outside{\expandafter\tempa#2=11}% 2005/04/08
- \ifx\undefined#4\else\outside{\expandafter\tempa#4=11}\fi% 2005/04/08
- \fi%
- \ifECM\ifnonActifCar\let\X=\active\fi\fi% Usually no lcc/ucc
- \fi%
- \def\tempa{\lccode`}\def\tempb{=`}%
- \ifLIGS\let\X=\active\fi% don't do that for ligs
- \ifMACRO\let\X=\active\fi% don't do that for macros
- \ifcat\X\active% do usual ucc/lcc encoding
-% \global\expandafter\tempa#2\expandafter\tempb#2%
-\edef\GOfrench{\tempa\expandafter\noexpand#2\tempb\expandafter\noexpand#2}%
-\expandafter\outsidecase\GOfrench% 2005/04/12
- \ifx\undefined#4\else%
- \ifONE%
-% \global\expandafter\tempa#4\expandafter\tempb#2%
-\edef\GOfrench{\tempa\expandafter\noexpand#4\tempb\expandafter\noexpand#2}%
-\expandafter\outsidecase\GOfrench% 2005/04/12
-% \def\tempa{\global\uccode`}%
-% \expandafter\tempa#2\expandafter\tempb#4%
-% \expandafter\tempa#4\expandafter\tempb#4%
- \def\tempa{\uccode`}%
-\edef\GOfrench{\tempa\expandafter\noexpand#2\tempb\expandafter\noexpand#4}%
-\expandafter\outsidecase\GOfrench% 2005/04/12
-\edef\GOfrench{\tempa\expandafter\noexpand#4\tempb\expandafter\noexpand#4}%
-\expandafter\outsidecase\GOfrench% 2005/04/12
- \else% do it in hexa for #4 ==> #5 replace #4
- \ifx#5\undefined\else% Code revisited 1999/11/26.
-% \global\expandafter\tempa #5\expandafter\tempb #2%
-\edef\GOfrench{\tempa\expandafter\noexpand#5\tempb\expandafter\noexpand#2}%
-\expandafter\outsidecase\GOfrench% 2005/04/12
- \ifLEX\else%\def\tempa{\global\uccode`}%
- \def\tempa{\uccode`}%
- \edef\D{\expandafter\string #5}\edef\E{#2}%
- \expandafter\ifx#5\undefined\else\edef\D{#5}\fi%
-%
-\ifECM% \D expansion could stop to \ss, so let it be the target code for
-\def\tempa{\IeC{\ss{}}}% modified 1999/11/26.
-\expandafter%
- \ifx\D\tempa\edef\D{\string ^^ff}\fi% the next comparison.
- \ifx\E\tempa\let\D\E\fi% the next comparison. added 1999/11/26.
-\fi%
- \ifx\D\E%
- \expandafter\ifx \@unusedslot \undefined% do it once
- {%
-%\def\tempa{\global\catcode`}%
-%\expandafter\tempa#2=11\def\tempa{\global\uccode`}%
-%\edef\tempb{`\expandafter\noexpand\@unusedslot}%
-%\expandafter\tempa#2\tempb%
-\def\tempa{\catcode`}%
-\outside{\expandafter\tempa#2=11}\def\tempa{\uccode`}% 2005/04/08
-\edef\tempb{\expandafter\string\@unusedslot}% 2005/04/08
-\edef\tempb{`\expandafter\noexpand\tempb}% 2005/04/08
-\outside{\expandafter\tempa#2\tempb}% 2005/04/08
- }%
-% \expandafter\xdef \@unusedslot{#4}%
- \outside{\expandafter\edef \@unusedslot{#4}}% 2005/04/13
- \def\tempa{\global\catcode`}%
- \edef\OldActiveChars{\@tempc}% disactivate
- \xdef\@tempc{\OldActiveChars%
- \tempa\expandafter\string \@unusedslot =13}%
- \else%
-\ifx\undefined\unusedslot\def\unusedslot{undefined}\fi%
-\kbAissue%
-\message{ -54- ERROR: \string\unusedslot\space (\unusedslot) is invalid}
-\messag@{ (active char. generating: \@unusedslot)}%
- \fi%
- \else%
-% When #5 is undefined it is defaulty defined to #4
-% to avoid \uppercase to issue an undefined cs message.
-%\expandafter\ifx#5\undefined\expandafter\xdef#5{#4}\fi%
-\expandafter\ifx#5\undefined\outside{\expandafter\edef#5{#4}}%
- \fi% 2005/04/08
-% \expandafter\tempa #2\expandafter\tempb #5%
-% \expandafter\tempa #5\expandafter\tempb #5%
-\edef\GOfrench{\expandafter\tempa\expandafter\noexpand #2%
- \expandafter\tempb\expandafter\noexpand #5}% 2005/04/13
- \expandafter\outsidecase\GOfrench% 2005/04/13
-\edef\GOfrench{\expandafter\tempa\expandafter\noexpand #5%
- \expandafter\tempb\expandafter\noexpand #5}% 2005/04/13
- \expandafter\outsidecase\GOfrench% 2005/04/13
- \fi%
- \ifECM\ifnonActifCar\else%
- \ifx\D\E\else% case estzet and SS
-% \global\expandafter\edef #3{\expandafter\string #3}% dont point
-% \global\expandafter\edef #5{\expandafter\string #5}% elsewhere
- \outside{\expandafter\edef #3{\expandafter\string #3}}% dont point
- \outside{\expandafter\edef #5{\expandafter\string #5}}% elsewhere
- \fi\fi\fi%
- \fi% ifLEX
- \fi% ifx undefined
- \fi%
- \fi%
- \else\edef\D{#2}% do ucc/lcc encoding *after* expanding macros
-% \global\expandafter\tempa\D\expandafter\tempb\D%
- \outside{\expandafter\tempa\D\expandafter\tempb\D}%
- \ifx\undefined#4\else\edef\Q{#4}%
-% \global\expandafter\tempa\Q\expandafter\tempb\D%
- \outside{\expandafter\tempa\Q\expandafter\tempb\D}%
- \def\tempa{\uccode`}%
-% \global\expandafter\tempa\D\expandafter\tempb\Q%
-% \global\expandafter\tempa\Q\expandafter\tempb\Q\fi%
- \outside{\expandafter\tempa\D\expandafter\tempb\Q}%
- \outside{\expandafter\tempa\Q\expandafter\tempb\Q}\fi%
- \fi%
- \ifMlTeXthree\OKfalse% MlTeX V3
- \ifx\Lchar\empty% ............. this is a control sequence
- \else% ........................ this is a letter+diacritic
- \ifx\undefined#6\else%maybe we dont have an accent-name
- \OKtrue\ifLEX\else%
- \def\tempa{\charsubdef`}\def\tempb{= }%
- \edef\tempc{`\Lchar}%
-\ifnonActifCar%
-% \global\expandafter\tempa#2%
-% \expandafter\tempb\csname POS#6\endcsname \tempc%
- \edef\GOfrench{\expandafter\protect#2%
- \expandafter\tempb\csname POS#6\endcsname \tempc}%
- \outside{\expandafter\tempa\GOfrench}% 2005/04/08
- %%%% accented chars in maths are activated:
- %%%% but not when already activated
-\ifECM\else%%%%%%%%%%%%% nor when any T1 font in use.
-% \def\tempa{\global\catcode`}% Global reset to
-% \expandafter\tempa#2\tempb11% unactive. 99/04/29
- \def\tempa{\catcode`}% Global reset to 2005/04/08
- \outside{\expandafter\tempa#2\tempb11}% unactive. 2005/04/08
- \def\tempa{\mathcode`}%
-\let\LcharSave\Lchar%
-\ifx\i\Lchar\def\Lchar{\imath}\fi%
-\edef\tempe{\i{}}\ifx\tempe\Lchar\def\Lchar{\imath}\fi%
-\ifx\j\Lchar\def\Lchar{\jmath}\fi%
-\edef\tempe{\j{}}\ifx\tempe\Lchar\def\Lchar{\jmath}\fi%
- \def\tempe##1##2/{##1}% get first char only
- \edef\tempe{\csname MPOS\tempe#6X/\endcsname}%
- \expandafter%
- \ifx\tempe\relax\else%
-% \global\expandafter\tempa#2\tempb"8000%
- \outside{\expandafter\tempa#2\tempb"8000}% 2005/04/12
- \edef\tempe{\expandafter\noexpand%
- \csname MPOS#6\endcsname}%
-\DEBUGmessage{\string$(\tempe \Lchar)}%
-% \begingroup\def\tempa{\uccode`\~`}%
-% \expandafter\tempa#2\uppercase{\endgroup%
-% \global\edef~}{\tempe \Lchar}%
-\outside{\expandafter\edef#2{\tempe \Lchar}}% 2005/04/12
- \fi% end MPOS#6
-\let\Lchar\LcharSave%
- %%%%
-\fi% ECM %%%%%%%%%%%%%%%
-\else%
-% \global\expandafter\tempa#3%
-% \expandafter\tempb\csname POS#6\endcsname \tempc%
- \edef\GOfrench{\expandafter\protect#3%
- \expandafter\tempb\csname POS#6\endcsname \tempc}%
- \outside{\expandafter\tempa\GOfrench}% 2005/04/08
-\fi% nonActifCar
- \fi%\ifLEX
- \fi
- \fi%
- \ifx\Mchar\empty% and now uppercase
- \else%
- \ifx\undefined#6\else%maybe we dont have an accent-name
- \OKtrue\ifLEX\else%
- \def\tempa{\charsubdef`}\def\tempb{= }%
- \edef\tempc{`\Mchar}%
-\ifnonActifCar%
-% \global\expandafter\tempa#4%
-% \expandafter\tempb\csname POS#6\endcsname \tempc%
- \edef\GOfrench{\expandafter\protect#4%
- \expandafter\tempb\csname POS#6\endcsname \tempc}%
- \outside{\expandafter\tempa\GOfrench}% 2005/04/08
- %%%% accented chars in maths are activated:
- %%%% but not when already activated
-\ifECM\OKfalse\else%%%%% nor when any T1 font in use.
-% \def\tempa{\global\catcode`}% reset to
-% \expandafter\tempa#4\tempb11% unactive
- \def\tempa{\catcode`}% reset to 2005/04/08
- \outside{\expandafter\tempa#4\tempb11}% unactive 2005/04/08
- \def\tempa{\mathcode`}%
- \def\tempe##1##2/{##1}% get first char only
- \edef\tempe{\csname MPOS\tempe#6X/\endcsname}%
- \expandafter%
- \ifx\tempe\relax\else%
-% \global\expandafter\tempa#4\tempb"8000%
- \outside{\expandafter\tempa#4\tempb"8000}% 2005/04/12
- \edef\tempe{\expandafter\noexpand%
- \csname MPOS#6\endcsname}
-% \begingroup\def\tempa{\uccode`\~`}%
-% \expandafter\tempa#4\uppercase{\endgroup%
-% \global\edef~}{\tempe \Mchar}%
-\outside{\expandafter\edef#4{\tempe \Mchar}}% 2005/04/12
- \fi% end MPOS#6
- %%%%
-\fi% ECM %%%%%%%%%%%%%%%
-\else%
- \ifx#5\undefined\else% might be undefined
-% \global\expandafter\tempa#5%
-% \expandafter\tempb\csname POS#6\endcsname \tempc%
- \edef\GOfrench{\expandafter\protect#5%
- \expandafter\tempb\csname POS#6\endcsname \tempc}%
- \outside{\expandafter\tempa\GOfrench}% 2005/04/08
- \fi%
-\fi% nonActifCar
- \fi%\ifLEX
- \fi
- \fi%
-\ifnonActifCar%
- \ifOK%
-% \def\tempb{\global\catcode`}%
- \def\tempb{\catcode`}%
- \def\tempe{\string}% 2005/04/08
- \edef\OldActiveChars{\@tempc}% in fact disactivate
- \xdef\@tempc{\OldActiveChars%
- \tempb\expandafter\tempe#2=11}%
- \ifx\undefined#4\else%
- \ifONE%
- \edef\OldActiveChars{\@tempc}% disactivate
- \xdef\@tempc{\OldActiveChars%
- \tempb\expandafter\tempe#4=11}%
- \fi%
- \fi%
- \fi% ifOK
-\fi% nonActifCar
- \fi% MlTeX3
- \fi%\ifVtwo
- \ifx\undefined#6\else%
-% remove any trailing {}.
-\def\tempe##1##29{\edef\tempa{##1}}\expandafter\tempe\Lchar{}9%
-\def\tempe##1##29{\edef\tempb{##1}}\expandafter\tempe\Mchar{}9%
- \ifnonActifCar%
- \Recycle#2%
-\DEBUGmessage{\string\csubinverse{\ligne}{@#6@}\tempa{\expandafter\noexpand#1}{#7}}%
- \csubinverse{\ligne}{@#6@}\tempa{#1}{#7}%
- \ifx\Mchar\empty\else%
- \Recycle#4%
-\DEBUGmessage{\string\csubinverse{\ligne}{@#6@}\tempb{\expandafter\noexpand#1}{#8}}%
- \csubinverse{\ligne}{@#6@}\tempb{#1}{#8}%
- \fi%
- \else%
- \Recycle#3%
-\DEBUGmessage{\string\csubinverse{\ligne}{@#6@}\tempa{\expandafter\noexpand#1}{#7}}%
- \csubinverse{\ligne}{@#6@}\tempa{#1}{#7}%
- \ifx\Mchar\empty\else%
- \Recycle#5%
-\DEBUGmessage{\string\csubinverse{\ligne}{@#6@}\tempb{\expandafter\noexpand#1}{#8}}%
- \csubinverse{\ligne}{@#6@}\tempb{#1}{#8}%
- \fi%
- \fi%
-% Added since \kb@char introduced in accent macros 2005/03/08
-\def\tempb{^^P}%
-\ifx\tempa\tempb%
- \edef\tempa{\noexpand\csname @#6@i\endcsname}%
- \edef\tempb{\noexpand\csname @#6@^^P\endcsname}%
- \ifx\charsubdef\undefined%
- \global\expandafter\expandafter\expandafter\let\tempa\relax%
- \else%
- \global\expandafter\expandafter\expandafter\let\tempa\tempb%
- \fi%
- \edef\tempb{\noexpand\csname @#6@iORI\endcsname}%
-\fi%
-\def\tempb{^^Q}%
-\ifx\tempa\tempb%
- \edef\tempa{\noexpand\csname @#6@j\endcsname}%
- \edef\tempb{\noexpand\csname @#6@^^Q\endcsname}%
- \ifx\charsubdef\undefined%
- \global\expandafter\expandafter\expandafter\let\tempa\relax%
- \else%
- \global\expandafter\expandafter\expandafter\let\tempa\tempb%
- \fi%
-\fi%
- \fi
- }%end of DOhex
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\doFLEX#1#2#3{% #1=8bits,#2=accentuation,#3=lettre
-%%%\iffalse
- \ifLEX\ifLEXhic%
- \DEBUGmessage{KFLEX:{#1}{#2}{#3}}%
- \ifucs%
- \message{\string#1 \space}%
- \flexible{#1}{#2}{#3}%
- \else\ONECHAR#19/%
- \ifONE%
- \message{\string#1 \space}%
- \flexible{#1}{#2}{#3}%
- \fi%
- \fi%
- \fi\fi% ifLEX
-%%%\fi
- }%
-\def\flexible#1#2#3{%
- {\ToSeven\def\GUILL{"}%
-%%% \edef\FULL{#2#3}%
-%%%\expandafter\edef\expandafter\FULL\expandafter{\expandafter#2{#3}}%
- \edef\FULL{#2{#3}}%
- \ifx\empty#2\edef\FULL{#3}\fi%
- \immediate\write\kbseven{\string#1\space\space\space
- printf(\GUILL\FULL\GUILL);}}
- {\ToEight\def\GUILL{\ifLIGS"\fi}%
- \edef\FULL{#2{\GUILL#3\GUILL}}%
- \ifx\empty#2\edef\FULL{\GUILL#3\GUILL}\fi%
- \immediate\write\kbeight{\FULL%
- |\string#1\space\space\space printf("\string#1");}}%
- }%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-\ifx\degre\undefined%
- \edef\degre{{\ifECM\char\rq006\else\char\rq27\fi}\space}%
-\fi%
-%
-\ifx\texteuro\undefined%
- \edef\texteuro{E}% assuming we have the font
-\fi%
-%
-\ifx\@@input\undefined\let\@@input\input\fi
-\ifx\@kbencoding\undefined\def\kbencoding#1{\gdef\@kbencoding{#1}}%
- \ifx\languagename\undefined\@@input keyboard.dat %
- \else\def\@tempa{\languagename.keyboard.dat }%
- \IfFileExists{\@tempa}{}{\def\@tempa{keyboard.dat }}%
- \@@input \@tempa %
- \fi%
- % then check again \unusedslot
- \ifx\unusedslot\undefined \ifnum\catcode`^^9c=\active\let ^^9c\undefined\fi%
- \edef\@unusedslot{\noexpand ^^9c}%
- \else\edef\@unusedslot{\unusedslot}%
- \fi%
- \expandafter\let \@unusedslot =\undefined%
-\fi%
-\ifx\@kbencoding\undefined\gdef\@kbencoding{latin9}\fi%
-% Don't force MlTeX to map Cork when kbencoding is allready Cork like.
- \def\GOfrench{decmulti}\ifx\GOfrench\@kbencoding\else%
- \def\GOfrench{latin1}\ifx\GOfrench\@kbencoding\else%
- \def\GOfrench{latin9}\ifx\GOfrench\@kbencoding\else%
- \def\GOfrench{utf8}\ifx\GOfrench\@kbencoding\else%
- \def\GOfrench{ansinew}\ifx\GOfrench\@kbencoding%\catcode`^^8d=13
- \ifnum\catcode`^^8d=\active\let ^^8d\undefined\fi%
-% \gdef\unusedslot{\noexpand ^^8d}%
-% \xdef\@unusedslot{\unusedslot}%
- \outsideuns{^^8d}% 2005/04/15
- \else%
-% So, as we don't have a Cork like encoding, force targeting Cork when:
- \ifECM\ifx\documentclass\undefined\ACTIVEtrue\fi% first if plain T1,
- \else\ifx\charsubdef\undefined\else\ACTIVEtrue\fi% secondly when MlTeX (OT1).
- \fi%
-\fi\fi\fi\fi\fi%
-\let\GOfrench\undefined%
-\bgroup% as when loaded by keyboard.sty
-\ifx\undefined\@uclclist% is it initex? yes probably % 1999/11/26
- \everypar{\message{^^J *************************************************}
- \ifx\kbAissue\undefined\else\expandafter\kbAissue\fi%
- \message{^^J -59- FATAL ERROR: unusual strange text generated.}
- \message{^^J *************************************************}
- \let\@outputpage\relax% To avoid pb \normalsize undefined.
- \let\normalsize\undefined\stop}%
-\fi%
-% load my keyboard specs
-
-\ifx\languagename\undefined\@@input \@kbencoding.kbc %
-\else\def\@tempa{\languagename.\@kbencoding.kbc }%
- \IfFileExists{\@tempa}{}{\def\@tempa{\@kbencoding.kbc }}%
- \@@input\@tempa %
-\fi%
-\egroup%
- \ifLEX\else%
- \ifx\languagename\undefined\else\expandafter% When a language is active
- \ifx\csname\languagename @hefn\endcsname\relax% we can load any
- \else\@@input \csname\languagename @hefn\endcsname% hyph. exceptions file.
- \fi\fi% \languagename undefined
- \fi% de \ifLEX
-\fi% de \ifSkip
-\endgroup% end of marmelade. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\expandafter\ifx\csname ^^63\endcsname\c % 128-255 going chars in V3
-\def\reserved@c#1{\catcode#1=11\relax}%
-\reserved@a{"7F}{"FF}%
-\ifLEX\else%
-\expandafter\catcode\expandafter`\@unusedslot=13%
-\fi%
-%%%%%%
-\ifx\documentclass\undefined
- \ifECM\else% Prevent Plain invalid chars
- \catcode`\^^]=11%
- \catcode`\^^[=11%
- \fi%
-\else% Prevent LaTeX2e invalid chars
- \ifECM%
- \catcode`\^^_=11%
- \catcode`\^^Y=11%
- \catcode`\^^Z=11%
- \catcode`\^^P=11%
- \catcode`\^^Q=11%
- \else%
- \catcode`\^^P=11%
- \catcode`\^^Q=11%
- \catcode`\^^Y=11%
- \catcode`\^^Z=11%
- \catcode`\^^]=11%
- \catcode`\^^[=11%
- \catcode`\^^^=11%
- \catcode`\^^\=11%
- \catcode`\^^_=11%
- \fi%
-\fi%
-%%%%%%
-%
-{\let\protect\noexpand%
- \def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
- \ialign{####\crcr#1\crcr}}}% put characters over each other
- \ifx\KBdefs\relax\else\xdef\KBdefs{\KBdefs}\fi%
-}%
-\KBdefs%
-\let\KBdefs\undefined% now set the char defs.
-\let\outside\undefined\let\outsidecase\undefined\let\outsideuns\undefined%
-% now intitialize only \oe \ae etc.
-\@tempc%
-% and \@kbspecials for \kbtypeout
-\bgroup%
-\ifLEX\else%
- \let\protect\noexpand%
- \xdef\@kbspecials{\@kbspecials}%
-\fi%
-\ifx\undefined\@uclclist% \@kbspecials, final setting.
- \global\let\@kbsORI\@kbspecials%
-\else\ifx\@kbsORI\undefined%
- \global\let\@kbsORI\@kbspecials%
- \else\global\let\@kbspecials\@kbsORI%
- \fi%
-\fi%
-\egroup%
-%
-% Take in account \mathaccent for OT1 and T1 ***PLAIN TeX ONLY***
-%
-\def\@tempc{plain}%
-\ifx\fmtname\@tempc%
-% Currently math accents are provided only in cm...
-%\ifECM% when the new math font scheme will be available
-%\def\acute{\mathaccent"7001 }
-%\def\grave{\mathaccent"7000 }
-%\def\ddot{\mathaccent"7004 }
-%%%%%\def\tilde{\mathaccent"7003 }
-%\def\bar{\mathaccent"7009 }
-%\def\breve{\mathaccent"7008 }
-%\def\check{\mathaccent"7007 }
-%\def\hat{\mathaccent"7002 }
-%\def\dot{\mathaccent"700A }
-%\else
-\def\acute{\mathaccent"7013 }
-\def\grave{\mathaccent"7012 }
-\def\ddot{\mathaccent"707F }
-\def\tilde{\mathaccent"707E }
-\def\bar{\mathaccent"7016 }
-\def\breve{\mathaccent"7015 }
-\def\check{\mathaccent"7014 }
-\def\hat{\mathaccent"705E }
-\def\dot{\mathaccent"705F }
-%\fi
-\fi% fmtname=plain
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Reset no more useful macros
-\global\let\Lchar\undefined\global\let\Mchar\undefined%
-{\catcode`<=\active\catcode`>\active% 2005/04/12
-\ifx\guillemotleft\undefined\gdef\guillemotleft{<<}\fi%
-\ifx\guillemotright\undefined\gdef\guillemotright{>>}\fi%
-}%
-%
-% Now provide 7-bit new accent macros to produce 8-bit chars
-%
-\let\next\undefined
-\ifx\charsubdef\undefined\else\let\next\relax\fi
-%%
-%\ifECM\else% The following to avoid invalid char msg.
-\catcode`\^^P=11%
-\catcode`\^^Q=11%
-\catcode`\^^Y=11%
-\catcode`\^^Z=11%
-%\fi%
-\ifx\documentclass\undefined%
- \let\Edef\edef\let\Def\def\let\Let\let%
- \ifECM\let\next\relax\fi% Plain-T1 is a good candidate
-\else%
-\def\@temp@{LO1}\ifx\@temp@\f@encoding\edef\@temp@{OL}%
- \else\edef\@temp@{OT}\fi%
- \def\Edef#1{\expandafter\relax% define only for MlTeX OT1
- \expandafter\global%
- \expandafter\edef\csname\@temp@\string1\string#1\endcsname}
- \def\Def#1{\expandafter\relax% define only for MlTeX OT1
- \expandafter\global%
- \expandafter\def\csname\@temp@\string1\string#1\endcsname}
- \def\Let#1{\expandafter\relax% define only for MlTeX OT1
- \expandafter\global%
- \expandafter\let\csname\@temp@\string1\string#1\endcsname}
-\ifECM\Edef\i{^^Y}\else\Edef\i{^^P}\fi% needed by \csubinverse for patterns
-\ifECM\Edef\j{^^Z}\else\Edef\j{^^Q}\fi% dotless letters
-\fi%
-\let\@tempc\undefined%
-\ifx\next\relax% then do it (we have 8bits chars)
-\gdef\kb@char#1{\expandafter\ifcat\noexpand#1\active%
- \expandafter\expandafter\expandafter%
- \@gobble\expandafter\string\noexpand#1\else\expandafter#1\fi}%
-\Edef\`#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @gr@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"00 #1}\else{\accent18 #1}\fi%
- \noexpand\else%
- \noexpand\csname @gr@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\'#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @ac@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"01 #1}\else{\accent19 #1}\fi%
- \noexpand\else%
- \noexpand\csname @ac@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\v#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @v@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"07 #1}\else{\accent20 #1}\fi%
- \noexpand\else%
- \noexpand\csname @v@#1%
- \noexpand\kb@char\noexpand\noexpand\endcsname\noexpand\fi}%
-\Edef\u#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @u@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"08 #1}\else{\accent21 #1}\fi%
- \noexpand\else%
- \noexpand\csname @u@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\=#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @eq@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"09 #1}\else{\accent22 #1}\fi%
- \noexpand\else%
- \noexpand\csname @eq@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\^#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @hat@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"02 #1}\else{\accent94 #1}\fi%
- \noexpand\else%
- \noexpand\csname @hat@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\.#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @dot@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"0a #1}\else{\accent95 #1}\fi%
- \noexpand\else%
- \noexpand\csname @dot@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\H#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @H@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"05 #1}\else{\accent125 #1}\fi%
- \noexpand\else%
- \noexpand\csname @H@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\~#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @til@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"03 #1}\else{\accent126 #1}\fi%
- \noexpand\else%
- \noexpand\csname @til@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\Edef\"#1{\noexpand\expandafter%
- \noexpand\ifx\noexpand\csname @um@%
- \noexpand\ifcat\noexpand\noexpand#1Z#1\noexpand%
- \else\noexpand\kb@char\noexpand#1\noexpand\fi%
- \noexpand\endcsname\noexpand\relax%
- \ifECM{\accent"04 #1}\else{\accent127 #1}\fi%
- \noexpand\else%
- \noexpand\csname @um@%
- \noexpand\kb@char\noexpand#1\noexpand\endcsname\noexpand\fi}%
-\ifx\@c@@\undefined% needed for OT1
-\def\@c@@#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1%
- \else{\ooalign{\unhbox\z@\crcr\hidewidth\char24\hidewidth}}\fi}%
-\fi%
-\Def\c#1{{\expandafter\ifx%
- \csname @c@#1\endcsname\relax%
- \@c@@{#1}%
- \else%
- \csname @c@#1\endcsname\fi}}%
-\ifx\@an@a\undefined\else\Let\aa\@an@a\fi%
-\ifx\@an@A\undefined\else\Let\AA\@an@A\fi%
-\ifx\r\undefined%
-\global\Def\r#1{\if#1a\@a:a\else\if#1A\@A:A\fi\fi}%
-\global\Def\@a:a{\expandafter\ifx\csname @an@a\endcsname\relax%
- \ifECM{\accent"06a}\else{\accent23a}\fi%
- \else\csname @an@a\endcsname\fi}%
-\global\Def\@A:A{\expandafter\ifx\csname @an@A\endcsname\relax%
- \leavevmode\setbox0\hbox{h}\dimen@\ht0%
- \advance\dimen@-1ex\rlap{\raise.67\dimen@\hbox{%
- \ifECM\char"06\else\char'27\fi}}A%
- \else\csname @an@A\endcsname\fi}%
-\fi% \r undefined
-\fi% we have 8bits chars
-%
-\ifx\next\undefined% we don't have any csubsinverse mechanism
-\ifx\documentclass\undefined% and we aren't in LaTeX
-% % so reset any previous accent macros to usual
-\edef\`#1{\ifECM{\accent"00 #1}\else{\accent18 #1}\fi}%
-\edef\'#1{\ifECM{\accent"01 #1}\else{\accent19 #1}\fi}%
-\edef\v#1{\ifECM{\accent"07 #1}\else{\accent20 #1}\fi}%
-\edef\u#1{\ifECM{\accent"08 #1}\else{\accent21 #1}\fi}%
-\edef\=#1{\ifECM{\accent"09 #1}\else{\accent22 #1}\fi}%
-\edef\^#1{\ifECM{\accent"02 #1}\else{\accent94 #1}\fi}%
-\edef\.#1{\ifECM{\accent"0a #1}\else{\accent95 #1}\fi}%
-\edef\H#1{\ifECM{\accent"05 #1}\else{\accent125 #1}\fi}%
-\edef\~#1{\ifECM{\accent"03 #1}\else{\accent126 #1}\fi}%
-\edef\"#1{\ifECM{\accent"04 #1}\else{\accent127 #1}\fi}%
-\ifx\@c@@\undefined\else\let\c=\@c@@\fi%
-\def\aa{\ifECM{\accent"06a}\else{\accent23a}\fi}%
-\def\AA{\leavevmode\setbox0\hbox{h}\dimen@\ht0%
- \advance\dimen@-1ex\rlap{\raise.67\dimen@\hbox{%
- \ifECM\char"06\else\char'27\fi}}A}%
-\fi% documentclass
-\fi%we don't have any csubsinverse mechanism
-%
-\fi%
-% reset misc
-\let\Edef\undefined\let\Def\undefined\let\Let\undefined%
-%--------------------------------------------------------------------
-\def\GOfrench{utf8}\ifx\GOfrench\@kbencoding%
-% final processing of utf8 goes thru inputenc.
-\ifx\documentclass\undefined% This is Plain
-\kbAissue%
-\message{ -72- kbconfig: utf8 encoding can't be completed with plain!}%
-\messag@{ -72- kbconfig: continuing with no Unicode characters.}%
-\else% This is LaTeX
-\ifx\ProvidesFile\undefined\def\ProvidesFile#1{}%
-\fi%
-\def\DeclareInputMath#1{\@inpenc@test%
- \bgroup\uccode`\~#1\uppercase{\egroup\def~}%
- }%
- \def\DeclareInputText#1#2{\def\@tempa{#2}%
- \def\@tempb##1 ${}%
- \edef\@tempa{\expandafter\@tempb\meaning\@tempa$ $}%
- \ifx\@tempa\@empty\DeclareInputMath{#1}{#2}%
- \else\DeclareInputMath{#1}{\IeC{#2}}%
- \fi}%
-\def\LTXinputencoding#1{% always used with #1=utf8
- \ifx\@inpenc@test\undefined%
- \gdef\@inpenc@test{\global\let\@inpenc@test\relax}%
- \fi%
- \edef\@inpenc@undefined{\noexpand\@inpenc@undefined@{#1}}%
- \@inpenc@loop\^^A\^^H%
- \@inpenc@loop\^^K\^^K%
- \@inpenc@loop\^^N\^^_%
- \@inpenc@loop\^^?\^^ff%
- \advance\endlinechar\@M
- \xdef\saved@space@catcode{\the\catcode`\ }%
- \input #1.def %
- \advance\endlinechar-\@M
- \catcode`\ \saved@space@catcode\relax
- \ifx\@inpenc@test\relax\else
- \def\@tempa{\PackageWarning{kbconfig}}%
- \ifx\kbAissue\undefined\else\expandafter\kbAissue\fi\@tempa%
- {-88- No characters defined\MessageBreak
- by input encoding change to `#1'\MessageBreak}%
- \fi
-}
-\def\@inpenc@undefined@#1{%
- \def\@tempa{\PackageError{kbconfig}}% always used with #1=utf8
- \ifx\kbAissue\undefined\else\expandafter\kbAissue\fi\@tempa%
- {-89- Keyboard character used is undefined\MessageBreak
- in inputencoding `#1'}%
- {You need to provide a definition with
- \noexpand\DeclareInputText\MessageBreak or
- \noexpand\DeclareInputMath before using this key.}}%
-\def\@inpenc@loop#1#2{%
- \@tempcnta`#1\relax
- \loop
- \catcode\@tempcnta\active
- \bgroup
- \uccode`\~\@tempcnta
- \uppercase{%
- \egroup
- \let~\@inpenc@undefined
- }%
- \ifnum\@tempcnta<`#2\relax
- \advance\@tempcnta\@ne
- \repeat}
-\IfFileExists{utf8.def}{\LTXinputencoding{utf8}%
- \def\UTFviii@defined##1{%
- \ifx##1\relax
- \ifx\issuemsg\undefined%
- \PackageError{kbconfig}{Unicode char \string##1 not set up\space
- for use with LaTeX}\@eha
- \else\issuemsg{91}(keyboard)[##1]\relax%
- \fi%
- \else\expandafter##1%
- \fi}%
- }%
- {%
-\kbAissue%
-\message{ -75- kbconfig: utf8 encoding not found via inputenc package!}%
-\messag@{ -75- kbconfig: continuing with no Unicode characters.}%
- }%
-%
-\fi% \if\documentclass
-\fi% \if utf8
-%
-\let\kbAissue\undefined%
-%
-\ifx\kbencoding\undefined%
- \def\kbencoding#1{\edef\resetat{\noexpand\catcode\string`%
- \noexpand\@\the\catcode`\@}\makeatletter%
- \def\@kbencoding{#1}%
- \ifx\@prevkbencoding\@kbencoding\else%
- \@@input kbconfig.tex %
- \fi\resetat}%
-\fi%
-%
-\csname kb@hook\endcsname% Allow any hook here.
-\endinput%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/keyboard-msg.tex
===================================================================
--- trunk/inputs/keyboard/keyboard-msg.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/keyboard-msg.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,60 +0,0 @@
-% File keyboard-msg.tex (messages issued by the keyboard package)
-\msgheader{-\msgid-\space}
-\msg{28}{WARNING\string: TeX Version 2 don't allow to use the %
- 8bits chars with diacritics}{}
-\msg*{29}{***Warning***\string: TeX engine in use along with CM fonts %
- \MessageBreak %
- (as in current TeX format) isn't sufficient to hyphenate %
- \MessageBreak %
- words containing diacritics (like in French).}{}
-\msg{33}{CHECK the list for hexadecimal TeX codes you can't display %
- \MessageBreak %
- and decide if they must be eliminated from \@kbencoding.kbc %
- \MessageBreak %
- assuming your ''locale'' settings are okay on your system.}{}
-\msg*{40}{Writing kb8to7.lex and kb7to8.lex}{}
-\msg*{47}{i must stop because your TeX engine is unable to %
- generate 8bit output codes, sorry\string!}{}
-\msg{54}{ERROR\string: \string\unusedslot\space (\unusedslot) is invalid}{}
-\msg{55}{ERROR \string\unusedslot\space character %
- (\@unusedslot) is not activated.}{}
-\msg*{56}{Processed 8bits characters are\string:}{}
-\msg{57}{keyboard package #1 loaded for the font encoding %
- \f@encoding.^^J}{}
-\msg*{59}{FATAL ERROR\string: unusual strange text generated.}{}
-\msg*{67}{WARNING it seeems your are using inputenc and keyboard, %
- please chose\string!}{}
-\msg{72}{kbconfig\string: utf8 encoding can't be completed with plain\string! %
- \MessageBreak %
- kbconfig\string: continuing with no Unicode characters.}{}
-\msg*{74}{ERROR, keyboard package loaded after \frenchpack!}{}
-\msg{75}{kbconfig\string: utf8 encoding not found via inputenc %
- package\string! %
- \MessageBreak %
- kbconfig\string: continuing with no Unicode characters.}{}
-\msg{76}{kbconfig\string: no language dependencies available within %
- Plain TeX\string!}{}
-\msg*{78}{ERROR\string: noutf8 option clash.}{}
-\msg*{79}{keyboard.sty\string: no local option given, %
- no utf8 coding.}{}
-\msg{86}{keyboard.sty\string: %
- The mltex feature is nullified due to the #1\space option.}{}
-\msg{88}{No characters defined %
- \MessageBreak %
- by keyboard encoding change to `utf8'\MessageBreak}{}
-\msg{89}{Keyboard character used is undefined\MessageBreak %
- in keyboard encoding `utf8'}%
- {You need to provide a definition with %
- \noexpand\DeclareInputText\MessageBreak or %
- \noexpand\DeclareInputMath before using this key.}
-\msg{90}{Invalid Unicode char value \string < 00A0}{\@eha}
-\msg{91}{Unicode char #1 not set up\space %
- for use with LaTeX}{\@eha}
-\msg{92}{Yous should either\string:\MessageBreak %
- - use an engine with the MlTeX option, or\MessageBreak %
- - switch to font encoding T1 as default.}{}
-\msgheader{}
-\msg{*}{the message \msgid\space is unknown in the keyboard %
- package}{}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
Deleted: trunk/inputs/keyboard/keyboard.dat
===================================================================
--- trunk/inputs/keyboard/keyboard.dat 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/keyboard.dat 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,214 +0,0 @@
-% keyboard.dat An idea of Bernard Gaulle 04/21/92
-% last mods: 2004/03/29
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to customize copies of that file)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% User data definitions for the keyboard package (and other stuff) %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the "keyboard" LaTeX package)
-% (might be called at any time by kb2lex.tex to generate .lex translators)
-%
-% This is a way to customize your LaTeX format/document accordingly with
-% your own (temporary or most generally used) keyboard. Is _always_ superseeded
-% by any later call to the "inputenc" package.
-%
-% Give below the encoding you want use for your input:
-\kbencoding{latin9}% is the nest for French
-%\kbencoding{ascii}% the most reduced input character set.
-%%%%%%%%%%%%%%%%%%%%%% (choose among xxx.kbc files)
-%
-% This previous information superseeds any site definition provided
-% via a keyboard.cfg file.
-%
-% The real data which are loaded in memory are in fact in files xxx.kbc
-% where xxx can be "decmulti", "ansinew", "latin1", "applemac", etc.
-% You can have your own definition file. To understand the contents of the
-% tables in xxx.kbc, you have first to know that:
-% First line is for lower caps and second for their hexa. codes in ec fonts
-% third line is for upper caps and fourth for " " " " " "
-% Each hexa line (\hex) can be preceded by their unicode numbers (\ucs line).
-% A dot is inserted in any non-applicable case.
-% Use \ESC when you want to pass a TeX cs (except already used ones in *.kbc)
-% to kb2lex for kb*.lex file generation.
-%
-\endinput% an example of such table is provided at the end of this file.
-%
-%%%%%%%%%%%%%%%%%%%%% Explications plus detaillees %%%%%%%%%%%%%%%%%%%%%%%
-% (en francais)
-% concernant le fichier de definitions
-% de votre type de clavier
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Ce qui suit s'applique aux fichiers xxx.kbc, ou xxx est relatif
-% a une type de codage de caracteres entres au clavier.
-%
-% Ce fichier ne concerne _pas_ les << moteurs >> utilisant un filtre
-% d'entree/sortie (lorsque le caractere source n'est pas celui donne a TeX
-% mais un autre caractere de substitution).
-%
-% Il est normalement pret a l'usage si le codage de votre clavier est
-% l'un de ceux fournis. Toutefois ce n'est pas toujours le cas...
-%
-% Vous pouvez modifier ce fichier pour l'adapter a votre clavier.
-% Voici la demarche d'esprit a garder en memoire pour modifier ce tableau
-% << Si on applique l'accent a la lettre indiquee (1ere colonne) on
-% obtient le signe indique a l'ecran dans la case correspondante.
-% Le code hexa de la ligne suivante indique seulement a TeX -- dans
-% certains cas -- quel code interne utiliser >>
-% (ce code est celui de la norme de Cork aussi appele << font encoding >> T1)
-% Ces lignes concernent le codage sur 1 caractere que TeX aura a interpreter.
-% Une ligne \ucs peut exister pour les codages en unicode (sur 2 caracteres).
-% Il vous suffit donc de prendre une copie du fichier xxx.kbc en yyy.kbc,
-% d'editer ce tableau et de mettre les lettres accentuees
-% appropriees. Attention un blanc peut cacher un code hexa non-affichable !
-% Les caracteres [ ] | et . sont significatifs.
-% (le . indique une case vide, il doit etre precede et suivi d'un espace).
-% Il est possible de rajouter d'autres tableaux de ce genre.
-% Ceux fournis ne concernent que les caracteres accentues usuels en francais
-% ainsi que des ligatures, les oe ae et d'autres caracteres moins usuels.
-% Pour ces derniers il ne s'agit plus d'accentuation mais d'equivalences
-% entre un caractere et sa macro TeX.
-%
-% Les codes hexadecimaux sont ceux des polices ec ils ne doivent en aucun
-% cas etre changes si vous respectez le << font encoding >> T1.
-%
-% Les programmes TeX qui utilisent xxx.kbc savent detecter si
-% l'option MlTeX est active et dans ce cas donnent au moteur TeX la definition
-% des caracteres fournis dans ce tableau. Ces nouveaux caracteres sont bien
-% dans ce cas de type caractere (\catcode 11) pour le compilateur TeX.
-% L'avantage d'utiliser MlTeX est donc ici de ne pas avoir de nouveau
-% caractere actif (comme cela est avec l'extension "inputenc").
-%
-% Pour diverses raisons techniques il est parfois necessaire d'utiliser
-% le mecanisme des caracteres actifs et ce sera en general le cas des
-% caracteres qui ne sont pas composes d'une lettre _et_ d'un accent.
-% Alors il vous faudra le preciser en encadrant les definitions de ce genre
-% par la sequence \ACTIVEtrue ... definitions ... \ACTIVEfalse
-% Les caracteres seront alors des caracteres actifs (donc des macros) et
-% ne pouront pas alors faire partie d'un nom de macro-instruction.
-% Le temps de calcul pour le traitement des documents s'en trouvera un peu
-% rallonge.
-%
-% On encadrera de la meme maniere les definitions de ligatures par
-% \LIGStrue ... definitions de ligatures ... \LIGSfalse
-%
-% Il faudra enfin encadrer par :
-% \MACROtrue ... definitions des macros ... \MACROfalse
-% les equivalences qui n'aboutissent pas a un seul caractere de police
-% et/ou necessitent d'etre composes au dernier moment parcequ'elles
-% s'appliquent differemment selon que la lettre suivante est une majuscule
-% ou une minuscule (par exemple).
-%
-% Si vous choisissez de modifier ce tableau, il est conseille de le faire
-% tres progressivement, ligne par ligne, caractere par caractere et de
-% tester les effets a l'aide de kbtest.tex (a adapter a votre clavier).
-% N'OUBLIEZ PAS que vous ne pouvez pas avoir deux fois le meme caractere
-% dans la table. Si vous le faites, il est normal que TeX s'en plaigne et
-% s'arrete, sur un message du style :
-%
-% ! Missing control sequence inserted.
-% <inserted text>
-% \inaccessible
-%
-% mais cela dependra des circonstances.
-%
-% Autres commentaires : a la generation d'un nouveau format vous devez
-% =================== imperativement avoir le message << No pages of output >>
-% si ce n'etait pas le cas, verifiez que vous n'avez pas suprime d'espace
-% autour des definitions de caracteres ou de commandes.
-%
-% Pour la generation des fichiers kb*.lex via kb2lex : si vous souhaitez
-% passer des commandes TeX autres que celles deja utilisees dans les fichiers
-% *.kbc il est imperatif de faire preceder ces commandes d'une macro
-% d'echappement \ESC, voir exemple dans un fichier .kbc.
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Voici un exemple succint de tableau de definition :
-
-%------ Tableau des caracteres accentues de mon clavier francais --------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \ucs| 00E0 | . | 00E4 | 00E2 | . | . | . | 00E5 ]% + angstroem
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \ucs| 00C0 | . | 00C4 | 00C2 | . | . | . | 00C5 ]%
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[{\i} | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \ucs| . | . | 00EF | 00EE | . | . | . | . ]%
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I} | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \ucs| . | . | 00CF | 00CE | . | . | . | . ]%
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \ucs| . | . | . | . | 00E7 | . | . | . ]%
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \ucs| . | . | . | . | 00C7 | . | . | . ]%
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-%(*) A noter :
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Macro-instructions d'accention utilisables avec l'option "-mltex"
-%
-% *----------------------------------*
-% | \` | \' | \" | \^ | {\c} | {\r} |%<==
-% |----------------------------------| |-- 7 bits accent. macros
-% | \v | \u | \= | \. | \H | \~ |%<==
-% *----------------------------------*
-%
-% Les autres macros-instruction d'accentuation restent utilisables mais
-% ne tirent pas profit de l'option "-mltex".
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
- \MACROtrue%
-%------------------------------------------------------------------------------
-[{\oe} | . | . | . | . | . | \xF7 | . | . |% e dans l'o
- \ucs| . | . | . | . | . | 0153 | . | . ]%
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE} | . | . | . | . | . | \xD7 | . | . |% E dans l'O
- \ucs| . | . | . | . | . | 0152 | . | . ]%
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
- \MACROfalse%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-% Ci-dessous les macro-caracteres qui sont des caracteres mathematiques
-% et donc (pour l'instant) ne font pas partie des fontes EC.
-%------------------------------------------------------------------------------
- \ACTIVEtrue
-%------------------------------------------------------------------------------
-[{\ss} | . | . | . | . | . | \xDF | . | . |% es-zet
- \ucs| . | . | . | . | . | 00DF | . | . ]%
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS} | . | . | . | . | . | {{SS}} | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
- \ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/keyboard.org
===================================================================
--- trunk/inputs/keyboard/keyboard.org 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/keyboard.org 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,214 +0,0 @@
-% keyboard.dat An idea of Bernard Gaulle 04/21/92
-% last mods: 2004/03/29
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to customize copies of that file)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% User data definitions for the keyboard package (and other stuff) %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the "keyboard" LaTeX package)
-% (might be called at any time by kb2lex.tex to generate .lex translators)
-%
-% This is a way to customize your LaTeX format/document accordingly with
-% your own (temporary or most generally used) keyboard. Is _always_ superseeded
-% by any later call to the "inputenc" package.
-%
-% Give below the encoding you want use for your input:
-\kbencoding{latin9}% is the nest for French
-%\kbencoding{ascii}% the most reduced input character set.
-%%%%%%%%%%%%%%%%%%%%%% (choose among xxx.kbc files)
-%
-% This previous information superseeds any site definition provided
-% via a keyboard.cfg file.
-%
-% The real data which are loaded in memory are in fact in files xxx.kbc
-% where xxx can be "decmulti", "ansinew", "latin1", "applemac", etc.
-% You can have your own definition file. To understand the contents of the
-% tables in xxx.kbc, you have first to know that:
-% First line is for lower caps and second for their hexa. codes in ec fonts
-% third line is for upper caps and fourth for " " " " " "
-% Each hexa line (\hex) can be preceded by their unicode numbers (\ucs line).
-% A dot is inserted in any non-applicable case.
-% Use \ESC when you want to pass a TeX cs (except already used ones in *.kbc)
-% to kb2lex for kb*.lex file generation.
-%
-\endinput% an example of such table is provided at the end of this file.
-%
-%%%%%%%%%%%%%%%%%%%%% Explications plus detaillees %%%%%%%%%%%%%%%%%%%%%%%
-% (en francais)
-% concernant le fichier de definitions
-% de votre type de clavier
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Ce qui suit s'applique aux fichiers xxx.kbc, ou xxx est relatif
-% a une type de codage de caracteres entres au clavier.
-%
-% Ce fichier ne concerne _pas_ les << moteurs >> utilisant un filtre
-% d'entree/sortie (lorsque le caractere source n'est pas celui donne a TeX
-% mais un autre caractere de substitution).
-%
-% Il est normalement pret a l'usage si le codage de votre clavier est
-% l'un de ceux fournis. Toutefois ce n'est pas toujours le cas...
-%
-% Vous pouvez modifier ce fichier pour l'adapter a votre clavier.
-% Voici la demarche d'esprit a garder en memoire pour modifier ce tableau
-% << Si on applique l'accent a la lettre indiquee (1ere colonne) on
-% obtient le signe indique a l'ecran dans la case correspondante.
-% Le code hexa de la ligne suivante indique seulement a TeX -- dans
-% certains cas -- quel code interne utiliser >>
-% (ce code est celui de la norme de Cork aussi appele << font encoding >> T1)
-% Ces lignes concernent le codage sur 1 caractere que TeX aura a interpreter.
-% Une ligne \ucs peut exister pour les codages en unicode (sur 2 caracteres).
-% Il vous suffit donc de prendre une copie du fichier xxx.kbc en yyy.kbc,
-% d'editer ce tableau et de mettre les lettres accentuees
-% appropriees. Attention un blanc peut cacher un code hexa non-affichable !
-% Les caracteres [ ] | et . sont significatifs.
-% (le . indique une case vide, il doit etre precede et suivi d'un espace).
-% Il est possible de rajouter d'autres tableaux de ce genre.
-% Ceux fournis ne concernent que les caracteres accentues usuels en francais
-% ainsi que des ligatures, les oe ae et d'autres caracteres moins usuels.
-% Pour ces derniers il ne s'agit plus d'accentuation mais d'equivalences
-% entre un caractere et sa macro TeX.
-%
-% Les codes hexadecimaux sont ceux des polices ec ils ne doivent en aucun
-% cas etre changes si vous respectez le << font encoding >> T1.
-%
-% Les programmes TeX qui utilisent xxx.kbc savent detecter si
-% l'option MlTeX est active et dans ce cas donnent au moteur TeX la definition
-% des caracteres fournis dans ce tableau. Ces nouveaux caracteres sont bien
-% dans ce cas de type caractere (\catcode 11) pour le compilateur TeX.
-% L'avantage d'utiliser MlTeX est donc ici de ne pas avoir de nouveau
-% caractere actif (comme cela est avec l'extension "inputenc").
-%
-% Pour diverses raisons techniques il est parfois necessaire d'utiliser
-% le mecanisme des caracteres actifs et ce sera en general le cas des
-% caracteres qui ne sont pas composes d'une lettre _et_ d'un accent.
-% Alors il vous faudra le preciser en encadrant les definitions de ce genre
-% par la sequence \ACTIVEtrue ... definitions ... \ACTIVEfalse
-% Les caracteres seront alors des caracteres actifs (donc des macros) et
-% ne pouront pas alors faire partie d'un nom de macro-instruction.
-% Le temps de calcul pour le traitement des documents s'en trouvera un peu
-% rallonge.
-%
-% On encadrera de la meme maniere les definitions de ligatures par
-% \LIGStrue ... definitions de ligatures ... \LIGSfalse
-%
-% Il faudra enfin encadrer par :
-% \MACROtrue ... definitions des macros ... \MACROfalse
-% les equivalences qui n'aboutissent pas a un seul caractere de police
-% et/ou necessitent d'etre composes au dernier moment parcequ'elles
-% s'appliquent differemment selon que la lettre suivante est une majuscule
-% ou une minuscule (par exemple).
-%
-% Si vous choisissez de modifier ce tableau, il est conseille de le faire
-% tres progressivement, ligne par ligne, caractere par caractere et de
-% tester les effets a l'aide de kbtest.tex (a adapter a votre clavier).
-% N'OUBLIEZ PAS que vous ne pouvez pas avoir deux fois le meme caractere
-% dans la table. Si vous le faites, il est normal que TeX s'en plaigne et
-% s'arrete, sur un message du style :
-%
-% ! Missing control sequence inserted.
-% <inserted text>
-% \inaccessible
-%
-% mais cela dependra des circonstances.
-%
-% Autres commentaires : a la generation d'un nouveau format vous devez
-% =================== imperativement avoir le message << No pages of output >>
-% si ce n'etait pas le cas, verifiez que vous n'avez pas suprime d'espace
-% autour des definitions de caracteres ou de commandes.
-%
-% Pour la generation des fichiers kb*.lex via kb2lex : si vous souhaitez
-% passer des commandes TeX autres que celles deja utilisees dans les fichiers
-% *.kbc il est imperatif de faire preceder ces commandes d'une macro
-% d'echappement \ESC, voir exemple dans un fichier .kbc.
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Voici un exemple succint de tableau de definition :
-
-%------ Tableau des caracteres accentues de mon clavier francais --------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \ucs| 00E0 | . | 00E4 | 00E2 | . | . | . | 00E5 ]% + angstroem
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \ucs| 00C0 | . | 00C4 | 00C2 | . | . | . | 00C5 ]%
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[{\i} | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \ucs| . | . | 00EF | 00EE | . | . | . | . ]%
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I} | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \ucs| . | . | 00CF | 00CE | . | . | . | . ]%
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \ucs| . | . | . | . | 00E7 | . | . | . ]%
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \ucs| . | . | . | . | 00C7 | . | . | . ]%
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-%(*) A noter :
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Macro-instructions d'accention utilisables avec l'option "-mltex"
-%
-% *----------------------------------*
-% | \` | \' | \" | \^ | {\c} | {\r} |%<==
-% |----------------------------------| |-- 7 bits accent. macros
-% | \v | \u | \= | \. | \H | \~ |%<==
-% *----------------------------------*
-%
-% Les autres macros-instruction d'accentuation restent utilisables mais
-% ne tirent pas profit de l'option "-mltex".
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
- \MACROtrue%
-%------------------------------------------------------------------------------
-[{\oe} | . | . | . | . | . | \xF7 | . | . |% e dans l'o
- \ucs| . | . | . | . | . | 0153 | . | . ]%
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE} | . | . | . | . | . | \xD7 | . | . |% E dans l'O
- \ucs| . | . | . | . | . | 0152 | . | . ]%
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
- \MACROfalse%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-% Ci-dessous les macro-caracteres qui sont des caracteres mathematiques
-% et donc (pour l'instant) ne font pas partie des fontes EC.
-%------------------------------------------------------------------------------
- \ACTIVEtrue
-%------------------------------------------------------------------------------
-[{\ss} | . | . | . | . | . | \xDF | . | . |% es-zet
- \ucs| . | . | . | . | . | 00DF | . | . ]%
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS} | . | . | . | . | . | {{SS}} | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
- \ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/keyboard.sty
===================================================================
--- trunk/inputs/keyboard/keyboard.sty 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/keyboard.sty 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,162 +0,0 @@
-% For Copyright information & comments, look at the following original file:
-% keyboard_doc.txt original file name. An idea of Bernard Gaulle 93/08/17
-%% checksum = "57335 162 232 6545"
-% Have you registered? if not, fill in the form in the REGISTER file and send
-% it now to Bernard GAULLE <frenchprobg@xxxxxxx> to support developpement.
-\ifnum\catcode`\@=11\else\expandafter\catcode`\@=11\fi
-\let\ifLEX\iffalse\let\ifLEXhic\iftrue%
-\ifx\languagename\undefined\else\edef\l@nguagename{\languagename}\fi
-\DeclareOption{french}{\edef\l@nguagename{\CurrentOption}%
- }
-\DeclareOption*{}%
-\ProcessOptions%
-\ifx\kbencoding\undefined%
- \def\kbencoding#1{\edef\resetat{\noexpand\catcode\string`%
- \noexpand\@\the\catcode`\@}\makeatletter%
- \def\@kbencoding{#1}\@@input kbconfig.tex \resetat}%
-\fi%
-\RequirePackage{msg}%
-\AtBeginDocument{\ifx\@msgencoding\undefined%
- \else\def\@msgencoding#1{\kbencoding{#1}}%
- \fi}%
- \expandafter\let\expandafter\@aiguORI\expandafter=%
- \csname OT\string1\string\'\endcsname%
- \expandafter\let\expandafter\@gravORI\expandafter=%
- \csname OT\string1\string\`\endcsname%
- \expandafter\let\expandafter\@acchORI\expandafter=%
- \csname OT\string1\string\^\endcsname%
- \expandafter\let\expandafter\@tremORI\expandafter=%
- \csname OT\string1\string\"\endcsname%
- \expandafter\let\expandafter\@cediORI\expandafter=%
- \csname OT\string1\string\c\endcsname%
-\def\@kbtypeout[#1]#2{\ifEightBitOutput\let\@typeset@protect\protect\fi%
- \edef\f@tempa{#2\empty}%
- \let\protect\relax%
- #1{\f@tempa}\egroup}%
-\def\kbtypeout{\kbIO[\typeout]}%
-\def\@tempa{\newif\ifEightBitOutput\EightBitOutputfalse}%
-\ifx\EightBitOutputfalse\undefined\expandafter\@tempa\fi%
-\def\kbIO{\bgroup%
- \ifECM\fontencoding{OT1}\selectfont\fi%
- \let\@nobraces\@firstofone%
- \set@display@protect%
- \ifEightBitOutput%
- \def\'##1{\expandafter\@nobraces\@aiguORI##1}%
- \def\`##1{\expandafter\@nobraces\@gravORI##1}%
- \def\^##1{\expandafter\@nobraces\@acchORI##1}%
- \def\"##1{\expandafter\@nobraces\@tremORI##1}%
- \def\c##1{\expandafter\@nobraces\@cediORI##1}%
- \csname @kbspecials\endcsname%
- \else%
- \let\add@accent\@gobble%
- \ifx\kb@ansi\undefined%
- \def\set@display@protect{\let\protect\noexpand}%
- \else\def\set@display@protect{%
- \def\protect####1####2{\ifcat####2Z####2%
- \else OE ####2\fi}}%
- \fi%
- \fi%
- \@kbtypeout}%
-\let\issuemsgio\kbtypeout%
-\DeclareOption{8b}{\let\ifEightBitOutput\iftrue%
- \def\@GobbleEmpty{}%
- \def\dGs{ {}}%
-\ifx\charsubdef\undefined\else%
- \let\charsubdef\undefined%
- %
- \issuemsg[\kbtypeout]{86}(keyboard)[8b]%
-\fi%
-\expandafter\long\expandafter%
-\def\csname GenericWarning \endcsname#1#2{\begingroup\def\MessageBreak{#1}%
- \kbtypeout{}%
- \set@display@protect\kbtypeout{#2\on@line.^^J}\endgroup}
- }%
-\DeclareOption{7b}{\let\ifEightBitOutput\iffalse%
- \let\kbtypeout\typeout%
- \def\dGs{\noexpand\dGs}%
-\ifx\charsubdef\undefined\else%
- \let\charsubdef\undefined%
- %
- \issuemsg[\kbtypeout]{86}(keyboard)[7b]%
-\fi%
- }%
-\DeclareOption{ansi}{\ExecuteOptions{onlychars}}%
-\DeclareOption{onlychars}{\let\ifEightBitOutput\iffalse%
- \kbencoding{ascii}%
- \def\@kbtypeout[#1]#2{%
- \InputIfFileExists{\languagename fc.tex}{}{}%
- \expandafter\def\csname\f@encoding-cmd\endcsname##1{%
- \expandafter\@nobraces\@gobble}%
- \def\@x@protect##1\fi##2##3{\fi\expandafter\@@x@protect\string##1+}%
- \def\noexpand##1{\string##1\@GobbleEmpty}%
- \def\@@x@protect##1##2+{##2}%
- \let\add@accent\@gobble%
- #1{#2\empty}\egroup}}%
-\DeclareOption{nooutputencoding}{\let\kbtypeout\typeout}%
-\def\@lKBo{\edef\f@tempa{\@kbencoding}%
- \let\f@tempg\CurrentOption%
- \ifx\ifEightBitOutput\undefined%
- \ExecuteOptions{7b}%
- \fi%
- \ifx\f@tempa\CurrentOption\else\expandafter%
- \kbencoding\expandafter{\CurrentOption}%
- \fi}%
-\DeclareOption{ascii}{\let\ifEightBitOutput\iffalse%
- \kbencoding{ascii}%
- \let\kb@ansi\relax%
- \def\@kbtypeout[#1]#2{\edef\f@tempa{#2\empty}%
- #1{\f@tempa}\egroup}%
- }%
-\DeclareOption{ansinew}{\@lKBo}%
-\DeclareOption{applemac}{\@lKBo}%
-\DeclareOption{cp850}{\@lKBo}%
-\DeclareOption{decmulti}{\@lKBo}%
-\DeclareOption{default}{\kbencoding{latin9}}%
-\DeclareOption{latin1}{\@lKBo}%
-\DeclareOption{latin9}{\@lKBo}%
-\DeclareOption{next}{\@lKBo}%
-\DeclareOption{noutf8}{%
- \def\@inpenc@test{%
- \issuemsg[\kbtypeout]{78}(keyboard)%
- \stop%
- }%
- }%
-\DeclareOption{utf8}{\@lKBo}%
-\DeclareOption*{\@lKBo}%
-\def\f@tempf{\edef\f@tempd{utf8}%
- \ifx\f@tempd\@kbencoding%
- \else%
- \let\f@tempb\@kbencoding\expandafter%
- \kbencoding\expandafter{\f@tempd}%
- \let\@kbencoding\f@tempb%
- \fi}%
-\def\f@tempe#1/{\f@tempa#1,}
-\def\f@tempa#1,{\def\f@tempd{#1}\edef\f@tempb{noutf8}%
- \def\f@tempc{\ifx\f@tempd\f@tempb\else\expandafter\f@tempf\fi\f@tempa}%
- \ifx\f@tempd\empty\expandafter\@gobble\else\expandafter\f@tempc\fi}%
-\ifx\f@tempg\undefined%
- \expandafter\let\expandafter\f@tempg\csname opt@xxxxxxxxxxxx\endcsname%
-\fi%
-\ifx\f@tempg\empty%
- \ifx\UTFviii@two@octets\undefined%
-\issuemsg[\kbtypeout]{79}(keyboard)%
- \fi%
-\else
-\expandafter\f@tempe\f@tempg,/\relax%
-\fi%
-\InputIfFileExists{keyboard.cfg}{}{}%
-\InputIfFileExists{keyboard.dat}{}{}%
-\ifx\undefined\@kbencoding\ExecuteOptions{default}\fi%
-\ProcessOptions%
-\ProvidesPackage{keyboard}[2005/02/25 keyboard definitions now loaded.]
-\def\@tempa{\ErrFrench}
-\ifx\ifFLA\@tempa%
-\issuemsg[\kbtypeout]{74}(keyboard)%
-\stop%
-\fi%
-\def\@tempa#1{\issuemsg[\kbtypeout]{57}(keyboard)[#1]%
- %
- %
- }%
-\@tempa{V5.4}%
-\endinput%
Deleted: trunk/inputs/keyboard/keyboard.tex
===================================================================
--- trunk/inputs/keyboard/keyboard.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/keyboard.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,20 +0,0 @@
-% keyboard.tex An idea of Bernard Gaulle 1999/12/06
-% Copyright Bernard Gaulle as in french.doc
-%
-% Allow kbconfig to be loaded via keyboard.sty
-% without any option processing nor cfg loading.
-%
-\def\makeatletter{\catcode`\@=11}\makeatletter\catcode`\^^J=12
-\newlinechar=`\^^J
-\def\DeclareOption#1#2{\expandafter\def\csname O@#1\endcsname{#2}}
-\def\@gobblethree#1#2#3{}\let\InputIfFileExists\@gobblethree
-\def\ProcessOptions{%\csname O@default\endcsname% default encoding
-%\csname O@8b\endcsname% <== uncomment if you choose here an option.
- \input keyboard.dat%
- }
-\def\ProvidesPackage#1[#2]{}
-\ifx\encodingdefault\undefined\def\f@encoding{OT1}
-\else\let\f@encoding\encodingdefault
-\fi
-\input keyboard.sty
-\endinput
Deleted: trunk/inputs/keyboard/latin1.kbc
===================================================================
--- trunk/inputs/keyboard/latin1.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/latin1.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,179 +0,0 @@
-% latin1.kbc for ISO-Latin-1 (8859-1) An idea of Bernard Gaulle 92/04/21
-% last mods: 2004/06/23
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier (Latin-1) -------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \xE8 | \xE9 | \xEB | \xEA | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xC8 | \xC9 | \xCB | \xCA | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \xF6 | \xF4 | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \xD6 | \xD4 | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \xF9 | . | \xFC | \xFB | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xD9 | . | \xDC | \xDB | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEtrue
-[y | . | . | \xFF | . | . | . | . | . |% y trema
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-\ACTIVEfalse
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres actifs)
- \MACROtrue%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xE6 | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xC6 | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \xF8 | . | . |% o scandinave
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \xD8 | . | . |%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
- \MACROfalse%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xBF | . | . |% ? espagnol
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xAB | . | . |% ouvrants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xBB | . | . |% fermants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xB0 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xDF | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}}
- | . | . | . | . | . | \xA9 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xB6 | . | . |% "pilcrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA7 | . | . |% "section"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\def\diviser{\ESC\bgroup\ESC\ifmmode\ESC\div\ESC%
- \else\ESC\string /\ESC\fi\ESC\egroup} %
-[{\diviser}
- | . | . | . | . | . | \xF7 | . | . |% divide
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\def\multiplier{\ESC\bgroup\ESC\ifmmode\ESC\times\ESC%
- \else\ESC\string *\ESC\fi\ESC\egroup} %
-[{\multiplier}
- | . | . | . | . | . | \xD7 | . | . |% multiply
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Les ligatures oe et OE n'existent pas dans iso-latin-1, voir latin-9.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-\endinput
Deleted: trunk/inputs/keyboard/latin9.kbc
===================================================================
--- trunk/inputs/keyboard/latin9.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/latin9.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,190 +0,0 @@
-% latin9.kbc for ISO/CEI 8859-15 An idea of Bernard Gaulle 92/04/21
-% last mods: 2004/06/23
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier (Latin-9) -------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \xE8 | \xE9 | \xEB | \xEA | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xC8 | \xC9 | \xCB | \xCA | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \xF6 | \xF4 | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \xD6 | \xD4 | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \xF9 | . | \xFC | \xFB | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xD9 | . | \xDC | \xDB | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres non Cork doivent etre actifs)
-%------------------------------------------------------------------------------
-[y | . | . | \xFF | . | . | . | . | . |% y trema
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
-[Y | . | . | \xBE | . | . | . | . | . |% Y trema
- \hex| . | . | ^^98 | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
- \MACROtrue% depuis LaTeX2e
-%------------------------------------------------------------------------------
-[{\oe{}}
- | . | . | . | . | . | \xBD | . | . |% e dans l'o
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE{}}
- | . | . | . | . | . | \xBC | . | . |% E dans l'O
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xE6 | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xC6 | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \xF8 | . | . |% o scandinave
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \xD8 | . | . |%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
-%------------------------------------------------------------------------------
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xBF | . | . |% ? espagnol
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xAB | . | . |% ouvrants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xBB | . | . |% fermants
- \hex| . | . | . | . | . | . | . | . ]% francais
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xB0 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\csname texteuro\endcsname} %
- | . | . | . | . | . | \xA4 | . | . |% euro
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |% currency
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xDF | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}}
- | . | . | . | . | . | \xA9 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xB6 | . | . |% "pilcrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA7 | . | . |% "section"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\gdef\diviser{\ESC\bgroup\ESC\ifmmode\ESC\div\ESC% %
- \else\ESC\string /\ESC\fi\ESC\egroup}%
-[{\diviser}
- | . | . | . | . | . | \xF7 | . | . |% divide
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\gdef\multiplier{\ESC\bgroup\ESC\ifmmode\ESC\times\ESC% %
- \else\ESC\string *\ESC\fi\ESC\egroup}%
-[{\multiplier}
- | . | . | . | . | . | \xD7 | . | . |% multiply
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/next.kbc
===================================================================
--- trunk/inputs/keyboard/next.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/next.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,162 +0,0 @@
-% next.kbc for next keyboards An idea of Bernard Gaulle 92/04/21
-% last mods: 2004/06/23
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Next ------------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xD5 | . | \xD9 | \xD7 | . | . | . | \xDA |% no \'a in f.
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \x81 | . | \x85 | \x83 | . | . | . | \x86 |% no \'A in f.
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \xDC | \xDD | \xDF | \xDE | . | . | . | . |%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \x88 | \x89 | \x8B | \x8A | . | . | . | . |%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \xE5 | \xE4 | . | . | . | . |% no \`i \'i
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \x8F | \x8E | . | . | . | . |% no \`I \'I
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \xF0 | \xEE | . | . | . | . |% no \`o \'o
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \x96 | \x94 | . | . | . | . |% no \`O \'O
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \xF2 | . | \xF6 | \xF4 | . | . | . | . |% no \'u
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \x97 | . | \x9A | \x99 | . | . | . | . |% pas de \'U
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-%[y | . | . | \xFF | . | . | . | . | . |% y trema
-% \hex| . | . | ^^b8 | . | . | . | . | . ]%
-%[Y | . | . | \x8D | . | . | . | . | . |% Y trema
-% \hex| . | . | ^^98 | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xDB | . | . | . |% c cedille
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \x87 | . | . | . |% C cedille
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres actifs)
- \MACROtrue% depuis LaTeX2e
-[{\oe{}}
- | . | . | . | . | . | \xFA | . | . |% e dans l'o
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE{}}
- | . | . | . | . | . | \xEA | . | . |% E dans l'O
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xF1 | . | . |% e dans l'a
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xE1 | . | . |% E dans l'A
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-%[{\o{}}
-% | . | . | . | . | . | \xF8 | . | . |% o scandinave
-% \hex| . | . | . | . | . | ^^f8 | . | . ]%
-%[{\O{}}
-% | . | . | . | . | . | \xD8 | . | . |%
-% \hex| . | . | . | . | . | ^^d8 | . | . ]%
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%[{!`} | . | . | . | . | . | \xBD | . | . |% ! espagnol
-% \hex| . | . | . | . | . | ^^bd | . | . ]%
-%[. | . | . | . | . | . | . | . | . |%
-% \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-%[{?`} | . | . | . | . | . | \xBE | . | . |% ? espagnol
-% \hex| . | . | . | . | . | ^^be | . | . ]%
-%[. | . | . | . | . | . | . | . | . |%
-% \hex| . | . | . | . | . | . | . | . ]%
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-%[{\guillemotleft\dGs} % % guillemets
-% | . | . | . | . | . | \xAB | . | . |% ouvrants
-% \hex| . | . | . | . | . | . | . | . ]% francais
-%[. | . | . | . | . | . | . | . | . |%
-% \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-%[{\guillemotright{}} % % guillemets
-% | . | . | . | . | . | \xBB | . | . |% fermants
-% \hex| . | . | . | . | . | . | . | . ]% francais
-%[. | . | . | . | . | . | . | . | . |%
-% \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xB0 | . | . |% degre
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xFB | . | . |% es-zet
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS} | . | . | . | . | . | {{SS}} | . | . |%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}} % alignement not expandable.
- | . | . | . | . | . | \xA0 | . | . |% copyright
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xB6 | . | . |% "pilcrow"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA7 | . | . |% "section"
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/qwerty.kbc
===================================================================
--- trunk/inputs/keyboard/qwerty.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/qwerty.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,31 +0,0 @@
-% qwerty.kbc or alike for 7bit An idea of Bernard Gaulle 92/04/21
-% last mods: 2005/01/28
-%
-% Usually english/us/.. use qwerty keyboard that don't have any accented
-% letter. So, this file is used whenever any encoding is requested in english.
-%
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-%
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is a way to customize your (La)TeX accordingly with your keyboard.
-% First line for lower caps and second for their hexa. codes in ec/dc fonts
-% third line for upper caps and fourth for " " " " " "
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues de mon clavier Latin-1 ---------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-% I have no diacritics with qwerty like keyboard
-\typeout{-77- No \@kbencoding\space characters defined for English.}%
-%------------------------------------------------------------------------------
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/inputs/keyboard/utf8.kbc
===================================================================
--- trunk/inputs/keyboard/utf8.kbc 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/inputs/keyboard/utf8.kbc 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,239 +0,0 @@
-% utf8.kbc for utf8 part of unicode An idea of Bernard Gaulle 2003/06/05
-% last mods: 2005/12/25
-% Copyright Bernard Gaulle as in french.doc
-% (you are allowed instead to modifiy it
-% and give it another name)
-% 8bits binary file!
-% (is called by kbconfig.tex before patterns loading at INITEX time)
-% (might be called at any time by the keyboard package)
-% (might be called at any time by kb2lex.tex to produce .lex files)
-%
-% This is an internal mapping (targeting EC) addon to allow utf8 input with
-% (La)TeX; you can add your own macro codes in relation with the key you want.
-% First line for lower caps and second for their ucs code.
-% Third for their hexa. codes in T1 fonts.
-% Fourth line begins upper caps and fift gives their ucs code.
-% Sixth provides for their hexa. codes in T1 fontrs.
-% A dot is inserted in any non-applicable case.
-%
-% Check keyboard.dat and the documentation for more informations.
-%
-%------ Tableau des caracteres accentues (Latin-9 ==> utf-8 [ucs]) ------------
-% \_______________________________________________________/
-% |___1__|___2__|___3__|___4__|___5__|___6__|___7__|___8__|%%%%%comments%%
- \ac[ \` | \' | \" | \^ | {\c} | {} | {} | {\r} ]%<== acc.7 bits
-%------------------------------------------------------------------------------
-[a | \xE0 | . | \xE4 | \xE2 | . | . | . | \xE5 |% no \'a in f.
- \ucs| 00E0 | . | 00E4 | 00E2 | . | . | . | 00E5 ]%
- \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem
-[A | \xC0 | . | \xC4 | \xC2 | . | . | . | \xC5 |% no \'A in f.
- \ucs| 00C0 | . | 00C4 | 00C2 | . | . | . | 00C5 ]%
- \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]%
-%------------------------------------------------------------------------------
-[e | \xE8 | \xE9 | \xEB | \xEA | . | . | . | . |%
- \ucs| 00E8 | 00E9 | 00EB | 00EA | . | . | . | . ]%
- \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]%
-[E | \xC8 | \xC9 | \xCB | \xCA | . | . | . | . |%
- \ucs| 00C8 | 00C9 | 00CB | 00CA | . | . | . | . ]%
- \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\i{}}
- | . | . | \xEF | \xEE | . | . | . | . |% no \`i \'i
- \ucs| . | . | 00EF | 00EE | . | . | . | . ]%
- \hex| . | . | ^^ef | ^^ee | . | . | . | . ]%
-[{\I{}}
- | . | . | \xCF | \xCE | . | . | . | . |% no \`I \'I
- \ucs| . | . | 00CF | 00CE | . | . | . | . ]%
- \hex| . | . | ^^cf | ^^ce | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[o | . | . | \xF6 | \xF4 | . | . | . | . |% no \`o \'o
- \ucs| . | . | 00F6 | 00F4 | . | . | . | . ]%
- \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]%
-[O | . | . | \xD6 | \xD4 | . | . | . | . |% no \`O \'O
- \ucs| . | . | 00D6 | 00D4 | . | . | . | . ]%
- \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[u | \xF9 | . | \xFC | \xFB | . | . | . | . |% no \'u
- \ucs| 00F9 | . | 00FC | 00FB | . | . | . | . ]%
- \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]%
-[U | \xD9 | . | \xDC | \xDB | . | . | . | . |% pas de \'U
- \ucs| 00D9 | . | 00DC | 00DB | . | . | . | . ]%
- \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[c | . | . | . | . | \xE7 | . | . | . |% c cedille
- \ucs| . | . | . | . | 00E7 | . | . | . ]%
- \hex| . | . | . | . | ^^e7 | . | . | . ]%
-[C | . | . | . | . | \xC7 | . | . | . |% C cedille
- \ucs| . | . | . | . | 00C7 | . | . | . ]%
- \hex| . | . | . | . | ^^c7 | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEtrue% necessaire en T1 (caracteres non Cork doivent etre actifs)
-%------------------------------------------------------------------------------
-[y | . | . | \xFF | . | . | . | . | . |% y trema
- \ucs| . | . | 00FF | . | . | . | . | . ]%
- \hex| . | . | ^^b8 | . | . | . | . | . ]%
-[Y | . | . | \xBE | . | . | . | . | . |% Y trema
- \ucs| . | . | 0178 | . | . | . | . | . ]%
- \hex| . | . | ^^98 | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont des \chardef (cad 1 car de fonte)
-% A noter que depuis LaTeX2e ce ne sont plus des \chardef mais des macros.
-%------------------------------------------------------------------------------
- \MACROtrue% depuis LaTeX2e
-%------------------------------------------------------------------------------
-[{\oe{}}
- | . | . | . | . | . | \xBD | . | . |% e dans l'o
- \ucs| . | . | . | . | . | 0153 | . | . ]%
- \hex| . | . | . | . | . | ^^f7 | . | . ]%
-[{\OE{}}
- | . | . | . | . | . | \xBC | . | . |% E dans l'O
- \ucs| . | . | . | . | . | 0152 | . | . ]%
- \hex| . | . | . | . | . | ^^d7 | . | . ]%
-%------------------------------------------------------------------------------
-[{\ae{}}
- | . | . | . | . | . | \xE6 | . | . |% e dans l'a
- \ucs| . | . | . | . | . | 00E6 | . | . ]%
- \hex| . | . | . | . | . | ^^e6 | . | . ]%
-[{\AE{}}
- | . | . | . | . | . | \xC6 | . | . |% E dans l'A
- \ucs| . | . | . | . | . | 00C6 | . | . ]%
- \hex| . | . | . | . | . | ^^c6 | . | . ]%
-%------------------------------------------------------------------------------
-[{\o{}}
- | . | . | . | . | . | \xF8 | . | . |% o scandinave
- \ucs| . | . | . | . | . | 00F8 | . | . ]%
- \hex| . | . | . | . | . | ^^f8 | . | . ]%
-[{\O{}}
- | . | . | . | . | . | \xD8 | . | . |%
- \ucs| . | . | . | . | . | 00D8 | . | . ]%
- \hex| . | . | . | . | . | ^^d8 | . | . ]%
-%------------------------------------------------------------------------------
- \MACROfalse% depuis LaTeX2e
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des ligatures
-% (ne pas en rajouter)
-%------------------------------------------------------------------------------
- \LIGStrue
-%------------------------------------------------------------------------------
-[{!`} | . | . | . | . | . | \xA1 | . | . |% ! espagnol
- \ucs| . | . | . | . | . | 00A1 | . | . ]%
- \hex| . | . | . | . | . | ^^bd | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{?`} | . | . | . | . | . | \xBF | . | . |% ? espagnol
- \ucs| . | . | . | . | . | 00BF | . | . ]%
- \hex| . | . | . | . | . | ^^be | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
- \LIGSfalse
-%------------------------------------------------------------------------------
-% Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions
-%------------------------------------------------------------------------------
- \MACROtrue
-%------------------------------------------------------------------------------
-[{\guillemotleft\dGs} % % guillemets
- | . | . | . | . | . | \xAB | . | . |% ouvrants
- \ucs| . | . | . | . | . | 00AB | . | . ]% francais
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\guillemotright{}} % % guillemets
- | . | . | . | . | . | \xBB | . | . |% fermants
- \ucs| . | . | . | . | . | 00BB | . | . ]% francais
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\r{}} %
- | . | . | . | . | . | \xB0 | . | . |% degre
- \ucs| . | . | . | . | . | 00BA | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\csname texteuro\endcsname} %
- | . | . | . | . | . | \xA4 | . | . |% euro
- \ucs| . | . | . | . | . | 20AC | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |% currency
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-% Ci-dessous des macro-caracteres speciaux qui peuvent etre
-% des caracteres mathematiques.
-%------------------------------------------------------------------------------
-[{\ss{}}
- | . | . | . | . | . | \xDF | . | . |% es-zet
- \ucs| . | . | . | . | . | 00DF | . | . ]%
- \hex| . | . | . | . | . | ^^ff | . | . ]%
-% obviously kb7to8 will not contain target {{SS}}
-[{\SS{}}
- | . | . | . | . | . | {{SS}} | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | ^^df | . | . ]%
-%------------------------------------------------------------------------------
-[{\pounds{}}
- | . | . | . | . | . | \xA3 | . | . |%sterling pound
- \ucs| . | . | . | . | . | 00A3 | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\copyright{}}
- | . | . | . | . | . | \xA9 | . | . |% copyright
- \ucs| . | . | . | . | . | 00A9 | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\P{}}
- | . | . | . | . | . | \xB6 | . | . |% "pilcrow"
- \ucs| . | . | . | . | . | 00B6 | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-[{\S{}}
- | . | . | . | . | . | \xA7 | . | . |% "section"
- \ucs| . | . | . | . | . | 00A7 | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\gdef\diviser{\ESC\bgroup\ESC\ifmmode\ESC\div\ESC% %
- \else\ESC\string /\ESC\fi\ESC\egroup}%
-[{\diviser}
- | . | . | . | . | . | \xF7 | . | . |% divide
- \ucs| . | . | . | . | . | 00F7 | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\gdef\multiplier{\ESC\bgroup\ESC\ifmmode\ESC\times\ESC% %
- \else\ESC\string *\ESC\fi\ESC\egroup}%
-[{\multiplier}
- | . | . | . | . | . | \xD7 | . | . |% multiply
- \ucs| . | . | . | . | . | 00D7 | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-[. | . | . | . | . | . | . | . | . |%
- \ucs| . | . | . | . | . | . | . | . ]%
- \hex| . | . | . | . | . | . | . | . ]%
-%------------------------------------------------------------------------------
-\ACTIVEfalse% fin du jeu hors standard
- \MACROfalse% fin du jeu de macros-instructions
-\global\let\flowercase\lowercaseORI% we don't have any \lowercase patch.
-\endinput
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/kb2lex.tex
===================================================================
--- trunk/kb2lex.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/kb2lex.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,141 +0,0 @@
-% kb2lex.tex An idea of Bernard Gaulle 92/19/07
-% V3.1 of 2006/11/06
-% Copyright Bernard Gaulle as in french.doc
-%
-% Running this code will produce two files: kbtex7a8.lex and kbtex8a7.lex
-% These files are the result of the understanding of xxx.kbc in which
-% the user has specified the special 8-bit characters he is using via
-% his own keyboard. "xxx" is generally provided by the file keyboard.dat.
-% A document typed in with this encoding can't be send
-% to anyone else except people having exactly the same keyboard.
-% kb2lex is a way to produce programs that will allow to translate .tex
-% files from 8-bit to single 7-bit ASCII standard that everyone normally
-% is able to use.
-%
-% Of course you need the (Unix) pgm "lex" to generate the appropriate pgms.
-% But if you don't have it, I've given in this directory kbtex7a8.c and
-% kb8a7.c that were produced on my machine with the default keyboard.dat.
-%
-% 1- Configurate your keyboard.dat to your input encoding ("xxx").
-% You can create your own keyboard.dat and even define new a xxx.kbc file.
-% 2- TeX or LaTeX this file (with any TeX V3.14xxx engine)
-% if not OK go back to 1- for corrections (notice that it must run
-% with the distributed keyboard.dat)
-% All processed characters are displayed to your screen (and in the .log
-% file). Check if no character is displayed in TeX hexadecimal format
-% (^^xx). In which case, you must be aware that these will never be
-% converted to 7-bit. Since you can't display it as usual on your screen
-% and probably you can't also input it asis, you should chose to delete
-% them from xxx.kbc. Do it and rerun this step.
-% 3- Type in:
-% (as i type in Unix but may need to be adapted...)
-% lex -v kb8to7.lex;cc -o kb8to7 lex.yy.c -ll
-% and: lex -v kb7to8.lex;cc -o kb7to8 lex.yy.c -ll;rm lex.yy.c
-% (if any pb on your platform try flex instead of lex)
-% 4- Test kb7to8 and kb8to7 to your modified kbto.tex file:
-% kb7to8 <kbto.tex
-% kb8to7 <kbto.tex
-% 5- Copy the pgms kb8to7 and kb7to8
-% in a public (/local/bin) directory so they will be available for
-% everybody.
-%
-%%
-%% checksum = "36341 141 732 6638"
-%%
-\def\languagename{french}% to allow loading french.*.kbc/french.keyboard.dat
-\global\newlinechar`\^^J%
-\newif\ifLEX\LEXtrue
-\let\ifLEXhic\iftrue% for any debugging
-\newwrite\kbseven\immediate\openout\kbseven=kb8to7.lex
-\newwrite\kbeight\immediate\openout\kbeight=kb7to8.lex
-{\catcode`\%=11
-\immediate\write\kbseven{%% /* kb8to7.lex converts my 8-bit TeX documents
- to a standard 7-bit ASCII */}
-\immediate\write\kbeight{%% /* kb7to8.lex converts std 7-bit ASCII TeX
- documents to my prefered 8-bit */}
-}
-\let\protect\empty% nothing need to be protect in the output
- \def\tempfmt{lplain}%
- \ifx\fmtname\tempfmt\else\def\tempfmt{LaTeX2e}\fi%
-\catcode`\@=11
- \ifx\fmtname\tempfmt% case LaTeX
-\documentclass[titlepage]{article}
-\IfFileExists{msg-msg.tex}{%
-\usepackage[tracefiles]{msg}%
- }{\let\kbAissue\relax}%
-%\usepackage[T1]{fontenc}% L'encodage ne devrait rien changer.
-%\usepackage[frenchle]{babel}% Will enter in an infinite loop!
-%\usepackage{keyboard}% see below
-\nofiles
-\begin{document}
- \let\messag@\@gobble%
-% For debugging one can remove "msg" access, just uncomment
-%\let\kbAissue\relax% this line.
- \ifx\kbAissue\undefined%
-% Firstly we add the material to use the "msg" package for localization.
-% (but don't use "msg" inside "msg").
- \def\kb@issue#1#2{\kb@issue@[#1]#2\void}% The local \issuemsg macro.
- % which will call the real one;
- % #1 is the macro message required.
- % #2 is the message header + msg number
- % such as "^^J -234-", just message
- % number (234) is kept.
- \def\kb@issue@[#1]#2-#3-#4\void{\issuemsg[#1]#3(keyboard)}%
- \let\kbAissue\kb@issue%
- \else\let\kbAissue\relax\let\messag@\message% Avoid second level loop.
-%%% \@tempc%
- \fi%
- \else% This is Plain
- \let\kbAissue\relax\let\messag@\message%
- \fi% LaTeX case
-\kbAissue%
-\message{^^J -40- Writing kb8to7.lex and kb7to8.lex}
-\ifx\@@input\undefined\let\@@input\input\fi%
-% (Re)define \kbencoding to force loading of kbconfig.tex
-\def\kbencoding#1{\let\@prevkbencoding\relax%
- \def\@kbencoding{#1}\@@input kbconfig.tex %
- }%
-\catcode`@=11%
-%%%% Check if we can output 8bit without translation to ^^codes
-\def\@tempc{\ifEightBitOutput\else%
-\kbAissue%
-\message{^^J -47- i must stop because your TeX engine is unable to
- generate 8bit output codes, sorry!}
-\fi%
-\stop}
-\ifx\EightBitOuputfalse\undefined\else\expandafter\@tempc\fi%
-\global\let\@tempc=\undefined% so if someone use it...
-%
-\let\kbAissueORI\kbAissue%
-\input keyboard.dat % load kbconfig directly.
-\let\ifLEX\iffalse%
-\let\kbAissue\kbAissueORI%
-\let\@kb@msgXXIX\relax%
-\kbAissue%
-\message{-33- CHECK the list for hexadecimal TeX codes you can't display}
-\messag@{ and decide if they must be eliminated from \@kbencoding.kbc}
-\messag@{ assuming your ''locale'' settings are okay on your system.}
-% Thanks to Denis Barbier for the following (thus removing main.patchlex):
-\begingroup\catcode`\%=11
-\catcode`\{=11 \catcode`\}=11
-\catcode`\[=1 \catcode`\]=2
-\catcode`\#=12
-\immediate\write\kbseven[%%]
-\immediate\write\kbseven[#ifndef yywrap]
-\immediate\write\kbseven[int yywrap () { return 1; }]
-\immediate\write\kbseven[#endif]
-\immediate\write\kbseven[int main() { return yylex(); }]
-\immediate\write\kbeight[%%]
-\immediate\write\kbeight[#ifndef yywrap]
-\immediate\write\kbeight[int yywrap () { return 1; }]
-\immediate\write\kbeight[#endif]
-\immediate\write\kbeight[int main() { return yylex(); }]
-\endgroup
-%
-\gdef\folio{}%
- \ifx\fmtname\tempfmt\def\tempa
-{\end{document}}% LaTeX end
- \else\def\tempa{\csname bye\endcsname}
- \fi\tempa%
-\endinput%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/kb7to8.c
===================================================================
--- trunk/kb7to8.c 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/kb7to8.c 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,1981 +0,0 @@
-/* A lexical scanner generated by flex */
-
-/* Scanner skeleton version:
- * $Header: /cvs/root/flex/flex/skel.c,v 1.2 2004/05/07 00:28:17 jkh Exp $
- */
-
-#define FLEX_SCANNER
-#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 5
-
-#include <stdio.h>
-
-
-/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
-#ifdef c_plusplus
-#ifndef __cplusplus
-#define __cplusplus
-#endif
-#endif
-
-
-#ifdef __cplusplus
-
-#include <stdlib.h>
-#include <unistd.h>
-
-/* Use prototypes in function declarations. */
-#define YY_USE_PROTOS
-
-/* The "const" storage-class-modifier is valid. */
-#define YY_USE_CONST
-
-#else /* ! __cplusplus */
-
-#if __STDC__
-
-#define YY_USE_PROTOS
-#define YY_USE_CONST
-
-#endif /* __STDC__ */
-#endif /* ! __cplusplus */
-
-#ifdef __TURBOC__
- #pragma warn -rch
- #pragma warn -use
-#include <io.h>
-#include <stdlib.h>
-#define YY_USE_CONST
-#define YY_USE_PROTOS
-#endif
-
-#ifdef YY_USE_CONST
-#define yyconst const
-#else
-#define yyconst
-#endif
-
-
-#ifdef YY_USE_PROTOS
-#define YY_PROTO(proto) proto
-#else
-#define YY_PROTO(proto) ()
-#endif
-
-/* Returned upon end-of-file. */
-#define YY_NULL 0
-
-/* Promotes a possibly negative, possibly signed char to an unsigned
- * integer for use as an array index. If the signed char is negative,
- * we want to instead treat it as an 8-bit unsigned char, hence the
- * double cast.
- */
-#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-
-/* Enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN.
- */
-#define BEGIN yy_start = 1 + 2 *
-
-/* Translate the current start state into a value that can be later handed
- * to BEGIN to return to the state. The YYSTATE alias is for lex
- * compatibility.
- */
-#define YY_START ((yy_start - 1) / 2)
-#define YYSTATE YY_START
-
-/* Action number for EOF rule of a given start state. */
-#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-
-/* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yyrestart( yyin )
-
-#define YY_END_OF_BUFFER_CHAR 0
-
-/* Size of default input buffer. */
-#define YY_BUF_SIZE 16384
-
-typedef struct yy_buffer_state *YY_BUFFER_STATE;
-
-extern int yyleng;
-extern FILE *yyin, *yyout;
-
-#define EOB_ACT_CONTINUE_SCAN 0
-#define EOB_ACT_END_OF_FILE 1
-#define EOB_ACT_LAST_MATCH 2
-
-/* The funky do-while in the following #define is used to turn the definition
- * int a single C statement (which needs a semi-colon terminator). This
- * avoids problems with code like:
- *
- * if ( condition_holds )
- * yyless( 5 );
- * else
- * do_something_else();
- *
- * Prior to using the do-while the compiler would get upset at the
- * "else" because it interpreted the "if" statement as being all
- * done when it reached the ';' after the yyless() call.
- */
-
-/* Return all but the first 'n' matched characters back to the input stream. */
-
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- *yy_cp = yy_hold_char; \
- YY_RESTORE_YY_MORE_OFFSET \
- yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
- YY_DO_BEFORE_ACTION; /* set up yytext again */ \
- } \
- while ( 0 )
-
-#define unput(c) yyunput( c, yytext_ptr )
-
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-typedef unsigned int yy_size_t;
-
-
-struct yy_buffer_state
- {
- FILE *yy_input_file;
-
- char *yy_ch_buf; /* input buffer */
- char *yy_buf_pos; /* current position in input buffer */
-
- /* Size of input buffer in bytes, not including room for EOB
- * characters.
- */
- yy_size_t yy_buf_size;
-
- /* Number of characters read into yy_ch_buf, not including EOB
- * characters.
- */
- int yy_n_chars;
-
- /* Whether we "own" the buffer - i.e., we know we created it,
- * and can realloc() it to grow it, and should free() it to
- * delete it.
- */
- int yy_is_our_buffer;
-
- /* Whether this is an "interactive" input source; if so, and
- * if we're using stdio for input, then we want to use getc()
- * instead of fread(), to make sure we stop fetching input after
- * each newline.
- */
- int yy_is_interactive;
-
- /* Whether we're considered to be at the beginning of a line.
- * If so, '^' rules will be active on the next match, otherwise
- * not.
- */
- int yy_at_bol;
-
- /* Whether to try to fill the input buffer when we reach the
- * end of it.
- */
- int yy_fill_buffer;
-
- int yy_buffer_status;
-#define YY_BUFFER_NEW 0
-#define YY_BUFFER_NORMAL 1
- /* When an EOF's been seen but there's still some text to process
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
- * shouldn't try reading from the input source any more. We might
- * still have a bunch of tokens to match, though, because of
- * possible backing-up.
- *
- * When we actually see the EOF, we change the status to "new"
- * (via yyrestart()), so that the user can continue scanning by
- * just pointing yyin at a new input file.
- */
-#define YY_BUFFER_EOF_PENDING 2
- };
-
-static YY_BUFFER_STATE yy_current_buffer = 0;
-
-/* We provide macros for accessing buffer states in case in the
- * future we want to put the buffer states in a more general
- * "scanner state".
- */
-#define YY_CURRENT_BUFFER yy_current_buffer
-
-
-/* yy_hold_char holds the character lost when yytext is formed. */
-static char yy_hold_char;
-
-static int yy_n_chars; /* number of characters read into yy_ch_buf */
-
-
-int yyleng;
-
-/* Points to current character in buffer. */
-static char *yy_c_buf_p = (char *) 0;
-static int yy_init = 1; /* whether we need to initialize */
-static int yy_start = 0; /* start state number */
-
-/* Flag which is used to allow yywrap()'s to do buffer switches
- * instead of setting up a fresh yyin. A bit of a hack ...
- */
-static int yy_did_buffer_switch_on_eof;
-
-void yyrestart YY_PROTO(( FILE *input_file ));
-
-void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
-void yy_load_buffer_state YY_PROTO(( void ));
-YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
-void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
-void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
-
-YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
-YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
-YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
-
-static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
-static void yy_flex_free YY_PROTO(( void * ));
-
-#define yy_new_buffer yy_create_buffer
-
-#define yy_set_interactive(is_interactive) \
- { \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_is_interactive = is_interactive; \
- }
-
-#define yy_set_bol(at_bol) \
- { \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_at_bol = at_bol; \
- }
-
-#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
-
-typedef unsigned char YY_CHAR;
-FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
-typedef int yy_state_type;
-extern char *yytext;
-#define yytext_ptr yytext
-
-static yy_state_type yy_get_previous_state YY_PROTO(( void ));
-static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
-static int yy_get_next_buffer YY_PROTO(( void ));
-static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
-
-/* Done after the current pattern has been matched and before the
- * corresponding action - sets up yytext.
- */
-#define YY_DO_BEFORE_ACTION \
- yytext_ptr = yy_bp; \
- yyleng = (int) (yy_cp - yy_bp); \
- yy_hold_char = *yy_cp; \
- *yy_cp = '\0'; \
- yy_c_buf_p = yy_cp;
-
-#define YY_NUM_RULES 54
-#define YY_END_OF_BUFFER 55
-static yyconst short int yy_accept[319] =
- { 0,
- 0, 0, 55, 54, 54, 54, 54, 54, 54, 54,
- 41, 48, 46, 51, 49, 43, 45, 50, 44, 36,
- 35, 34, 42, 2, 6, 4, 8, 38, 32, 10,
- 12, 16, 14, 20, 18, 24, 22, 53, 40, 26,
- 30, 28, 47, 1, 5, 3, 7, 37, 31, 9,
- 11, 15, 13, 19, 17, 23, 21, 52, 39, 25,
- 29, 27, 33, 41, 43, 44, 42, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 4, 14, 22, 28, 34, 0,
- 3, 13, 21, 27, 33, 0, 12, 11, 0, 0,
-
- 40, 0, 0, 50, 0, 51, 0, 6, 16, 24,
- 30, 0, 5, 15, 23, 29, 0, 2, 10, 26,
- 1, 9, 25, 0, 0, 0, 0, 0, 0, 39,
- 0, 0, 0, 45, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 18, 17, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 38, 0, 36, 0, 20, 19, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 37, 0, 0, 32, 31, 0, 0,
- 0, 35, 0, 0, 8, 7, 0, 0, 45, 47,
-
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 48, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 46, 0, 0, 0, 0, 49, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 52, 0, 0, 53, 0
- } ;
-
-static yyconst int yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 2, 3, 4, 1, 1, 1, 1, 5, 1,
- 1, 6, 1, 1, 1, 1, 7, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 8,
- 1, 9, 10, 1, 11, 1, 12, 1, 13, 1,
- 1, 1, 14, 1, 1, 1, 1, 1, 15, 16,
- 1, 1, 17, 1, 18, 1, 1, 1, 19, 1,
- 1, 20, 1, 21, 1, 22, 23, 24, 25, 26,
-
- 27, 28, 29, 30, 31, 1, 1, 32, 33, 34,
- 35, 36, 1, 37, 38, 39, 40, 41, 1, 42,
- 43, 1, 44, 1, 45, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 46, 1, 47, 48, 1, 1, 49, 1, 50, 1,
- 51, 1, 1, 1, 1, 52, 1, 1, 1, 1,
- 1, 53, 1, 1, 1, 1, 54, 55, 56, 57,
- 58, 59, 1, 60, 1, 61, 62, 63, 64, 65,
-
- 66, 67, 68, 1, 1, 69, 70, 1, 1, 1,
- 1, 71, 1, 72, 73, 74, 75, 1, 76, 77,
- 1, 1, 78, 79, 1, 80, 1, 81, 82, 83,
- 84, 85, 86, 87, 88, 1, 1, 89, 90, 1,
- 1, 1, 1, 91, 1, 92, 93, 94, 95, 1,
- 96, 97, 1, 1, 98
- } ;
-
-static yyconst int yy_meta[99] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1
-
- } ;
-
-static yyconst short int yy_base[319] =
- { 0,
- 0, 0, 411, 412, 388, 401, 399, 385, 95, 386,
- 412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
- 412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
- 412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
- 412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
- 412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
- 412, 412, 412, 412, 412, 412, 412, 124, 94, 392,
- 101, 102, 106, 142, 143, 377, 374, 146, 147, 367,
- 127, 363, 373, 177, 412, 412, 412, 412, 412, 91,
- 412, 412, 412, 412, 412, 206, 412, 412, 88, 134,
-
- 412, 161, 354, 412, 353, 412, 352, 412, 412, 412,
- 412, 95, 412, 412, 412, 412, 217, 412, 412, 412,
- 412, 412, 412, 232, 170, 359, 115, 359, 116, 412,
- 174, 349, 353, 102, 162, 178, 350, 378, 139, 345,
- 344, 361, 352, 152, 351, 347, 357, 412, 412, 338,
- 337, 336, 335, 334, 144, 333, 332, 331, 330, 329,
- 328, 327, 412, 326, 412, 325, 412, 412, 324, 323,
- 322, 321, 175, 320, 319, 318, 317, 316, 315, 314,
- 313, 312, 311, 412, 310, 319, 412, 412, 310, 307,
- 306, 412, 305, 315, 412, 412, 303, 302, 412, 412,
-
- 301, 306, 299, 298, 297, 305, 295, 299, 293, 295,
- 291, 290, 289, 288, 292, 294, 304, 302, 285, 293,
- 287, 289, 293, 285, 282, 284, 294, 292, 298, 288,
- 194, 279, 284, 276, 273, 281, 281, 412, 265, 274,
- 279, 262, 269, 277, 265, 207, 273, 267, 268, 209,
- 412, 255, 260, 253, 264, 412, 251, 250, 259, 267,
- 265, 271, 169, 259, 258, 247, 254, 266, 258, 257,
- 245, 250, 261, 242, 252, 251, 245, 256, 237, 236,
- 246, 232, 250, 232, 230, 236, 227, 231, 227, 234,
- 231, 254, 226, 238, 227, 226, 242, 216, 222, 219,
-
- 208, 207, 200, 198, 203, 183, 183, 169, 174, 161,
- 162, 162, 89, 412, 83, 66, 412, 412
- } ;
-
-static yyconst short int yy_def[319] =
- { 0,
- 318, 1, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
-
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
-
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
-
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 0
- } ;
-
-static yyconst short int yy_nxt[511] =
- { 0,
- 4, 4, 5, 4, 4, 4, 4, 6, 7, 8,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 9,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 10, 4, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
- 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
- 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
- 56, 57, 58, 59, 60, 61, 62, 63, 68, 69,
-
- 161, 317, 101, 104, 148, 70, 97, 106, 167, 71,
- 72, 73, 195, 102, 162, 74, 75, 76, 77, 78,
- 98, 149, 316, 315, 196, 168, 187, 190, 134, 79,
- 80, 81, 82, 83, 85, 163, 86, 99, 87, 188,
- 191, 88, 89, 90, 103, 105, 91, 127, 130, 107,
- 92, 204, 108, 118, 109, 119, 110, 211, 93, 111,
- 120, 112, 165, 94, 113, 121, 95, 96, 114, 122,
- 135, 184, 197, 131, 212, 192, 115, 164, 207, 200,
- 128, 116, 123, 101, 198, 117, 124, 138, 213, 129,
- 132, 139, 140, 141, 264, 238, 130, 314, 313, 142,
-
- 312, 143, 311, 310, 166, 214, 199, 265, 251, 309,
- 256, 144, 145, 185, 146, 147, 150, 193, 151, 308,
- 152, 201, 307, 153, 154, 155, 306, 169, 156, 170,
- 305, 171, 157, 304, 172, 303, 173, 239, 302, 174,
- 158, 301, 178, 175, 179, 159, 300, 299, 160, 180,
- 252, 176, 257, 298, 181, 297, 177, 296, 182, 295,
- 294, 293, 292, 291, 290, 289, 288, 287, 286, 285,
- 284, 183, 283, 282, 281, 280, 279, 278, 277, 276,
- 275, 274, 273, 272, 271, 270, 269, 268, 267, 266,
- 263, 262, 261, 260, 256, 256, 259, 251, 258, 251,
-
- 255, 254, 253, 250, 249, 248, 238, 247, 246, 238,
- 245, 244, 243, 242, 241, 240, 237, 236, 235, 234,
- 233, 232, 231, 230, 229, 228, 227, 226, 225, 224,
- 223, 222, 168, 167, 149, 148, 221, 200, 220, 192,
- 219, 184, 165, 163, 218, 200, 196, 195, 217, 192,
- 188, 187, 216, 215, 184, 123, 122, 121, 120, 119,
- 118, 116, 115, 114, 113, 111, 110, 109, 108, 165,
- 163, 98, 97, 95, 94, 93, 92, 91, 89, 88,
- 87, 86, 85, 210, 209, 208, 206, 205, 106, 104,
- 203, 202, 194, 130, 189, 186, 106, 104, 101, 137,
-
- 136, 133, 126, 125, 100, 84, 67, 66, 65, 64,
- 318, 3, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
-
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318
- } ;
-
-static yyconst short int yy_chk[511] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 9, 9,
-
- 99, 316, 71, 72, 90, 9, 69, 73, 112, 9,
- 9, 9, 134, 71, 99, 9, 9, 9, 9, 9,
- 69, 90, 315, 313, 134, 112, 127, 129, 81, 9,
- 9, 9, 9, 9, 68, 100, 68, 69, 68, 127,
- 129, 68, 68, 68, 71, 72, 68, 78, 79, 73,
- 68, 139, 74, 75, 74, 75, 74, 155, 68, 74,
- 75, 74, 102, 68, 74, 75, 68, 68, 74, 75,
- 81, 125, 135, 79, 155, 131, 74, 100, 144, 136,
- 78, 74, 75, 139, 135, 74, 75, 84, 173, 78,
- 79, 84, 84, 84, 263, 231, 144, 312, 311, 84,
-
- 310, 84, 309, 308, 102, 173, 135, 263, 246, 307,
- 250, 84, 84, 125, 84, 84, 96, 131, 96, 306,
- 96, 136, 305, 96, 96, 96, 304, 117, 96, 117,
- 303, 117, 96, 302, 117, 301, 117, 231, 300, 117,
- 96, 299, 124, 117, 124, 96, 298, 297, 96, 124,
- 246, 117, 250, 296, 124, 295, 117, 294, 124, 293,
- 292, 291, 290, 289, 288, 287, 286, 285, 284, 283,
- 282, 124, 281, 280, 279, 278, 277, 276, 275, 274,
- 273, 272, 271, 270, 269, 268, 267, 266, 265, 264,
- 262, 261, 260, 259, 258, 257, 255, 254, 253, 252,
-
- 249, 248, 247, 245, 244, 243, 242, 241, 240, 239,
- 237, 236, 235, 234, 233, 232, 230, 229, 228, 227,
- 226, 225, 224, 223, 222, 221, 220, 219, 218, 217,
- 216, 215, 214, 213, 212, 211, 210, 209, 208, 207,
- 206, 205, 204, 203, 202, 201, 198, 197, 194, 193,
- 191, 190, 189, 186, 185, 183, 182, 181, 180, 179,
- 178, 177, 176, 175, 174, 172, 171, 170, 169, 166,
- 164, 162, 161, 160, 159, 158, 157, 156, 154, 153,
- 152, 151, 150, 147, 146, 145, 143, 142, 141, 140,
- 138, 137, 133, 132, 128, 126, 107, 105, 103, 83,
-
- 82, 80, 77, 76, 70, 10, 8, 7, 6, 5,
- 3, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
-
- 318, 318, 318, 318, 318, 318, 318, 318, 318, 318
- } ;
-
-static yy_state_type yy_last_accepting_state;
-static char *yy_last_accepting_cpos;
-
-/* The intent behind this definition is that it'll catch
- * any uses of REJECT which flex missed.
- */
-#define REJECT reject_used_but_not_detected
-#define yymore() yymore_used_but_not_detected
-#define YY_MORE_ADJ 0
-#define YY_RESTORE_YY_MORE_OFFSET
-char *yytext;
-#line 1 "kb7to8.lex"
-#define INITIAL 0
-#line 585 "lex.yy.c"
-
-/* Macros after this point can all be overridden by user definitions in
- * section 1.
- */
-
-#ifndef YY_SKIP_YYWRAP
-#ifdef __cplusplus
-extern "C" int yywrap YY_PROTO(( void ));
-#else
-extern int yywrap YY_PROTO(( void ));
-#endif
-#endif
-
-#ifndef YY_NO_UNPUT
-static void yyunput YY_PROTO(( int c, char *buf_ptr ));
-#endif
-
-#ifndef yytext_ptr
-static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
-#endif
-
-#ifdef YY_NEED_STRLEN
-static int yy_flex_strlen YY_PROTO(( yyconst char * ));
-#endif
-
-#ifndef YY_NO_INPUT
-#ifdef __cplusplus
-static int yyinput YY_PROTO(( void ));
-#else
-static int input YY_PROTO(( void ));
-#endif
-#endif
-
-#if YY_STACK_USED
-static int yy_start_stack_ptr = 0;
-static int yy_start_stack_depth = 0;
-static int *yy_start_stack = 0;
-#ifndef YY_NO_PUSH_STATE
-static void yy_push_state YY_PROTO(( int new_state ));
-#endif
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state YY_PROTO(( void ));
-#endif
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state YY_PROTO(( void ));
-#endif
-
-#else
-#define YY_NO_PUSH_STATE 1
-#define YY_NO_POP_STATE 1
-#define YY_NO_TOP_STATE 1
-#endif
-
-#ifdef YY_MALLOC_DECL
-YY_MALLOC_DECL
-#else
-#if __STDC__
-#ifndef __cplusplus
-#include <stdlib.h>
-#endif
-#else
-/* Just try to get by without declaring the routines. This will fail
- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
- * or sizeof(void*) != sizeof(int).
- */
-#endif
-#endif
-
-/* Amount of stuff to slurp up with each read. */
-#ifndef YY_READ_BUF_SIZE
-#define YY_READ_BUF_SIZE 8192
-#endif
-
-/* Copy whatever the last rule matched to the standard output. */
-
-#ifndef ECHO
-/* This used to be an fputs(), but since the string might contain NUL's,
- * we now use fwrite().
- */
-#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
-#endif
-
-/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
- * is returned in "result".
- */
-#ifndef YY_INPUT
-#define YY_INPUT(buf,result,max_size) \
- if ( yy_current_buffer->yy_is_interactive ) \
- { \
- int c = '*', n; \
- for ( n = 0; n < max_size && \
- (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
- buf[n] = (char) c; \
- if ( c == '\n' ) \
- buf[n++] = (char) c; \
- if ( c == EOF && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
- result = n; \
- } \
- else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
- && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" );
-#endif
-
-/* No semi-colon after return; correct usage is to write "yyterminate();" -
- * we don't want an extra ';' after the "return" because that will cause
- * some compilers to complain about unreachable statements.
- */
-#ifndef yyterminate
-#define yyterminate() return YY_NULL
-#endif
-
-/* Number of entries by which start-condition stack grows. */
-#ifndef YY_START_STACK_INCR
-#define YY_START_STACK_INCR 25
-#endif
-
-/* Report a fatal error. */
-#ifndef YY_FATAL_ERROR
-#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
-#endif
-
-/* Default declaration of generated scanner - a define so the user can
- * easily add parameters.
- */
-#ifndef YY_DECL
-#define YY_DECL int yylex YY_PROTO(( void ))
-#endif
-
-/* Code executed at the beginning of each rule, after yytext and yyleng
- * have been set up.
- */
-#ifndef YY_USER_ACTION
-#define YY_USER_ACTION
-#endif
-
-/* Code executed at the end of each rule. */
-#ifndef YY_BREAK
-#define YY_BREAK break;
-#endif
-
-#define YY_RULE_SETUP \
- YY_USER_ACTION
-
-YY_DECL
- {
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
-
-#line 1 "kb7to8.lex"
-
-#line 738 "lex.yy.c"
-
- if ( yy_init )
- {
- yy_init = 0;
-
-#ifdef YY_USER_INIT
- YY_USER_INIT;
-#endif
-
- if ( ! yy_start )
- yy_start = 1; /* first start state */
-
- if ( ! yyin )
- yyin = stdin;
-
- if ( ! yyout )
- yyout = stdout;
-
- if ( ! yy_current_buffer )
- yy_current_buffer =
- yy_create_buffer( yyin, YY_BUF_SIZE );
-
- yy_load_buffer_state();
- }
-
- while ( 1 ) /* loops until end-of-file is reached */
- {
- yy_cp = yy_c_buf_p;
-
- /* Support of yytext. */
- *yy_cp = yy_hold_char;
-
- /* yy_bp points to the position in yy_ch_buf of the start of
- * the current run.
- */
- yy_bp = yy_cp;
-
- yy_current_state = yy_start;
-yy_match:
- do
- {
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
- if ( yy_accept[yy_current_state] )
- {
- yy_last_accepting_state = yy_current_state;
- yy_last_accepting_cpos = yy_cp;
- }
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 319 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- ++yy_cp;
- }
- while ( yy_base[yy_current_state] != 412 );
-
-yy_find_action:
- yy_act = yy_accept[yy_current_state];
- if ( yy_act == 0 )
- { /* have to back up */
- yy_cp = yy_last_accepting_cpos;
- yy_current_state = yy_last_accepting_state;
- yy_act = yy_accept[yy_current_state];
- }
-
- YY_DO_BEFORE_ACTION;
-
-
-do_action: /* This label is used only to access EOF actions. */
-
-
- switch ( yy_act )
- { /* beginning of action switch */
- case 0: /* must back up */
- /* undo the effects of YY_DO_BEFORE_ACTION */
- *yy_cp = yy_hold_char;
- yy_cp = yy_last_accepting_cpos;
- yy_current_state = yy_last_accepting_state;
- goto yy_find_action;
-
-case 1:
-YY_RULE_SETUP
-#line 2 "kb7to8.lex"
-printf("\xE0");
- YY_BREAK
-case 2:
-YY_RULE_SETUP
-#line 3 "kb7to8.lex"
-printf("\xC0");
- YY_BREAK
-case 3:
-YY_RULE_SETUP
-#line 4 "kb7to8.lex"
-printf("\xE4");
- YY_BREAK
-case 4:
-YY_RULE_SETUP
-#line 5 "kb7to8.lex"
-printf("\xC4");
- YY_BREAK
-case 5:
-YY_RULE_SETUP
-#line 6 "kb7to8.lex"
-printf("\xE2");
- YY_BREAK
-case 6:
-YY_RULE_SETUP
-#line 7 "kb7to8.lex"
-printf("\xC2");
- YY_BREAK
-case 7:
-YY_RULE_SETUP
-#line 8 "kb7to8.lex"
-printf("\xE5");
- YY_BREAK
-case 8:
-YY_RULE_SETUP
-#line 9 "kb7to8.lex"
-printf("\xC5");
- YY_BREAK
-case 9:
-YY_RULE_SETUP
-#line 10 "kb7to8.lex"
-printf("\xE8");
- YY_BREAK
-case 10:
-YY_RULE_SETUP
-#line 11 "kb7to8.lex"
-printf("\xC8");
- YY_BREAK
-case 11:
-YY_RULE_SETUP
-#line 12 "kb7to8.lex"
-printf("\xE9");
- YY_BREAK
-case 12:
-YY_RULE_SETUP
-#line 13 "kb7to8.lex"
-printf("\xC9");
- YY_BREAK
-case 13:
-YY_RULE_SETUP
-#line 14 "kb7to8.lex"
-printf("\xEB");
- YY_BREAK
-case 14:
-YY_RULE_SETUP
-#line 15 "kb7to8.lex"
-printf("\xCB");
- YY_BREAK
-case 15:
-YY_RULE_SETUP
-#line 16 "kb7to8.lex"
-printf("\xEA");
- YY_BREAK
-case 16:
-YY_RULE_SETUP
-#line 17 "kb7to8.lex"
-printf("\xCA");
- YY_BREAK
-case 17:
-YY_RULE_SETUP
-#line 18 "kb7to8.lex"
-printf("\xEF");
- YY_BREAK
-case 18:
-YY_RULE_SETUP
-#line 19 "kb7to8.lex"
-printf("\xCF");
- YY_BREAK
-case 19:
-YY_RULE_SETUP
-#line 20 "kb7to8.lex"
-printf("\xEE");
- YY_BREAK
-case 20:
-YY_RULE_SETUP
-#line 21 "kb7to8.lex"
-printf("\xCE");
- YY_BREAK
-case 21:
-YY_RULE_SETUP
-#line 22 "kb7to8.lex"
-printf("\xF6");
- YY_BREAK
-case 22:
-YY_RULE_SETUP
-#line 23 "kb7to8.lex"
-printf("\xD6");
- YY_BREAK
-case 23:
-YY_RULE_SETUP
-#line 24 "kb7to8.lex"
-printf("\xF4");
- YY_BREAK
-case 24:
-YY_RULE_SETUP
-#line 25 "kb7to8.lex"
-printf("\xD4");
- YY_BREAK
-case 25:
-YY_RULE_SETUP
-#line 26 "kb7to8.lex"
-printf("\xF9");
- YY_BREAK
-case 26:
-YY_RULE_SETUP
-#line 27 "kb7to8.lex"
-printf("\xD9");
- YY_BREAK
-case 27:
-YY_RULE_SETUP
-#line 28 "kb7to8.lex"
-printf("\xFC");
- YY_BREAK
-case 28:
-YY_RULE_SETUP
-#line 29 "kb7to8.lex"
-printf("\xDC");
- YY_BREAK
-case 29:
-YY_RULE_SETUP
-#line 30 "kb7to8.lex"
-printf("\xFB");
- YY_BREAK
-case 30:
-YY_RULE_SETUP
-#line 31 "kb7to8.lex"
-printf("\xDB");
- YY_BREAK
-case 31:
-YY_RULE_SETUP
-#line 32 "kb7to8.lex"
-printf("\xE7");
- YY_BREAK
-case 32:
-YY_RULE_SETUP
-#line 33 "kb7to8.lex"
-printf("\xC7");
- YY_BREAK
-case 33:
-YY_RULE_SETUP
-#line 34 "kb7to8.lex"
-printf("\xFF");
- YY_BREAK
-case 34:
-YY_RULE_SETUP
-#line 35 "kb7to8.lex"
-printf("\xBE");
- YY_BREAK
-case 35:
-YY_RULE_SETUP
-#line 36 "kb7to8.lex"
-printf("\xBD");
- YY_BREAK
-case 36:
-YY_RULE_SETUP
-#line 37 "kb7to8.lex"
-printf("\xBC");
- YY_BREAK
-case 37:
-YY_RULE_SETUP
-#line 38 "kb7to8.lex"
-printf("\xE6");
- YY_BREAK
-case 38:
-YY_RULE_SETUP
-#line 39 "kb7to8.lex"
-printf("\xC6");
- YY_BREAK
-case 39:
-YY_RULE_SETUP
-#line 40 "kb7to8.lex"
-printf("\xF8");
- YY_BREAK
-case 40:
-YY_RULE_SETUP
-#line 41 "kb7to8.lex"
-printf("\xD8");
- YY_BREAK
-case 41:
-YY_RULE_SETUP
-#line 42 "kb7to8.lex"
-printf("\xA1");
- YY_BREAK
-case 42:
-YY_RULE_SETUP
-#line 43 "kb7to8.lex"
-printf("\xBF");
- YY_BREAK
-case 43:
-YY_RULE_SETUP
-#line 44 "kb7to8.lex"
-printf("\xAB");
- YY_BREAK
-case 44:
-YY_RULE_SETUP
-#line 45 "kb7to8.lex"
-printf("\xBB");
- YY_BREAK
-case 45:
-YY_RULE_SETUP
-#line 46 "kb7to8.lex"
-printf("\xB0");
- YY_BREAK
-case 46:
-YY_RULE_SETUP
-#line 47 "kb7to8.lex"
-printf("\xA4");
- YY_BREAK
-case 47:
-YY_RULE_SETUP
-#line 48 "kb7to8.lex"
-printf("\xDF");
- YY_BREAK
-case 48:
-YY_RULE_SETUP
-#line 49 "kb7to8.lex"
-printf("\xA3");
- YY_BREAK
-case 49:
-YY_RULE_SETUP
-#line 50 "kb7to8.lex"
-printf("\xA9");
- YY_BREAK
-case 50:
-YY_RULE_SETUP
-#line 51 "kb7to8.lex"
-printf("\xB6");
- YY_BREAK
-case 51:
-YY_RULE_SETUP
-#line 52 "kb7to8.lex"
-printf("\xA7");
- YY_BREAK
-case 52:
-YY_RULE_SETUP
-#line 53 "kb7to8.lex"
-printf("\xF7");
- YY_BREAK
-case 53:
-YY_RULE_SETUP
-#line 54 "kb7to8.lex"
-printf("\xD7");
- YY_BREAK
-case 54:
-YY_RULE_SETUP
-#line 55 "kb7to8.lex"
-ECHO;
- YY_BREAK
-#line 1091 "lex.yy.c"
-case YY_STATE_EOF(INITIAL):
- yyterminate();
-
- case YY_END_OF_BUFFER:
- {
- /* Amount of text matched not including the EOB char. */
- int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
-
- /* Undo the effects of YY_DO_BEFORE_ACTION. */
- *yy_cp = yy_hold_char;
- YY_RESTORE_YY_MORE_OFFSET
-
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
- {
- /* We're scanning a new file or input source. It's
- * possible that this happened because the user
- * just pointed yyin at a new source and called
- * yylex(). If so, then we have to assure
- * consistency between yy_current_buffer and our
- * globals. Here is the right place to do so, because
- * this is the first action (other than possibly a
- * back-up) that will match for the new input source.
- */
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yy_current_buffer->yy_input_file = yyin;
- yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
- }
-
- /* Note that here we test for yy_c_buf_p "<=" to the position
- * of the first EOB in the buffer, since yy_c_buf_p will
- * already have been incremented past the NUL character
- * (since all states make transitions on EOB to the
- * end-of-buffer state). Contrast this with the test
- * in input().
- */
- if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- { /* This was really a NUL. */
- yy_state_type yy_next_state;
-
- yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- /* Okay, we're now positioned to make the NUL
- * transition. We couldn't have
- * yy_get_previous_state() go ahead and do it
- * for us because it doesn't know how to deal
- * with the possibility of jamming (and we don't
- * want to build jamming into it because then it
- * will run more slowly).
- */
-
- yy_next_state = yy_try_NUL_trans( yy_current_state );
-
- yy_bp = yytext_ptr + YY_MORE_ADJ;
-
- if ( yy_next_state )
- {
- /* Consume the NUL. */
- yy_cp = ++yy_c_buf_p;
- yy_current_state = yy_next_state;
- goto yy_match;
- }
-
- else
- {
- yy_cp = yy_c_buf_p;
- goto yy_find_action;
- }
- }
-
- else switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- yy_did_buffer_switch_on_eof = 0;
-
- if ( yywrap() )
- {
- /* Note: because we've taken care in
- * yy_get_next_buffer() to have set up
- * yytext, we can now set up
- * yy_c_buf_p so that if some total
- * hoser (like flex itself) wants to
- * call the scanner after we return the
- * YY_NULL, it'll still work - another
- * YY_NULL will get returned.
- */
- yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
-
- yy_act = YY_STATE_EOF(YY_START);
- goto do_action;
- }
-
- else
- {
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
- }
- break;
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p =
- yytext_ptr + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_match;
-
- case EOB_ACT_LAST_MATCH:
- yy_c_buf_p =
- &yy_current_buffer->yy_ch_buf[yy_n_chars];
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_find_action;
- }
- break;
- }
-
- default:
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--no action found" );
- } /* end of action switch */
- } /* end of scanning one token */
- } /* end of yylex */
-
-
-/* yy_get_next_buffer - try to read in a new buffer
- *
- * Returns a code representing an action:
- * EOB_ACT_LAST_MATCH -
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
- * EOB_ACT_END_OF_FILE - end of file
- */
-
-static int yy_get_next_buffer()
- {
- register char *dest = yy_current_buffer->yy_ch_buf;
- register char *source = yytext_ptr;
- register int number_to_move, i;
- int ret_val;
-
- if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--end of buffer missed" );
-
- if ( yy_current_buffer->yy_fill_buffer == 0 )
- { /* Don't try to fill the buffer, so this is an EOF. */
- if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
- {
- /* We matched a single character, the EOB, so
- * treat this as a final EOF.
- */
- return EOB_ACT_END_OF_FILE;
- }
-
- else
- {
- /* We matched some text prior to the EOB, first
- * process it.
- */
- return EOB_ACT_LAST_MATCH;
- }
- }
-
- /* Try to read more data. */
-
- /* First move last chars to start of buffer. */
- number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
-
- for ( i = 0; i < number_to_move; ++i )
- *(dest++) = *(source++);
-
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
- /* don't do the read, it's not guaranteed to return an EOF,
- * just force an EOF
- */
- yy_current_buffer->yy_n_chars = yy_n_chars = 0;
-
- else
- {
- int num_to_read =
- yy_current_buffer->yy_buf_size - number_to_move - 1;
-
- while ( num_to_read <= 0 )
- { /* Not enough room in the buffer - grow it. */
-#ifdef YY_USES_REJECT
- YY_FATAL_ERROR(
-"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-#else
-
- /* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = yy_current_buffer;
-
- int yy_c_buf_p_offset =
- (int) (yy_c_buf_p - b->yy_ch_buf);
-
- if ( b->yy_is_our_buffer )
- {
- int new_size = b->yy_buf_size * 2;
-
- if ( new_size <= 0 )
- b->yy_buf_size += b->yy_buf_size / 8;
- else
- b->yy_buf_size *= 2;
-
- b->yy_ch_buf = (char *)
- /* Include room in for 2 EOB chars. */
- yy_flex_realloc( (void *) b->yy_ch_buf,
- b->yy_buf_size + 2 );
- }
- else
- /* Can't grow it, we don't own it. */
- b->yy_ch_buf = 0;
-
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR(
- "fatal error - scanner input buffer overflow" );
-
- yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
-
- num_to_read = yy_current_buffer->yy_buf_size -
- number_to_move - 1;
-#endif
- }
-
- if ( num_to_read > YY_READ_BUF_SIZE )
- num_to_read = YY_READ_BUF_SIZE;
-
- /* Read in more data. */
- YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
- yy_n_chars, num_to_read );
-
- yy_current_buffer->yy_n_chars = yy_n_chars;
- }
-
- if ( yy_n_chars == 0 )
- {
- if ( number_to_move == YY_MORE_ADJ )
- {
- ret_val = EOB_ACT_END_OF_FILE;
- yyrestart( yyin );
- }
-
- else
- {
- ret_val = EOB_ACT_LAST_MATCH;
- yy_current_buffer->yy_buffer_status =
- YY_BUFFER_EOF_PENDING;
- }
- }
-
- else
- ret_val = EOB_ACT_CONTINUE_SCAN;
-
- yy_n_chars += number_to_move;
- yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
- yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
-
- yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
-
- return ret_val;
- }
-
-
-/* yy_get_previous_state - get the state just before the EOB char was reached */
-
-static yy_state_type yy_get_previous_state()
- {
- register yy_state_type yy_current_state;
- register char *yy_cp;
-
- yy_current_state = yy_start;
-
- for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
- {
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
- if ( yy_accept[yy_current_state] )
- {
- yy_last_accepting_state = yy_current_state;
- yy_last_accepting_cpos = yy_cp;
- }
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 319 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- }
-
- return yy_current_state;
- }
-
-
-/* yy_try_NUL_trans - try to make a transition on the NUL character
- *
- * synopsis
- * next_state = yy_try_NUL_trans( current_state );
- */
-
-#ifdef YY_USE_PROTOS
-static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
-#else
-static yy_state_type yy_try_NUL_trans( yy_current_state )
-yy_state_type yy_current_state;
-#endif
- {
- register int yy_is_jam;
- register char *yy_cp = yy_c_buf_p;
-
- register YY_CHAR yy_c = 1;
- if ( yy_accept[yy_current_state] )
- {
- yy_last_accepting_state = yy_current_state;
- yy_last_accepting_cpos = yy_cp;
- }
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 319 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 318);
-
- return yy_is_jam ? 0 : yy_current_state;
- }
-
-
-#ifndef YY_NO_UNPUT
-#ifdef YY_USE_PROTOS
-static void yyunput( int c, register char *yy_bp )
-#else
-static void yyunput( c, yy_bp )
-int c;
-register char *yy_bp;
-#endif
- {
- register char *yy_cp = yy_c_buf_p;
-
- /* undo effects of setting up yytext */
- *yy_cp = yy_hold_char;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- { /* need to shift things up to make room */
- /* +2 for EOB chars. */
- register int number_to_move = yy_n_chars + 2;
- register char *dest = &yy_current_buffer->yy_ch_buf[
- yy_current_buffer->yy_buf_size + 2];
- register char *source =
- &yy_current_buffer->yy_ch_buf[number_to_move];
-
- while ( source > yy_current_buffer->yy_ch_buf )
- *--dest = *--source;
-
- yy_cp += (int) (dest - source);
- yy_bp += (int) (dest - source);
- yy_current_buffer->yy_n_chars =
- yy_n_chars = yy_current_buffer->yy_buf_size;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
-
- *--yy_cp = (char) c;
-
-
- yytext_ptr = yy_bp;
- yy_hold_char = *yy_cp;
- yy_c_buf_p = yy_cp;
- }
-#endif /* ifndef YY_NO_UNPUT */
-
-
-#ifdef __cplusplus
-static int yyinput()
-#else
-static int input()
-#endif
- {
- int c;
-
- *yy_c_buf_p = yy_hold_char;
-
- if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
- {
- /* yy_c_buf_p now points to the character we want to return.
- * If this occurs *before* the EOB characters, then it's a
- * valid NUL; if not, then we've hit the end of the buffer.
- */
- if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- /* This was really a NUL. */
- *yy_c_buf_p = '\0';
-
- else
- { /* need more input */
- int offset = yy_c_buf_p - yytext_ptr;
- ++yy_c_buf_p;
-
- switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_LAST_MATCH:
- /* This happens because yy_g_n_b()
- * sees that we've accumulated a
- * token and flags that we need to
- * try matching the token before
- * proceeding. But for input(),
- * there's no matching to consider.
- * So convert the EOB_ACT_LAST_MATCH
- * to EOB_ACT_END_OF_FILE.
- */
-
- /* Reset buffer status. */
- yyrestart( yyin );
-
- /* fall through */
-
- case EOB_ACT_END_OF_FILE:
- {
- if ( yywrap() )
- return EOF;
-
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
-#ifdef __cplusplus
- return yyinput();
-#else
- return input();
-#endif
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p = yytext_ptr + offset;
- break;
- }
- }
- }
-
- c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
- *yy_c_buf_p = '\0'; /* preserve yytext */
- yy_hold_char = *++yy_c_buf_p;
-
-
- return c;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yyrestart( FILE *input_file )
-#else
-void yyrestart( input_file )
-FILE *input_file;
-#endif
- {
- if ( ! yy_current_buffer )
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
-
- yy_init_buffer( yy_current_buffer, input_file );
- yy_load_buffer_state();
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
-#else
-void yy_switch_to_buffer( new_buffer )
-YY_BUFFER_STATE new_buffer;
-#endif
- {
- if ( yy_current_buffer == new_buffer )
- return;
-
- if ( yy_current_buffer )
- {
- /* Flush out information for old buffer. */
- *yy_c_buf_p = yy_hold_char;
- yy_current_buffer->yy_buf_pos = yy_c_buf_p;
- yy_current_buffer->yy_n_chars = yy_n_chars;
- }
-
- yy_current_buffer = new_buffer;
- yy_load_buffer_state();
-
- /* We don't actually know whether we did this switch during
- * EOF (yywrap()) processing, but the only time this flag
- * is looked at is after yywrap() is called, so it's safe
- * to go ahead and always set it.
- */
- yy_did_buffer_switch_on_eof = 1;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_load_buffer_state( void )
-#else
-void yy_load_buffer_state()
-#endif
- {
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
- yyin = yy_current_buffer->yy_input_file;
- yy_hold_char = *yy_c_buf_p;
- }
-
-
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
-#else
-YY_BUFFER_STATE yy_create_buffer( file, size )
-FILE *file;
-int size;
-#endif
- {
- YY_BUFFER_STATE b;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-
- b->yy_buf_size = size;
-
- /* yy_ch_buf has to be 2 characters longer than the size given because
- * we need to put in 2 end-of-buffer characters.
- */
- b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-
- b->yy_is_our_buffer = 1;
-
- yy_init_buffer( b, file );
-
- return b;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_delete_buffer( YY_BUFFER_STATE b )
-#else
-void yy_delete_buffer( b )
-YY_BUFFER_STATE b;
-#endif
- {
- if ( ! b )
- return;
-
- if ( b == yy_current_buffer )
- yy_current_buffer = (YY_BUFFER_STATE) 0;
-
- if ( b->yy_is_our_buffer )
- yy_flex_free( (void *) b->yy_ch_buf );
-
- yy_flex_free( (void *) b );
- }
-
-
-#ifndef YY_ALWAYS_INTERACTIVE
-#ifndef YY_NEVER_INTERACTIVE
-extern int isatty YY_PROTO(( int ));
-#endif
-#endif
-
-#ifdef YY_USE_PROTOS
-void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
-#else
-void yy_init_buffer( b, file )
-YY_BUFFER_STATE b;
-FILE *file;
-#endif
-
-
- {
- yy_flush_buffer( b );
-
- b->yy_input_file = file;
- b->yy_fill_buffer = 1;
-
-#if YY_ALWAYS_INTERACTIVE
- b->yy_is_interactive = 1;
-#else
-#if YY_NEVER_INTERACTIVE
- b->yy_is_interactive = 0;
-#else
- b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-#endif
-#endif
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_flush_buffer( YY_BUFFER_STATE b )
-#else
-void yy_flush_buffer( b )
-YY_BUFFER_STATE b;
-#endif
-
- {
- if ( ! b )
- return;
-
- b->yy_n_chars = 0;
-
- /* We always need two end-of-buffer characters. The first causes
- * a transition to the end-of-buffer state. The second causes
- * a jam in that state.
- */
- b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
-
- b->yy_buf_pos = &b->yy_ch_buf[0];
-
- b->yy_at_bol = 1;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- if ( b == yy_current_buffer )
- yy_load_buffer_state();
- }
-
-
-#ifndef YY_NO_SCAN_BUFFER
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
-#else
-YY_BUFFER_STATE yy_scan_buffer( base, size )
-char *base;
-yy_size_t size;
-#endif
- {
- YY_BUFFER_STATE b;
-
- if ( size < 2 ||
- base[size-2] != YY_END_OF_BUFFER_CHAR ||
- base[size-1] != YY_END_OF_BUFFER_CHAR )
- /* They forgot to leave room for the EOB's. */
- return 0;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
-
- b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
- b->yy_buf_pos = b->yy_ch_buf = base;
- b->yy_is_our_buffer = 0;
- b->yy_input_file = 0;
- b->yy_n_chars = b->yy_buf_size;
- b->yy_is_interactive = 0;
- b->yy_at_bol = 1;
- b->yy_fill_buffer = 0;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- yy_switch_to_buffer( b );
-
- return b;
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_STRING
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
-#else
-YY_BUFFER_STATE yy_scan_string( yy_str )
-yyconst char *yy_str;
-#endif
- {
- int len;
- for ( len = 0; yy_str[len]; ++len )
- ;
-
- return yy_scan_bytes( yy_str, len );
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_BYTES
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
-#else
-YY_BUFFER_STATE yy_scan_bytes( bytes, len )
-yyconst char *bytes;
-int len;
-#endif
- {
- YY_BUFFER_STATE b;
- char *buf;
- yy_size_t n;
- int i;
-
- /* Get memory for full buffer, including space for trailing EOB's. */
- n = len + 2;
- buf = (char *) yy_flex_alloc( n );
- if ( ! buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
-
- for ( i = 0; i < len; ++i )
- buf[i] = bytes[i];
-
- buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
-
- b = yy_scan_buffer( buf, n );
- if ( ! b )
- YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
-
- /* It's okay to grow etc. this buffer, and we should throw it
- * away when we're done.
- */
- b->yy_is_our_buffer = 1;
-
- return b;
- }
-#endif
-
-
-#ifndef YY_NO_PUSH_STATE
-#ifdef YY_USE_PROTOS
-static void yy_push_state( int new_state )
-#else
-static void yy_push_state( new_state )
-int new_state;
-#endif
- {
- if ( yy_start_stack_ptr >= yy_start_stack_depth )
- {
- yy_size_t new_size;
-
- yy_start_stack_depth += YY_START_STACK_INCR;
- new_size = yy_start_stack_depth * sizeof( int );
-
- if ( ! yy_start_stack )
- yy_start_stack = (int *) yy_flex_alloc( new_size );
-
- else
- yy_start_stack = (int *) yy_flex_realloc(
- (void *) yy_start_stack, new_size );
-
- if ( ! yy_start_stack )
- YY_FATAL_ERROR(
- "out of memory expanding start-condition stack" );
- }
-
- yy_start_stack[yy_start_stack_ptr++] = YY_START;
-
- BEGIN(new_state);
- }
-#endif
-
-
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state()
- {
- if ( --yy_start_stack_ptr < 0 )
- YY_FATAL_ERROR( "start-condition stack underflow" );
-
- BEGIN(yy_start_stack[yy_start_stack_ptr]);
- }
-#endif
-
-
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state()
- {
- return yy_start_stack[yy_start_stack_ptr - 1];
- }
-#endif
-
-#ifndef YY_EXIT_FAILURE
-#define YY_EXIT_FAILURE 2
-#endif
-
-#ifdef YY_USE_PROTOS
-static void yy_fatal_error( yyconst char msg[] )
-#else
-static void yy_fatal_error( msg )
-char msg[];
-#endif
- {
- (void) fprintf( stderr, "%s\n", msg );
- exit( YY_EXIT_FAILURE );
- }
-
-
-
-/* Redefine yyless() so it works in section 3 code. */
-
-#undef yyless
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- yytext[yyleng] = yy_hold_char; \
- yy_c_buf_p = yytext + n; \
- yy_hold_char = *yy_c_buf_p; \
- *yy_c_buf_p = '\0'; \
- yyleng = n; \
- } \
- while ( 0 )
-
-
-/* Internal utility routines. */
-
-#ifndef yytext_ptr
-#ifdef YY_USE_PROTOS
-static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
-#else
-static void yy_flex_strncpy( s1, s2, n )
-char *s1;
-yyconst char *s2;
-int n;
-#endif
- {
- register int i;
- for ( i = 0; i < n; ++i )
- s1[i] = s2[i];
- }
-#endif
-
-#ifdef YY_NEED_STRLEN
-#ifdef YY_USE_PROTOS
-static int yy_flex_strlen( yyconst char *s )
-#else
-static int yy_flex_strlen( s )
-yyconst char *s;
-#endif
- {
- register int n;
- for ( n = 0; s[n]; ++n )
- ;
-
- return n;
- }
-#endif
-
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_alloc( yy_size_t size )
-#else
-static void *yy_flex_alloc( size )
-yy_size_t size;
-#endif
- {
- return (void *) malloc( size );
- }
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_realloc( void *ptr, yy_size_t size )
-#else
-static void *yy_flex_realloc( ptr, size )
-void *ptr;
-yy_size_t size;
-#endif
- {
- /* The cast to (char *) in the following accommodates both
- * implementations that use char* generic pointers, and those
- * that use void* generic pointers. It works with the latter
- * because both ANSI C and C++ allow castless assignment from
- * any pointer type to void*, and deal with argument conversions
- * as though doing an assignment.
- */
- return (void *) realloc( (char *) ptr, size );
- }
-
-#ifdef YY_USE_PROTOS
-static void yy_flex_free( void *ptr )
-#else
-static void yy_flex_free( ptr )
-void *ptr;
-#endif
- {
- free( ptr );
- }
-
-#if YY_MAIN
-int main()
- {
- yylex();
- return 0;
- }
-#endif
-#line 55 "kb7to8.lex"
-
-#ifndef yywrap
-int yywrap () { return 1; }
-#endif
-int main() { return yylex(); }
Deleted: trunk/kb8to7.c
===================================================================
--- trunk/kb8to7.c 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/kb8to7.c 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,1801 +0,0 @@
-/* A lexical scanner generated by flex */
-
-/* Scanner skeleton version:
- * $Header: /cvs/root/flex/flex/skel.c,v 1.2 2004/05/07 00:28:17 jkh Exp $
- */
-
-#define FLEX_SCANNER
-#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 5
-
-#include <stdio.h>
-
-
-/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
-#ifdef c_plusplus
-#ifndef __cplusplus
-#define __cplusplus
-#endif
-#endif
-
-
-#ifdef __cplusplus
-
-#include <stdlib.h>
-#include <unistd.h>
-
-/* Use prototypes in function declarations. */
-#define YY_USE_PROTOS
-
-/* The "const" storage-class-modifier is valid. */
-#define YY_USE_CONST
-
-#else /* ! __cplusplus */
-
-#if __STDC__
-
-#define YY_USE_PROTOS
-#define YY_USE_CONST
-
-#endif /* __STDC__ */
-#endif /* ! __cplusplus */
-
-#ifdef __TURBOC__
- #pragma warn -rch
- #pragma warn -use
-#include <io.h>
-#include <stdlib.h>
-#define YY_USE_CONST
-#define YY_USE_PROTOS
-#endif
-
-#ifdef YY_USE_CONST
-#define yyconst const
-#else
-#define yyconst
-#endif
-
-
-#ifdef YY_USE_PROTOS
-#define YY_PROTO(proto) proto
-#else
-#define YY_PROTO(proto) ()
-#endif
-
-/* Returned upon end-of-file. */
-#define YY_NULL 0
-
-/* Promotes a possibly negative, possibly signed char to an unsigned
- * integer for use as an array index. If the signed char is negative,
- * we want to instead treat it as an 8-bit unsigned char, hence the
- * double cast.
- */
-#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-
-/* Enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN.
- */
-#define BEGIN yy_start = 1 + 2 *
-
-/* Translate the current start state into a value that can be later handed
- * to BEGIN to return to the state. The YYSTATE alias is for lex
- * compatibility.
- */
-#define YY_START ((yy_start - 1) / 2)
-#define YYSTATE YY_START
-
-/* Action number for EOF rule of a given start state. */
-#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-
-/* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yyrestart( yyin )
-
-#define YY_END_OF_BUFFER_CHAR 0
-
-/* Size of default input buffer. */
-#define YY_BUF_SIZE 16384
-
-typedef struct yy_buffer_state *YY_BUFFER_STATE;
-
-extern int yyleng;
-extern FILE *yyin, *yyout;
-
-#define EOB_ACT_CONTINUE_SCAN 0
-#define EOB_ACT_END_OF_FILE 1
-#define EOB_ACT_LAST_MATCH 2
-
-/* The funky do-while in the following #define is used to turn the definition
- * int a single C statement (which needs a semi-colon terminator). This
- * avoids problems with code like:
- *
- * if ( condition_holds )
- * yyless( 5 );
- * else
- * do_something_else();
- *
- * Prior to using the do-while the compiler would get upset at the
- * "else" because it interpreted the "if" statement as being all
- * done when it reached the ';' after the yyless() call.
- */
-
-/* Return all but the first 'n' matched characters back to the input stream. */
-
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- *yy_cp = yy_hold_char; \
- YY_RESTORE_YY_MORE_OFFSET \
- yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
- YY_DO_BEFORE_ACTION; /* set up yytext again */ \
- } \
- while ( 0 )
-
-#define unput(c) yyunput( c, yytext_ptr )
-
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-typedef unsigned int yy_size_t;
-
-
-struct yy_buffer_state
- {
- FILE *yy_input_file;
-
- char *yy_ch_buf; /* input buffer */
- char *yy_buf_pos; /* current position in input buffer */
-
- /* Size of input buffer in bytes, not including room for EOB
- * characters.
- */
- yy_size_t yy_buf_size;
-
- /* Number of characters read into yy_ch_buf, not including EOB
- * characters.
- */
- int yy_n_chars;
-
- /* Whether we "own" the buffer - i.e., we know we created it,
- * and can realloc() it to grow it, and should free() it to
- * delete it.
- */
- int yy_is_our_buffer;
-
- /* Whether this is an "interactive" input source; if so, and
- * if we're using stdio for input, then we want to use getc()
- * instead of fread(), to make sure we stop fetching input after
- * each newline.
- */
- int yy_is_interactive;
-
- /* Whether we're considered to be at the beginning of a line.
- * If so, '^' rules will be active on the next match, otherwise
- * not.
- */
- int yy_at_bol;
-
- /* Whether to try to fill the input buffer when we reach the
- * end of it.
- */
- int yy_fill_buffer;
-
- int yy_buffer_status;
-#define YY_BUFFER_NEW 0
-#define YY_BUFFER_NORMAL 1
- /* When an EOF's been seen but there's still some text to process
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
- * shouldn't try reading from the input source any more. We might
- * still have a bunch of tokens to match, though, because of
- * possible backing-up.
- *
- * When we actually see the EOF, we change the status to "new"
- * (via yyrestart()), so that the user can continue scanning by
- * just pointing yyin at a new input file.
- */
-#define YY_BUFFER_EOF_PENDING 2
- };
-
-static YY_BUFFER_STATE yy_current_buffer = 0;
-
-/* We provide macros for accessing buffer states in case in the
- * future we want to put the buffer states in a more general
- * "scanner state".
- */
-#define YY_CURRENT_BUFFER yy_current_buffer
-
-
-/* yy_hold_char holds the character lost when yytext is formed. */
-static char yy_hold_char;
-
-static int yy_n_chars; /* number of characters read into yy_ch_buf */
-
-
-int yyleng;
-
-/* Points to current character in buffer. */
-static char *yy_c_buf_p = (char *) 0;
-static int yy_init = 1; /* whether we need to initialize */
-static int yy_start = 0; /* start state number */
-
-/* Flag which is used to allow yywrap()'s to do buffer switches
- * instead of setting up a fresh yyin. A bit of a hack ...
- */
-static int yy_did_buffer_switch_on_eof;
-
-void yyrestart YY_PROTO(( FILE *input_file ));
-
-void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
-void yy_load_buffer_state YY_PROTO(( void ));
-YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
-void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
-void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
-
-YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
-YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
-YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
-
-static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
-static void yy_flex_free YY_PROTO(( void * ));
-
-#define yy_new_buffer yy_create_buffer
-
-#define yy_set_interactive(is_interactive) \
- { \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_is_interactive = is_interactive; \
- }
-
-#define yy_set_bol(at_bol) \
- { \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_at_bol = at_bol; \
- }
-
-#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
-
-typedef unsigned char YY_CHAR;
-FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
-typedef int yy_state_type;
-extern char *yytext;
-#define yytext_ptr yytext
-
-static yy_state_type yy_get_previous_state YY_PROTO(( void ));
-static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
-static int yy_get_next_buffer YY_PROTO(( void ));
-static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
-
-/* Done after the current pattern has been matched and before the
- * corresponding action - sets up yytext.
- */
-#define YY_DO_BEFORE_ACTION \
- yytext_ptr = yy_bp; \
- yyleng = (int) (yy_cp - yy_bp); \
- yy_hold_char = *yy_cp; \
- *yy_cp = '\0'; \
- yy_c_buf_p = yy_cp;
-
-#define YY_NUM_RULES 54
-#define YY_END_OF_BUFFER 55
-static yyconst short int yy_accept[59] =
- { 0,
- 0, 0, 55, 54, 41, 48, 46, 51, 49, 43,
- 45, 50, 44, 36, 35, 34, 42, 2, 6, 4,
- 8, 38, 32, 10, 12, 16, 14, 20, 18, 24,
- 22, 53, 40, 26, 30, 28, 47, 1, 5, 3,
- 7, 37, 31, 9, 11, 15, 13, 19, 17, 23,
- 21, 52, 39, 25, 29, 27, 33, 0
- } ;
-
-static yyconst int yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 2, 1, 3, 4, 1, 1, 5, 1, 6, 1,
- 7, 1, 1, 1, 1, 8, 1, 1, 1, 1,
- 1, 9, 1, 1, 1, 1, 10, 11, 12, 13,
- 14, 15, 1, 16, 1, 17, 18, 19, 20, 21,
-
- 22, 23, 24, 1, 1, 25, 26, 1, 1, 1,
- 1, 27, 1, 28, 29, 30, 31, 1, 32, 33,
- 1, 1, 34, 35, 1, 36, 1, 37, 38, 39,
- 40, 41, 42, 43, 44, 1, 1, 45, 46, 1,
- 1, 1, 1, 47, 1, 48, 49, 50, 51, 1,
- 52, 53, 1, 1, 54
- } ;
-
-static yyconst int yy_meta[55] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1
- } ;
-
-static yyconst short int yy_base[59] =
- { 0,
- 0, 0, 55, 56, 56, 56, 56, 56, 56, 56,
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
- 56, 56, 56, 56, 56, 56, 56, 56
- } ;
-
-static yyconst short int yy_def[59] =
- { 0,
- 58, 1, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 0
- } ;
-
-static yyconst short int yy_nxt[111] =
- { 0,
- 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
- 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
- 54, 55, 56, 57, 58, 3, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
-
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58
- } ;
-
-static yyconst short int yy_chk[111] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 3, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
-
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58
- } ;
-
-static yy_state_type yy_last_accepting_state;
-static char *yy_last_accepting_cpos;
-
-/* The intent behind this definition is that it'll catch
- * any uses of REJECT which flex missed.
- */
-#define REJECT reject_used_but_not_detected
-#define yymore() yymore_used_but_not_detected
-#define YY_MORE_ADJ 0
-#define YY_RESTORE_YY_MORE_OFFSET
-char *yytext;
-#line 1 "kb8to7.lex"
-#define INITIAL 0
-#line 405 "lex.yy.c"
-
-/* Macros after this point can all be overridden by user definitions in
- * section 1.
- */
-
-#ifndef YY_SKIP_YYWRAP
-#ifdef __cplusplus
-extern "C" int yywrap YY_PROTO(( void ));
-#else
-extern int yywrap YY_PROTO(( void ));
-#endif
-#endif
-
-#ifndef YY_NO_UNPUT
-static void yyunput YY_PROTO(( int c, char *buf_ptr ));
-#endif
-
-#ifndef yytext_ptr
-static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
-#endif
-
-#ifdef YY_NEED_STRLEN
-static int yy_flex_strlen YY_PROTO(( yyconst char * ));
-#endif
-
-#ifndef YY_NO_INPUT
-#ifdef __cplusplus
-static int yyinput YY_PROTO(( void ));
-#else
-static int input YY_PROTO(( void ));
-#endif
-#endif
-
-#if YY_STACK_USED
-static int yy_start_stack_ptr = 0;
-static int yy_start_stack_depth = 0;
-static int *yy_start_stack = 0;
-#ifndef YY_NO_PUSH_STATE
-static void yy_push_state YY_PROTO(( int new_state ));
-#endif
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state YY_PROTO(( void ));
-#endif
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state YY_PROTO(( void ));
-#endif
-
-#else
-#define YY_NO_PUSH_STATE 1
-#define YY_NO_POP_STATE 1
-#define YY_NO_TOP_STATE 1
-#endif
-
-#ifdef YY_MALLOC_DECL
-YY_MALLOC_DECL
-#else
-#if __STDC__
-#ifndef __cplusplus
-#include <stdlib.h>
-#endif
-#else
-/* Just try to get by without declaring the routines. This will fail
- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
- * or sizeof(void*) != sizeof(int).
- */
-#endif
-#endif
-
-/* Amount of stuff to slurp up with each read. */
-#ifndef YY_READ_BUF_SIZE
-#define YY_READ_BUF_SIZE 8192
-#endif
-
-/* Copy whatever the last rule matched to the standard output. */
-
-#ifndef ECHO
-/* This used to be an fputs(), but since the string might contain NUL's,
- * we now use fwrite().
- */
-#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
-#endif
-
-/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
- * is returned in "result".
- */
-#ifndef YY_INPUT
-#define YY_INPUT(buf,result,max_size) \
- if ( yy_current_buffer->yy_is_interactive ) \
- { \
- int c = '*', n; \
- for ( n = 0; n < max_size && \
- (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
- buf[n] = (char) c; \
- if ( c == '\n' ) \
- buf[n++] = (char) c; \
- if ( c == EOF && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
- result = n; \
- } \
- else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
- && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" );
-#endif
-
-/* No semi-colon after return; correct usage is to write "yyterminate();" -
- * we don't want an extra ';' after the "return" because that will cause
- * some compilers to complain about unreachable statements.
- */
-#ifndef yyterminate
-#define yyterminate() return YY_NULL
-#endif
-
-/* Number of entries by which start-condition stack grows. */
-#ifndef YY_START_STACK_INCR
-#define YY_START_STACK_INCR 25
-#endif
-
-/* Report a fatal error. */
-#ifndef YY_FATAL_ERROR
-#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
-#endif
-
-/* Default declaration of generated scanner - a define so the user can
- * easily add parameters.
- */
-#ifndef YY_DECL
-#define YY_DECL int yylex YY_PROTO(( void ))
-#endif
-
-/* Code executed at the beginning of each rule, after yytext and yyleng
- * have been set up.
- */
-#ifndef YY_USER_ACTION
-#define YY_USER_ACTION
-#endif
-
-/* Code executed at the end of each rule. */
-#ifndef YY_BREAK
-#define YY_BREAK break;
-#endif
-
-#define YY_RULE_SETUP \
- YY_USER_ACTION
-
-YY_DECL
- {
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
-
-#line 1 "kb8to7.lex"
-
-#line 558 "lex.yy.c"
-
- if ( yy_init )
- {
- yy_init = 0;
-
-#ifdef YY_USER_INIT
- YY_USER_INIT;
-#endif
-
- if ( ! yy_start )
- yy_start = 1; /* first start state */
-
- if ( ! yyin )
- yyin = stdin;
-
- if ( ! yyout )
- yyout = stdout;
-
- if ( ! yy_current_buffer )
- yy_current_buffer =
- yy_create_buffer( yyin, YY_BUF_SIZE );
-
- yy_load_buffer_state();
- }
-
- while ( 1 ) /* loops until end-of-file is reached */
- {
- yy_cp = yy_c_buf_p;
-
- /* Support of yytext. */
- *yy_cp = yy_hold_char;
-
- /* yy_bp points to the position in yy_ch_buf of the start of
- * the current run.
- */
- yy_bp = yy_cp;
-
- yy_current_state = yy_start;
-yy_match:
- do
- {
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
- if ( yy_accept[yy_current_state] )
- {
- yy_last_accepting_state = yy_current_state;
- yy_last_accepting_cpos = yy_cp;
- }
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 59 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- ++yy_cp;
- }
- while ( yy_base[yy_current_state] != 56 );
-
-yy_find_action:
- yy_act = yy_accept[yy_current_state];
- if ( yy_act == 0 )
- { /* have to back up */
- yy_cp = yy_last_accepting_cpos;
- yy_current_state = yy_last_accepting_state;
- yy_act = yy_accept[yy_current_state];
- }
-
- YY_DO_BEFORE_ACTION;
-
-
-do_action: /* This label is used only to access EOF actions. */
-
-
- switch ( yy_act )
- { /* beginning of action switch */
- case 0: /* must back up */
- /* undo the effects of YY_DO_BEFORE_ACTION */
- *yy_cp = yy_hold_char;
- yy_cp = yy_last_accepting_cpos;
- yy_current_state = yy_last_accepting_state;
- goto yy_find_action;
-
-case 1:
-YY_RULE_SETUP
-#line 2 "kb8to7.lex"
-printf("\\`{a}");
- YY_BREAK
-case 2:
-YY_RULE_SETUP
-#line 3 "kb8to7.lex"
-printf("\\`{A}");
- YY_BREAK
-case 3:
-YY_RULE_SETUP
-#line 4 "kb8to7.lex"
-printf("\\\"{a}");
- YY_BREAK
-case 4:
-YY_RULE_SETUP
-#line 5 "kb8to7.lex"
-printf("\\\"{A}");
- YY_BREAK
-case 5:
-YY_RULE_SETUP
-#line 6 "kb8to7.lex"
-printf("\\^{a}");
- YY_BREAK
-case 6:
-YY_RULE_SETUP
-#line 7 "kb8to7.lex"
-printf("\\^{A}");
- YY_BREAK
-case 7:
-YY_RULE_SETUP
-#line 8 "kb8to7.lex"
-printf("\\r{a}");
- YY_BREAK
-case 8:
-YY_RULE_SETUP
-#line 9 "kb8to7.lex"
-printf("\\r{A}");
- YY_BREAK
-case 9:
-YY_RULE_SETUP
-#line 10 "kb8to7.lex"
-printf("\\`{e}");
- YY_BREAK
-case 10:
-YY_RULE_SETUP
-#line 11 "kb8to7.lex"
-printf("\\`{E}");
- YY_BREAK
-case 11:
-YY_RULE_SETUP
-#line 12 "kb8to7.lex"
-printf("\\'{e}");
- YY_BREAK
-case 12:
-YY_RULE_SETUP
-#line 13 "kb8to7.lex"
-printf("\\'{E}");
- YY_BREAK
-case 13:
-YY_RULE_SETUP
-#line 14 "kb8to7.lex"
-printf("\\\"{e}");
- YY_BREAK
-case 14:
-YY_RULE_SETUP
-#line 15 "kb8to7.lex"
-printf("\\\"{E}");
- YY_BREAK
-case 15:
-YY_RULE_SETUP
-#line 16 "kb8to7.lex"
-printf("\\^{e}");
- YY_BREAK
-case 16:
-YY_RULE_SETUP
-#line 17 "kb8to7.lex"
-printf("\\^{E}");
- YY_BREAK
-case 17:
-YY_RULE_SETUP
-#line 18 "kb8to7.lex"
-printf("\\\"{\\i}");
- YY_BREAK
-case 18:
-YY_RULE_SETUP
-#line 19 "kb8to7.lex"
-printf("\\\"{\\I}");
- YY_BREAK
-case 19:
-YY_RULE_SETUP
-#line 20 "kb8to7.lex"
-printf("\\^{\\i}");
- YY_BREAK
-case 20:
-YY_RULE_SETUP
-#line 21 "kb8to7.lex"
-printf("\\^{\\I}");
- YY_BREAK
-case 21:
-YY_RULE_SETUP
-#line 22 "kb8to7.lex"
-printf("\\\"{o}");
- YY_BREAK
-case 22:
-YY_RULE_SETUP
-#line 23 "kb8to7.lex"
-printf("\\\"{O}");
- YY_BREAK
-case 23:
-YY_RULE_SETUP
-#line 24 "kb8to7.lex"
-printf("\\^{o}");
- YY_BREAK
-case 24:
-YY_RULE_SETUP
-#line 25 "kb8to7.lex"
-printf("\\^{O}");
- YY_BREAK
-case 25:
-YY_RULE_SETUP
-#line 26 "kb8to7.lex"
-printf("\\`{u}");
- YY_BREAK
-case 26:
-YY_RULE_SETUP
-#line 27 "kb8to7.lex"
-printf("\\`{U}");
- YY_BREAK
-case 27:
-YY_RULE_SETUP
-#line 28 "kb8to7.lex"
-printf("\\\"{u}");
- YY_BREAK
-case 28:
-YY_RULE_SETUP
-#line 29 "kb8to7.lex"
-printf("\\\"{U}");
- YY_BREAK
-case 29:
-YY_RULE_SETUP
-#line 30 "kb8to7.lex"
-printf("\\^{u}");
- YY_BREAK
-case 30:
-YY_RULE_SETUP
-#line 31 "kb8to7.lex"
-printf("\\^{U}");
- YY_BREAK
-case 31:
-YY_RULE_SETUP
-#line 32 "kb8to7.lex"
-printf("\\c{c}");
- YY_BREAK
-case 32:
-YY_RULE_SETUP
-#line 33 "kb8to7.lex"
-printf("\\c{C}");
- YY_BREAK
-case 33:
-YY_RULE_SETUP
-#line 34 "kb8to7.lex"
-printf("\\\"{y}");
- YY_BREAK
-case 34:
-YY_RULE_SETUP
-#line 35 "kb8to7.lex"
-printf("\\\"{Y}");
- YY_BREAK
-case 35:
-YY_RULE_SETUP
-#line 36 "kb8to7.lex"
-printf("{\\oe}");
- YY_BREAK
-case 36:
-YY_RULE_SETUP
-#line 37 "kb8to7.lex"
-printf("{\\OE}");
- YY_BREAK
-case 37:
-YY_RULE_SETUP
-#line 38 "kb8to7.lex"
-printf("{\\ae}");
- YY_BREAK
-case 38:
-YY_RULE_SETUP
-#line 39 "kb8to7.lex"
-printf("{\\AE}");
- YY_BREAK
-case 39:
-YY_RULE_SETUP
-#line 40 "kb8to7.lex"
-printf("{\\o}");
- YY_BREAK
-case 40:
-YY_RULE_SETUP
-#line 41 "kb8to7.lex"
-printf("{\\O}");
- YY_BREAK
-case 41:
-YY_RULE_SETUP
-#line 42 "kb8to7.lex"
-printf("!`");
- YY_BREAK
-case 42:
-YY_RULE_SETUP
-#line 43 "kb8to7.lex"
-printf("?`");
- YY_BREAK
-case 43:
-YY_RULE_SETUP
-#line 44 "kb8to7.lex"
-printf("<<");
- YY_BREAK
-case 44:
-YY_RULE_SETUP
-#line 45 "kb8to7.lex"
-printf(">>");
- YY_BREAK
-case 45:
-YY_RULE_SETUP
-#line 46 "kb8to7.lex"
-printf("\\r{}");
- YY_BREAK
-case 46:
-YY_RULE_SETUP
-#line 47 "kb8to7.lex"
-printf("{\\texteuro}");
- YY_BREAK
-case 47:
-YY_RULE_SETUP
-#line 48 "kb8to7.lex"
-printf("{\\ss}");
- YY_BREAK
-case 48:
-YY_RULE_SETUP
-#line 49 "kb8to7.lex"
-printf("{\\pounds}");
- YY_BREAK
-case 49:
-YY_RULE_SETUP
-#line 50 "kb8to7.lex"
-printf("{\\copyright}");
- YY_BREAK
-case 50:
-YY_RULE_SETUP
-#line 51 "kb8to7.lex"
-printf("{\\P}");
- YY_BREAK
-case 51:
-YY_RULE_SETUP
-#line 52 "kb8to7.lex"
-printf("{\\S}");
- YY_BREAK
-case 52:
-YY_RULE_SETUP
-#line 53 "kb8to7.lex"
-printf("\\bgroup\\ifmmode\\div\\else\\string/\\fi\\egroup");
- YY_BREAK
-case 53:
-YY_RULE_SETUP
-#line 54 "kb8to7.lex"
-printf("\\bgroup\\ifmmode\\times\\else\\string*\\fi\\egroup");
- YY_BREAK
-case 54:
-YY_RULE_SETUP
-#line 55 "kb8to7.lex"
-ECHO;
- YY_BREAK
-#line 911 "lex.yy.c"
-case YY_STATE_EOF(INITIAL):
- yyterminate();
-
- case YY_END_OF_BUFFER:
- {
- /* Amount of text matched not including the EOB char. */
- int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
-
- /* Undo the effects of YY_DO_BEFORE_ACTION. */
- *yy_cp = yy_hold_char;
- YY_RESTORE_YY_MORE_OFFSET
-
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
- {
- /* We're scanning a new file or input source. It's
- * possible that this happened because the user
- * just pointed yyin at a new source and called
- * yylex(). If so, then we have to assure
- * consistency between yy_current_buffer and our
- * globals. Here is the right place to do so, because
- * this is the first action (other than possibly a
- * back-up) that will match for the new input source.
- */
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yy_current_buffer->yy_input_file = yyin;
- yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
- }
-
- /* Note that here we test for yy_c_buf_p "<=" to the position
- * of the first EOB in the buffer, since yy_c_buf_p will
- * already have been incremented past the NUL character
- * (since all states make transitions on EOB to the
- * end-of-buffer state). Contrast this with the test
- * in input().
- */
- if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- { /* This was really a NUL. */
- yy_state_type yy_next_state;
-
- yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- /* Okay, we're now positioned to make the NUL
- * transition. We couldn't have
- * yy_get_previous_state() go ahead and do it
- * for us because it doesn't know how to deal
- * with the possibility of jamming (and we don't
- * want to build jamming into it because then it
- * will run more slowly).
- */
-
- yy_next_state = yy_try_NUL_trans( yy_current_state );
-
- yy_bp = yytext_ptr + YY_MORE_ADJ;
-
- if ( yy_next_state )
- {
- /* Consume the NUL. */
- yy_cp = ++yy_c_buf_p;
- yy_current_state = yy_next_state;
- goto yy_match;
- }
-
- else
- {
- yy_cp = yy_c_buf_p;
- goto yy_find_action;
- }
- }
-
- else switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- yy_did_buffer_switch_on_eof = 0;
-
- if ( yywrap() )
- {
- /* Note: because we've taken care in
- * yy_get_next_buffer() to have set up
- * yytext, we can now set up
- * yy_c_buf_p so that if some total
- * hoser (like flex itself) wants to
- * call the scanner after we return the
- * YY_NULL, it'll still work - another
- * YY_NULL will get returned.
- */
- yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
-
- yy_act = YY_STATE_EOF(YY_START);
- goto do_action;
- }
-
- else
- {
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
- }
- break;
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p =
- yytext_ptr + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_match;
-
- case EOB_ACT_LAST_MATCH:
- yy_c_buf_p =
- &yy_current_buffer->yy_ch_buf[yy_n_chars];
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_find_action;
- }
- break;
- }
-
- default:
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--no action found" );
- } /* end of action switch */
- } /* end of scanning one token */
- } /* end of yylex */
-
-
-/* yy_get_next_buffer - try to read in a new buffer
- *
- * Returns a code representing an action:
- * EOB_ACT_LAST_MATCH -
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
- * EOB_ACT_END_OF_FILE - end of file
- */
-
-static int yy_get_next_buffer()
- {
- register char *dest = yy_current_buffer->yy_ch_buf;
- register char *source = yytext_ptr;
- register int number_to_move, i;
- int ret_val;
-
- if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--end of buffer missed" );
-
- if ( yy_current_buffer->yy_fill_buffer == 0 )
- { /* Don't try to fill the buffer, so this is an EOF. */
- if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
- {
- /* We matched a single character, the EOB, so
- * treat this as a final EOF.
- */
- return EOB_ACT_END_OF_FILE;
- }
-
- else
- {
- /* We matched some text prior to the EOB, first
- * process it.
- */
- return EOB_ACT_LAST_MATCH;
- }
- }
-
- /* Try to read more data. */
-
- /* First move last chars to start of buffer. */
- number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
-
- for ( i = 0; i < number_to_move; ++i )
- *(dest++) = *(source++);
-
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
- /* don't do the read, it's not guaranteed to return an EOF,
- * just force an EOF
- */
- yy_current_buffer->yy_n_chars = yy_n_chars = 0;
-
- else
- {
- int num_to_read =
- yy_current_buffer->yy_buf_size - number_to_move - 1;
-
- while ( num_to_read <= 0 )
- { /* Not enough room in the buffer - grow it. */
-#ifdef YY_USES_REJECT
- YY_FATAL_ERROR(
-"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-#else
-
- /* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = yy_current_buffer;
-
- int yy_c_buf_p_offset =
- (int) (yy_c_buf_p - b->yy_ch_buf);
-
- if ( b->yy_is_our_buffer )
- {
- int new_size = b->yy_buf_size * 2;
-
- if ( new_size <= 0 )
- b->yy_buf_size += b->yy_buf_size / 8;
- else
- b->yy_buf_size *= 2;
-
- b->yy_ch_buf = (char *)
- /* Include room in for 2 EOB chars. */
- yy_flex_realloc( (void *) b->yy_ch_buf,
- b->yy_buf_size + 2 );
- }
- else
- /* Can't grow it, we don't own it. */
- b->yy_ch_buf = 0;
-
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR(
- "fatal error - scanner input buffer overflow" );
-
- yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
-
- num_to_read = yy_current_buffer->yy_buf_size -
- number_to_move - 1;
-#endif
- }
-
- if ( num_to_read > YY_READ_BUF_SIZE )
- num_to_read = YY_READ_BUF_SIZE;
-
- /* Read in more data. */
- YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
- yy_n_chars, num_to_read );
-
- yy_current_buffer->yy_n_chars = yy_n_chars;
- }
-
- if ( yy_n_chars == 0 )
- {
- if ( number_to_move == YY_MORE_ADJ )
- {
- ret_val = EOB_ACT_END_OF_FILE;
- yyrestart( yyin );
- }
-
- else
- {
- ret_val = EOB_ACT_LAST_MATCH;
- yy_current_buffer->yy_buffer_status =
- YY_BUFFER_EOF_PENDING;
- }
- }
-
- else
- ret_val = EOB_ACT_CONTINUE_SCAN;
-
- yy_n_chars += number_to_move;
- yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
- yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
-
- yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
-
- return ret_val;
- }
-
-
-/* yy_get_previous_state - get the state just before the EOB char was reached */
-
-static yy_state_type yy_get_previous_state()
- {
- register yy_state_type yy_current_state;
- register char *yy_cp;
-
- yy_current_state = yy_start;
-
- for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
- {
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
- if ( yy_accept[yy_current_state] )
- {
- yy_last_accepting_state = yy_current_state;
- yy_last_accepting_cpos = yy_cp;
- }
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 59 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- }
-
- return yy_current_state;
- }
-
-
-/* yy_try_NUL_trans - try to make a transition on the NUL character
- *
- * synopsis
- * next_state = yy_try_NUL_trans( current_state );
- */
-
-#ifdef YY_USE_PROTOS
-static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
-#else
-static yy_state_type yy_try_NUL_trans( yy_current_state )
-yy_state_type yy_current_state;
-#endif
- {
- register int yy_is_jam;
- register char *yy_cp = yy_c_buf_p;
-
- register YY_CHAR yy_c = 1;
- if ( yy_accept[yy_current_state] )
- {
- yy_last_accepting_state = yy_current_state;
- yy_last_accepting_cpos = yy_cp;
- }
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 59 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 58);
-
- return yy_is_jam ? 0 : yy_current_state;
- }
-
-
-#ifndef YY_NO_UNPUT
-#ifdef YY_USE_PROTOS
-static void yyunput( int c, register char *yy_bp )
-#else
-static void yyunput( c, yy_bp )
-int c;
-register char *yy_bp;
-#endif
- {
- register char *yy_cp = yy_c_buf_p;
-
- /* undo effects of setting up yytext */
- *yy_cp = yy_hold_char;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- { /* need to shift things up to make room */
- /* +2 for EOB chars. */
- register int number_to_move = yy_n_chars + 2;
- register char *dest = &yy_current_buffer->yy_ch_buf[
- yy_current_buffer->yy_buf_size + 2];
- register char *source =
- &yy_current_buffer->yy_ch_buf[number_to_move];
-
- while ( source > yy_current_buffer->yy_ch_buf )
- *--dest = *--source;
-
- yy_cp += (int) (dest - source);
- yy_bp += (int) (dest - source);
- yy_current_buffer->yy_n_chars =
- yy_n_chars = yy_current_buffer->yy_buf_size;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
-
- *--yy_cp = (char) c;
-
-
- yytext_ptr = yy_bp;
- yy_hold_char = *yy_cp;
- yy_c_buf_p = yy_cp;
- }
-#endif /* ifndef YY_NO_UNPUT */
-
-
-#ifdef __cplusplus
-static int yyinput()
-#else
-static int input()
-#endif
- {
- int c;
-
- *yy_c_buf_p = yy_hold_char;
-
- if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
- {
- /* yy_c_buf_p now points to the character we want to return.
- * If this occurs *before* the EOB characters, then it's a
- * valid NUL; if not, then we've hit the end of the buffer.
- */
- if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- /* This was really a NUL. */
- *yy_c_buf_p = '\0';
-
- else
- { /* need more input */
- int offset = yy_c_buf_p - yytext_ptr;
- ++yy_c_buf_p;
-
- switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_LAST_MATCH:
- /* This happens because yy_g_n_b()
- * sees that we've accumulated a
- * token and flags that we need to
- * try matching the token before
- * proceeding. But for input(),
- * there's no matching to consider.
- * So convert the EOB_ACT_LAST_MATCH
- * to EOB_ACT_END_OF_FILE.
- */
-
- /* Reset buffer status. */
- yyrestart( yyin );
-
- /* fall through */
-
- case EOB_ACT_END_OF_FILE:
- {
- if ( yywrap() )
- return EOF;
-
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
-#ifdef __cplusplus
- return yyinput();
-#else
- return input();
-#endif
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p = yytext_ptr + offset;
- break;
- }
- }
- }
-
- c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
- *yy_c_buf_p = '\0'; /* preserve yytext */
- yy_hold_char = *++yy_c_buf_p;
-
-
- return c;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yyrestart( FILE *input_file )
-#else
-void yyrestart( input_file )
-FILE *input_file;
-#endif
- {
- if ( ! yy_current_buffer )
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
-
- yy_init_buffer( yy_current_buffer, input_file );
- yy_load_buffer_state();
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
-#else
-void yy_switch_to_buffer( new_buffer )
-YY_BUFFER_STATE new_buffer;
-#endif
- {
- if ( yy_current_buffer == new_buffer )
- return;
-
- if ( yy_current_buffer )
- {
- /* Flush out information for old buffer. */
- *yy_c_buf_p = yy_hold_char;
- yy_current_buffer->yy_buf_pos = yy_c_buf_p;
- yy_current_buffer->yy_n_chars = yy_n_chars;
- }
-
- yy_current_buffer = new_buffer;
- yy_load_buffer_state();
-
- /* We don't actually know whether we did this switch during
- * EOF (yywrap()) processing, but the only time this flag
- * is looked at is after yywrap() is called, so it's safe
- * to go ahead and always set it.
- */
- yy_did_buffer_switch_on_eof = 1;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_load_buffer_state( void )
-#else
-void yy_load_buffer_state()
-#endif
- {
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
- yyin = yy_current_buffer->yy_input_file;
- yy_hold_char = *yy_c_buf_p;
- }
-
-
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
-#else
-YY_BUFFER_STATE yy_create_buffer( file, size )
-FILE *file;
-int size;
-#endif
- {
- YY_BUFFER_STATE b;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-
- b->yy_buf_size = size;
-
- /* yy_ch_buf has to be 2 characters longer than the size given because
- * we need to put in 2 end-of-buffer characters.
- */
- b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-
- b->yy_is_our_buffer = 1;
-
- yy_init_buffer( b, file );
-
- return b;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_delete_buffer( YY_BUFFER_STATE b )
-#else
-void yy_delete_buffer( b )
-YY_BUFFER_STATE b;
-#endif
- {
- if ( ! b )
- return;
-
- if ( b == yy_current_buffer )
- yy_current_buffer = (YY_BUFFER_STATE) 0;
-
- if ( b->yy_is_our_buffer )
- yy_flex_free( (void *) b->yy_ch_buf );
-
- yy_flex_free( (void *) b );
- }
-
-
-#ifndef YY_ALWAYS_INTERACTIVE
-#ifndef YY_NEVER_INTERACTIVE
-extern int isatty YY_PROTO(( int ));
-#endif
-#endif
-
-#ifdef YY_USE_PROTOS
-void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
-#else
-void yy_init_buffer( b, file )
-YY_BUFFER_STATE b;
-FILE *file;
-#endif
-
-
- {
- yy_flush_buffer( b );
-
- b->yy_input_file = file;
- b->yy_fill_buffer = 1;
-
-#if YY_ALWAYS_INTERACTIVE
- b->yy_is_interactive = 1;
-#else
-#if YY_NEVER_INTERACTIVE
- b->yy_is_interactive = 0;
-#else
- b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-#endif
-#endif
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_flush_buffer( YY_BUFFER_STATE b )
-#else
-void yy_flush_buffer( b )
-YY_BUFFER_STATE b;
-#endif
-
- {
- if ( ! b )
- return;
-
- b->yy_n_chars = 0;
-
- /* We always need two end-of-buffer characters. The first causes
- * a transition to the end-of-buffer state. The second causes
- * a jam in that state.
- */
- b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
-
- b->yy_buf_pos = &b->yy_ch_buf[0];
-
- b->yy_at_bol = 1;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- if ( b == yy_current_buffer )
- yy_load_buffer_state();
- }
-
-
-#ifndef YY_NO_SCAN_BUFFER
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
-#else
-YY_BUFFER_STATE yy_scan_buffer( base, size )
-char *base;
-yy_size_t size;
-#endif
- {
- YY_BUFFER_STATE b;
-
- if ( size < 2 ||
- base[size-2] != YY_END_OF_BUFFER_CHAR ||
- base[size-1] != YY_END_OF_BUFFER_CHAR )
- /* They forgot to leave room for the EOB's. */
- return 0;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
-
- b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
- b->yy_buf_pos = b->yy_ch_buf = base;
- b->yy_is_our_buffer = 0;
- b->yy_input_file = 0;
- b->yy_n_chars = b->yy_buf_size;
- b->yy_is_interactive = 0;
- b->yy_at_bol = 1;
- b->yy_fill_buffer = 0;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- yy_switch_to_buffer( b );
-
- return b;
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_STRING
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
-#else
-YY_BUFFER_STATE yy_scan_string( yy_str )
-yyconst char *yy_str;
-#endif
- {
- int len;
- for ( len = 0; yy_str[len]; ++len )
- ;
-
- return yy_scan_bytes( yy_str, len );
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_BYTES
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
-#else
-YY_BUFFER_STATE yy_scan_bytes( bytes, len )
-yyconst char *bytes;
-int len;
-#endif
- {
- YY_BUFFER_STATE b;
- char *buf;
- yy_size_t n;
- int i;
-
- /* Get memory for full buffer, including space for trailing EOB's. */
- n = len + 2;
- buf = (char *) yy_flex_alloc( n );
- if ( ! buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
-
- for ( i = 0; i < len; ++i )
- buf[i] = bytes[i];
-
- buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
-
- b = yy_scan_buffer( buf, n );
- if ( ! b )
- YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
-
- /* It's okay to grow etc. this buffer, and we should throw it
- * away when we're done.
- */
- b->yy_is_our_buffer = 1;
-
- return b;
- }
-#endif
-
-
-#ifndef YY_NO_PUSH_STATE
-#ifdef YY_USE_PROTOS
-static void yy_push_state( int new_state )
-#else
-static void yy_push_state( new_state )
-int new_state;
-#endif
- {
- if ( yy_start_stack_ptr >= yy_start_stack_depth )
- {
- yy_size_t new_size;
-
- yy_start_stack_depth += YY_START_STACK_INCR;
- new_size = yy_start_stack_depth * sizeof( int );
-
- if ( ! yy_start_stack )
- yy_start_stack = (int *) yy_flex_alloc( new_size );
-
- else
- yy_start_stack = (int *) yy_flex_realloc(
- (void *) yy_start_stack, new_size );
-
- if ( ! yy_start_stack )
- YY_FATAL_ERROR(
- "out of memory expanding start-condition stack" );
- }
-
- yy_start_stack[yy_start_stack_ptr++] = YY_START;
-
- BEGIN(new_state);
- }
-#endif
-
-
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state()
- {
- if ( --yy_start_stack_ptr < 0 )
- YY_FATAL_ERROR( "start-condition stack underflow" );
-
- BEGIN(yy_start_stack[yy_start_stack_ptr]);
- }
-#endif
-
-
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state()
- {
- return yy_start_stack[yy_start_stack_ptr - 1];
- }
-#endif
-
-#ifndef YY_EXIT_FAILURE
-#define YY_EXIT_FAILURE 2
-#endif
-
-#ifdef YY_USE_PROTOS
-static void yy_fatal_error( yyconst char msg[] )
-#else
-static void yy_fatal_error( msg )
-char msg[];
-#endif
- {
- (void) fprintf( stderr, "%s\n", msg );
- exit( YY_EXIT_FAILURE );
- }
-
-
-
-/* Redefine yyless() so it works in section 3 code. */
-
-#undef yyless
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- yytext[yyleng] = yy_hold_char; \
- yy_c_buf_p = yytext + n; \
- yy_hold_char = *yy_c_buf_p; \
- *yy_c_buf_p = '\0'; \
- yyleng = n; \
- } \
- while ( 0 )
-
-
-/* Internal utility routines. */
-
-#ifndef yytext_ptr
-#ifdef YY_USE_PROTOS
-static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
-#else
-static void yy_flex_strncpy( s1, s2, n )
-char *s1;
-yyconst char *s2;
-int n;
-#endif
- {
- register int i;
- for ( i = 0; i < n; ++i )
- s1[i] = s2[i];
- }
-#endif
-
-#ifdef YY_NEED_STRLEN
-#ifdef YY_USE_PROTOS
-static int yy_flex_strlen( yyconst char *s )
-#else
-static int yy_flex_strlen( s )
-yyconst char *s;
-#endif
- {
- register int n;
- for ( n = 0; s[n]; ++n )
- ;
-
- return n;
- }
-#endif
-
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_alloc( yy_size_t size )
-#else
-static void *yy_flex_alloc( size )
-yy_size_t size;
-#endif
- {
- return (void *) malloc( size );
- }
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_realloc( void *ptr, yy_size_t size )
-#else
-static void *yy_flex_realloc( ptr, size )
-void *ptr;
-yy_size_t size;
-#endif
- {
- /* The cast to (char *) in the following accommodates both
- * implementations that use char* generic pointers, and those
- * that use void* generic pointers. It works with the latter
- * because both ANSI C and C++ allow castless assignment from
- * any pointer type to void*, and deal with argument conversions
- * as though doing an assignment.
- */
- return (void *) realloc( (char *) ptr, size );
- }
-
-#ifdef YY_USE_PROTOS
-static void yy_flex_free( void *ptr )
-#else
-static void yy_flex_free( ptr )
-void *ptr;
-#endif
- {
- free( ptr );
- }
-
-#if YY_MAIN
-int main()
- {
- yylex();
- return 0;
- }
-#endif
-#line 55 "kb8to7.lex"
-
-#ifndef yywrap
-int yywrap () { return 1; }
-#endif
-int main() { return yylex(); }
Deleted: trunk/tst/kbto.tex
===================================================================
--- trunk/tst/kbto.tex 2011-01-26 23:09:19 UTC (rev 25)
+++ trunk/tst/kbto.tex 2011-01-26 23:09:26 UTC (rev 26)
@@ -1,29 +0,0 @@
-% kbto.tex /binary test file/ to adapt to your own keyboard/
-% Apres passage dans les programmes kb7to8 ou kb8to7
-% les couples de lignes suivantes doivent etre identiques
-% (la premiere ligne de chaque paire est codee en 8-bits
-% selon mon clavier latin9} : last mods 2002/03/18
-
-\xE9conom\xE8trie fa\xE7on cha\xEEne
-
-\'{e}conom\`{e}trie fa\c{c}on cha\^{\i}ne
-
-=========================================
-
-\xBDuvre curiculum vit\xE6
-
-{\oe}uvre curiculum vit{\ae}
-
-============================
-
-\xF8 \xA1 \xBF \xAB \xBB \xA3 \xDF \xA9 \xB6
-
-{\o} !` ?` << >> {\pounds} {\ss} {\copyright} {\P}
-
-==================================================
-FIN.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%% checksum = "40790 29 85 787"
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%