summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-30 22:12:08 +0000
committerKarl Berry <karl@freefriends.org>2018-12-30 22:12:08 +0000
commit0632da102dc59ec2ad6a0c69397fd7a3c4a03393 (patch)
treeb069979372d8a5ad481b361e764ccf1b0bf25bcd /Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex
parent5a8b5044b55dfb4e76f990eb433c7e229906c162 (diff)
childdoc (30dec18)
git-svn-id: svn://tug.org/texlive/trunk@49543 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex')
-rw-r--r--Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex24
1 files changed, 19 insertions, 5 deletions
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
%%