diff options
author | Karl Berry <karl@freefriends.org> | 2007-05-05 00:32:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-05-05 00:32:25 +0000 |
commit | 9b4d9fe2a30822e0aa2a2e8c7e21552dc58adec0 (patch) | |
tree | 645ae2b48d74eb006d6c9a8ec8b97d0a1d2e8b79 /Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex | |
parent | fa6c84fd7d86f3f01d6f2f41f5623a93a474fe99 (diff) |
minitoc 53 (23mar07), now from an author-prepared tds.zip
git-svn-id: svn://tug.org/texlive/trunk@4240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex new file mode 100644 index 00000000000..33b17051d5f --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex @@ -0,0 +1,70 @@ +%% +%% This is file `mtc-2nd.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtc-2nd') +%% This is a generated file. +%% +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version +%% 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD). +%% +%% This work consists of all the files listed in the file `minitoc.l' +%% distributed with it. +%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 +%% 2001 2002 2003 2004 2005 2006 2007 +%% Jean-Pierre F. Drucbert +%% <jean-pierre.drucbert@onera.fr> +%% Test de french2.mld: +%% « seconde » ou « deuxième » partie? +%% compilez 3 fois. +\documentclass{report} +\ProvidesFile{mtc-2nd.tex}% + [2007/01/04] +\usepackage[french2,tight,listfiles]{minitoc} +\usepackage[french]{babel} +\usepackage{franc,frnew} +\usepackage[OT1,TS1,T1]{fontenc} +\usepackage[isolatin]{inputenc} +\usepackage{mypatches} +\begin{document} +\ifmtcsecondpart +Il n'y a que 2 parties: seconde. +\else +Il y a une partie ou plus de deux parties: deuxième. +\fi +\clearpage +\doparttoc +\faketableofcontents +\part{P1} +\parttoc +\chapter{P1C1} +\chapter{P1C2} +\part{P2} +\parttoc +\chapter{P2C1} +\chapter{P2C2} +%% Commentez la ligne suivante puis recompilez 2 ou 3 fois. +\end{document} +\part{P3} +\parttoc +\chapter{P3C1} +\chapter{P3C2} +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\endinput +%% +%% End of file `mtc-2nd.tex'. |