diff options
author | Karl Berry <karl@freefriends.org> | 2015-07-13 22:12:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-07-13 22:12:57 +0000 |
commit | 4b3fc95cce2e262c8570ac41b7eb3958badbdb49 (patch) | |
tree | 6c86768f507415d8823d4ff3efd3beb349bae1ea /Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex | |
parent | 3bd1986be7ec187300f2a1b833f58a4a6f449012 (diff) |
minitoc v61 (13jul15)
git-svn-id: svn://tug.org/texlive/trunk@37852 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 | 174 |
1 files changed, 174 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..1b2bcc00e2c --- /dev/null +++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex @@ -0,0 +1,174 @@ +%% +%% 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 "unmaintained". +%% +%% The Current Maintainer of this work is <none>. +%% +%% 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 2008 +%% Jean-Pierre F. Drucbert +%% 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[latin1]{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'. |