diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/clefval | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/clefval')
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/Changements | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/Changes | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/LISEZMOI | 35 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/README | 31 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/clefval.pdf | bin | 0 -> 174839 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/example.pdf | bin | 0 -> 92516 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/example.tex | 94 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/exemple.pdf | bin | 0 -> 95184 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/exemple.tex | 97 |
9 files changed, 273 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/clefval/Changements b/Master/texmf-dist/doc/latex/clefval/Changements new file mode 100644 index 00000000000..ab87566fecf --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/Changements @@ -0,0 +1,8 @@ +CLEFVAL + +Version 0 - 2004-05-22 +Première version publique + +-- +Le \TeX nicien de surface +Yvon.Henel@wanadoo.fr
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/clefval/Changes b/Master/texmf-dist/doc/latex/clefval/Changes new file mode 100644 index 00000000000..0cfc923e99e --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/Changes @@ -0,0 +1,8 @@ +CLEFVAL + +Version 0 - 2004-05-22 +First public version + +-- +Le \TeX nicien de surface +Yvon.Henel@wanadoo.fr
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/clefval/LISEZMOI b/Master/texmf-dist/doc/latex/clefval/LISEZMOI new file mode 100644 index 00000000000..f6e77551c7e --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/LISEZMOI @@ -0,0 +1,35 @@ +CLEFVAL 0 2004-05-22 + +LISEZMOI % ce fichier +README +Changes +Makefile +clefval.dtx +clefval.pdf % documentation bilingue +clefval.ins % produit le module avec les messages en anglais +fra-cleval.ins % produit le module avec les messages en français +exemple.tex % un exemple d'utilisation de engpron et clefval +exemple.pdf % +example.tex % la version anglaise du document précédent +example.pdf % + +clefval.xml + + +clefval.sty, deux macros \TheKey et \TheValue pour définir puis +utiliser des paires clef/valeur. Ce module fournit une sorte de +« hashage » du pauvre ;-) + + +Pour produire le fichier clefval.sty, +avec les messages en français, lancer : + +latex fra-clefval.ins + +Sous *nix, on peut utiliser le Makefile fourni, +make help +pour obtenir de l'aide. + +-- +Le \TeX nicien de surface +Yvon.Henel@wanadoo.fr diff --git a/Master/texmf-dist/doc/latex/clefval/README b/Master/texmf-dist/doc/latex/clefval/README new file mode 100644 index 00000000000..bc1fc128f42 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/README @@ -0,0 +1,31 @@ +CLEFVAL 01 2004-05-22 + +LISEZMOI +README % this file +Changes +Makefile +clefval.dtx +clefval.pdf % bilingual documentation +clefval.ins % for an English version (of the warnings) of the package +fra-celval.ins % for a French version (of the warnings) of the package +example.tex % an example of usage of engpron and clefval +example.pdf % +exemple.tex % the French version of above +exemple.pdf % +clefval.xml + + +clefval.sty provides two macros \TheKey and \TheValue to define then +use pairs of key/value and gives a semblance of hash. + + +To produce the clefval.sty file run: +latex clefval.ins + +*nix users should use the provided Makefile, run +make help +to obtain help. + +-- +Le \TeX nicien de surface +Yvon.Henel@wanadoo.fr diff --git a/Master/texmf-dist/doc/latex/clefval/clefval.pdf b/Master/texmf-dist/doc/latex/clefval/clefval.pdf Binary files differnew file mode 100644 index 00000000000..f4535d63858 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/clefval.pdf diff --git a/Master/texmf-dist/doc/latex/clefval/example.pdf b/Master/texmf-dist/doc/latex/clefval/example.pdf Binary files differnew file mode 100644 index 00000000000..f1ff3244852 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/example.pdf diff --git a/Master/texmf-dist/doc/latex/clefval/example.tex b/Master/texmf-dist/doc/latex/clefval/example.tex new file mode 100644 index 00000000000..f2dcc48838d --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/example.tex @@ -0,0 +1,94 @@ +% -*- mode: LaTeX; coding: iso-8859-15 -*- +\documentclass[a4paper,10pt]{article} +\usepackage[latin9]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[frenchb]{babel} +\usepackage{lmodern} +\usepackage[tame]{engpron} +\usepackage{clefval} + +\newcommand{\Saut}{\par + \noindent\hspace*{\stretch{1}}% + \makebox[0.75\linewidth][c]{\hrulefill}% + \hspace*{\stretch{1}}\par} +\setlength{\parindent}{0pt} + +\begin{document} + +\makepoundletter +\newcommand{\LaPron}[1]{#1 + \pron{\ActiveLaLivre\expandafter{\TheValue{#1}}}} +\newcommand{\LaCle}[2]{\TheKey{#1}{#2}\LaPron{#1}} +\makepoundother + +\title{Example of usage of package \texttt{clefval}.} +\author{Le \TeX nicien de surface} +\def\today{2004-05-23} +\maketitle +\thispagestyle{empty} + +This is an example of usage of packages \texttt{engpron} +---~with option \texttt{tame}~--- and \texttt{clefval}. + +\Saut\medskip + +This is the main part of the header of this document, one will note that +the definitions of the macros \verb|\LaPron| and \verb|\LaCle| have been +placed \textbf{after} the \verb|\begin{document}|. + +\begin{verbatim} +\documentclass[a4paper,10pt]{article} +\usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} +\usepackage[frenchb]{babel} \usepackage{lmodern} +\usepackage[tame]{engpron} \usepackage{clefval} +\setlength{\parindent}{0pt} +\begin{document} +\makepoundletter +\newcommand{\LaPron}[1]{#1 +\pron{\ActiveLaLivre\expandafter{\TheValue{#1}}}} +\newcommand{\LaCle}[2]{\TheKey{#1}{#2}\LaPron{#1}} +\makepoundother +\end{verbatim} + +\Saut +\medskip + +One writes first the word and its pronunciation \LaCle{baby}{b£qb£i}. Later +one writes \emph{almost} just the word as here: \LaPron{baby}. + +An other \LaCle{stationery}{£Hst£q£s£en£Xer£i}. And so \LaPron{stationery}. + +\bigskip + +Which is obtained with: + +\bigskip + +\verb|One writes first the word and its pronunciation |% +\verb|\LaCle{baby}{b|\texttt{\£}\verb|qb|\texttt{\£}\verb|i}.| \verb|Later| +\verb| one writes \emph{almost} just the word as here: |% +\verb|\LaPron{baby}.| + +\verb|An other \LaCle{stationery}{|\texttt{\£}\verb|Hst|% +\texttt{\£}\verb|q|\texttt{\£} % +\verb|s|\texttt{\£}\verb|en|\texttt{\£}\verb|Xer|\texttt{\£}\verb|i}.|\\ +\verb|And so |\verb|\LaPron{stationery}.| + +\Saut\medskip + +Content of the \texttt{aux} file (extract) : + +\verb!\newkey{baby}{b!\texttt{\£}\verb!qb!\texttt{\£}\verb!i}!\\ +\verb!\newkey{stationery}{!\texttt{\£}\verb!Hst!\texttt{\£}% +\verb!q!\texttt{\£}\verb!s!\texttt{\£}\verb!en!\texttt{\£}\verb!Xer!% +\texttt{\£}\verb!i}! + +%%% False verbatim for £ because of encodings! + +\vspace*{\stretch{1}} +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/clefval/exemple.pdf b/Master/texmf-dist/doc/latex/clefval/exemple.pdf Binary files differnew file mode 100644 index 00000000000..27a8f27f955 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/exemple.pdf diff --git a/Master/texmf-dist/doc/latex/clefval/exemple.tex b/Master/texmf-dist/doc/latex/clefval/exemple.tex new file mode 100644 index 00000000000..11d24c5a8d9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/exemple.tex @@ -0,0 +1,97 @@ +% -*- mode: LaTeX; coding: iso-8859-15 -*- +\documentclass[a4paper,10pt]{article} +\usepackage[latin9]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[frenchb]{babel} +\usepackage{lmodern} +\usepackage[tame]{engpron} +\usepackage{clefval} + +\newcommand{\Saut}{\par + \noindent\hspace*{\stretch{1}}% + \makebox[0.75\linewidth][c]{\hrulefill}% + \hspace*{\stretch{1}}\par} +\setlength{\parindent}{0pt} + +\begin{document} + +\makepoundletter +\newcommand{\LaPron}[1]{#1 + \pron{\ActiveLaLivre\expandafter{\TheValue{#1}}}} +\newcommand{\LaCle}[2]{\TheKey{#1}{#2}\LaPron{#1}} +\makepoundother + +\title{Exemple accompagnant le module \texttt{clefval}.} +\author{Le \TeX nicien de surface} +\def\today{2004-05-23} +\maketitle +\thispagestyle{empty} + +Ceci est un exemple d'utilisation des modules \texttt{engpron} +---~avec l'option \texttt{tame}~--- et \texttt{clefval}. + +\Saut\medskip + +Ceci est l'essentiel de l'entête de ce document, on notera que l'on a +placé la définition des commandes \verb|\LaPron| et \verb|\LaCle| +\textbf{après} le \verb|\begin{document}|. + +\begin{verbatim} +\documentclass[a4paper,10pt]{article} +\usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} +\usepackage[frenchb]{babel} \usepackage{lmodern} +\usepackage[tame]{engpron} \usepackage{clefval} +\setlength{\parindent}{0pt} +\begin{document} +\makepoundletter +\newcommand{\LaPron}[1]{#1 +\pron{\ActiveLaLivre\expandafter{\TheValue{#1}}}} +\newcommand{\LaCle}[2]{\TheKey{#1}{#2}\LaPron{#1}} +\makepoundother +\end{verbatim} + +\Saut +\medskip + +On écrit une première fois le mot et sa prononciation +\LaCle{baby}{b£qb£i}. Plus tard, on n'écrit \emph{presque} plus que +le mot et on a également la prononciation, comme ici : \LaPron{baby}. + +Un autre \LaCle{stationery}{£Hst£q£s£en£Xer£i}. Et donc +\LaPron{stationery}. + +\bigskip + +Ce qui est obtenu avec : + +\bigskip + +\verb|On écrit une première fois le mot et sa prononciation |\\ +\verb|\LaCle{baby}{b|\texttt{\£}\verb|qb|\texttt{\£}\verb|i}.| +\verb|Plus tard, on n'écrit \emph{presque} plus que |\\ +\verb|le mot et on a également la prononciation,| \verb|comme ici :| +\verb|\LaPron{baby}.| + +\verb|Un autre\LaCle{stationery}{|\texttt{\£}\verb|Hst|% +\texttt{\£}\verb|q|\texttt{\£}% +\verb|s|\texttt{\£}\verb|en|\texttt{\£}\verb|Xer|\texttt{\£}\verb|i}.|\\ +\verb|Et donc |\verb|\LaPron{stationery}.| + +\Saut\medskip + +Contenu du fichier \texttt{aux} (extrait) : + +\verb!\newkey{baby}{b!\texttt{\£}\verb!qb!\texttt{\£}\verb!i}!\\ +\verb!\newkey{stationery}{!\texttt{\£}\verb!Hst!\texttt{\£}% +\verb!q!\texttt{\£}\verb!s!\texttt{\£}\verb!en!\texttt{\£}\verb!Xer!% +\texttt{\£}\verb!i}! + +%%% Faux verbatim pour £ pour des raisons de codes ! + +\vspace*{\stretch{1}} +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: |