summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-french
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/glossaries-french
Initial commit
Diffstat (limited to 'macros/latex/contrib/glossaries-french')
-rw-r--r--macros/latex/contrib/glossaries-french/README26
-rw-r--r--macros/latex/contrib/glossaries-french/glossaries-french.dtx181
-rw-r--r--macros/latex/contrib/glossaries-french/glossaries-french.ins30
-rw-r--r--macros/latex/contrib/glossaries-french/glossaries-french.pdfbin0 -> 198809 bytes
4 files changed, 237 insertions, 0 deletions
diff --git a/macros/latex/contrib/glossaries-french/README b/macros/latex/contrib/glossaries-french/README
new file mode 100644
index 0000000000..d1287fd48a
--- /dev/null
+++ b/macros/latex/contrib/glossaries-french/README
@@ -0,0 +1,26 @@
+French Language Module for glossaries Package
+
+Maintainer: Denis Bitouz'e and Vincent Bela"iche
+
+To install:
+
+1) execute the following to extract *.ldf and *.dict files:
+
+ latex glossaries-french.ins
+
+2) execute the following to compile documentation:
+
+ pdflatex glossaries-french.dtx
+
+3) copy *.ldf and *.dict to
+
+ TEXMF/tex/latex/glossaries-contrib/glossaries-french/
+
+where TEXMF is the texmf root directory.
+
+The glossaries package (from version 4.12) will automatically
+load this module if it is required.
+
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/license/lppl1.3
+for the details of that license.
diff --git a/macros/latex/contrib/glossaries-french/glossaries-french.dtx b/macros/latex/contrib/glossaries-french/glossaries-french.dtx
new file mode 100644
index 0000000000..6ba0692095
--- /dev/null
+++ b/macros/latex/contrib/glossaries-french/glossaries-french.dtx
@@ -0,0 +1,181 @@
+%\iffalse
+%<*package>
+%% \CharacterTable
+%% {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
+%% 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
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%</package>
+%\fi
+% \iffalse
+%<*driver>
+\documentclass[english,french]{ltxdoc}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage[a4paper]{geometry}
+\usepackage[autostyle=once]{csquotes}
+\usepackage{babel}
+
+\CheckSum{77}
+
+\title{Glossaries Language Module: glossaries-french}
+\author{Nicola Talbot \& Denis Bitouzé \& Vincent Belaïche}
+{\makeatletter
+\long\def\@tempa#1\ProvidesGlossariesLang#2[#3/#4/#5 v#6]#7\endinput{%
+ \toks0{#3}\toks1{#4}\toks2{#5}\toks3{#6}%
+}%
+\expandafter\@tempa\@@input glossaries-french.dtx
+\edef\@tempa{\noexpand\date{version \the\toks3 \space(\the\toks0-\the\toks1-\the\toks2)}}%
+\expandafter}\@tempa
+
+\newcommand{\package}[1]{\textsf{#1}}
+\newcommand{\Package}[1]{package \package{#1}}
+
+\begin{document}
+\DocInput{glossaries-french.dtx}
+\end{document}
+%</driver>
+%\fi
+%\maketitle
+%
+% This language module simply needs to be installed. The \textsf{glossaries}
+% package (from version 4.12) will automatically load it if required. (The rest
+% of this documentation is in French, as it is most useful to French speaking
+% people.)
+%
+% Nous n'apportons que peu de modifications au module initial où le suffixe par
+% défaut des pluriels d'acronymes est identique au suffixe (\enquote{s}) des
+% pluriels en général. Or, en français, les acronymes sont invariables si bien
+% que leurs pluriels et leurs singuliers sont identiques. Nous redéfinissons
+% donc le suffixe des pluriels d'acronymes comme étant vide, tant pour les
+% acronymes sans mise en forme que pour ceux en petites capitales.
+%
+% \StopEventually{}
+%
+% \selectlanguage{english}
+%
+% \section{The Code}
+% \iffalse
+% \begin{macrocode}
+%<*glossaries-french.ldf>
+% \end{macrocode}
+% \fi
+%\subsection{glossaries-french.ldf}
+% \begin{macrocode}
+\ProvidesGlossariesLang{french}[2016/12/12 v1.1]
+
+\glsifusedtranslatordict{French}
+{%
+ \addglossarytocaptions{\CurrentTrackedLanguage}%
+ \addglossarytocaptions{\CurrentTrackedDialect}%
+}
+{%
+ \@ifpackageloaded{polyglossia}%
+ {%
+ \newcommand*{\glossariescaptionsfrench}{%
+ \renewcommand*{\glossaryname}{\textfrench{Glossaire}}%
+ \renewcommand*{\acronymname}{\textfrench{Acronymes}}%
+ \renewcommand*{\entryname}{\textfrench{Terme}}%
+ \renewcommand*{\descriptionname}{\textfrench{Description}}%
+ \renewcommand*{\symbolname}{\textfrench{Symbole}}%
+ \renewcommand*{\pagelistname}{\textfrench{Pages}}%
+ \renewcommand*{\glssymbolsgroupname}{\textfrench{Symboles}}%
+ \renewcommand*{\glsnumbersgroupname}{\textfrench{Nombres}}%
+ }%
+ }%
+ {%
+ \newcommand*{\glossariescaptionsfrench}{%
+ \renewcommand*{\glossaryname}{Glossaire}%
+ \renewcommand*{\acronymname}{Acronymes}%
+ \renewcommand*{\entryname}{Terme}%
+ \renewcommand*{\descriptionname}{Description}%
+ \renewcommand*{\symbolname}{Symbole}%
+ \renewcommand*{\pagelistname}{Pages}%
+ \renewcommand*{\glssymbolsgroupname}{Symboles}%
+ \renewcommand*{\glsnumbersgroupname}{Nombres}%
+ }%
+ }%
+ \ifcsdef{captions\CurrentTrackedDialect}
+ {%
+ \csappto{captions\CurrentTrackedDialect}%
+ {%
+ \glossariescaptionsfrench
+ }%
+ }%
+ {%
+ \ifcsdef{captions\CurrentTrackedLanguage}
+ {%
+ \csappto{captions\CurrentTrackedLanguage}%
+ {%
+ \glossariescaptionsfrench
+ }%
+ }%
+ {%
+ }%
+ }%
+ \glossariescaptionsfrench
+}
+% \end{macrocode}
+% General default plural suffix:
+% \begin{macrocode}
+\renewcommand*{\glspluralsuffix}{s}
+% \end{macrocode}
+% Acronym default plural suffix is empty because, in French, acronyms are invariable:
+% \begin{macrocode}
+\renewcommand*{\glsacrpluralsuffix}{}
+% \end{macrocode}
+% Acronym in \cs{textsc} default plural suffix is empty because, in French,
+% acronyms are invariable (\cs{glstextup} is used to cancel the effect of
+% \cs{textsc}):
+% \begin{macrocode}
+\renewcommand*{\glsupacrpluralsuffix}{}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%</glossaries-french.ldf>
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*glossaries-dictionary-French.dict>
+% \end{macrocode}
+%\fi
+%\subsection{glossaries-dictionary-French.dict}
+% \begin{macrocode}
+\ProvidesDictionary{glossaries-dictionary}{French}
+
+\providetranslation{Glossary}{Glossaire}
+\providetranslation{Acronyms}{Acronymes}
+\providetranslation{Notation (glossaries)}{Terme}
+\providetranslation{Description (glossaries)}{Description}
+\providetranslation{Symbol (glossaries)}{Symbole}
+\providetranslation{Page List (glossaries)}{Pages}
+\providetranslation{Symbols (glossaries)}{Symboles}
+\providetranslation{Numbers (glossaries)}{Nombres}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%</glossaries-dictionary-French.dict>
+% \end{macrocode}
+%\fi
+%\Finale
+\endinput
+
+% \endinput
+% Local Variables:
+% mode: doctex
+% coding: utf-8
+% TeX-master: t
+% End:
diff --git a/macros/latex/contrib/glossaries-french/glossaries-french.ins b/macros/latex/contrib/glossaries-french/glossaries-french.ins
new file mode 100644
index 0000000000..d6eed91032
--- /dev/null
+++ b/macros/latex/contrib/glossaries-french/glossaries-french.ins
@@ -0,0 +1,30 @@
+\input docstrip
+
+\preamble
+
+ This work may be distributed and/or modified under the
+ conditions of the LaTeX Project Public License, either version 1.3
+ of this license of (at your option) any later version.
+ The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+ and version 1.3 or later is part of all distributions of LaTeX
+ version 2005/12/01 or later.
+
+ This work has the LPPL maintenance status `maintained'.
+
+ The Current Maintainer of this work are Denis Bitouz'e and Vincent Bela"iche.
+
+ This work consists of the files glossaries-french.dtx and glossaries-french.ins
+ and the derived files glossaries-french.ldf, glossaries-dictionary-French.dict.
+
+\endpreamble
+
+\askforoverwritefalse
+
+\generate{\file{glossaries-french.ldf}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{glossaries-french.dtx}{glossaries-french.ldf,package}}
+\file{glossaries-dictionary-French.dict}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{glossaries-french.dtx}{glossaries-dictionary-French.dict,package}}
+}
+
+\endbatchfile
diff --git a/macros/latex/contrib/glossaries-french/glossaries-french.pdf b/macros/latex/contrib/glossaries-french/glossaries-french.pdf
new file mode 100644
index 0000000000..e080c882fa
--- /dev/null
+++ b/macros/latex/contrib/glossaries-french/glossaries-french.pdf
Binary files differ