From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/nonumonpart/LISEZMOI | 72 ++++ macros/latex/contrib/nonumonpart/Makefile | 155 ++++++++ macros/latex/contrib/nonumonpart/README | 70 ++++ .../latex/contrib/nonumonpart/nonumonpart-en.pdf | Bin 0 -> 233801 bytes .../latex/contrib/nonumonpart/nonumonpart-fr.pdf | Bin 0 -> 245666 bytes macros/latex/contrib/nonumonpart/nonumonpart.dtx | 415 +++++++++++++++++++++ macros/latex/contrib/nonumonpart/nonumonpart.ins | 61 +++ macros/latex/contrib/nonumonpart/nonumonpart.pdf | Bin 0 -> 366179 bytes macros/latex/contrib/nonumonpart/nonumonpart.sty | 42 +++ 9 files changed, 815 insertions(+) create mode 100644 macros/latex/contrib/nonumonpart/LISEZMOI create mode 100644 macros/latex/contrib/nonumonpart/Makefile create mode 100644 macros/latex/contrib/nonumonpart/README create mode 100644 macros/latex/contrib/nonumonpart/nonumonpart-en.pdf create mode 100644 macros/latex/contrib/nonumonpart/nonumonpart-fr.pdf create mode 100644 macros/latex/contrib/nonumonpart/nonumonpart.dtx create mode 100644 macros/latex/contrib/nonumonpart/nonumonpart.ins create mode 100644 macros/latex/contrib/nonumonpart/nonumonpart.pdf create mode 100644 macros/latex/contrib/nonumonpart/nonumonpart.sty (limited to 'macros/latex/contrib/nonumonpart') diff --git a/macros/latex/contrib/nonumonpart/LISEZMOI b/macros/latex/contrib/nonumonpart/LISEZMOI new file mode 100644 index 0000000000..364078f70c --- /dev/null +++ b/macros/latex/contrib/nonumonpart/LISEZMOI @@ -0,0 +1,72 @@ +% -*- coding: utf-8 -*- +% Time-stamp: <2011-04-15 09:25:17 yvon> + +NONUMONPART 1 2011-04-15 + +NONUMONPART = NO (page) NUMber ON PART title page + +Une enveloppe pour la réponse à la question souvent posée + « comment se débarasser du numéro de page sur + la page de titre d'une partie ? » + +------------------------------------------------------------ + DESCRIPTION : +------------------------------------------------------------ + +Ce lot comprend +------------------------------------------------------------ +% le module lui-même +nonumonpart.sty +% documentation du code, en anglais +nonumonpart.pdf +% documentation pour l'utilisateur final +nonumonpart-fr.pdf % en français +nonumonpart-en.pdf % en anglais +% pour *nix make +Makefile +% sources +nonumonpart.dtx nonumonpart.ins +% partie anglaise +README +% partie française +LISEZMOI % ce fichier +% archive conforme à la TDS +nonumonpart.tds.zip + +------------------------------------------------------------ + COMPILATION : +------------------------------------------------------------ +Pour utilisateur *nix : +make +ou +make all +pour produire les fichiers de style et la documentation + +make clean +pour supprimer les fichiers auxiliaires + +make distclean +pour revenir à l'état pour la publication sur CTAN +------------------------------------------------------------ +Sans utilisation du Makefile +1) compiler nonumonpart.ins avec LATEX +cela produit les fichiers suivants : +nonumonpart-en.ltx % documentation en anglais +nonumonpart-fr.ltx % documentation en français +nonumonpart-tools.sty % pour produire la documentation +nonumonpart-code.sty % pour produire la documentation +nonumonpart.sty % le fichier de style +2) pour produire la documentation + 1) lancer pdflatex sur nonumonpart-fr.ltx deux fois ; + 2) lire ! + +============================================================ + HISTORIQUE. +============================================================ + +NONUMONPART 1 2011-04-15 +1re version publique. + +-- +Yvon Henel, le TeXnicien de surface +le.texnicien.de.surface@wanadoo.fr diff --git a/macros/latex/contrib/nonumonpart/Makefile b/macros/latex/contrib/nonumonpart/Makefile new file mode 100644 index 0000000000..cea78398a4 --- /dev/null +++ b/macros/latex/contrib/nonumonpart/Makefile @@ -0,0 +1,155 @@ +# --------------------------------------------------------------- +# Makefile for the nonumonpart package by Y. Henel +# modified version of the Makefile of the kerntest package +# many thanks to Harald Harders +# --------------------------------------------------------------- +PKGNAME= nonumonpart +VERSION= 1 + +TEX= \ + $(PKGNAME).sty + +DOC= \ + $(PKGNAME).pdf \ + $(PKGNAME)-en.pdf \ + $(PKGNAME)-fr.pdf \ + LISEZMOI \ + README + +SOURCE= \ + Makefile \ + $(PKGNAME).dtx \ + $(PKGNAME).ins + +PRODUITS= \ + $(PKGNAME).sty \ + $(PKGNAME)-tools.sty \ + $(PKGNAME)-code.sty \ + $(PKGNAME).pdf \ + $(PKGNAME)-en.pdf \ + $(PKGNAME)-fr.pdf \ + $(PKGNAME)-en.ltx \ + $(PKGNAME)-fr.ltx + + +REPERTS= \ + doc \ + tex \ + source + +GARBAGE= $(wildcard *.aux)\ + $(wildcard *.log)\ + $(wildcard *.toc)\ + $(wildcard *.out)\ + $(wildcard *.glo)\ + $(wildcard *.gls)\ + $(wildcard *.ilg)\ + $(wildcard *.ind)\ + $(wildcard *.idx)\ + $(wildcard *.hd)\ + $(wildcard *.ltx)\ + $(wildcard *~) + +# --------------------------------------------------------------- + +.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf .ltx + +# --------------------------------------------------------------- +.ins.sty: + tex $< + +.dtx.pdf: + pdflatex $< + pdflatex $< + makeindex -s gind.ist $(*D)/$(*F) + makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo + pdflatex $< + +.ltx.pdf: + pdflatex $< + pdflatex $< + +.tex.pdf: + pdflatex $< + pdflatex $< + +# --------------------------------------------------------------- + +all: $(PKGNAME).sty $(PKGNAME).pdf\ + $(PKGNAME)-tools.sty\ + $(PKGNAME)-en.pdf $(PKGNAME)-en.ltx\ + $(PKGNAME)-fr.pdf $(PKGNAME)-fr.ltx +# --------------------------------------------------------------- + +help: + @-echo "************************************************************" + @-echo "* *" + @-echo "* Choisir une des options : *" + @-echo "* 'all' -> nonumonpart.sty *" + @-echo "* 'doc' pour la documentation *" + @-echo "* 'doc' for the documentation *" + @-echo "* 'sty' -> nonumonpart.sty *" + @-echo "* 'dist'-> nonumonpart.sty & doc *" + @-echo "* 'clean' petit nettoyage *" + @-echo "* 'distclean' (encore plus propre) *" + @-echo "* *" + @-echo "************************************************************" +# --------------------------------------------------------------- + +dist: all clean + +# --------------------------------------------------------------- + +clean: + @-rm -f $(GARBAGE) + +# --------------------------------------------------------------- + +distclean: clean + @-rm -f $(PRODUITS) + +# --------------------------------------------------------------- + +texlive: all clean + @-rm -rf $(REPERTS) + @-mkdir -p tex/latex/$(PKGNAME) + @-mkdir -p doc/latex/$(PKGNAME) + @-mkdir -p source/latex/$(PKGNAME) + @-cp $(TEX) tex/latex/$(PKGNAME) + @-cp $(DOC) doc/latex/$(PKGNAME) + @-cp $(SOURCE) source/latex/$(PKGNAME) + @-mkdir -p $(PKGNAME) + @-cp $(DOC) ./$(PKGNAME) + @-cp $(SOURCE) ./$(PKGNAME) + @-cp $(TEX) ./$(PKGNAME) + +# --------------------------------------------------------------- + +zip: texlive + @-rm -f $(PKGNAME).zip + @-zip -r $(PKGNAME) $(REPERTS) + @-rm -rf $(REPERTS) + @mv $(PKGNAME).zip $(PKGNAME).tds.zip + @zip -r $(PKGNAME) $(PKGNAME) + @zip -r $(PKGNAME) $(PKGNAME).tds.zip + @-rm -rf $(PKGNAME) + @-rm -f $(PKGNAME).tds.zip + +# --------------------------------------------------------------- + +ctan: zip distclean + +# --------------------------------------------------------------- + +$(PKGNAME).sty: $(PKGNAME).ins $(PKGNAME).dtx +$(PKGNAME)-tools.sty: $(PKGNAME).ins $(PKGNAME).dtx +$(PKGNAME)-code.sty: $(PKGNAME).ins $(PKGNAME).dtx +$(PKGNAME)-en.ltx: $(PKGNAME).ins $(PKGNAME).dtx +$(PKGNAME)-fr.ltx: $(PKGNAME).ins $(PKGNAME).dtx + +sty: $(PKGNAME).sty $(PKGNAME)-tools.sty $(PKGNAME)-code.sty +doc: $(PKGNAME).ins $(PKGNAME).pdf + +# --------------------------------------------------------------- +# echu e an abaden +# Le \TeX nicien de surface 2011-04-15 diff --git a/macros/latex/contrib/nonumonpart/README b/macros/latex/contrib/nonumonpart/README new file mode 100644 index 0000000000..be1d27e3ba --- /dev/null +++ b/macros/latex/contrib/nonumonpart/README @@ -0,0 +1,70 @@ +% Time-stamp: <2011-04-15 09:23:35 yvon> + +NONUMONPART 1 2011-04-15 + +NONUMONPART = NO (page) NUMber ON PART title page + +A wrapper for answer to FAQ: +``How to get rid of page numbers (with \part)'' + +------------------------------------------------------------ + DESCRIPTION : +------------------------------------------------------------ + +This bundle contains +------------------------------------------------------------ +% the package itself +nonumonpart.sty +% code documentation +nonumonpart.pdf +% documentation for the final user +nonumonpart-fr.pdf % in French +nonumonpart-en.pdf % in English +% for *nix make +Makefile +% sources +nonumonpart.dtx nonumonpart.ins +% English part +README % this file +% French part +LISEZMOI +% TDS-compliant archive +nonumonpart.tds.zip + +------------------------------------------------------------ + COMPILATION : +------------------------------------------------------------ +For *nix user: +make +or +make all +to produce all the files and documentation + +make clean +to erase auxiliary files + +make distclean +to come back to prepublication state +------------------------------------------------------------ +Without Makefile +1. run nonumonpart.ins through LATEX (or TeX) +that produces the following files +nonumonpart-en.ltx % English documentation +nonumonpart-fr.ltx % French documentation +nonumonpart-tools.sty % a package to produce the documentation +nonumonpart-code.sty % a package to produce the documentation +nonumonpart.sty % the package +2. to produce English documentation + 1/ run nonumonpart-en.ltx through pdflatex twice + 2/ read! + +============================================================ + HISTORY. +============================================================ + +NONUMONPART 1 2011-04-15 +1st public version. + +-- +Yvon Henel, le TeXnicien de surface +le.texnicien.de.surface@wanadoo.fr diff --git a/macros/latex/contrib/nonumonpart/nonumonpart-en.pdf b/macros/latex/contrib/nonumonpart/nonumonpart-en.pdf new file mode 100644 index 0000000000..4dc848b848 Binary files /dev/null and b/macros/latex/contrib/nonumonpart/nonumonpart-en.pdf differ diff --git a/macros/latex/contrib/nonumonpart/nonumonpart-fr.pdf b/macros/latex/contrib/nonumonpart/nonumonpart-fr.pdf new file mode 100644 index 0000000000..e267bb6474 Binary files /dev/null and b/macros/latex/contrib/nonumonpart/nonumonpart-fr.pdf differ diff --git a/macros/latex/contrib/nonumonpart/nonumonpart.dtx b/macros/latex/contrib/nonumonpart/nonumonpart.dtx new file mode 100644 index 0000000000..8e0a3b96c9 --- /dev/null +++ b/macros/latex/contrib/nonumonpart/nonumonpart.dtx @@ -0,0 +1,415 @@ +% \iffalse meta-comment +% Time-stamp: <2011-04-15 10:09:34 yvon> +% Copyright (C) 2011 by Yvon Henel +% dit "le TeXnicien de surface" +% mail: +% ------------------------------------------------------------------ +% +% 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. +% \fi +% +% \iffalse +%<*package> +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\def\PackageName{nonumonpart} +\def\fileversion{v1} +\def\filedate{2011/04/15} +\def\docdate{2011/04/15} +\def\fileinfo{nonumonpart.sty by Le TeXnicien de surface} +\ProvidesPackage{nonumonpart} + [\filedate\space\fileversion\space\fileinfo] +% +% \fi +% \iffalse +%<*driver> +\documentclass[a4paper]{ltxdoc} +\usepackage[latin9]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{nonumonpart}[2011/04/15] +\usepackage{nonumonpart-code} +\usepackage{xspace} +\usepackage{lmodern} +\usepackage[french,english]{babel} +\usepackage{hypdoc} +\usepackage{hologo} +% commentez la ligne suivante pour avoir un document avec le code +% \OnlyDescription +% comment out the preceding line to obtain the full code +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{nonumonpart.dtx} +\end{document} +% +% \fi +% +% \CheckSum{22} +% +% \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 \~} +% +% +% \changes{v1}{2011/04/15}{first public version.} +% +% \DoNotIndex{\newcommand,\newenvironment,^^A +% \i,\ae,\oe,\DeclareOption,\string,\PackageInfo,^^A +% \ExecuteOptions, \providecommand, \newif,^^A +% \DeclareOption, \PackageError, \CurrentOption, \space,^^A +% \MessageBreak, \ExecuteOptions, \ProcessOptions,^^A +% \fi, \if, \or, \ifnum,\ifcase, \def, \expandafter,^^A +% \RequirePackage, \@ctrerr, \ProcessOptions,\relax,^^A +% \@ifundefined, \AtBeginDocument,\let,\renewcommand,^^A +% \@gobble, \thispagestyle, \ifcsname, \part,^^A +% \newpage, \chapter, \pagestyle, \cleardoublepage,^^A +% \text, \textup \csname, \endcsname, \value, \else, \ensuremath} +% +% \GetFileInfo{nonumonpart.sty} +% \title{The package \textsf{nonumonpart}\thanks{This document corresponds +% to the file \textsf{nonumonpart}~\fileversion, dated +% \filedate.}\\ \EXPLICATION} +% \author{Le \TeX nicien de surface\thanks{% +% \texttt{le.texnicien.de.surface@wanadoo.fr}}} +% +% \maketitle +% +% \begin{abstract} +% This package is just a \LaTeX\ wrapper around the not so well +% known answer to the FAQ: +% ``\href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno}{How +% to get rid of page numbers}''. +% +% The English documentation for the user is available in +% \texttt{\PackageName-en.pdf}. +% \end{abstract} +% \begin{otherlanguage}{frenchb} +% \begin{abstract} +% Cette extension n'est qu'une enveloppe \LaTeX ienne pour la +% solution pas vraiment bien connue à la question souvent posée: +% \og comment se débarrasser du numéro de page sur la page de titre +% d'une partie?\fg. +% +% La documentation en français pour l'utilisateur est +% \texttt{\PackageName-fr.pdf}. +% \end{abstract} +% \end{otherlanguage} +% +% \tableofcontents +% \StopEventually{} +% \section{The Code} +% \iffalse +%<*package> +% \fi +% +% To begin with, I would like to emphasize that I am \emph{not} +% the author of the code which ensures the disappearance of the page +% number on the title page of a part (command \cs{part} of +% \emph{classical} classes). +% +%\subsection{The Options} +% +% There are no options. +% +%\subsection{The Commands} +% +% And no end user command either. +% +% Nonetheless if the command \cs{part} is defined \cs{@endpart} is +% redefined. Just in case, the original definition of \cs{@endpart} +% is saved in \cs{S@VE@@endpart}. +% +% To test the existence of \cs{part}, we use a \hologo{eTeX} +% primitive. +% \begin{macro}{\@endpart} +% This is the macro which defines the page style on the title page +% of a part. The code is taken from UK-FAQ. I've just put some test +% around and delayed it at the beginning of the document, just in +% case, once again. +% \begin{macrocode} +\AtBeginDocument{ +\ifcsname part\endcsname + \let\S@VE@@endpart\@endpart + \def\@endpart{\thispagestyle{empty}\S@VE@@endpart} + \PackageInfo{nonumonpart}{% + The command \string\@endpart\space is redefined\@gobble} +\else + \PackageInfo{nonumonpart}{% + As the command \string\part\space is not known I do nothing\@gobble} +\fi} +% \end{macrocode} +% \end{macro} +% +% And that's all for the code. +% \iffalse +% +% \fi +% \Finale \PrintChanges\PrintIndex +% \iffalse +%<*doc-sty> +\ProvidesPackage{nonumonpart-tools} +\RequirePackage[a4paper,% + margin=3.5cm,% + marginparwidth=0.5cm]{geometry} +\RequirePackage{fancyvrb} +\AtBeginDocument{\DefineShortVerb{\|}} +\newcommand{\TO}{\textemdash\ \ignorespaces} +\newcommand{\TF}{\unskip\ \textemdash\xspace} +\newcommand{\CAD}{c.-\`a-d.\xspace} +\DeclareRobustCommand\meta[1]{% + \ensuremath\langle + \ifmmode \expandafter \nfss@text \fi + {% + \meta@font@select + \edef\meta@hyphen@restore + {\hyphenchar\the\font\the\hyphenchar\font}% + \hyphenchar\font\m@ne + \language\l@nohyphenation + #1\/% + \meta@hyphen@restore + }\ensuremath\rangle} +\def\meta@font@select{\itshape} +\def\GetFileInfo#1{% + \def\filename{#1}% + \def\@tempb##1 ##2 ##3\relax##4\relax{% + \def\filedate{##1}% + \def\fileversion{##2}% + \def\fileinfo{##3}}% + \edef\@tempa{\csname ver@#1\endcsname}% + \expandafter\@tempb\@tempa\relax? ? \relax\relax} +\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} +\providecommand\marg[1]{% + {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}} +\providecommand\oarg[1]{% + {\ttfamily[}\meta{#1}{\ttfamily]}} +\providecommand\parg[1]{% + {\ttfamily(}\meta{#1}{\ttfamily)}} +\newcommand\PrintDescribeMacro[1]{\cs{#1}} +\def\DescribeMacro{\leavevmode\@bsphack + \begingroup\Describe@Macro} +\def\Describe@Macro#1{\endgroup + \marginpar{\raggedleft\PrintDescribeMacro{#1}}% + \index{#1@\PrintDescribeMacro{#1}}\@esphack\ignorespaces} +\newcommand\DescribeEnv[1]{\@bsphack + \marginpar{\raggedleft\texttt{#1}}% + \index{#1@\texttt{#1} (environnement)}% + \index{environnement!\texttt{#1}}\@esphack\ignorespaces} +\reversemarginpar +% +% \fi +% \iffalse +%\ProvidesPackage{nonumonpart-code} +%<*sty-common> +\newcommand\BOP{\discretionary{}{}{}} +\newcommand\Option[1]{\textsc{#1}} +\newcommand\Pkg[1]{\textsf{#1}} +\newcommand\Sourire{\texttt{\string;-)}} +\newcommand\DescribeOption[1]{\@bsphack + \marginpar{\raggedleft\textsc{#1}}% + \index{#1 (option)}% + \index{option!\Option{#1}}\@esphack\ignorespaces} +\newcommand\EXPLICATION{% + \textsf{nonumonpart} = + \textsf{no} (page) \textsf{num}ber \textsf{on} \textsf{part} + title page} +% +% \fi +% \iffalse +%<*doc> +\documentclass[a4paper]{article} +\usepackage{xspace,array,microtype} +\usepackage{nonumonpart} +\usepackage[latin1]{inputenc} +\usepackage[T1]{fontenc} +%\usepackage[english,frenchb]{babel} +%\usepackage[frenchb,english]{babel} +\usepackage{nonumonpart-tools} +\usepackage{makeidx} +\usepackage[colorlinks=true, + linkcolor=blue, + urlcolor=blue, + citecolor=blue]{hyperref} + +\newcommand\Filet{% + \par\vspace*{0.5\baselineskip} + \par\noindent\hrulefill + \par\vspace*{0.5\baselineskip}\par} + +\makeindex +\begin{document} +\GetFileInfo{nonumonpart.sty} +%<*fr> +\title{Documentation française de l'extension + \textsf{nonumonpart}\thanks{% + Ce document correspond au fichier \textsf{nonumonpart}~\fileversion, + du \filedate.}\\[12pt] \large \EXPLICATION} +% +%<*en> +\title{The English documentation of the package + \textsf{nonumonpart}\thanks{This document corresponds to the file + \textsf{nonumonpart}~\fileversion, dated \filedate.}\\[12pt] + \large \EXPLICATION} +% +\author{Le \TeX nicien de surface\\ + \href{mailto:le.texnicien.de.surface@wanadoo.fr}% + {le.texnicien.de.surface@wanadoo.fr}} +\date{\docdate} + +\maketitle + +\begin{abstract} +%<*fr> +Cette extension n'est qu'une enveloppe \LaTeX ienne pour la solution +pas vraiment bien connue à la question souvent posée: \og comment se +débarrasser du numéro de page sur la page de titre d'une partie? \fg, +voir \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno}{How + to get rid of page numbers}. + +Je, le \TeX nicien de Surface, ne suis l'auteur \emph{que} de l'extension +et, en aucun cas, du code lui-même, code fourni de longue date par la +\href{http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes}{FAQ de + UK-TUG} et redonné, de ci, de là, sur les divers forums dédiés à \TeX{} +et \LaTeX. + + \Filet + + \begin{otherlanguage}{english}\sffamily{} + This is the French documentation for user of package + \Pkg{\PackageName}. + The English documentation should be available as + \texttt{\PackageName-en.pdf}. + \end{otherlanguage} +% +%<*en> +This package is just a \LaTeX\ wrapper around the not so well known answer +to the FAQ: +``\href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno}{How to get + rid of page numbers}''. + +I, the \TeX nicien de Surface, am the author of the wrapping only and +\emph{not} of the code itsel which has been, for many years, available on +the \href{http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes}{FAQ of + UK-TUG} and given, from time to time, on different newgroups dedicated to +\TeX\ and \LaTeX. + + \Filet + + \begin{otherlanguage}{french}\sffamily{} + Ceci est la documentation anglaise pour l'utilisateur de l'extension + \Pkg{\PackageName}. La documentation française devrait être disponible + sous le nom de \texttt{\PackageName-fr.pdf}. + \end{otherlanguage} +% +\Filet +\end{abstract} +% \tableofcontents + +%<*fr> +Comme signalé ci-dessus, ceci n'est ni nouveau ni rare. Le code est +connu depuis longtemps et trouvable facilement sur diverses FAQs et +archives de forums \TeX niques. Cependant, la question m'ayant été +posée récemment dans une formation à \LaTeX, j'ai pensé qu'en écrivant +cette petite extension je me faciliterais la vie. Il est, en effet, +plus facile de dire \og chargez \emph{cette} extension\fg plutôt que +\og allez sur le net, cherchez la bonne FAQ, trouvez la bonne question +et suivez le mode d'emploi\fg. +% +%<*en> +As stated above, this is neither new nor rare. The code has been known +for a long time and easily available on different FAQs and in +different archives of \TeX nical newsgroups. However, the question has +been recently asked to me during a session of training in \LaTeX\ and +I have thought it would help me if I wrote this tiny package. It is, +actually, easier to say ``load \emph{this} package'' than ``surf the +net, find the good FAQ, find the good question, follow the how-to''. +% + +%<*fr> +Cette extension n'émet aucun avertissement \TO \emph{package + warning}\TF mais fournit une information \TO \emph{package + info}. +% +%<*en> +This package gives no \emph{warning} but one \emph{info}. +% + +%<*fr> +J'espère que cette extension rendra quelques services. S'il était +possible de la rendre encore plus mince, j'espère également que l'on +voudra bien m'indiquer où je peux apporter quelque amélioration. +% +%<*en> +I hope this package will be of service. If it appears that it could be +possible to make even slimmer, I also hope that one would like to tell +me where I could improve it. + +Last but not least, do not hesitate to tell me where, and how, I have +offended the English language by sheer clumsiness for I certainly do +not intend any offence. \Sourire +% + +%\section{Utilisation} +%\section{Usage} + +%<*fr> +Cette extension n'a pas d'option et ne fournit aucune commande pour +l'utilisateur. Elle ne fait que redéfinir \TO le code est tiré de la +page +\href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno}{How to + get rid of page numbers} de la FAQ de UK-TUG\TF la commande interne +\cs{@endpart} de telle sorte que la page de titre d'une partie \TO +obtenue avec la commande \cs{part}\TF soit dotée du style de page +\texttt{empty}. +% +%<*en> +This package has no option and provides no end user macro. It +redefines \TO the code is taken from the page +\href{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno}{How to + get rid of page numbers} of UK-TUG FAQ\TF the internal macro +\cs{@endpart} in order to ensures that the title page of a part \TO +obtained with the commande \cs{part}\TF has page style \texttt{empty}. +% + +%<*fr> +Il suffit donc de charger cette extension avec l'habituel +% +%<*en> +Suffices to load this package with the usual +% +|\usepackage{nonumonpart}|. + +%<*fr> + +% +%<*en> + +% +\end{document} +% +% \fi +% \endinput +% Local Variables: +% coding: iso-8859-15 +% mode: doctex +% TeX-master: t +% End: diff --git a/macros/latex/contrib/nonumonpart/nonumonpart.ins b/macros/latex/contrib/nonumonpart/nonumonpart.ins new file mode 100644 index 0000000000..801ed4716d --- /dev/null +++ b/macros/latex/contrib/nonumonpart/nonumonpart.ins @@ -0,0 +1,61 @@ +%%% 2011/04/07 +%% +%% Copyright (C) 2004, 2008 by Yvon Henel +%% dit "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) 2011 by Yvon Henel +dit "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 +\askforoverwritefalse +\generate{ + \file{nonumonpart.sty}{\from{nonumonpart.dtx}{package}} + \file{nonumonpart-tools.sty}{\from{nonumonpart.dtx}{doc-sty,sty-common}} + \file{nonumonpart-code.sty}{\from{nonumonpart.dtx}{package-sty,sty-common}} + \file{nonumonpart-en.ltx}{\from{nonumonpart.dtx}{doc,en}} + \file{nonumonpart-fr.ltx}{\from{nonumonpart.dtx}{doc,fr}} + } + +\obeyspaces +\Msg{**********************************************************************} +\Msg{* Pour finir l'installation vous devez placer *} +\Msg{* le fichier suivant dans un dossier parcouru par TeX. *} +\Msg{* *} +\Msg{* nonumonpart.sty *} +\Msg{* *} +\Msg{* Pour produire la documentation faire : *} +\Msg{* pdflatex nonumonpart.dtx *} +\Msg{* makeindex -s gind nonumonpart *} +\Msg{* makeindex -s gglo -o nonumonpart.gls nonumonpart.glo *} +\Msg{* pdflatex nonumonpart.dtx *} +\Msg{* *} +\Msg{* puis placez nonumonpart.pdf dans un dossier de documentation *} +\Msg{* comme par exemple texmf-local/doc/latex/tdsmath *} +\Msg{* *} +\Msg{* TeXez dans la joie ! *} +\Msg{**********************************************************************} +\endbatchfile diff --git a/macros/latex/contrib/nonumonpart/nonumonpart.pdf b/macros/latex/contrib/nonumonpart/nonumonpart.pdf new file mode 100644 index 0000000000..620a9c5506 Binary files /dev/null and b/macros/latex/contrib/nonumonpart/nonumonpart.pdf differ diff --git a/macros/latex/contrib/nonumonpart/nonumonpart.sty b/macros/latex/contrib/nonumonpart/nonumonpart.sty new file mode 100644 index 0000000000..cd81fad49c --- /dev/null +++ b/macros/latex/contrib/nonumonpart/nonumonpart.sty @@ -0,0 +1,42 @@ +%% +%% This is file `nonumonpart.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% nonumonpart.dtx (with options: `package') +%% This is a generated file. +%% +%% Copyright (C) 2011 by Yvon Henel +%% dit "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. +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\def\PackageName{nonumonpart} +\def\fileversion{v1} +\def\filedate{2011/04/15} +\def\docdate{2011/04/15} +\def\fileinfo{nonumonpart.sty by Le TeXnicien de surface} +\ProvidesPackage{nonumonpart} + [\filedate\space\fileversion\space\fileinfo] +\AtBeginDocument{ +\ifcsname part\endcsname + \let\S@VE@@endpart\@endpart + \def\@endpart{\thispagestyle{empty}\S@VE@@endpart} + \PackageInfo{nonumonpart}{% + The command \string\@endpart\space is redefined\@gobble} +\else + \PackageInfo{nonumonpart}{% + As the command \string\part\space is not known I do nothing\@gobble} +\fi} +\endinput +%% +%% End of file `nonumonpart.sty'. -- cgit v1.2.3