From 0632da102dc59ec2ad6a0c69397fd7a3c4a03393 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 30 Dec 2018 22:12:08 +0000 Subject: childdoc (30dec18) git-svn-id: svn://tug.org/texlive/trunk@49543 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex | 24 ++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex') diff --git a/Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex b/Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex index daba4dcc7a9..0c046e262f8 100644 --- a/Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex +++ b/Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex @@ -16,9 +16,9 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% -\ProvidesFile{cdocsamp.tex}[2018/01/17 v1.6 sample for childdoc] +\ProvidesFile{cdocsamp.tex}[2018/12/30 v2.0 sample for childdoc] \input{childdoc.def} -\childdocmain{cdocsamp} +\childdocmain{} %%\ifchilddoc\else\providecommand{\version}{draft}\fi @@ -36,19 +36,33 @@ \begin{center} {\LARGE\bfseries{}childdoc example\par} \vspace{1cm} -part: \ifchilddoc -`\childdocname' of `\jobname'\par +\ifchilddocmanual part\else chapter\fi: +`\childdocname' of `\childdocjob'\par \else -main\par +main document: `\childdocjob'\par \fi version: \version\par \end{center} \newpage +\ifchilddocmanual +\section*{part `\childdocname'} +\input{\childdocname} +\else + \include{cdocsch1} \include{cdocsch2} +\ifchilddoc\else +\section{part three} +\input{cdocspt3} +\section{part four} +\input{cdocspt4} +\fi + +\fi + \end{document} \endinput %% -- cgit v1.2.3