% 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 | ˆ | . | Š | ‰ | . | . | . | Œ |% no \'a in f. \hex| ^^e0 | . | ^^e4 | ^^e2 | . | . | . | ^^e5 ]% + angstroem [A | Ë | . | € | å | . | . | . | |% no \'A in f. \hex| ^^c0 | . | ^^c4 | ^^c2 | . | . | . | ^^c5 ]% %------------------------------------------------------------------------------ [e | | Ž | ‘ | | . | . | . | . |% \hex| ^^e8 | ^^e9 | ^^eb | ^^ea | . | . | . | . ]% [E | é | ƒ | è | æ | . | . | . | . |% \hex| ^^c8 | ^^c9 | ^^cb | ^^ca | . | . | . | . ]% %------------------------------------------------------------------------------ [{\i{}} | . | . | • | ” | . | . | . | . |% no \`i \'i \hex| . | . | ^^ef | ^^ee | . | . | . | . ]% [{\I{}} | . | . | ì | ë | . | . | . | . |% no \`I \'I \hex| . | . | ^^cf | ^^ce | . | . | . | . ]% %------------------------------------------------------------------------------ [o | . | . | š | ™ | . | . | . | . |% no \`o \'o \hex| . | . | ^^f6 | ^^f4 | . | . | . | . ]% [O | . | . | … | ï | . | . | . | . |% no \`O \'O \hex| . | . | ^^d6 | ^^d4 | . | . | . | . ]% %------------------------------------------------------------------------------ [u | | . | Ÿ | ž | . | . | . | . |% no \'u \hex| ^^f9 | . | ^^fc | ^^fb | . | . | . | . ]% [U | ô | . | † | ó | . | . | . | . |% pas de \'U \hex| ^^d9 | . | ^^dc | ^^db | . | . | . | . ]% %------------------------------------------------------------------------------ [y | . | . | Ø | . | . | . | . | . |% y trema \hex| . | . | ^^b8 | . | . | . | . | . ]% [Y | . | . | Ù | . | . | . | . | . |% Y trema \hex| . | . | ^^98 | . | . | . | . | . ]% %------------------------------------------------------------------------------ [c | . | . | . | . | | . | . | . |% c cedille \hex| . | . | . | . | ^^e7 | . | . | . ]% [C | . | . | . | . | ‚ | . | . | . |% 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{}} | . | . | . | . | . | Ï | . | . |% e dans l'o \hex| . | . | . | . | . | ^^f7 | . | . ]% [{\OE{}} | . | . | . | . | . | Î | . | . |% E dans l'O \hex| . | . | . | . | . | ^^d7 | . | . ]% %------------------------------------------------------------------------------ [{\ae{}} | . | . | . | . | . | ¾ | . | . |% e dans l'a \hex| . | . | . | . | . | ^^e6 | . | . ]% [{\AE{}} | . | . | . | . | . | ® | . | . |% E dans l'A \hex| . | . | . | . | . | ^^c6 | . | . ]% %------------------------------------------------------------------------------ [{\o{}} | . | . | . | . | . | ¿ | . | . |% o scandinave \hex| . | . | . | . | . | ^^f8 | . | . ]% [{\O{}} | . | . | . | . | . | ¯ | . | . |% \hex| . | . | . | . | . | ^^d8 | . | . ]% \MACROfalse% depuis LaTeX2e %------------------------------------------------------------------------------ % Ci-dessous les caracteres speciaux qui sont en fait des ligatures % (ne pas en rajouter) %------------------------------------------------------------------------------ \LIGStrue [{!`} | . | . | . | . | . | Á | . | . |% ! espagnol \hex| . | . | . | . | . | ^^bd | . | . ]% [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{?`} | . | . | . | . | . | À | . | . |% ? espagnol \hex| . | . | . | . | . | ^^be | . | . ]% [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% \LIGSfalse %------------------------------------------------------------------------------ % Ci-dessous les caracteres speciaux qui sont en fait des macros-instructions %------------------------------------------------------------------------------ \MACROtrue %------------------------------------------------------------------------------ [{\guillemotleft\dGs} % % guillemets | . | . | . | . | . | Ç | . | . |% ouvrants \hex| . | . | . | . | . | . | . | . ]% francais [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{\guillemotright{}} % % guillemets | . | . | . | . | . | È | . | . |% fermants \hex| . | . | . | . | . | . | . | . ]% francais [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{\r{}} % | . | . | . | . | . | ¡ | . | . |% degre \hex| . | . | . | . | . | . | . | . ]% [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{\csname texteuro\endcsname} % | . | . | . | . | . | Û | . | . |% euro \hex| . | . | . | . | . | . | . | . ]% [. | . | . | . | . | . | . | . | . |% currency \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ % Ci-dessous des macro-caracteres speciaux qui peuvent etre % des caracteres mathematiques. %------------------------------------------------------------------------------ [{\ss{}} | . | . | . | . | . | § | . | . |% es-zet \hex| . | . | . | . | . | ^^ff | . | . ]% % obviously kb7to8 will not contain target {{SS}} [{\SS{}} | . | . | . | . | . | {{SS}} | . | . |% \hex| . | . | . | . | . | ^^df | . | . ]% %------------------------------------------------------------------------------ [{\pounds{}} | . | . | . | . | . | £ | . | . |%sterling pound \hex| . | . | . | . | . | . | . | . ]% [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{\copyright{}} % | . | . | . | . | . | © | . | . |% copyright \hex| . | . | . | . | . | . | . | . ]% [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{\P{}} | . | . | . | . | . | ¦ | . | . |% "plicrow" \hex| . | . | . | . | . | . | . | . ]% [. | . | . | . | . | . | . | . | . |% \hex| . | . | . | . | . | . | . | . ]% %------------------------------------------------------------------------------ [{\S{}} | . | . | . | . | . | ¤ | . | . |% 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% \¬E 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% \¬E 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%