From 03ebbf475d4730919119e90d754c69849151749d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 14 Mar 2020 20:44:40 +0000 Subject: schemata (14mar20) git-svn-id: svn://tug.org/texlive/trunk@54296 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/schemata/Makefile | 35 -- Master/texmf-dist/doc/generic/schemata/README | 354 ++++++++++++-- Master/texmf-dist/doc/generic/schemata/README.txt | 354 ++++++++++++-- Master/texmf-dist/doc/generic/schemata/schemata.hd | 0 .../texmf-dist/doc/generic/schemata/schemata.pdf | Bin 516452 -> 629338 bytes .../texmf-dist/doc/generic/schemata/schemata.png | Bin 0 -> 91134 bytes .../texmf-dist/doc/generic/schemata/schematest.tex | 530 +++++++++++++++++++++ 7 files changed, 1184 insertions(+), 89 deletions(-) delete mode 100644 Master/texmf-dist/doc/generic/schemata/Makefile delete mode 100644 Master/texmf-dist/doc/generic/schemata/schemata.hd create mode 100644 Master/texmf-dist/doc/generic/schemata/schemata.png create mode 100644 Master/texmf-dist/doc/generic/schemata/schematest.tex (limited to 'Master/texmf-dist/doc/generic') diff --git a/Master/texmf-dist/doc/generic/schemata/Makefile b/Master/texmf-dist/doc/generic/schemata/Makefile deleted file mode 100644 index b10f10c47b4..00000000000 --- a/Master/texmf-dist/doc/generic/schemata/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -NAME = schemata -SHELL = bash -PWD = $(shell pwd) -VERS = $(shell ltxfileinfo -v $(NAME).dtx|sed -e 's/^v//') -LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL) -UTREE = $(shell kpsewhich --var-value TEXMFHOME) -all: $(NAME).pdf - test -e README.txt && mv README.txt README || exit 0 -$(NAME).pdf: $(NAME).dtx - pdflatex -shell-escape -recorder -interaction=batchmode $(NAME).dtx >/dev/null - pdflatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null - if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi - if [ -f $(NAME).idx ]; then makeindex -q -s gind.ist -o $(NAME).ind $(NAME).idx; fi - pdflatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null - pdflatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null -clean: - rm -f $(NAME).{aux,fls,glo,gls,hd,idx,ilg,ind,ins,log,out,toc} README.txt -distclean: clean - rm -f $(NAME).{pdf,sty} README -inst: all - mkdir -p $(UTREE)/{tex,source,doc}/generic/$(NAME) - cp $(NAME).dtx $(UTREE)/source/generic/$(NAME) - cp Makefile $(UTREE)/source/generic/$(NAME) - cp $(NAME).sty $(UTREE)/tex/generic/$(NAME) - cp $(NAME).pdf $(UTREE)/doc/generic/$(NAME) -install: all - sudo mkdir -p $(LOCAL)/{tex,source,doc}/generic/$(NAME) - sudo cp $(NAME).dtx $(LOCAL)/source/generic/$(NAME) - sudo cp Makefile $(LOCAL)/source/generic/$(NAME) - sudo cp $(NAME).sty $(LOCAL)/tex/generic/$(NAME) - sudo cp $(NAME).pdf $(LOCAL)/doc/generic/$(NAME) -zip: all - ln -sf . $(NAME) - zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{README,Makefile,$(NAME).{pdf,dtx}} - rm $(NAME) diff --git a/Master/texmf-dist/doc/generic/schemata/README b/Master/texmf-dist/doc/generic/schemata/README index b3a599bae3b..93c0a037d79 100644 --- a/Master/texmf-dist/doc/generic/schemata/README +++ b/Master/texmf-dist/doc/generic/schemata/README @@ -1,31 +1,34 @@ -| + --------:| ---------------------------------------------------------------- schemata:| Generic package to aid construction of topical categories Author:| Charles P. Schaum - E-mail:| charles dot schaum at comcast dot net + E-mail:| charles dot schaum@comcast.net License:| Released under the LaTeX Project Public License v1.3c or later See:| http://www.latex-project.org/lppl.txt Short description: The schemata package helps the creation of topical outlines that illustrate the breakdown of concepts and categories in academic texts from the late medieval to early modern periods. -Files Distribution +Files Distribution -README This file -schemata.pdf Documentation +README This file +schemata.pdf Documentation +schematest.tex Test file for Plain TeX or Eplain +schemata.png Image file used for the manual -Makefile Automates building with GNU make 3.81 -schemata.dtx Documented LaTeX file containing both code and documentation +Makefile Automates building with GNU make 3.81 +schemata.dtx Documented LaTeX file containing both code and documentation Installation -Unpack schemata-XX.zip in an appropriate directory. +Download the package from + +https://www.ctan.org/tex-archive/macros/generic/schemata -Note that the instructions below assume that you are using a *nix- -compatible computer. If that is otherwise, you will need to modify -these instructions to your needs. +Unpack schemata.zip in an appropriate directory. -If you have a make utility compatible with GNU make you can type +If you have a make utility compatible with GNU make, either in +GNU/Linux, a BSD variant, OSX, or Cygwin in Windows you can type make inst @@ -34,42 +37,77 @@ to install the package into your $TEXMFHOME tree or make install to install the package into your $TEXMFLOCAL tree for all users. +The latter requires sudo privileges. + +Other useful targets include: + +(release process) + +make release The default target, same as just ``make''. + +make clean Removes all intermediate files. Left are +the files listed above plus schemata.sty. + +make distclean Leave only schemata.dtx, schematest.tex, +schemata.png, and Makefile. + +make zip Generate a zip file ready for distribution. -Manually, you can generate the package files. First you generate the -installer driver, README, and style files, with a preliminary PDF: +(testing process) + +make testing Release files, plus compiles schematest.tex. + +It is not necessary, however, to use GNU make. One can generate +the package files manually. Since the files schemata.ins and README.txt +are contained in the .dtx file itself, the first step is to generate +the installer driver schemata.ins, plus the file README.txt, which will +also trigger the extraction of schemata.sty and produce the first pass of +the package documentation schemata.pdf: pdflatex -shell-escape -recorder -interaction=batchmode schemata.dtx -Next you generate the PDF with a table of contents and all cross-references -validated, so that the index entries will not move: +Next one adds a table of contents and all cross-references, this also +should finalize page numbers for glossary and index input files: pdflatex --recorder --interaction=nonstopmode schemata.dtx -The next commands generate the glossary/index and final pdf file +The next commands generate the glossary/index output files: makeindex -q -s gglo.ist -o schemata.gls schemata.glo makeindex -q -s gind.ist -o schemata.ind schemata.idx + +The final two commands integrate the glossary (changes) and index: + pdflatex --recorder --interaction=nonstopmode schemata.dtx pdflatex --recorder --interaction=nonstopmode schemata.dtx -Normally you create the following manual installation directories for user: +Now one can either keep README.txt or rename it to README, e.g.: -$TEXMFHOME/source/generic/schemata dtx file -$TEXMFHOME/tex/generic/schemata sty file -$TEXMFHOME/doc/generic/schemata pdf file +mv README.txt README -and you create the following manual installation directories for local site: +Normally one creates the following directories for a user: -$TEXMFLOCAL/source/generic/schemata dtx file -$TEXMFLOCAL/tex/generic/schemata sty file -$TEXMFLOCAL/doc/generic/schemata pdf file +$TEXMFHOME/source/generic/schemata dtx file, schemata.png +$TEXMFHOME/doc/generic/schemata pdf file, README, schematest.tex, + +and creates the following directories for the local site: + +$TEXMFLOCAL/source/generic/schemata dtx file, schemata.png +$TEXMFLOCAL/doc/generic/schemata pdf file, README, schematest.tex, The above environment variables often are /usr/local/texlive/texmf-local for $TEXMFLOCAL and ~/texmf for $TEXMFHOME. -Run mktexlsr with the appropriate level of permissions to complete the install. +The make process normally renames the README.txt file created from the +dtx file to just README by using mv (move / rename utility in the *nix +userland). Windows distributions of TeX and LaTeX often keep the txt file +because of using file extensions instead of ``magic numbers'' to identify +files. + +Run mktexlsr with the appropriate level of permissions to complete the +install. -This packages works with LaTeX and plain TeX. +This packages works with LaTeX and Plain TeX. License @@ -77,3 +115,265 @@ This material is subject to the LaTeX Project Public License: http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html Happy TeXing! +\ifx\fmtname\schemataLaTeX\else + \catcode`@=11\relax +\fi +\newbox\@schemata@rhs +\newbox\@schemata@lhs +\newdimen\@schemata@rheight +\newdimen\@schemata@lheight +\newif\if@schemata@LCBox +\newif\if@schemata@SWBox +\newif\if@schemata@NudgeBox +\ifx\fmtname\schemataLaTeX + \DeclareOption{braces}% + {\let\@schemata@LD\lbrace \let\@schemata@RD\rbrace} + \DeclareOption{brackets}% + {\let\@schemata@LD\lbrack \let\@schemata@RD\rbrack} + \DeclareOption{parens}% + {\let\@schemata@LD( \let\@schemata@RD)} + \DeclareOption{groups}% + {\let\@schemata@LD\lgroup \let\@schemata@RD\rgroup} + \ExecuteOptions{braces} + \ProcessOptions\relax +\else + \let\@schemata@LD\lbrace% + \let\@schemata@RD\rbrace% +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoBraces}% + {\let\@schemata@LD\lbrace \let\@schemata@RD\rbrace} +\else + \def\DoBraces% + {\let\@schemata@LD\lbrace \let\@schemata@RD\rbrace} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoBrackets}% + {\let\@schemata@LD\lbrack \let\@schemata@RD\rbrack} +\else + \def\DoBrackets% + {\let\@schemata@LD\lbrack \let\@schemata@RD\rbrack} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoParens}% + {\let\@schemata@LD( \let\@schemata@RD)} +\else + \def\DoParens% + {\let\@schemata@LD( \let\@schemata@RD)} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoGroups}% + {\let\@schemata@LD\lgroup \let\@schemata@RD\rgroup} +\else + \def\DoGroups% + {\let\@schemata@LD\lgroup \let\@schemata@RD\rgroup} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\LCschema}{\@schemata@LCBoxtrue} +\else + \def\LCschema{\@schemata@LCBoxtrue} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\UCschema}{\@schemata@LCBoxfalse} +\else + \def\UCschema{\@schemata@LCBoxfalse} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\SwitchSB}{\@schemata@SWBoxtrue}% +\else + \def\SwitchSB{\@schemata@SWBoxtrue} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\NudgeSB}{\@schemata@NudgeBoxtrue} +\else + \def\NudgeSB{\@schemata@NudgeBoxtrue} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand{\SBNudgeFactor}{\kern0.2em} +\else + \def\SBNudgeFactor{\kern0.2em} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\schemabox}[2][0pt]{\@schemata@schemabox[#1]{#2}} +\else + \def\schemabox{\futurelet\testchar\@schemata@schemab@x} + \def\@schemata@schemab@x{% + \ifx[\testchar + \let\next\@schemata@schemabox% + \else + \let\next\@schemata@@schemab@x% + \fi + \next% + }% + \def\@schemata@@schemab@x#1{\@schemata@schemabox[0pt]{#1}} +\fi +\def\@schemata@schemabox[#1]#2{% + \ifinner + \if@schemata@LCBox + \def\@Adj{}% + \if@schemata@SWBox\def\@Adj{\strut}\fi + \else + \def\@Adj{\strut}% + \if@schemata@SWBox\def\@Adj{}\fi + \fi + \if@schemata@NudgeBox + \let\@Nudge\SBNudgeFactor% + \else + \def\@Nudge{}% + \fi + \ifdim#1<1pt + \def\\{\@Nudge\egroup\hbox\bgroup\ignorespaces }% + \vbox{\hbox\bgroup\@Adj\ignorespaces #2\@Nudge\egroup}% + \else + \def\\{\hfil\egroup\hbox to #1\bgroup\ignorespaces }% + \vbox{\hbox to #1\bgroup\@Adj\ignorespaces #2\hfil\egroup}% + \fi + \else + #2% + \fi + \@schemata@SWBoxfalse% + \@schemata@NudgeBoxfalse% +} +\ifx\fmtname\schemataLaTeX + \newcommand{\schema}[3][open]{% + \@schemata@schema[#1]{#2}{#3}} +\else + \long\def\schema{\futurelet\testchar\@schemata@schem@} + \long\def\@schemata@schem@{% + \ifx[\testchar + \let\next\@schemata@schema% + \else + \let\next\@schemata@@schem@% + \fi + \next% + }% + \long\def\@schemata@@schem@#1#2{% + \@schemata@schema[open]{#1}{#2}} +\fi +\long\def\@schemata@schema[#1]#2#3{% + \def\@ption{#1}\def\@pen{open}% + \ifx\@ption\@pen + \setbox\@schemata@rhs=\vbox{#3}% + \@schemata@rheight=\ht\@schemata@rhs% + \advance\@schemata@rheight\dp\@schemata@rhs% + \advance\@schemata@rheight by 1.44265ex% + \hbox{$\vcenter{#2}% + \@schemata@lbrace{\@schemata@rheight}% + \vcenter{#3}$}% + \else + \setbox\@schemata@lhs=\vbox{#2}% + \@schemata@lheight=\ht\@schemata@lhs% + \advance\@schemata@lheight\dp\@schemata@lhs% + \advance\@schemata@lheight by 1.44265ex% + \hbox{$\vcenter{#2}% + \kern-0.2em\@schemata@rbrace{\@schemata@lheight}% + \vcenter{#3}$}% + \fi +} +\ifx\fmtname\schemataLaTeX + \newcommand{\Schema}[5][open]{% + \@schemata@Schema[#1]{#2}{#3}{#4}{#5}} +\else + \long\def\Schema{\futurelet\testchar\@schemata@Schem@} + \long\def\@schemata@Schem@{% + \ifx[\testchar + \let\next\@schemata@Schema% + \else + \let\next\@schemata@@Schem@% + \fi + \next% + }% + \long\def\@schemata@@Schem@#1#2#3#4{% + \@schemata@Schema[open]{#1}{#2}{#3}{#4}} +\fi +\long\def\@schemata@Schema[#1]#2#3#4#5{% + \def\@ption{#1}% + \def\@pen{open}% + \dimen0=#2% + \ifx\@ption\@pen + \hbox{$\vcenter{\vskip1.44265\dimen0#4}% + \@schemata@biglbrace{#2}{#3}\vcenter{#5}$}% + \else + \hbox{$\vcenter{\vskip1.44265\dimen0#4}\kern-0.2em% + \@schemata@bigrbrace{#2}{#3}\vcenter{#5}$}% + \fi +} +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@lbrace}[1]{% + \ifmmode + \left.\vcenter{\vbox to #1{\vfil}}\right\@schemata@LD% + \fi + } +\else + \def\@schemata@lbrace#1{% + \ifmmode + \left.\vcenter{\vbox to #1{\vfil}}\right\@schemata@LD% + \fi + } +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@rbrace}[1]{% + \ifmmode + \left\@schemata@RD\vcenter{\vbox to #1{\vfil}}\right.% + \fi + } +\else + \def\@schemata@rbrace#1{% + \ifmmode + \left\@schemata@RD\vcenter{\vbox to #1{\vfil}}\right.% + \fi + } +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@biglbrace}[2]{% + \@schemata@@biglbrace{#1}{#2}} +\else + \def\@schemata@biglbrace#1#2{% + \@schemata@@biglbrace{#1}{#2}} +\fi +\def\@schemata@@biglbrace#1#2{% + \dimen0=#1% + \dimen2=#2% + \dimen4=-\dimen2% + \ifdim\dimen4>\dimen2\dimen2=\dimen4\fi + \ifdim\dimen0<0pt + \ifmmode\vcenter{\hbox{$\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@LD% + \atop\vbox to -1.44265\dimen0{\vfil}$}}\fi + \else + \ifmmode\vcenter{\hbox{$\vbox to 1.44265\dimen0{\vfil}% + \atop\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@LD$}}\fi + \fi +} +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@bigrbrace}[2]{% + \@schemata@@bigrbrace{#1}{#2}% + } +\else + \def\@schemata@bigrbrace#1#2{% + \@schemata@@bigrbrace{#1}{#2}% + } +\fi +\def\@schemata@@bigrbrace#1#2{% + \dimen0=#1% + \dimen2=#2% + \dimen4=-\dimen2% + \ifdim\dimen4>\dimen2\dimen2=\dimen4\fi + \ifdim\dimen0<0pt + \ifmmode\vcenter{\hbox{$\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@RD% + \atop\vbox to -1.44265\dimen0{\vfil}$}}\fi + \else + \ifmmode\vcenter{\hbox{$\vbox to 1.44265\dimen0{\vfil}% + \atop\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@RD$}}\fi + \fi +} +\ifx\fmtname\schemataLaTeX\else + \catcode`@=12\relax +\fi diff --git a/Master/texmf-dist/doc/generic/schemata/README.txt b/Master/texmf-dist/doc/generic/schemata/README.txt index b3a599bae3b..93c0a037d79 100644 --- a/Master/texmf-dist/doc/generic/schemata/README.txt +++ b/Master/texmf-dist/doc/generic/schemata/README.txt @@ -1,31 +1,34 @@ -| + --------:| ---------------------------------------------------------------- schemata:| Generic package to aid construction of topical categories Author:| Charles P. Schaum - E-mail:| charles dot schaum at comcast dot net + E-mail:| charles dot schaum@comcast.net License:| Released under the LaTeX Project Public License v1.3c or later See:| http://www.latex-project.org/lppl.txt Short description: The schemata package helps the creation of topical outlines that illustrate the breakdown of concepts and categories in academic texts from the late medieval to early modern periods. -Files Distribution +Files Distribution -README This file -schemata.pdf Documentation +README This file +schemata.pdf Documentation +schematest.tex Test file for Plain TeX or Eplain +schemata.png Image file used for the manual -Makefile Automates building with GNU make 3.81 -schemata.dtx Documented LaTeX file containing both code and documentation +Makefile Automates building with GNU make 3.81 +schemata.dtx Documented LaTeX file containing both code and documentation Installation -Unpack schemata-XX.zip in an appropriate directory. +Download the package from + +https://www.ctan.org/tex-archive/macros/generic/schemata -Note that the instructions below assume that you are using a *nix- -compatible computer. If that is otherwise, you will need to modify -these instructions to your needs. +Unpack schemata.zip in an appropriate directory. -If you have a make utility compatible with GNU make you can type +If you have a make utility compatible with GNU make, either in +GNU/Linux, a BSD variant, OSX, or Cygwin in Windows you can type make inst @@ -34,42 +37,77 @@ to install the package into your $TEXMFHOME tree or make install to install the package into your $TEXMFLOCAL tree for all users. +The latter requires sudo privileges. + +Other useful targets include: + +(release process) + +make release The default target, same as just ``make''. + +make clean Removes all intermediate files. Left are +the files listed above plus schemata.sty. + +make distclean Leave only schemata.dtx, schematest.tex, +schemata.png, and Makefile. + +make zip Generate a zip file ready for distribution. -Manually, you can generate the package files. First you generate the -installer driver, README, and style files, with a preliminary PDF: +(testing process) + +make testing Release files, plus compiles schematest.tex. + +It is not necessary, however, to use GNU make. One can generate +the package files manually. Since the files schemata.ins and README.txt +are contained in the .dtx file itself, the first step is to generate +the installer driver schemata.ins, plus the file README.txt, which will +also trigger the extraction of schemata.sty and produce the first pass of +the package documentation schemata.pdf: pdflatex -shell-escape -recorder -interaction=batchmode schemata.dtx -Next you generate the PDF with a table of contents and all cross-references -validated, so that the index entries will not move: +Next one adds a table of contents and all cross-references, this also +should finalize page numbers for glossary and index input files: pdflatex --recorder --interaction=nonstopmode schemata.dtx -The next commands generate the glossary/index and final pdf file +The next commands generate the glossary/index output files: makeindex -q -s gglo.ist -o schemata.gls schemata.glo makeindex -q -s gind.ist -o schemata.ind schemata.idx + +The final two commands integrate the glossary (changes) and index: + pdflatex --recorder --interaction=nonstopmode schemata.dtx pdflatex --recorder --interaction=nonstopmode schemata.dtx -Normally you create the following manual installation directories for user: +Now one can either keep README.txt or rename it to README, e.g.: -$TEXMFHOME/source/generic/schemata dtx file -$TEXMFHOME/tex/generic/schemata sty file -$TEXMFHOME/doc/generic/schemata pdf file +mv README.txt README -and you create the following manual installation directories for local site: +Normally one creates the following directories for a user: -$TEXMFLOCAL/source/generic/schemata dtx file -$TEXMFLOCAL/tex/generic/schemata sty file -$TEXMFLOCAL/doc/generic/schemata pdf file +$TEXMFHOME/source/generic/schemata dtx file, schemata.png +$TEXMFHOME/doc/generic/schemata pdf file, README, schematest.tex, + +and creates the following directories for the local site: + +$TEXMFLOCAL/source/generic/schemata dtx file, schemata.png +$TEXMFLOCAL/doc/generic/schemata pdf file, README, schematest.tex, The above environment variables often are /usr/local/texlive/texmf-local for $TEXMFLOCAL and ~/texmf for $TEXMFHOME. -Run mktexlsr with the appropriate level of permissions to complete the install. +The make process normally renames the README.txt file created from the +dtx file to just README by using mv (move / rename utility in the *nix +userland). Windows distributions of TeX and LaTeX often keep the txt file +because of using file extensions instead of ``magic numbers'' to identify +files. + +Run mktexlsr with the appropriate level of permissions to complete the +install. -This packages works with LaTeX and plain TeX. +This packages works with LaTeX and Plain TeX. License @@ -77,3 +115,265 @@ This material is subject to the LaTeX Project Public License: http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html Happy TeXing! +\ifx\fmtname\schemataLaTeX\else + \catcode`@=11\relax +\fi +\newbox\@schemata@rhs +\newbox\@schemata@lhs +\newdimen\@schemata@rheight +\newdimen\@schemata@lheight +\newif\if@schemata@LCBox +\newif\if@schemata@SWBox +\newif\if@schemata@NudgeBox +\ifx\fmtname\schemataLaTeX + \DeclareOption{braces}% + {\let\@schemata@LD\lbrace \let\@schemata@RD\rbrace} + \DeclareOption{brackets}% + {\let\@schemata@LD\lbrack \let\@schemata@RD\rbrack} + \DeclareOption{parens}% + {\let\@schemata@LD( \let\@schemata@RD)} + \DeclareOption{groups}% + {\let\@schemata@LD\lgroup \let\@schemata@RD\rgroup} + \ExecuteOptions{braces} + \ProcessOptions\relax +\else + \let\@schemata@LD\lbrace% + \let\@schemata@RD\rbrace% +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoBraces}% + {\let\@schemata@LD\lbrace \let\@schemata@RD\rbrace} +\else + \def\DoBraces% + {\let\@schemata@LD\lbrace \let\@schemata@RD\rbrace} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoBrackets}% + {\let\@schemata@LD\lbrack \let\@schemata@RD\rbrack} +\else + \def\DoBrackets% + {\let\@schemata@LD\lbrack \let\@schemata@RD\rbrack} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoParens}% + {\let\@schemata@LD( \let\@schemata@RD)} +\else + \def\DoParens% + {\let\@schemata@LD( \let\@schemata@RD)} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\DoGroups}% + {\let\@schemata@LD\lgroup \let\@schemata@RD\rgroup} +\else + \def\DoGroups% + {\let\@schemata@LD\lgroup \let\@schemata@RD\rgroup} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\LCschema}{\@schemata@LCBoxtrue} +\else + \def\LCschema{\@schemata@LCBoxtrue} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\UCschema}{\@schemata@LCBoxfalse} +\else + \def\UCschema{\@schemata@LCBoxfalse} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\SwitchSB}{\@schemata@SWBoxtrue}% +\else + \def\SwitchSB{\@schemata@SWBoxtrue} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\NudgeSB}{\@schemata@NudgeBoxtrue} +\else + \def\NudgeSB{\@schemata@NudgeBoxtrue} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand{\SBNudgeFactor}{\kern0.2em} +\else + \def\SBNudgeFactor{\kern0.2em} +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\schemabox}[2][0pt]{\@schemata@schemabox[#1]{#2}} +\else + \def\schemabox{\futurelet\testchar\@schemata@schemab@x} + \def\@schemata@schemab@x{% + \ifx[\testchar + \let\next\@schemata@schemabox% + \else + \let\next\@schemata@@schemab@x% + \fi + \next% + }% + \def\@schemata@@schemab@x#1{\@schemata@schemabox[0pt]{#1}} +\fi +\def\@schemata@schemabox[#1]#2{% + \ifinner + \if@schemata@LCBox + \def\@Adj{}% + \if@schemata@SWBox\def\@Adj{\strut}\fi + \else + \def\@Adj{\strut}% + \if@schemata@SWBox\def\@Adj{}\fi + \fi + \if@schemata@NudgeBox + \let\@Nudge\SBNudgeFactor% + \else + \def\@Nudge{}% + \fi + \ifdim#1<1pt + \def\\{\@Nudge\egroup\hbox\bgroup\ignorespaces }% + \vbox{\hbox\bgroup\@Adj\ignorespaces #2\@Nudge\egroup}% + \else + \def\\{\hfil\egroup\hbox to #1\bgroup\ignorespaces }% + \vbox{\hbox to #1\bgroup\@Adj\ignorespaces #2\hfil\egroup}% + \fi + \else + #2% + \fi + \@schemata@SWBoxfalse% + \@schemata@NudgeBoxfalse% +} +\ifx\fmtname\schemataLaTeX + \newcommand{\schema}[3][open]{% + \@schemata@schema[#1]{#2}{#3}} +\else + \long\def\schema{\futurelet\testchar\@schemata@schem@} + \long\def\@schemata@schem@{% + \ifx[\testchar + \let\next\@schemata@schema% + \else + \let\next\@schemata@@schem@% + \fi + \next% + }% + \long\def\@schemata@@schem@#1#2{% + \@schemata@schema[open]{#1}{#2}} +\fi +\long\def\@schemata@schema[#1]#2#3{% + \def\@ption{#1}\def\@pen{open}% + \ifx\@ption\@pen + \setbox\@schemata@rhs=\vbox{#3}% + \@schemata@rheight=\ht\@schemata@rhs% + \advance\@schemata@rheight\dp\@schemata@rhs% + \advance\@schemata@rheight by 1.44265ex% + \hbox{$\vcenter{#2}% + \@schemata@lbrace{\@schemata@rheight}% + \vcenter{#3}$}% + \else + \setbox\@schemata@lhs=\vbox{#2}% + \@schemata@lheight=\ht\@schemata@lhs% + \advance\@schemata@lheight\dp\@schemata@lhs% + \advance\@schemata@lheight by 1.44265ex% + \hbox{$\vcenter{#2}% + \kern-0.2em\@schemata@rbrace{\@schemata@lheight}% + \vcenter{#3}$}% + \fi +} +\ifx\fmtname\schemataLaTeX + \newcommand{\Schema}[5][open]{% + \@schemata@Schema[#1]{#2}{#3}{#4}{#5}} +\else + \long\def\Schema{\futurelet\testchar\@schemata@Schem@} + \long\def\@schemata@Schem@{% + \ifx[\testchar + \let\next\@schemata@Schema% + \else + \let\next\@schemata@@Schem@% + \fi + \next% + }% + \long\def\@schemata@@Schem@#1#2#3#4{% + \@schemata@Schema[open]{#1}{#2}{#3}{#4}} +\fi +\long\def\@schemata@Schema[#1]#2#3#4#5{% + \def\@ption{#1}% + \def\@pen{open}% + \dimen0=#2% + \ifx\@ption\@pen + \hbox{$\vcenter{\vskip1.44265\dimen0#4}% + \@schemata@biglbrace{#2}{#3}\vcenter{#5}$}% + \else + \hbox{$\vcenter{\vskip1.44265\dimen0#4}\kern-0.2em% + \@schemata@bigrbrace{#2}{#3}\vcenter{#5}$}% + \fi +} +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@lbrace}[1]{% + \ifmmode + \left.\vcenter{\vbox to #1{\vfil}}\right\@schemata@LD% + \fi + } +\else + \def\@schemata@lbrace#1{% + \ifmmode + \left.\vcenter{\vbox to #1{\vfil}}\right\@schemata@LD% + \fi + } +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@rbrace}[1]{% + \ifmmode + \left\@schemata@RD\vcenter{\vbox to #1{\vfil}}\right.% + \fi + } +\else + \def\@schemata@rbrace#1{% + \ifmmode + \left\@schemata@RD\vcenter{\vbox to #1{\vfil}}\right.% + \fi + } +\fi +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@biglbrace}[2]{% + \@schemata@@biglbrace{#1}{#2}} +\else + \def\@schemata@biglbrace#1#2{% + \@schemata@@biglbrace{#1}{#2}} +\fi +\def\@schemata@@biglbrace#1#2{% + \dimen0=#1% + \dimen2=#2% + \dimen4=-\dimen2% + \ifdim\dimen4>\dimen2\dimen2=\dimen4\fi + \ifdim\dimen0<0pt + \ifmmode\vcenter{\hbox{$\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@LD% + \atop\vbox to -1.44265\dimen0{\vfil}$}}\fi + \else + \ifmmode\vcenter{\hbox{$\vbox to 1.44265\dimen0{\vfil}% + \atop\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@LD$}}\fi + \fi +} +\ifx\fmtname\schemataLaTeX + \newcommand*{\@schemata@bigrbrace}[2]{% + \@schemata@@bigrbrace{#1}{#2}% + } +\else + \def\@schemata@bigrbrace#1#2{% + \@schemata@@bigrbrace{#1}{#2}% + } +\fi +\def\@schemata@@bigrbrace#1#2{% + \dimen0=#1% + \dimen2=#2% + \dimen4=-\dimen2% + \ifdim\dimen4>\dimen2\dimen2=\dimen4\fi + \ifdim\dimen0<0pt + \ifmmode\vcenter{\hbox{$\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@RD% + \atop\vbox to -1.44265\dimen0{\vfil}$}}\fi + \else + \ifmmode\vcenter{\hbox{$\vbox to 1.44265\dimen0{\vfil}% + \atop\left.% + \vbox to 1.44265\dimen2{\vfil}% + \right\@schemata@RD$}}\fi + \fi +} +\ifx\fmtname\schemataLaTeX\else + \catcode`@=12\relax +\fi diff --git a/Master/texmf-dist/doc/generic/schemata/schemata.hd b/Master/texmf-dist/doc/generic/schemata/schemata.hd deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/Master/texmf-dist/doc/generic/schemata/schemata.pdf b/Master/texmf-dist/doc/generic/schemata/schemata.pdf index 39d04c7c3b7..461a1fd8c0a 100644 Binary files a/Master/texmf-dist/doc/generic/schemata/schemata.pdf and b/Master/texmf-dist/doc/generic/schemata/schemata.pdf differ diff --git a/Master/texmf-dist/doc/generic/schemata/schemata.png b/Master/texmf-dist/doc/generic/schemata/schemata.png new file mode 100644 index 00000000000..9d4d3b57b3e Binary files /dev/null and b/Master/texmf-dist/doc/generic/schemata/schemata.png differ diff --git a/Master/texmf-dist/doc/generic/schemata/schematest.tex b/Master/texmf-dist/doc/generic/schemata/schematest.tex new file mode 100644 index 00000000000..8a853799b21 --- /dev/null +++ b/Master/texmf-dist/doc/generic/schemata/schematest.tex @@ -0,0 +1,530 @@ +%--------:| ---------------------------------------------------------------- +%schemata:| Generic package to aid construction of topical categories +% Author:| Charles P. Schaum +% E-mail:| charles dot schaum@comcast.net +% License:| Released under the LaTeX Project Public License 1.3c or later +% See:| http://www.latex-project.org/lppl.txt +% +% This is an example file used with the schemata package. +% See README and schemata.pdf for copyright info. +%--------------------------------------------------------------------------- +\def\nameofplain{plain} +\def\nameofeplain{eplain} +\def\nameoflatex{LaTeX2e} +\def\nameoflollipop{Lollipop} +% +% To use Plain TeX, do something like the following, substituting +% tex, xetex, luatex, etc.: +% +% pdftex schematest +% +% To use Eplain, do something like the following: +% +% touch test.tex +% pdftex test <<< "\\input eplain \\input schematest" +% +% To use lollipop, do something like the following: +% +% lollipop schematest +% +% To use LaTeX, do something like the following, substituting +% latex, xelatex, lualatex, etc.: +% +% pdflatex schematest +% +\ifx\fmtname\nameoflatex + \documentclass[10pt]{article} + %\usepackage[utf8]{inputenc} %Not needed for newer versions + \usepackage[T1]{fontenc} + \usepackage[polutonikogreek,american]{babel} + \newcommand{\gk}[1]{\foreignlanguage{polutonikogreek}{#1}} + \usepackage{schemata} + \begin{document} +\else + \ifx\fmtname\nameoflollipop + \input schemata.sty + \font\scshape=cmcsc10 + \def\textsc#1{\bgroup\scshape #1\egroup} + \def\gk#1{\bgroup\it #1\egroup} + \Start + \else + \input schemata.sty + \font\scshape=cmcsc10 + \def\textsc#1{\bgroup\scshape #1\egroup} + \def\gk#1{\bgroup\it #1\egroup} + \fi +\fi +$$ +\Schema{-1ex}{8.7ex} +{ + \schemabox{Subjectum theo-\\ + logi\ae{} est Notitia\\ + Dei. Considerat\\ + ergo, Dei, vel} +} +{ +\schema + { + \schemabox{\textsc{Essentiam},} + } + { + \schemabox{Unitate natur\ae{}.\\ + Trinitate personarum.\\ + Operibus ad intra.} + }\smallskip + \schema + { + \schemabox{\textsc{Voluntatem},\\ + manifestatam in\\ + operibus ad extra;\\ + ut in} + } + { + \schemabox{Creatione.\\ + Sustentatione natur\ae{} % + laps\ae{}.\\ + Reparatione.\\ + Conversione.\\ + Justificatione.\\ + Sanctificatione \&\\ + Glorificatione ejusdem.} + } +} +$$ + +$$ +\Schema{-25ex}{20.6ex} +{ + \schemabox{Subjectum \&\\ + summa univer-\\ + s\ae{} Scriptur\ae{},\\ + est \textsc{Cognitio}\\ + vel} +} +{ + \Schema{-6.4ex}{8.5ex} + { + \schemabox{\textsc{Dei}, qua-\\lis sit, aut} + } + { + \schema + {\schemabox{\textsc{Per se}:\\ scilicet.}} + { + \schemabox{Unus in essentia.}\smallskip + \schemabox{Trinus in personis.} + }\smallskip + \schema + {\schemabox{Ad hominem\\ quem vel}} + { + \schemabox{Accusat \& terret, \textsc{Per Legem},\\ + Consolatur \& erigit, \textsc{Per Evangelium}.\\ + Salvat, \textsc{Per Christum}.\\ + Renovat, \textsc{Per Spiritum Sanctum}.\\ + Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\ + Castigat, tentat \& exercet, \textsc{Per Crucem}.\\ + Glorificat \textsc{Per Resurrectionem Carnis}\\ + \textsc{\quad Ad Vitam \AE{}ternam}.} + }\medskip + } + \Schema{-13.4ex}{17.4ex} + { + \schemabox{\textsc{Hominis},\\ qualis sit} + } + { + \Schema{-4.4ex}{5ex} + {\schemabox{\textsc{Per se}:}} + { + \schemabox{Ante lapsum.}\smallskip + \schema + {\schemabox{Post lapsum:}} + { + \schemabox{Ante Regenerationem \&\\ + Renovationem S. Sancti.}\medskip + \schemabox{Post Regenerationem \&\\ + Renovationem S. Sancti.}\smallskip + }\smallskip + } + \Schema{4.2ex}{14.4ex} + {\schemabox{Ad}} + { + \schema + {\schemabox{\textsc{Deum},}} + { + \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\ + ira Dei cognita \textsc{Ex Lege}.\\ + Erigens se \textsc{Voce Evangelii}.\\ + Credens \textsc{In Christum Salvatorem}.\\ + Non repugnans \textsc{Spiritui Sancto} impellenti.\\ + Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\ + Patienter \& constanter sufferens \textsc{Crucem}.\\ + Sperans \& expectans glorificationem\\ + \textsc{\quad In Resurrectione Carnis}\\ + \textsc{\quad Ad Vitam \AE{}ternam}.} + }\smallskip + \schema + {\schemabox{seipsum ratione}} + {\schemabox{Anim\ae{}\\ vel\\ Corporis}}\smallskip + \Schema{2ex}{5.1ex} + {\schemabox{Proximum,}} + { + \schema + {\schemabox{Amicum ra-\\ tione vel}} + { + \schemabox{Religionis.\\ + Politic\ae{} \& \OE{}conomic\ae{}.\\ + Cognationis.\\ + Agnationis.} + }\smallskip + \schemabox{Inimicum.} + } + } + } +} +$$ + +\eject + +\bgroup + +\ifx\fmtname\nameofeplain +\verbatim \DoParens |endverbatim +\fi +\DoParens% +\vfil +$$ +\Schema{-26ex}{21.5ex} +{ + \schemabox{Sacr\ae{}\\ litter\ae{}\\ loquuntur,\\ de} +} +{ + \schema + { + \schemabox{\textsc{Deo}} + } + { + \schemabox{Uno, in Trinitate.}\smallskip\schemabox{Trino, in unitate.} + } + \Schema{-16.5ex}{23.4ex} + { + \vskip30ex + \schemabox{\textsc{Dei}\\ \textsc{Operibus}} + } + { + \schema + { + \schemabox{\textsc{Intra},\\ qu\ae{} sunt\\ divisa, ut} + } + { + \schemabox{\textsc{Patris}, ab \ae{}terno gignere.\\ \textsc{Filii}, ab \ae{}terno genitum esse.\\ \textsc{Spiritus Sancti}, ab utroque\\ ab \ae{}terno procedete.} + } + \medskip + \Schema{-2ex}{21ex} + { + \schemabox{\textsc{Extra},\\ qu\ae{} sunt\\ indivisa;\\ tervata\\ tamen\\ cujusque\\ person\ae{}\\ divinitatis\\ sua pro-\\prietate} + } + { + \Schema{-0.8ex}{6.4ex} + { + \schemabox{Creatione\\ natur\ae{}} + } + { + \schema + { + \schemabox{Brute ut} + } + { + \schemabox{C\oe{}li} \smallskip \schemabox{Elementorum} \smallskip \schemabox{Mundi} + } + \smallskip + \schema + { + \schemabox{\ifx\fmtname\nameoflatex\gk{logik~hs}\else\gk{logik\=es}\fi, ut} + } + { + \schemabox{Angelorum.} \smallskip \schemabox{Hominum: Ad\ae{},\\ Ev\ae{} \& procreatorum\\ exipsis.} + } + } + \schema + { + \schemabox{Sustenatione\\ natur\ae{} laps\ae{},} + } + { + \schemabox{Angelorum malorum,} \smallskip \schemabox{Hominum: Ad\ae{}, Ev\ae{}\\ \& procreatorum exipsis.} + } + \Schema{2.6ex}{8.8ex} + { + \schemabox{Beneficiis\\ erga Ecc-\\ lesiam: ea\\ versantur\\ aut circa} + } + { + \Schema{2.2ex}{7ex} + { + \schemabox{Res, ut} + } + { + \schema + { + \schemabox{Verbum} + } + { + \schemabox{Legis} \smallskip \schemabox{Evangelii} \smallskip \schemabox{Sacramentorum} + } + \smallskip + \schema + { + \schemabox{Signa vel Veteris\\ vel Novi Testa-\\ mentum ut sunt:} + } + { + \schemabox{Ceremoni\ae{}} \smallskip \schemabox{Miracula} + } + } + \smallskip + \Schema{1ex}{5ex} + { + \schemabox{Personas} + } + { + \schema + { + \schemabox{Ecclesi\ae{}} + } + { + \schemabox{Universalis} \smallskip \schemabox{Particularis} + } + \smallskip + \schemabox{Politi\ae{} ut Magistratuum} + \smallskip + \schemabox{\OE{}conomi\ae{} ut privatorum} + } + }\vskip2ex + } + } +} +$$ +\vfil + +\eject + +\ifx\fmtname\nameofeplain +\verbatim \DoGroups |endverbatim +\fi +\DoGroups + +\vfil +$$ +\Schema{-26.5ex}{21ex} +{ + \schemabox{Sacr\ae{}\\ litter\ae{}\\ loquuntur,\\ de} +} +{ + \schema + { + \schemabox{\textsc{Deo}} + } + { + \schemabox{Uno, in Trinitate.}\smallskip\schemabox{Trino, in unitate.} + } + \Schema{-17ex}{23.4ex} + { + \vskip30ex + \schemabox{\textsc{Dei}\\ \textsc{Operibus}} + } + { + \schema + { + \schemabox{\textsc{Intra},\\ qu\ae{} sunt\\ divisa, ut} + } + { + \schemabox{\textsc{Patris}, ab \ae{}terno gignere.\\ \textsc{Filii}, ab \ae{}terno genitum esse.\\ \textsc{Spiritus Sancti}, ab utroque\\ ab \ae{}terno procedete.\strut} + } + \medskip + \Schema{-2ex}{21ex} + { + \schemabox{\textsc{Extra},\\ qu\ae{} sunt\\ indivisa;\\ tervata\\ tamen\\ cujusque\\ person\ae{}\\ divinitatis\\ sua pro-\\prietate} + } + { + \Schema{-0.8ex}{6.4ex} + { + \schemabox{Creatione\\ natur\ae{}} + } + { + \schema + { + \schemabox{Brute ut} + } + { + \schemabox{C\oe{}li} \smallskip \schemabox{Elementorum} \smallskip \schemabox{Mundi} + } + \smallskip + \schema + { + \schemabox{\ifx\fmtname\nameoflatex\gk{logik~hs}\else\gk{logik\=es}\fi, ut} + } + { + \schemabox{Angelorum.} \smallskip \schemabox{Hominum: Ad\ae{},\\ Ev\ae{} \& procreatorum\\ exipsis.\strut} + } + } + \schema + { + \schemabox{Sustenatione\\ natur\ae{} laps\ae{},} + } + { + \schemabox{Angelorum malorum,} \smallskip \schemabox{Hominum: Ad\ae{}, Ev\ae{}\\ \& procreatorum exipsis.} + } + \Schema{2.6ex}{8.8ex} + { + \schemabox{Beneficiis\\ erga Ecc-\\ lesiam: ea\\ versantur\\ aut circa} + } + { + \Schema{2.2ex}{7ex} + { + \schemabox{Res, ut} + } + { + \schema + { + \schemabox{Verbum} + } + { + \schemabox{Legis} \smallskip \schemabox{Evangelii} \smallskip \schemabox{Sacramentorum} + } + \smallskip + \schema + { + \schemabox{Signa vel Veteris\\ vel Novi Testa-\\ mentum ut sunt:} + } + { + \schemabox{Ceremoni\ae{}} \smallskip \schemabox{Miracula} + } + } + \smallskip + \Schema{0.6ex}{5.5ex} + { + \schemabox{Personas} + } + { + \schema + { + \schemabox{Ecclesi\ae{}} + } + { + \schemabox{Universalis} \smallskip \schemabox{Particularis} + } + \smallskip + \schemabox{Politi\ae{} ut Magistratuum} + \smallskip + \schemabox{\OE{}conomi\ae{} ut privatorum} + } + }\vskip2ex + } + } +} +$$ +\vfil +\egroup + +\eject + +$$ +\Schema{-1.4ex}{10ex} +{ + \schemabox{Qu\ae{} sit\\ \textsc{Dei}, vel} +} +{ + \Schema{-1ex}{5ex} + { + \schemabox{\textsc{Essentia}, in} + } + { + \vskip1ex\schemabox{Unitate divina,} + \medskip + \Schema{0ex}{3.4ex} + { + \schemabox{Tribus perso-\\ nis divinitatis} + } + { + \Schema[close]{0ex}{3.4ex} + { + \NudgeSB\schemabox{Patre,\\ Filio,\\ Spiritui Sancto} + } + { + \schemabox{\ifx\fmtname\nameoflatex\gk{