Debian Codegraph @

texmf-dist/source/latex/glossaries-french/glossaries-french.dtx

raw
1 %\iffalse
2 %<*package>
3 %% \CharacterTable
4 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
5 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
6 %% Digits \0\1\2\3\4\5\6\7\8\9
7 %% Exclamation \! Double quote \" Hash (number) \#
8 %% Dollar \$ Percent \% Ampersand \&
9 %% Acute accent \' Left paren \( Right paren \)
10 %% Asterisk \* Plus \+ Comma \,
11 %% Minus \- Point \. Solidus \/
12 %% Colon \: Semicolon \; Less than \<
13 %% Equals \= Greater than \> Question mark \?
14 %% Commercial at \@ Left bracket \[ Backslash \\
15 %% Right bracket \] Circumflex \^ Underscore \_
16 %% Grave accent \` Left brace \{ Vertical bar \|
17 %% Right brace \} Tilde \~}
18 %</package>
19 %\fi
20 % \iffalse
21 %<*driver>
22 \documentclass[english,french]{ltxdoc}
23
24 \usepackage[utf8]{inputenc}
25 \usepackage[T1]{fontenc}
26 \usepackage{lmodern}
27 \usepackage[a4paper]{geometry}
28 \usepackage[autostyle=once]{csquotes}
29 \usepackage{babel}
30
31 \CheckSum{77}
32
33 \title{Glossaries Language Module: glossaries-french}
34 \author{Nicola Talbot \& Denis Bitouzé \& Vincent Belaïche}
35 {\makeatletter
36 \long\def\@tempa#1\ProvidesGlossariesLang#2[#3/#4/#5 v#6]#7\endinput{%
37 \toks0{#3}\toks1{#4}\toks2{#5}\toks3{#6}%
38 }%
39 \expandafter\@tempa\@@input glossaries-french.dtx
40 \edef\@tempa{\noexpand\date{version \the\toks3 \space(\the\toks0-\the\toks1-\the\toks2)}}%
41 \expandafter}\@tempa
42
43 \newcommand{\package}[1]{\textsf{#1}}
44 \newcommand{\Package}[1]{package \package{#1}}
45
46 \begin{document}
47 \DocInput{glossaries-french.dtx}
48 \end{document}
49 %</driver>
50 %\fi
51 %\maketitle
52 %
53 % This language module simply needs to be installed. The \textsf{glossaries}
54 % package (from version 4.12) will automatically load it if required. (The rest
55 % of this documentation is in French, as it is most useful to French speaking
56 % people.)
57 %
58 % Nous n'apportons que peu de modifications au module initial où le suffixe par
59 % défaut des pluriels d'acronymes est identique au suffixe (\enquote{s}) des
60 % pluriels en général. Or, en français, les acronymes sont invariables si bien
61 % que leurs pluriels et leurs singuliers sont identiques. Nous redéfinissons
62 % donc le suffixe des pluriels d'acronymes comme étant vide, tant pour les
63 % acronymes sans mise en forme que pour ceux en petites capitales.
64 %
65 % \StopEventually{}
66 %
67 % \selectlanguage{english}
68 %
69 % \section{The Code}
70 % \iffalse
71 % \begin{macrocode}
72 %<*glossaries-french.ldf>
73 % \end{macrocode}
74 % \fi
75 %\subsection{glossaries-french.ldf}
76 % \begin{macrocode}
77 \ProvidesGlossariesLang{french}[2016/12/12 v1.1]
78
79 \glsifusedtranslatordict{French}
80 {%
81 \addglossarytocaptions{\CurrentTrackedLanguage}%
82 \addglossarytocaptions{\CurrentTrackedDialect}%
83 }
84 {%
85 \@ifpackageloaded{polyglossia}%
86 {%
87 \newcommand*{\glossariescaptionsfrench}{%
88 \renewcommand*{\glossaryname}{\textfrench{Glossaire}}%
89 \renewcommand*{\acronymname}{\textfrench{Acronymes}}%
90 \renewcommand*{\entryname}{\textfrench{Terme}}%
91 \renewcommand*{\descriptionname}{\textfrench{Description}}%
92 \renewcommand*{\symbolname}{\textfrench{Symbole}}%
93 \renewcommand*{\pagelistname}{\textfrench{Pages}}%
94 \renewcommand*{\glssymbolsgroupname}{\textfrench{Symboles}}%
95 \renewcommand*{\glsnumbersgroupname}{\textfrench{Nombres}}%
96 }%
97 }%
98 {%
99 \newcommand*{\glossariescaptionsfrench}{%
100 \renewcommand*{\glossaryname}{Glossaire}%
101 \renewcommand*{\acronymname}{Acronymes}%
102 \renewcommand*{\entryname}{Terme}%
103 \renewcommand*{\descriptionname}{Description}%
104 \renewcommand*{\symbolname}{Symbole}%
105 \renewcommand*{\pagelistname}{Pages}%
106 \renewcommand*{\glssymbolsgroupname}{Symboles}%
107 \renewcommand*{\glsnumbersgroupname}{Nombres}%
108 }%
109 }%
110 \ifcsdef{captions\CurrentTrackedDialect}
111 {%
112 \csappto{captions\CurrentTrackedDialect}%
113 {%
114 \glossariescaptionsfrench
115 }%
116 }%
117 {%
118 \ifcsdef{captions\CurrentTrackedLanguage}
119 {%
120 \csappto{captions\CurrentTrackedLanguage}%
121 {%
122 \glossariescaptionsfrench
123 }%
124 }%
125 {%
126 }%
127 }%
128 \glossariescaptionsfrench
129 }
130 % \end{macrocode}
131 % General default plural suffix:
132 % \begin{macrocode}
133 \renewcommand*{\glspluralsuffix}{s}
134 % \end{macrocode}
135 % Acronym default plural suffix is empty because, in French, acronyms are invariable:
136 % \begin{macrocode}
137 \renewcommand*{\glsacrpluralsuffix}{}
138 % \end{macrocode}
139 % Acronym in \cs{textsc} default plural suffix is empty because, in French,
140 % acronyms are invariable (\cs{glstextup} is used to cancel the effect of
141 % \cs{textsc}):
142 % \begin{macrocode}
143 \renewcommand*{\glsupacrpluralsuffix}{}
144 % \end{macrocode}
145 %\iffalse
146 % \begin{macrocode}
147 %</glossaries-french.ldf>
148 % \end{macrocode}
149 %\fi
150 %\iffalse
151 % \begin{macrocode}
152 %<*glossaries-dictionary-French.dict>
153 % \end{macrocode}
154 %\fi
155 %\subsection{glossaries-dictionary-French.dict}
156 % \begin{macrocode}
157 \ProvidesDictionary{glossaries-dictionary}{French}
158
159 \providetranslation{Glossary}{Glossaire}
160 \providetranslation{Acronyms}{Acronymes}
161 \providetranslation{Notation (glossaries)}{Terme}
162 \providetranslation{Description (glossaries)}{Description}
163 \providetranslation{Symbol (glossaries)}{Symbole}
164 \providetranslation{Page List (glossaries)}{Pages}
165 \providetranslation{Symbols (glossaries)}{Symboles}
166 \providetranslation{Numbers (glossaries)}{Nombres}
167 % \end{macrocode}
168 %\iffalse
169 % \begin{macrocode}
170 %</glossaries-dictionary-French.dict>
171 % \end{macrocode}
172 %\fi
173 %\Finale
174 \endinput
175
176 % \endinput
177 % Local Variables:
178 % mode: doctex
179 % coding: utf-8
180 % TeX-master: t
181 % End: