summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/epslatex-fr/mypatches.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/epslatex-fr/mypatches.sty')
-rw-r--r--Master/texmf-dist/doc/latex/epslatex-fr/mypatches.sty41
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/epslatex-fr/mypatches.sty b/Master/texmf-dist/doc/latex/epslatex-fr/mypatches.sty
new file mode 100644
index 00000000000..19606d4c4e6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/epslatex-fr/mypatches.sty
@@ -0,0 +1,41 @@
+% LOCAL PATCH
+% encoding T1 for \" (francais)
+%\def\french@dieresis#1{{\accent"04 \if#1i\i\else#1\fi}}
+\DeclareTextCommand{\french@dieresis}{T1}[1]{{\accent"4\if#1i\i\else#1\fi}}
+\DeclareTextCommand{\french@dieresis}{OT1}[1]{{\accent"7F\if#1i\i\else#1\fi}}
+% encoding T1 for \w (czech)
+\gdef\czech@w#1{\accent'06 #1}% 06 for T1, was 23 (OT1)
+\gdef\croatian@w#1{\accent'06 #1}% 06 for T1, was 23 (OT1)
+\global\let\w\czech@w
+% \q for czech
+\gdef\czech@q#1{#1\kern-2pt\char'47}%
+\global\let\q\czech@q
+
+\DeclareTextCommand{\boi}{T1}{{\tt\char '20}}
+\DeclareTextCommand{\boi}{OT1}{{\tt\char '134}}
+%\DeclareTextCommand{\degre}{T1}{{\char '6}}
+%\DeclareTextCommand{\degre}{OT1}{{\char '27}}
+\let\degre\undefined
+\DeclareTextSymbol{\degre}{T1}{'6}
+\DeclareTextSymbol{\degre}{OT1}{'27}
+
+\DeclareTextCommand{\czech@w}{T1}[1]{{\accent'06 #1}}
+\DeclareTextCommand{\czech@w}{OT1}[1]{{\accent'23 #1}}
+\global\let\w\czech@w
+
+\DeclareTextCommand{\croatian@w}{T1}[1]{{\accent'06 #1}}
+\DeclareTextCommand{\croatian@w}{OT1}[1]{{\accent'23 #1}}
+\global\let\q\czech@q
+
+% Pb with \No (Nobelium) in chemsym.sty
+\let\Noo\No
+\let\No\undefined
+
+% \textcent, \textcurrentcy, \textyen, \textbrokenbar
+
+\ProvideTextCommand{\textcent}{T1}{{\fontencoding{TS1}\selectfont\char162}}
+\ProvideTextCommand{\textcurrency}{T1}{{\fontencoding{TS1}\selectfont\char164}}
+\ProvideTextCommand{\textyen}{T1}{{\fontencoding{TS1}\selectfont\char165}}
+\ProvideTextCommand{\textbrokenbar}{T1}{{\fontencoding{TS1}\selectfont\char166}}
+\RequirePackage{boldsc}
+\RequirePackage{cmsd}