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/README.txt | 7 ++++-- Master/texmf-dist/doc/latex/childdoc/cdocsamp.tex | 24 ++++++++++++++---- Master/texmf-dist/doc/latex/childdoc/cdocspt3.tex | 29 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/childdoc/cdocspt4.tex | 29 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/childdoc/childdoc.pdf | Bin 258318 -> 269717 bytes 5 files changed, 82 insertions(+), 7 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/childdoc/cdocspt3.tex create mode 100644 Master/texmf-dist/doc/latex/childdoc/cdocspt4.tex (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/childdoc/README.txt b/Master/texmf-dist/doc/latex/childdoc/README.txt index 9be220354d6..2b55c303f8e 100644 --- a/Master/texmf-dist/doc/latex/childdoc/README.txt +++ b/Master/texmf-dist/doc/latex/childdoc/README.txt @@ -1,4 +1,4 @@ -childdoc v1.6 +childdoc v2.0 Copyright 2017-2018 Niklas Beisert childdoc is a LaTeX2e package that enables the direct compilation @@ -13,6 +13,8 @@ The package consists of the files cdocsamp.tex sample main file cdocsch1.tex sample include file cdocsch2.tex sample include file + cdocspt3.tex sample part file + cdocspt4.tex sample part file cdocsdrf.tex sample forwarding file cdocsch1.tex sample forwarding file cdocsch2.tex sample forwarding file @@ -25,7 +27,8 @@ Run "(pdf)latex childdoc.dtx" to compile the manual childdoc.pdf. Run "latex childdoc.ins" to create the definitions file childdoc.def and the sample consisting of cdocsamp.tex, -cdocsch1.tex, cdocsch2.tex, cdocsdrf.tex, cdocsfn1.tex, cdocsfn2.tex. +cdocsch1.tex, cdocsch2.tex, cdocspt3.tex, cdocspt4.tex, +cdocsdrf.tex, cdocsfn1.tex, cdocsfn2.tex. Copy the file childdoc.def to an appropriate directory of your LaTeX distribution, e.g. texmf-root/tex/latex/childdoc. 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 %% diff --git a/Master/texmf-dist/doc/latex/childdoc/cdocspt3.tex b/Master/texmf-dist/doc/latex/childdoc/cdocspt3.tex new file mode 100644 index 00000000000..dfd326db300 --- /dev/null +++ b/Master/texmf-dist/doc/latex/childdoc/cdocspt3.tex @@ -0,0 +1,29 @@ +%% +%% This is file `cdocspt3.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% childdoc.dtx (with options: `samplepart3') +%% +%% Copyright (C) 2017-2018 Niklas Beisert +%% +%% This work 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 2005/12/01 or later. +%% + +%%\providecommand{\version}{final} + +\input{childdoc.def} +\childdocby{cdocsamp} + +some text in part three + +\endinput +%% +%% End of file `cdocspt3.tex'. diff --git a/Master/texmf-dist/doc/latex/childdoc/cdocspt4.tex b/Master/texmf-dist/doc/latex/childdoc/cdocspt4.tex new file mode 100644 index 00000000000..ed7546203a2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/childdoc/cdocspt4.tex @@ -0,0 +1,29 @@ +%% +%% This is file `cdocspt4.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% childdoc.dtx (with options: `samplepart4') +%% +%% Copyright (C) 2017-2018 Niklas Beisert +%% +%% This work 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 2005/12/01 or later. +%% + +%%\providecommand{\version}{final} + +\input{childdoc.def} +\childdocby{cdocsamp} + +more text in part four + +\endinput +%% +%% End of file `cdocspt4.tex'. diff --git a/Master/texmf-dist/doc/latex/childdoc/childdoc.pdf b/Master/texmf-dist/doc/latex/childdoc/childdoc.pdf index 660ebce9fa3..c4dcfc472a1 100644 Binary files a/Master/texmf-dist/doc/latex/childdoc/childdoc.pdf and b/Master/texmf-dist/doc/latex/childdoc/childdoc.pdf differ -- cgit v1.2.3