summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-07-29 14:56:18 +0000
committerNorbert Preining <preining@logic.at>2008-07-29 14:56:18 +0000
commitdf5a884fe92d0b1fb73fbf07a53ac0f8a64d253e (patch)
tree37f2e809ef4c94b4827c5f30108ca14384923773 /Master
parent6a16d7c1c74097b02799900c08c9c21feeebe07c (diff)
add context-french from CTAN
git-svn-id: svn://tug.org/texlive/trunk@9875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/context/third/french/french-demo.pdfbin0 -> 8946 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/french/french-doc.pdfbin0 -> 75362 bytes
-rw-r--r--Master/texmf-dist/tex/context/third/french/t-french.tex72
-rw-r--r--Master/texmf-dist/tpm/t-french.tpm31
-rw-r--r--Master/tlpkg/tlpsrc/collection-context.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/context-french.tlpsrc4
6 files changed, 108 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/third/french/french-demo.pdf b/Master/texmf-dist/doc/context/third/french/french-demo.pdf
new file mode 100644
index 00000000000..85b8c44c75c
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/french/french-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/french/french-doc.pdf b/Master/texmf-dist/doc/context/third/french/french-doc.pdf
new file mode 100644
index 00000000000..249578f1197
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/french/french-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/context/third/french/t-french.tex b/Master/texmf-dist/tex/context/third/french/t-french.tex
new file mode 100644
index 00000000000..68325adde8a
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/french/t-french.tex
@@ -0,0 +1,72 @@
+%D \module
+%D [ file=t-french,
+%D version=2008.05.04,
+%D title=\CONTEXT\ User Module,
+%D subtitle=For French documents,
+%D author=Peter Münster,
+%D date=\currentdate,
+%D copyright={Peter Münster}]
+%C This module is copyrighted by Peter Münster.
+%C Please send any comments to pmrb at free.fr.
+%C You can find the latest version of this module on
+%C http://modules.contextgarden.net/
+
+% This program is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License
+% as published by the Free Software Foundation; either version 2
+% of the License, or (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but without any warranty; without even the implied warranty of
+% merchantability or fitness for a particular purpose. See the
+% GNU General Public License for more details.
+
+%D This module tries to do similar things as the frenchb.ldf in LaTeX:
+%D \startitemize
+%D \item automatic space before » and after «, :, ?, ; and !
+%D \item changing symbol for itemize environment
+%D \stopitemize
+
+\writestatus{loading}{Typesetting French documents}
+\doifnotmode{mkiv}{\writestatus{error}{needs luatex}\wait\end}
+
+\startlanguagespecifics[fr]
+ \setcharacterspacing[frenchpunctuation]
+ \setupitemize[symbol=2]
+ \lccode`\'=`\'
+\stoplanguagespecifics
+
+\appendtoks
+ \setcharacterspacing[reset]%
+ \setupitemize[symbol=\currentitemlevel]%
+ \to \everyresetlanguagespecifics
+
+\mainlanguage[fr]
+
+\doifnotmode{demo}{\endinput}
+
+%D Usage example:
+\def\myItems{%
+ \startitemize
+ \item test
+ \item test
+ \startitemize
+ \item test
+ \item test
+ \startitemize
+ \item test
+ \item test
+ \stopitemize
+ \stopitemize
+ \stopitemize}
+
+\usemodule[french]
+
+\starttext
+Voilà: Voilà? Voilà! Voilà;
+{\en some english text: «English» or \quotation{French}, ok?}
+«voilà» \quote{voilà} \quotation{voilà}
+\myItems
+\en
+\myItems
+\stoptext
diff --git a/Master/texmf-dist/tpm/t-french.tpm b/Master/texmf-dist/tpm/t-french.tpm
new file mode 100644
index 00000000000..03460280502
--- /dev/null
+++ b/Master/texmf-dist/tpm/t-french.tpm
@@ -0,0 +1,31 @@
+<!DOCTYPE rdf:RDF SYSTEM "tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:TPM="http://texlive.dante.de/">
+ <rdf:Description about="http://dl.contextgarden.net/modules/t-french.zip">
+ <TPM:Name>t-french</TPM:Name>
+ <TPM:Type>Package</TPM:Type>
+ <TPM:Date>2006/09/12 00:00:00</TPM:Date>
+ <TPM:Version>2008.05.04</TPM:Version>
+ <TPM:Creator>Peter</TPM:Creator>
+ <TPM:Title>Setups for French documents</TPM:Title>
+ <TPM:Description>
+This module tries to do all necessary setups for French documents, but it's
+still far from perfect.
+ </TPM:Description>
+ <TPM:Author>Peter Münster</TPM:Author>
+ <TPM:Size>87413</TPM:Size>
+ <TPM:Build/>
+ <TPM:RunFiles size="3105">
+tex/context/third/french/t-french.tex
+tpm/t-french.tpm
+ </TPM:RunFiles>
+ <TPM:DocFiles size="84308">
+doc/context/third/french/french-doc.pdf
+doc/context/third/french/french-demo.pdf
+ </TPM:DocFiles>
+ <TPM:Requires>
+ <TPM:Package name="context"/>
+ </TPM:Requires>
+ <TPM:Provides>Package/t-french</TPM:Provides>
+ </rdf:Description>
+</rdf:RDF>
diff --git a/Master/tlpkg/tlpsrc/collection-context.tlpsrc b/Master/tlpkg/tlpsrc/collection-context.tlpsrc
index 03d16fe827c..6cee2ba9228 100644
--- a/Master/tlpkg/tlpsrc/collection-context.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-context.tlpsrc
@@ -6,5 +6,6 @@ depend context
depend jmn
depend lmextra
depend bin-context
+depend context-french
depend collection-metapost
depend collection-basic
diff --git a/Master/tlpkg/tlpsrc/context-french.tlpsrc b/Master/tlpkg/tlpsrc/context-french.tlpsrc
new file mode 100644
index 00000000000..8c0c6415468
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/context-french.tlpsrc
@@ -0,0 +1,4 @@
+name context-french
+category Package
+runpattern d texmf-dist/tex/context/third/french
+docpattern d texmf-dist/doc/context/third/french