From ba9765989cdf7729cd58417d41092eeb6f152eaa Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 29 Jul 2020 21:33:43 +0000 Subject: clefval (29jul20) git-svn-id: svn://tug.org/texlive/trunk@55985 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/clefval/Changements | 8 - Master/texmf-dist/doc/latex/clefval/Changes | 8 - Master/texmf-dist/doc/latex/clefval/LISEZMOI | 35 --- Master/texmf-dist/doc/latex/clefval/LISEZMOI.md | 42 ++++ Master/texmf-dist/doc/latex/clefval/MANIFEST.md | 73 ++++++ Master/texmf-dist/doc/latex/clefval/README | 31 --- Master/texmf-dist/doc/latex/clefval/README.md | 41 +++ Master/texmf-dist/doc/latex/clefval/clefval.pdf | Bin 174839 -> 477240 bytes .../texmf-dist/doc/latex/clefval/example-utf8.pdf | Bin 0 -> 57793 bytes .../texmf-dist/doc/latex/clefval/example-utf8.tex | 101 ++++++++ Master/texmf-dist/doc/latex/clefval/example.pdf | Bin 92516 -> 157812 bytes Master/texmf-dist/doc/latex/clefval/example.tex | 18 +- Master/texmf-dist/doc/latex/clefval/exemple.pdf | Bin 95184 -> 158520 bytes Master/texmf-dist/doc/latex/clefval/exemple.tex | 17 +- Master/texmf-dist/source/latex/clefval/Makefile | 190 -------------- Master/texmf-dist/source/latex/clefval/clefval.dtx | 277 ++++++++++++++------- Master/texmf-dist/source/latex/clefval/clefval.ins | 21 +- .../source/latex/clefval/fra-clefval.ins | 58 ----- Master/texmf-dist/tex/latex/clefval/clefval.sty | 19 +- 19 files changed, 497 insertions(+), 442 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/clefval/Changements delete mode 100644 Master/texmf-dist/doc/latex/clefval/Changes delete mode 100644 Master/texmf-dist/doc/latex/clefval/LISEZMOI create mode 100644 Master/texmf-dist/doc/latex/clefval/LISEZMOI.md create mode 100644 Master/texmf-dist/doc/latex/clefval/MANIFEST.md delete mode 100644 Master/texmf-dist/doc/latex/clefval/README create mode 100644 Master/texmf-dist/doc/latex/clefval/README.md create mode 100644 Master/texmf-dist/doc/latex/clefval/example-utf8.pdf create mode 100644 Master/texmf-dist/doc/latex/clefval/example-utf8.tex delete mode 100644 Master/texmf-dist/source/latex/clefval/Makefile delete mode 100644 Master/texmf-dist/source/latex/clefval/fra-clefval.ins diff --git a/Master/texmf-dist/doc/latex/clefval/Changements b/Master/texmf-dist/doc/latex/clefval/Changements deleted file mode 100644 index ab87566fecf..00000000000 --- a/Master/texmf-dist/doc/latex/clefval/Changements +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index 0cfc923e99e..00000000000 --- a/Master/texmf-dist/doc/latex/clefval/Changes +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index f6e77551c7e..00000000000 --- a/Master/texmf-dist/doc/latex/clefval/LISEZMOI +++ /dev/null @@ -1,35 +0,0 @@ -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/LISEZMOI.md b/Master/texmf-dist/doc/latex/clefval/LISEZMOI.md new file mode 100644 index 00000000000..ec6e67d603f --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/LISEZMOI.md @@ -0,0 +1,42 @@ + + + +# clefval + +Auteurs : Yvon Henel, alias Le TeXnicien de surface +([contact](le.texnicien.de.surface@yvon-henel.fr)) +et Josselin Noirel. + +## LICENCE + +Le contenu de cette archive est placé sous la « LaTeX Project Public +License » version 1.3c ou postérieure. + +Voir https://www.latex-project.org/lppl.txt pour la licence. + +© 2020 Yvon Henel (Le TeXnicien de surface) + +## Description de l’extension + +`clefval.sty` fournit deux macros `\TheKey` et `\TheValue` pour +définir puis utiliser des paires clef/valeur. Ce module fournit une +sorte de « hashage » du pauvre ;-) + +### Exemples fournis + + * **example.pdf** depuis example.tex, version anglaise du suivant ; + * **exemple.pdf** depuis exemple.tex : fichier + *historique* codé en 8bit utilisant les extensions `engpron` et `clefval` ; + * **example-utf8.pdf** depuis example-utf8.tex avec pdflatex. Le + source peut être compilé avec lualatex ou xelatex. Les + pdf-s ainsi créés contiendront un texte supplémentaire car pdflatex + ne peut pas, par défaut, utiliser une clé écrite en cyrillique. + + +## Historique + +Version 0.1 — 2020-07-27 — adaptation aux sources codés en utf-8 + +Version 0 — 2004-05-22 — première version publique + + diff --git a/Master/texmf-dist/doc/latex/clefval/MANIFEST.md b/Master/texmf-dist/doc/latex/clefval/MANIFEST.md new file mode 100644 index 00000000000..aa9d4c6e1e9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/MANIFEST.md @@ -0,0 +1,73 @@ +# Manifest for clefval + +This file is a listing of all files considered to be part of this package. +It is automatically generated with `texlua build.lua manifest`. + + +## Repository manifest + +The following groups list the files included in the development repository of the package. +Files listed with a ‘†’ marker are included in the TDS but not CTAN files, and files listed +with ‘‡’ are included in both. + +### Source files + +These are source files for a number of purposes, including the `unpack` process which +generates the installation files of the package. Additional files included here will also +be installed for processing such as testing. + +* clefval.dtx +* clefval.ins + +### Typeset documentation source files + +These files are typeset using LaTeX to produce the PDF documentation for the package. + +* clefval.dtx +* example-utf8.tex +* example.tex +* exemple.tex + +### Documentation files + +These files form part of the documentation but are not typeset. Generally they will be +additional input files for the typeset documentation files listed above. + +* LISEZMOI.md +* README.md + +### Text files + +Plain text files included as documentation or metadata. + +* LISEZMOI.md +* MANIFEST.md +* README.md + +### Derived files + +The files created by ‘unpacking’ the package sources. This typically includes +`.sty` and `.cls` files created from DocStrip `.dtx` files. + +* clefval.sty + +### Typeset documents + +The output files (PDF, essentially) from typesetting the various source, demo, +etc., package files. + +* clefval.pdf +* example-utf8.pdf +* example.pdf +* exemple.pdf + + +## TDS manifest + +The following groups list the files included in the TeX Directory Structure used to install +the package into a TeX distribution. + + +## CTAN manifest + +The following group lists the files included in the CTAN package. diff --git a/Master/texmf-dist/doc/latex/clefval/README b/Master/texmf-dist/doc/latex/clefval/README deleted file mode 100644 index bc1fc128f42..00000000000 --- a/Master/texmf-dist/doc/latex/clefval/README +++ /dev/null @@ -1,31 +0,0 @@ -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/README.md b/Master/texmf-dist/doc/latex/clefval/README.md new file mode 100644 index 00000000000..1fe7a14bee6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/README.md @@ -0,0 +1,41 @@ + + + +# clefval + +Authors: Yvon Henel, aka Le TeXnicien de surface +([contact](le.texnicien.de.surface@yvon-henel.fr)) +and Josselin Noirel. + +## LICENCE + +This material is subject to the LaTeX Project Public License, version +1.3c or later. + +See https://www.latex-project.org/lppl.txt +for the details of that license. + +© 2020 Yvon Henel (Le TeXnicien de surface) + +## Description of the Package + +`clefval.sty` provides two macros `\TheKey` and `\TheValue` to define +then use pairs of key/value and gives a semblance of hash. + +### Examples provided + + * **example.pdf** from example.tex, English version of the following. + * **exemple.pdf** from exemple.tex (French): 8bit encoded + legacy file using package `engpron` together with `clefval`. + * **example-utf8.pdf** from example-utf8.tex with pdflatex. The + source can also be processed with lualatex and xelatex. The + then created pdf-s will contain an additionnal text for pdflatex + cannot by default process a key written in cyrillic alphabet. + +## History + +Version 0.1 — 2020-07-27 — adapted to utf-8 encoded source + +Version 0 — 2004-05-22 — first public version + + diff --git a/Master/texmf-dist/doc/latex/clefval/clefval.pdf b/Master/texmf-dist/doc/latex/clefval/clefval.pdf index f4535d63858..61e0c1c9862 100644 Binary files a/Master/texmf-dist/doc/latex/clefval/clefval.pdf and b/Master/texmf-dist/doc/latex/clefval/clefval.pdf differ diff --git a/Master/texmf-dist/doc/latex/clefval/example-utf8.pdf b/Master/texmf-dist/doc/latex/clefval/example-utf8.pdf new file mode 100644 index 00000000000..493ee8ed6d5 Binary files /dev/null and b/Master/texmf-dist/doc/latex/clefval/example-utf8.pdf differ diff --git a/Master/texmf-dist/doc/latex/clefval/example-utf8.tex b/Master/texmf-dist/doc/latex/clefval/example-utf8.tex new file mode 100644 index 00000000000..7e39691afc4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/example-utf8.tex @@ -0,0 +1,101 @@ +% Time-stamp: <2020-07-29 12:47:56 administrateur> +% Création : 2020-07-28T12:21:18+0200 +%% ========================================================================= +%% Part of the `clefval' package. +%% Ce fichier fait partie de l'extension « clefval » +%% +%% 2020-07-27; v0.1 +%% +%% Copyright (C) 2004, 2020 by Yvon Henel Le TeXnicien de surface +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% ======================================================================== +\documentclass{article} +\usepackage{clefval} +\usepackage{iftex} +\usepackage[french,main=english]{babel} + +\ifpdftex +\else +\usepackage{fontspec} +\setmainfont{DejaVu Serif} +\setsansfont{DejaVu Sans} +\setmonofont{DejaVu Sans Mono} +\fi + +\TheKey{j}{Joe} +\TheKey{éçà@§}{bizarre} +\TheKey{Разбрах}{in bulgarian: Ð‘Ð»Ð°Ð³Ð¾Ð´Ð°Ñ€Ñ Ð·Ð° помощта} + +\begin{document} +\bgroup +\setlength{\parindent}{0pt} +\noindent\hrulefill +\vspace{0.5\baselineskip} + +\textbf{English} + +Cast a glance to the source to see some examples of \textbf{clefval} +usage. + +This file can be processed with \texttt{pdflatex}, \texttt{lualatex} +or \texttt{xelatex}. + +\vspace{0.5\baselineskip} +\noindent\hrulefill +\vspace{0.5\baselineskip} + +\begin{otherlanguage}{french} + \textbf{Français} + + Jetez un Å“il sur le source pour voir quelques exemples d'utilisation + de \textbf{clefval}. + + On peut compiler ce document avec \texttt{pdflatex}, \texttt{lualatex} + ou \texttt{xelatex}. +\end{otherlanguage} + +\vspace{0.5\baselineskip} +\noindent\hrulefill +\egroup + +\vspace{\baselineskip} + +\(\ast\)\TheKey{}{void key}% +% without the `%' character there's a spurious blank +% sans le caractère « % » un espace superflu apparait +\TheKey{Chip and Dale}{two anthropomorphic \emph{chipmunk} brothers}\(\ast\) + +\TheValue{j} + +\TheValue{k} + +\TheValue{éçà@§} + +\ifpdftex \else \TheValue{Разбрах} \fi +% pdflatex doesn't know what to do with that key ;) +% pdflatex ne sait pas quoi faire de cette clé ;) + +\TheValue{} + +\TheValue{Chip and Dale} + +\TheKey{$2+3=5$}{interresting equality \(2+3=5\)} +\TheValue{$2+3=5$} +% we can use $...$ but not \(...\) as a key +% on peut utiliser $...$ mais pas \(...\) comme clé + +\end{document} + +%%% Local Variables: +%%% coding: utf-8 +%%% TeX-engine: default +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/clefval/example.pdf b/Master/texmf-dist/doc/latex/clefval/example.pdf index f1ff3244852..1ed2c15c3dc 100644 Binary files a/Master/texmf-dist/doc/latex/clefval/example.pdf and b/Master/texmf-dist/doc/latex/clefval/example.pdf differ diff --git a/Master/texmf-dist/doc/latex/clefval/example.tex b/Master/texmf-dist/doc/latex/clefval/example.tex index f2dcc48838d..c24bc874f4d 100644 --- a/Master/texmf-dist/doc/latex/clefval/example.tex +++ b/Master/texmf-dist/doc/latex/clefval/example.tex @@ -1,4 +1,17 @@ -% -*- mode: LaTeX; coding: iso-8859-15 -*- +%% Part of the `clefval' package. +%% +%% 2020-07-27; v0.1 +%% +%% Copyright (C) 2004, 2020 by Yvon Henel Le TeXnicien de surface +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% ======================================================================== \documentclass[a4paper,10pt]{article} \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} @@ -88,7 +101,8 @@ Content of the \texttt{aux} file (extract) : \vspace*{\stretch{1}} \end{document} -%%% Local Variables: +%%% Local Variables: +%%% coding: iso-8859-15 %%% 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 index 27a8f27f955..a605643b70b 100644 Binary files a/Master/texmf-dist/doc/latex/clefval/exemple.pdf and b/Master/texmf-dist/doc/latex/clefval/exemple.pdf differ diff --git a/Master/texmf-dist/doc/latex/clefval/exemple.tex b/Master/texmf-dist/doc/latex/clefval/exemple.tex index 11d24c5a8d9..6159784d35d 100644 --- a/Master/texmf-dist/doc/latex/clefval/exemple.tex +++ b/Master/texmf-dist/doc/latex/clefval/exemple.tex @@ -1,4 +1,18 @@ -% -*- mode: LaTeX; coding: iso-8859-15 -*- +%% Part of the `clefval' package. +%% Ce fichier fait partie de l'extension « clefval » +%% +%% 2020-07-27; v0.1 +%% +%% Copyright (C) 2004, 2020 by Yvon Henel Le TeXnicien de surface +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% ======================================================================== \documentclass[a4paper,10pt]{article} \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} @@ -92,6 +106,7 @@ Contenu du fichier \texttt{aux} (extrait) : \end{document} %%% Local Variables: +%%% coding: iso-8859-15 %%% mode: latex %%% TeX-master: t %%% End: diff --git a/Master/texmf-dist/source/latex/clefval/Makefile b/Master/texmf-dist/source/latex/clefval/Makefile deleted file mode 100644 index 801ba0b9c43..00000000000 --- a/Master/texmf-dist/source/latex/clefval/Makefile +++ /dev/null @@ -1,190 +0,0 @@ -# --------------------------------------------------------------- -# Makefile for the paresse package by Y. Henel -# modified version of the Makefile of the kerntest package -# many thanks to Harald Harders whose kerntest.xml I have also -# hacked to obtain my paresse.xml -# -# documentation bilingue / bilingual documentation -# --------------------------------------------------------------- - -SRCDIR=clefval -INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/clefval -DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/clefval -SOURCEDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/source/latex/clefval -VERSION=0 - -TEX= clefval.sty \ - -DOC= clefval.pdf \ - - -FRADOC= \ - LISEZMOI \ - Changements \ - exemple.pdf \ - exemple.tex \ - -ENGDOC= \ - README \ - Changes \ - example.pdf \ - example.tex \ - -SOURCE= \ - Makefile \ - clefval.dtx \ - clefval.ins \ - fra-clefval.ins \ - -XML= clefval.xml \ - -# --------------------------------------------------------------- - -.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf - -# --------------------------------------------------------------- -.ins.sty: - latex $< - -.dtx.pdf: - pdflatex $< - makeindex -s gind.ist $(*D)/$(*F) - makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo - pdflatex $< - -.tex.pdf: - pdflatex $< - pdflatex $< - -.dvi.ps: - dvips -o $(*D)/$(*F).ps $(*D)/$(*F) - -# --------------------------------------------------------------- - -sty: - @-rm -f clefval.sty - @-latex clefval.ins - -eng-sty: sty - -fra-sty: - @-rm -f clefval.sty - @-latex fra-clefval.ins - -# --------------------------------------------------------------- - -help: - @-echo "******************************************************" - @-echo "* Choisir une des options :" - @-echo "= Choose one of the options:" - @-echo "* 'doc' -> clefval.pdf" - @-echo "* 'fra-sty' -> clefval.sty (version française du module)" - @-echo "* 'sty' -> clefval.sty (English version of the package)" - @-echo "* 'dist'-> clefval.sty & doc" - @-echo "* 'clean' petit nettoyage" - @-echo "* 'distclean' (encore plus propre)" - @-echo "* 'tar' -> clefval-VERSION.tar.gz" - @-echo "* 'install-fra' pour l'installation " - @-echo "* de l'extension francisée et de la documentation." - @-echo "************ OU / OR ***********" - @-echo "= 'install-eng' for an installation" - @-echo "= of the English version of package and documentation." - @-echo "************ NOTA BENE ***********" - @-echo "* l'installation est faite par defaut dans TEXMFLOCAL " - @-echo "= by default installs in TEXMFLOCAL" - @-echo "* c'est a dire :" - @-echo "* that is: " - @-echo `kpsewhich --expand-path='$$TEXMFLOCAL'` - @-echo "******************************************************" - -dist: sty clefval.pdf - -# --------------------------------------------------------------- - -clean: - @-rm -f clefval.glo clefval.gls clefval.idx clefval.ilg - @-rm -f clefval.ind clefval.aux clefval.log clefval.toc - @-rm -f fra-clefval.log - @-rm -f clefval.dvi clefval.ps - @-rm -f exemple.aux exemple.log exemple.dvi exemple.ps - @-rm -f example.aux example.log example.dvi example.ps - @-rm -f *~ - -distclean: clean - @-rm -f clefval.sty - @-rm -f clefval.pdf - -# --------------------------------------------------------------- - -tar: dist clean - echo clefval-$(VERSION).tar.gz - -rm -f clefval-$(VERSION).tar.gz - tar czCf .. clefval-$(VERSION).tar.gz \ - $(SRCDIR)/README \ - $(SRCDIR)/LISEZMOI \ - $(SRCDIR)/Changes \ - $(SRCDIR)/Changements \ - $(SRCDIR)/Makefile \ - $(SRCDIR)/clefval.dtx \ - $(SRCDIR)/clefval.sty \ - $(SRCDIR)/clefval.ins \ - $(SRCDIR)/fra-clefval.ins \ - $(SRCDIR)/clefval.pdf \ - $(SRCDIR)/exemple.pdf \ - $(SRCDIR)/example.pdf \ - $(SRCDIR)/exemple.tex \ - $(SRCDIR)/example.tex \ - $(SRCDIR)/clefval.xml - -# --------------------------------------------------------------- - -texlive: sty doc clean - @-rm -rf texmf - mkdir -p texmf/tex/latex/clefval - mkdir -p texmf/doc/latex/clefval - mkdir -p texmf/source/latex/clefval - mkdir -p texmf/doc/html/catalogue/entries - cp $(TEX) texmf/tex/latex/clefval - cp $(DOC) texmf/doc/latex/clefval - cp $(ENGDOC) texmf/doc/latex/clefval - cp $(FRADOC) texmf/doc/latex/clefval - cp $(SOURCE) texmf/source/latex/clefval - cp $(XML) texmf/doc/html/catalogue/entries - -# --------------------------------------------------------------- - -zip: texlive - -@rm -f clefval-$(VERSION).zip - zip -r clefval-$(VERSION).zip texmf - @-rm -r texmf/ - -# --------------------------------------------------------------- - -install-fra: fra-sty doc - if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR); fi - if [ ! -d $(DOCDIR) ]; then mkdir -p $(DOCDIR); fi - if [ ! -d $(SOURCEDIR) ]; then mkdir -p $(SOURCEDIR); fi - install -m644 $(TEX) $(INSTALLDIR) - install -m644 $(DOC) $(DOCDIR) - install -m644 $(FRADOC) $(DOCDIR) - install -m644 $(SOURCE) $(SOURCEDIR) - texhash -# --------------------------------------------------------------- - -install-eng: eng-sty doc - if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR); fi - if [ ! -d $(DOCDIR) ]; then mkdir -p $(DOCDIR); fi - if [ ! -d $(SOURCEDIR) ]; then mkdir -p $(SOURCEDIR); fi - install -m644 $(TEX) $(INSTALLDIR) - install -m644 $(DOC) $(DOCDIR) - install -m644 $(ENGDOC) $(DOCDIR) - install -m644 $(SOURCE) $(SOURCEDIR) - texhash -# --------------------------------------------------------------- - -install: install-eng - -doc: sty clefval.pdf -# --------------------------------------------------------------- -# echu e an abaden -# Le \TeX nicien de surface 2004-05-20 diff --git a/Master/texmf-dist/source/latex/clefval/clefval.dtx b/Master/texmf-dist/source/latex/clefval/clefval.dtx index 67bbea73a8e..d8cc603b7c2 100644 --- a/Master/texmf-dist/source/latex/clefval/clefval.dtx +++ b/Master/texmf-dist/source/latex/clefval/clefval.dtx @@ -1,55 +1,51 @@ % \iffalse meta-comment -% -*- mode: LaTeX; coding: iso-8859-15 -*- % -%%%% Copyright (C) 2004 by Josselin Noirel -%%%% and Yvon Henel +%%%% Copyright (C) 2004, 2020 by Josselin Noirel +%%%% and Yvon Henel aka Le TeXnicien de surface %%%% -------------------------------------------------------- % % This file may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.2 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in: % % http://www.latex-project.org/lppl.txt % -% and version 1.2 or later is part of all distributions of LaTeX -% version 1999/12/01 or later. % \fi % % \iffalse %\NeedsTeXFormat{LaTeX2e} -%\def\fileversion{v0} -%\def\filedate{2004/05/22} +%\def\fileversion{v0.1} +%\def\filedate{2020/07/27} %\def\fileinfo{d\'efinir et utiliser des paires cle/valeurs} %\def\fileinfo{define and use pair of key/values} %\ProvidesPackage{clefval} % [\filedate\space\fileversion\space\fileinfo] %<*driver> \documentclass[a4paper]{ltxdoc} -\usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} \usepackage{clefval} \usepackage{xspace,url,multicol,ifthen} \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{} -\usepackage[english,frenchb]{babel} +\usepackage[english, main=french]{babel} % commentez la ligne suivante pour avoir un document avec le code -\OnlyDescription +% \OnlyDescription % comment out the preceding line to obtain the full code % with explanations in French only, sorry. \EnableCrossrefs \CodelineIndex \RecordChanges \makeatletter -%%% quelques redéfinition de commande de la classe ltxdoc.cls ou de -%%% l'extension doc.sty pour une documentation en français. +%%% quelques redéfinition de commande de la classe ltxdoc.cls ou de +%%% l'extension doc.sty pour une documentation en français. \GlossaryPrologue{\section*{{Changements -- Changes}}\markboth{{Changements -- Changes}}{{Changements -- Changes}}} \IndexPrologue{\section*{Index}\markboth{Index}{Index}% \begin{Morciau}\selectlanguage{french} - Les nombres en italique renvoient à la page où l'entrée est décrite ; les - nombres soulignés renvoient à la ligne de code de la définition ; les - nombres en caractères romains renvoient à la ligne de code où l'entrée est - utilisée.\EnAnglais Numbers written in italic refer to the page where the + Les nombres en italique renvoient à la page où l'entrée est décrite ; les + nombres soulignés renvoient à la ligne de code de la définition ; les + nombres en caractères romains renvoient à la ligne de code où l'entrée est + utilisée.\EnAnglais Numbers written in italic refer to the page where the corresponding entry is described; numbers underlined refer to the code line of the definition; numbers in roman refer to the code line where the entry is used.\end{Morciau}} @@ -60,7 +56,7 @@ \special@index{environnements:\levelchar{% \string\ttfamily\space#1}\encapchar main}\@esphack} \makeatother -\def\generalname{Général} +\def\generalname{Général} %%% fin de la francisation \setlength{\columnseprule}{0.5pt} \setlength{\multicolsep}{6pt plus 2.0pt minus 1.5pt} @@ -109,7 +105,17 @@ % % \GetFileInfo{clefval.sty} % -% \changes{v0}{2004/05/20}{1\iere version publique.} +% \changes{v0}{2004/05/20}{1\iere version +% publique. \textit{\foreignlanguage{english}{1st public version.}}} +% \changes{v0.1}{2020/07/27}{Amélioration du message d'erreur dans le +% document. \textit{\foreignlanguage{english}{Improved error message +% in document.}}} +% \changes{v0.1}{2020/07/27}{Version permettant l'utilisation du +% codage utf-8 avec \texttt{pdflatex}, \texttt{lualatex} et +% \texttt{xelatex}. \textit{\foreignlanguage{english}{This version can +% be used in utf-8 encoded source with \texttt{pdflatex}, +% \texttt{lualatex} and \texttt{xelatex}.}}} + % % \DoNotIndex{\newcommand, \renewcommand, \providecommand,^^A % \def, \let,\csname, \endcsname, \afterassignment,^^A @@ -133,7 +139,8 @@ % \textsf{clefval}} % % \author{Le \TeX nicien de -% surface\thanks{\texttt{Yvon.Henel@wanadoo.fr}}\and Josselin Noirel} +% surface\thanks{\texttt{le.texnicien.de.surface@yvon-henel.fr}}\and +% Josselin Noirel} % % \maketitle % @@ -141,68 +148,96 @@ % \label{secIntro} % \noindent\textbf{Description}\DescribeMacro{\TheKey}\DescribeMacro{\TheValue} % \begin{Morciau}[Macros~publiques/Public~Macros] -% Deux macros \cs{TheKey} et \cs{TheValue} pour définir puis utiliser +% Deux macros \cs{TheKey} et \cs{TheValue} pour définir puis utiliser % des paires clef/valeur. % \EnAnglais % Two macros \cs{TheKey} and \cs{TheValue} to define then use pairs % of key/value. % \end{Morciau} % \begin{Morciau}[Syntaxe/Syntax] -% \cs{TheKey}\marg{clé}\marg{valeur} pour définir la \emph{valeur} -% associée à la \emph{clé}, ne produit pas de texte ; -% \cs{TheValue}\marg{clé} pour insérer la \emph{valeur} associée à la -% \emph{clé}. +% \cs{TheKey}\marg{clé}\marg{valeur} pour définir la \emph{valeur} +% associée à la \emph{clé}, ne produit pas de texte ; +% \cs{TheValue}\marg{clé} pour insérer la \emph{valeur} associée à la +% \emph{clé}. % \EnAnglais % \cs{TheKey}\marg{key}\marg{value} to define the \emph{value} % associated to the \emph{key}, does not produce text ; % \cs{TheValue}\marg{key} to insert the \emph{value} linked to the % \emph{key}. % \end{Morciau} +% +% +% \subsection{Version 0.1} +% +% \begin{Morciau} +% Edd \textsc{Barrett}, le 27 juillet 2020, a signalé sur +% \texttt{stackexchange} un problème lié à l'utilisation de +% \texttt{clefval}. C'est lui, également, qui a fourni un ECM et +% trouvé la cause dudit problème: la présence d'un espace insécable +% dans le fichier codé en \texttt{iso-8859-15} entrainait l'arrêt de +% \LaTeX{} avec le message: +% \EnAnglais +% On the 27th July 2020, Edd \textsc{Barrett} wrote on +% \texttt{stackexchange} about a problem linked to the use of +% \texttt{clefval}. He also wrote a MCE and found the cause of the +% said problem: an unbreakable space in the file encoded in +% \texttt{iso-8859-15} forced \LaTeX{} to stop with the following +% error message: +% \end{Morciau} +% +% \texttt{Package inputenc Error: Invalid UTF-8 byte "A0.} +% +% \begin{Morciau} +% Comme tout le travail avait été fait, il m'a été facile de +% corriger l'erreur dans le code. J'en ai profité pour faire +% apparaître, \emph{dans le document}, un message d'erreur plus +% explicite nommant la clé indéfinie et pour moderniser un peu cette +% extension. +% \EnAnglais +% As all the work was already done I easily wrote the correction in +% the code. I've taken the opportunity to make appear, \emph{in the +% document}, a more explicit error message in case of undefined key +% and to modernise a bit this package. +% \end{Morciau} +% % \section{Utilisation -- Usage} % -% \begin{Morciau}[Procédé/Process] -% Le procédé mis en ½uvre par ce module est le même que celui des -% références classiques de \LaTeX{} avec \cs{label} et \cs{ref}. Il +% \begin{Morciau}[Procédé/Process] +% Le procédé mis en Å“uvre par ce module est le même que celui des +% références classiques de \LaTeX{} avec \cs{label} et \cs{ref}. Il % faut donc deux compilations pour en voir l'effet. % \EnAnglais % \texttt{clefval} uses the process which \LaTeX's \cs{label} and \cs{ref} % use. You must therefore compile twice to obtain the full effect. % \end{Morciau} % \begin{Morciau} -% Lors de la 1\iere compilation, \cs{TheKey}\LB|{clé}|\LB|{valeur}| écrit, -% dans le fichier \texttt{aux}, \cs{newkey}\LB|{clé}|\LB|{{valeur}}|. |clé| et -% |valeur| sont développés à moins qu'ils ne soient protégés soit pour avoir -% été déclarés robustes (voir \cs{DeclareRobustCommand}) soit pour avoir été -% protégés (voir \cs{protect}) par vous. +% Lors de la 1\iere compilation, \cs{TheKey}\LB|{clé}|\LB|{valeur}| écrit, +% dans le fichier \texttt{aux}, \cs{newkey}\LB|{clé}|\LB|{valeur}|. |clé| et +% |valeur| sont développés à moins qu'ils ne soient protégés soit pour avoir +% été déclarés robustes (voir \cs{DeclareRobustCommand}) soit pour avoir été +% protégés (voir \cs{protect}) par vous. % \EnAnglais % During the 1st run of \LaTeX, \cs{TheKey}\LB|{key}|\LB|{value}| writes -% \cs{newkey}\LB|{key}|\LB|{{value}}| in the \texttt{aux} file. |key| +% \cs{newkey}\LB|{key}|\LB|{value}| in the \texttt{aux} file. |key| % and |value| are expanded unless they are protected since they have been % declared robust (see \cs{DeclareRobustCommand}) or since they have been % protected (see \cs{protect}) by you. % \end{Morciau} % \begin{Morciau} -% Lors de la 2\ieme compilation, après lecture du fichier \texttt{aux}, -% \cs{TheValue}|{clé}| écrit |valeur|. +% Lors de la 2\ieme compilation, après lecture du fichier \texttt{aux}, +% \cs{TheValue}|{clé}| écrit |valeur|. % \EnAnglais % During the 2nd run, the \texttt{aux} file having been read, % \cs{TheValue}|{key}| writes |value|. % \end{Morciau} % \begin{Morciau}[Attention/Caution] % Les deux arguments de \cs{TheKey} sont \og mobiles \fg au sens de \LaTeX{} -% et il faudra donc parfois les protéger. On écrira donc -% \cs{TheKey}\LB\texttt{\{}\LB\cs{protect}|\(|\LB|2+3|\cs{protect}|\)|\LB\texttt{\}} si on -% ne veut pas d'ennuis ou, plus simplement, -% \cs{TheKey}\LB\texttt{\{}\LB|$|\LB|2+3|\LB|$|\LB\texttt{\}} \Sourire +% et il faudra donc parfois les protéger. % \EnAnglais % Both arguments of \cs{TheKey} are `moving' as \LaTeX{} defines it and we have % sometimes to protect them. -% -% So one will write -% \cs{TheKey}\LB\texttt{\{}\LB\cs{protect}|\(|\LB|2+3|\cs{protect}|\)|\LB\texttt{\}} -% to avoid troubles or, more easily, -% \cs{TheKey}\LB\texttt{\{}\LB|$|\LB|2+3|\LB|$|\LB\texttt{\}} \Sourire % \end{Morciau} +% % \begin{Morciau} % Par ailleurs, les arguments ne doivent pas contenir de saut de % paragraphe (\cs{par}) ---~ou tout autre truc interdit dans les @@ -212,29 +247,67 @@ % (\cs{par}) ---~or any other thingummy which is forbidden in the % arguments of a macro which is not \cs{long}. % \end{Morciau} +% +% \begin{Morciau}[Exemples/Examples] +% On peut écrire +% \EnAnglais +% On can write +% \end{Morciau} +% +% {\centering \TheKey{clou}{$2+5=7$}|\TheKey{clou}{$2+5=7$}| +% \TheKey{glue}{\(2+6=8\)}|\TheKey{glue}{\(2+6=8\)}| +% \par} +% +% \begin{Morciau} +% puis \EnAnglais then +% \end{Morciau} +% +% {\centering |\TheValue{clou}|, |\TheValue{glue}|\par} +% +% \begin{Morciau} +% pour obtenir \EnAnglais to obtain +% \end{Morciau} +% +% {\centering \TheValue{clou}, \TheValue{glue}.\par} +% +% \begin{Morciau} +% On peut utiliser |$2+3$| comme clé --- même si on ne voit pas +% pourquoi on le ferait --- mais \textbf{pas} |\(2+3\)|. Ce qui +% tient à la manière dont les commandes |\(| et |\)| ont été +% robustifiées. \emph{Ce n'est pas un bogue mais une fonctionnalité.} +% \EnAnglais +% On can use |$2+3$| as a key ---and I don't say that one should--- +% but \textbf{not} |\(2+3\)|. That is due to the way the macros |\(| +% and |\)| have been robustified. \emph{It's not a bug but a feature.} +% \end{Morciau} +% +% % \begin{Morciau}[Avertissements/Warnings] -% Le module signale les définitions multiples d'une même clef et -% marque {\selectlanguage{english}\textbf{????}} là où l'on utilise -% \cs{TheValue}\LB|{clou}| alors que |clou| n'est pas définie comme +% Le module signale les définitions multiples d'une même clef et +% marque {\selectlanguage{english}\textbf{[?? clou ??]}} là où l'on utilise +% \cs{TheValue}\LB|{clou}| alors que |clou| n'est pas définie comme % clef. En cas d'erreur, le fichier \texttt{log} contient la ligne : % \EnAnglais % The package warns about multiple definitions of the same key and -% writes \textbf{????} where one used \cs{TheValue}\LB|{kew}| whereas +% writes \textbf{[?? kew ??]} where one used \cs{TheValue}\LB|{kew}| whereas % |kew| was not defined as a key. In case of error, the \texttt{log} % file contains the line: % \end{Morciau} % \noindent\hspace*{\stretch{1}}\texttt{LaTeX Warning: There were undefined -% references.}\hspace*{\stretch{1}} +% references.}\hspace*{\stretch{1}} +% +% \vspace{\baselineskip} +% % \begin{Morciau}[Remarque/Remark] % Josselin \textsc{Noirel} est intervenu efficacement, tant sur \fctt % que par courriel, pour corriger les modifications que j'avais fait -% subir au code tiré de \texttt{ltxref} et \texttt{ltfiles}. C'est -% pour sa contribution décisive qu'il est cité comme co-auteur de ce -% module. Qu'il trouve là l'expression de ma profonde gratitude. +% subir au code tiré de \texttt{ltxref} et \texttt{ltfiles}. C'est +% pour sa contribution décisive qu'il est cité comme co-auteur de ce +% module. Qu'il trouve là l'expression de ma profonde gratitude. % -% Cependant, j'assume l'entière responsabilité de la rédaction de -% cette documentation et de sa traduction ainsi que la paternité de -% l'idée d'utiliser le mécanisme des \cs{label} pour accéder à un +% Cependant, j'assume l'entière responsabilité de la rédaction de +% cette documentation et de sa traduction ainsi que la paternité de +% l'idée d'utiliser le mécanisme des \cs{label} pour accéder à un % \texttt{hashage} rudimentaire. % \EnAnglais % Josselin \textsc{Noirel} has efficiently helped me, on \fctt and by @@ -248,24 +321,56 @@ % having fathered the idea of using the \cs{label} mecanism to obtain % a rudimentary \texttt{hash}. % \end{Morciau} -% \hspace*{\stretch{1}}Le \TeX nicien de surface. \hspace*{0.125\linewidth} +% +% \vspace{\baselineskip} +% +% \begin{Morciau}[Version 0.1/Version 0.1] +% Cette version est compatible avec un fichier codé en utf-8 compilé +% avec \texttt{pdflatex}, \texttt{lualatex} ou \texttt{xelatex} +% d'après mes --- quelques --- essais. Si ce n'était pas le cas, +% n'hésitez pas à me signaler le problème. +% \EnAnglais +% This version is usable with a utf-8 encoded source run through +% \texttt{pdflatex}, \texttt{lualatex} or \texttt{xelatex} as it +% appears from my ---not very numerous--- trials. If it was not the +% case don't hesitate to contact me. +% \end{Morciau} +% +% \hspace*{\stretch{1}}Le \TeX nicien de +% surface. \hspace*{0.125\linewidth} +% +% \vspace{2\baselineskip} +% +% \begingroup +% \small +% \hspace*{\stretch{1}}\textbf{In memoriam Énola Néra}\hspace*{\stretch{1}} +% +% \begin{Morciau} +% Gentille chienne aimante et fidèle, compagne de plus de 10 ans que +% son cÅ“ur a laché le 27 juillet 2020. +% \EnAnglais +% Kind, loving and faithfull bitch, companion of more than 10 years +% whose heart stopped on the 27th July 2020. +% \end{Morciau} +% \endgroup +% % \StopEventually{} % \section{Le code} % \label{secCode} % % Le code comporte des balises utilisable par \texttt{DocStrip} avec -% lesquelles on peut produire une version francisée ou une version +% lesquelles on peut produire une version francisée ou une version % anglaise de \NomDeModule{clefval}. Voir la documentation de % \texttt{DocStrip} pour de plus amples renseignements. % -% On dit boujour, en français ou en anglais suivant la manière dont on -% a créé \NomDeModule{clefval}. Puis on entre dans le vif du +% On dit boujour, en français ou en anglais suivant la manière dont on +% a créé \NomDeModule{clefval}. Puis on entre dans le vif du % sujet. % -% Le code a d'abord été repris de \texttt{ltxref} mais j'avais +% Le code a d'abord été repris de \texttt{ltxref} mais j'avais % quelques ennuis avec les avertissements concernant les clefs non -% définies ou définies plusieurs fois. Josselin Noirel a bien voulu -% répondre à mon appel au secours sur \fctt. Le code qui suit est donc +% définies ou définies plusieurs fois. Josselin Noirel a bien voulu +% répondre à mon appel au secours sur \fctt. Le code qui suit est donc % la correction par Josselin de mes modifications du code de % \texttt{ltxref}, moyennant quoi, je signe \Sourire % @@ -273,30 +378,30 @@ %<*package> % \fi % \begin{macro}{\@setTheValue} -% Le code est copié sur celui de |\@setref| dans -% \texttt{ltxref}. Cette macro est appelée par \cs{TheValue}. Elle -% vérifie que la clef appelée existe. Si elle n'existe pas elle -% imprime {\selectlanguage{english}\textbf{????}} et place un +% Le code est copié sur celui de |\@setref| dans +% \texttt{ltxref}. Cette macro est appelée par \cs{TheValue}. Elle +% vérifie que la \meta{clef} appelée existe. Si elle n'existe pas elle +% imprime {\selectlanguage{english}\textbf{[?? \meta{clef} ??]}} et place un % avertissement dans le \texttt{log}. Sinon elle rend son premier % argument. % % On utilise |\G@refundefinedtrue| pour provoquer le message d'erreur % \og There were undefined references \fg. Un peu sybillin pour ce qui -% nous concerne, il a l'avantage d'être reconnu par au moins +% nous concerne, il a l'avantage d'être reconnu par au moins % \texttt{emacs} plus \texttt{Auctex} et d'indiquer qu'il faut % relancer la compilation. % \begin{macrocode} \newcommand*{\@setTheValue}[2]{% \ifx#1\relax \protect\G@refundefinedtrue - \nfss@text{\reset@font\bfseries ????}% + \nfss@text{\reset@font\bfseries[?? #2 ??]}% % \end{macrocode} % \end{macro} % \iffalse % %<*packfra> % \fi -% \textsf{Messages d'avertissement en français} +% \textsf{Messages d'avertissement en français} % \begin{macrocode} \@latex@warning{Valeur de #2 en page \thepage\space non d\'efinie}% % \end{macrocode} @@ -316,16 +421,16 @@ \else #1\null \fi} % \end{macrocode} % \begin{macro}{\TheValue} -% Le code est copié sur celui de |\ref| dans \texttt{ltxref}. Si +% Le code est copié sur celui de |\ref| dans \texttt{ltxref}. Si % l'argument de \cs{TheValue} est une clef valide, on obtient la -% valeur référencée par cette clef. +% valeur référencée par cette clef. % \begin{macrocode} \newcommand*{\TheValue}[1]{\expandafter\@setTheValue\csname V@#1\endcsname{#1}} % \end{macrocode} % \end{macro} % \begin{macro}{\@newk@ey} -% Le code est copié sur celui de |\@newl@bel| dans \texttt{ltxref}. +% Le code est copié sur celui de |\@newl@bel| dans \texttt{ltxref}. % \begin{macrocode} \newcommand*{\@newk@ey}[3]{{% \@ifundefined{#1@#2}% @@ -337,7 +442,7 @@ % %<*packfra> % \fi -% \textsf{Messages d'avertissement en français} +% \textsf{Messages d'avertissement en français} % \begin{macrocode} \@latex@warning@no@line{Des clefs sont d\'efinies plusieurs fois.}}% \@latex@warning@no@line{La clef #2 est d\'efinie plusieurs fois}}% @@ -359,7 +464,7 @@ \global\@namedef{#1@#2}{#3}}} % \end{macrocode} % \begin{macro}{\newkey} -% On opère ici une puissante magie qui fait que tout marche comme +% On opère ici une puissante magie qui fait que tout marche comme % attendu \Sourire % \begin{macrocode} \def\newkey{\@newk@ey V} @@ -372,16 +477,16 @@ % ^^A fin du code de Josselin Noirel %<*package> % \fi -% À partir d'ici votre serviteur s'est débrouillé tout seul pour +% À partir d'ici votre serviteur s'est débrouillé tout seul pour % modifier le code des bases de \LaTeX. % % \begin{macro}{\@protected@write} -% Le code est copié sur celui de |\protected@write| défini dans -% \texttt{ltfiles}. On n'a besoin que d'un seul argument qui est écrit -% dans le fichier |\@auxout| c-à-d. le fichier \texttt{aux}. -% La macro prend soin de ce qui est protégé soit de manière définitive -% pour avoir été défini par \cs{DeclareRobustCommand} et ses petits -% amis, soit pour être précédé de \cs{protect} comme on doit le faire +% Le code est copié sur celui de |\protected@write| défini dans +% \texttt{ltfiles}. On n'a besoin que d'un seul argument qui est écrit +% dans le fichier |\@auxout| c-à-d. le fichier \texttt{aux}. +% La macro prend soin de ce qui est protégé soit de manière définitive +% pour avoir été défini par \cs{DeclareRobustCommand} et ses petits +% amis, soit pour être précédé de \cs{protect} comme on doit le faire % parfois pour les arguments \og mobiles \fg (\emph{moving % argument}). % \begin{macrocode} @@ -394,9 +499,9 @@ % \end{macrocode} % \end{macro} % \begin{macro}{\@multiplekeys} -% En mettant |\@multiplekeys| à \cs{relax}, on s'assure qu'il n'y aura -% pas de hurlements alors que rien n'est encore défini et donc encore -% moins défini plusieurs fois \Sourire +% En mettant |\@multiplekeys| à \cs{relax}, on s'assure qu'il n'y aura +% pas de hurlements alors que rien n'est encore défini et donc encore +% moins défini plusieurs fois \Sourire % \begin{macrocode} \let \@multiplekeys \relax % \end{macrocode} @@ -404,7 +509,7 @@ % \begin{macro}{\TheKey} % Le code remprend celui de \cs{label} mais il nous faut deux % arguments, le 1\ier pour la clef, le 2\textsuperscript{nd} pour la -% valeur associée. +% valeur associée. % \begin{macrocode} \def\TheKey#1#2{{\@bsphack \@protected@write{\string\newkey{#1}{#2}}% diff --git a/Master/texmf-dist/source/latex/clefval/clefval.ins b/Master/texmf-dist/source/latex/clefval/clefval.ins index a5f33524c32..ab1da622431 100644 --- a/Master/texmf-dist/source/latex/clefval/clefval.ins +++ b/Master/texmf-dist/source/latex/clefval/clefval.ins @@ -1,37 +1,32 @@ -%%% 2004-05-22 +%% 2020-07-27 %% -%% Copyright (C) 2004 by Yvon Henel Le TeXnicien de surface -%% +%% Copyright (C) 2004, 2020 by Yvon Henel Le TeXnicien de surface +%% %% %% This file may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License, either version 1.2 of this license +%% the LaTeX Project Public License, either version 1.3c of this license %% or (at your option) any later version. The latest version of this %% license is in: %% %% http://www.latex-project.org/lppl.txt %% -%% and version 1.2 or later is part of all distributions of LaTeX version -%% 1999/12/01 or later. -%% \input docstrip.tex \keepsilent \preamble This is a generated file. -Copyright (C) 2004 Y. Henel, le TeXnicien de surface - +Copyright (C) 2004, 2020 Y. Henel, le TeXnicien de surface + This file may be distributed and/or modified under the conditions of -the LaTeX Project Public License, either version 1.2 of this license +the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. The latest version of this license is in: http://www.latex-project.org/lppl.txt -and version 1.2 or later is part of all distributions of LaTeX version -1999/12/01 or later. \endpreamble -%%% for English warnings : +%%% for English warnings: \generate{\file{clefval.sty}{\from{clefval.dtx}{package,packeng}}} \Msg{***************************************************************} diff --git a/Master/texmf-dist/source/latex/clefval/fra-clefval.ins b/Master/texmf-dist/source/latex/clefval/fra-clefval.ins deleted file mode 100644 index 8471c591ea8..00000000000 --- a/Master/texmf-dist/source/latex/clefval/fra-clefval.ins +++ /dev/null @@ -1,58 +0,0 @@ -%%% 2004-05-22 -%% -%% Copyright (C) 2004 by Yvon Henel Le TeXnicien de surface -%% -%% -%% This file may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License, either version 1.2 of this license -%% or (at your option) any later version. The latest version of this -%% license is in: -%% -%% http://www.latex-project.org/lppl.txt -%% -%% and version 1.2 or later is part of all distributions of LaTeX version -%% 1999/12/01 or later. -%% -\input docstrip.tex -\keepsilent -\preamble -This is a generated file. - -Copyright (C) 2004 Y. Henel, le TeXnicien de surface - - -This file may be distributed and/or modified under the conditions of -the LaTeX Project Public License, either version 1.2 of this license -or (at your option) any later version. The latest version of this -license is in: - - http://www.latex-project.org/lppl.txt - -and version 1.2 or later is part of all distributions of LaTeX version -1999/12/01 or later. -\endpreamble -%%% pour messages en fran\c cais : -\generate{\file{clefval.sty}{\from{clefval.dtx}{package,packfra}}} - -\Msg{****************************************************************} -\Msg{*} -\Msg{* VERSION FRANÇAISE :: FRENCH VERSION} -\Msg{*} -\Msg{* Pour finir l'installation vous devez placer} -\Msg{* le fichier suivant dans un répertoire parcouru par TeX.} -\Msg{*} -\Msg{* \space\space clefval.sty} -\Msg{*} -\Msg{* Pour produire la documentation (bilingue) faire : } -\Msg{* pdflatex clefval.dtx} -\Msg{* makeindex -s gind clefval } -\Msg{* makeindex -s gglo -o clefval.gls clefval.glo} -\Msg{* pdflatex clefval.dtx} -\Msg{*} -\Msg{* puis placez clefval.pdf dans un répertoire de documentation} -\Msg{* comme par exemple texmf-local/doc/latex/clefval} -\Msg{*} -\Msg{********************* TeXez dans la joie ! *********************} -\Msg{****************************************************************} - -\endbatchfile diff --git a/Master/texmf-dist/tex/latex/clefval/clefval.sty b/Master/texmf-dist/tex/latex/clefval/clefval.sty index 570320e6c52..11e3666431c 100644 --- a/Master/texmf-dist/tex/latex/clefval/clefval.sty +++ b/Master/texmf-dist/tex/latex/clefval/clefval.sty @@ -7,31 +7,30 @@ %% clefval.dtx (with options: `package,packeng') %% This is a generated file. %% -%% Copyright (C) 2004 Y. Henel, le TeXnicien de surface -%% +%% Copyright (C) 2004, 2020 Y. Henel, le TeXnicien de surface +%% %% %% This file may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License, either version 1.2 of this license +%% the LaTeX Project Public License, either version 1.3c of this license %% or (at your option) any later version. The latest version of this %% license is in: %% %% http://www.latex-project.org/lppl.txt %% -%% and version 1.2 or later is part of all distributions of LaTeX version -%% 1999/12/01 or later. -%%%% Copyright (C) 2004 by Josselin Noirel -%%%% and Yvon Henel +%%%% Copyright (C) 2004, 2020 by Josselin Noirel +%%%% and Yvon Henel aka Le TeXnicien de surface %%%% -------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\def\fileversion{v0} -\def\filedate{2004/05/22} +\def\fileversion{v0.1} +\def\filedate{2020/07/27} \def\fileinfo{define and use pair of key/values} \ProvidesPackage{clefval} [\filedate\space\fileversion\space\fileinfo] + \newcommand*{\@setTheValue}[2]{% \ifx#1\relax \protect\G@refundefinedtrue - \nfss@text{\reset@font\bfseries^^a0????}% + \nfss@text{\reset@font\bfseries[?? #2 ??]}% \@latex@warning{Value of `#2' on page \thepage\space undefined}% \else #1\null \fi} \newcommand*{\TheValue}[1]{\expandafter\@setTheValue\csname -- cgit v1.2.3