diff options
Diffstat (limited to 'macros/latex/contrib/paracol/paracol.dtx')
-rw-r--r-- | macros/latex/contrib/paracol/paracol.dtx | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/macros/latex/contrib/paracol/paracol.dtx b/macros/latex/contrib/paracol/paracol.dtx index 98de092916..369be33d63 100644 --- a/macros/latex/contrib/paracol/paracol.dtx +++ b/macros/latex/contrib/paracol/paracol.dtx @@ -3,8 +3,9 @@ %<man>%% LaTeX file 'paracol-man'. %<*paracol|man> %% Copyright (C) 2005-2018 -%% Hiroshi Nakashima <h.nakashima@DOMAIN; DOMAIN=media.kyoto-u.ac.jp> -%% (Kyoto University) +%% Hiroshi Nakashima (Kyoto University, deceased) +%% Copyright (C) 2024 +%% Markus Kurtz %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License distributed from CTAN %% archives in directory macros/latex/base/lppl.txt; either @@ -14,12 +15,15 @@ %<*dtx> \ProvidesFile{paracol.dtx} %</dtx> -%<paracol>\NeedsTeXFormat{LaTeX2e}[1994/12/01] -%<paracol>\ProvidesPackage{paracol} +%<*paracol> +\NeedsTeXFormat{LaTeX2e}[2018-04-01] +\DeclareRelease{1.35}{2018-12-31}{paracol-2018-12-31.sty} +\DeclareCurrentRelease{1.36}{2024-10-22} +\ProvidesPackage{paracol}[2024/10/22 1.36 typeset columns in parallel] +%</paracol> %<man>\ProvidesFile{paracol-man.tex} % \fi -% \ProvidesFile{paracol.dtx} -[2018/12/31 v1.35 ] +% \ProvidesFile{paracol.dtx}[2024-10-22 1.36 docstrip source of paracol] % \iffalse %<*man> \documentclass{ltxdoc}\normalmarginpar @@ -28,7 +32,6 @@ \usepackage{newvbtm} \DisableCrossrefs \PageIndex -\CodelineNumbered \RecordChanges %</man> %<man>\OnlyDescription @@ -48,6 +51,7 @@ % % % +% \CodelineNumbered % \makeatletter % % \newcount\ChangeCount \ChangeCount10000 @@ -80,7 +84,7 @@ % \setcounter{IndexColumns}{2} % % \def\bottomfraction{.9} -% \def\cs#1{\hbox{\tt\char\escapechar#1}} +% \def\cs#1{\texttt{\char\escapechar#1}} % \def\Item{\vskip-\itemsep\vskip-\parsep\vskip0pt\nobreak\item} % % \def\nosv{\catcode`\|12\relax} @@ -134,7 +138,7 @@ % \@tempa % \global\advance\c@CodelineNo\@ne % #1 -% \SpecialMainIndex{#2}\nobreak +% \SpecialMainMacroIndex{#2}\nobreak % \DoNotIndex{#2} % \else % \SpecialMainEnvIndex{#2}\nobreak @@ -157,7 +161,7 @@ % \let\CodeIndex\CodeMainIndex % \let\ArgedCodeIndex\ArgedCodeMainIndex % \let\MathIndex\MathMainIndex -% \let\SpecialIndex\SpecialMainIndex +% \let\SpecialIndex\SpecialMainMacroIndex % \MIDX} % \def\MIDX#1{#1\endgroup} % \def\Uidx{\begingroup @@ -165,7 +169,7 @@ % \let\CodeIndex\CodeUsageIndex % \let\ArgedCodeIndex\ArgedCodeUsageIndex % \let\MathIndex\MathUsageIndex -% \let\SpecialIndex\SpecialUsageIndex +% \let\SpecialIndex\SpecialMacroIndex % \UIDX} % \def\UIDX#1{#1\endgroup} % @@ -246,29 +250,30 @@ % % \long\def\Special@Index#1#2{\@bsphack % \RemoveAtFromCS{#2} -% \protected@edef\@tempa{\noexpand\special@index{\RAFCtempa +% \protected@edef\@tempa{\RAFCtempa % \actualchar \string\verb -% \quotechar*\verbatimchar\string#2\verbatimchar #1}}\@tempa +% \quotechar*\verbatimchar\string#2\verbatimchar} +% \expandafter\special@index\expandafter{\@tempa#1} % \@esphack} % \def\SpecialIndex{\Special@Index{}} -% \def\SpecialMainIndex{\Special@Index{\encapchar main}} -% \def\SpecialUsageIndex{\Special@Index{\encapchar usage}} +% \def\SpecialMainMacroIndex{\Special@Index{\encapchar main}} +% \def\SpecialMacroIndex{\Special@Index{\encapchar usage}} % \def\SpecialArrayIndex#1{\Special@Index{${\cdot}#1$}} % \def\SpecialArrayMainIndex#1{\Special@Index{${\cdot}#1$\encapchar main}} % \def\SpecialArrayUsageIndex#1{\Special@Index{${\cdot}#1$\encapchar usage}} % % \def\Macro{\begingroup \@sanitize \iMacro} % \def\iMacro#1{\endgroup -% \def\SpecialMainIndex##1{\SWiIndex{##1}{\encapchar main}} +% \def\SpecialMainMacroIndex##1{\SWiIndex{##1}{\encapchar main}} % \macro{#1}} % \let\endMacro\endmacro % % \def\SpecialWeirdIndex{\@bsphack \begingroup \@sanitize \SWIndex{}} % \def\SWIndex#1#2{\endgroup \SWiIndex{#2}{#1}} % \def\SWiIndex#1#2{% -% \protected@edef\@tempa{\noexpand\special@index{ -% #1\actualchar \string\verb -% \quotechar*\verbatimchar#1\verbatimchar#2}}\@tempa +% \protected@edef\@tempa{#1\actualchar \string\verb +% \quotechar*\verbatimchar#1\verbatimchar} +% \expandafter\special@index\expandafter{\@tempa#2} % \@esphack} % % \let\RAFCempty\@empty @@ -304,7 +309,7 @@ % \catcode`\@\active % \gdef\!{\begingroup \catcode`\@\active \IndexedVerb} % \gdef\IndexedVerb#1!{\def@{\TheAtMark \penalty\exhyphenpenalty} -% \def~{\penalty\exhyphenpenalty} +% \def~{\badbreak} % \rm\texttt{\string#1}\let@\TheAtMark \def~{} % \edef\RAFCTempa{\expandafter\RAFCgobble\string#1} % \expandafter\SpecialIndex\csname\RAFCTempa\endcsname \endgroup} @@ -562,6 +567,8 @@ % \def\\{\hfil\break\null\ignorespaces} % % \let\AB\allowbreak +% \def\badbreak{\penalty50} +% \let\BB\badbreak % % \hyphenation{col-umn col-umns} % @@ -668,9 +675,9 @@ % Yet Another Multi-Column Package to Typeset Columns in % \textit{Parallel}} % -% \author{Hiroshi Nakashima\\(Kyoto University)} -% \date{version \expandafter\@gobble\fileversion: \filedate} -% \setbox0\vbox{\vskip\topskip\maketitle\vskip0pt}\unitlength\ht0\copy0 +% \author{Hiroshi Nakashima (Kyoto University, deceased)\\Markus Kurtz (\url{https://codeberg.org/mgkurtz/paracol})} +% \date{version \fileversion: \filedate} +% \setbox0\vbox{\vskip\topskip\maketitle}\unitlength\ht0\copy0 % % \ifx\ONLYDESCRIPTION\undefined % \tableofcontents @@ -678,6 +685,8 @@ % \vbox to\unitlength{\unvbox0\vfil} % \part{User's Manual}\label{part:man} % \let\MidxSave\Midx \let\Midx\Uidx +% \else +% \addtocontents{toc}{\protect\label{toc}} % \fi % % \begin{abstract} @@ -686,7 +695,7 @@ % |\switchcolumn| and by internal environments |column|, |nthcolumn|, % |leftcolumn| and |rightcolumn|. % \ifx\ONLYDESCRIPTION\undefined\else -% See p.\Tie\pageref{page:toc} for the table of contents of this manual. +% See p.\Tie\pageref{toc} for the table of contents of this manual, see \href{https://mirrors.ctan.org/macros/latex/contrib/paracol/paracol.pdf}{paracol.pdf} for code documentation. % \fi % \end{abstract} % @@ -793,7 +802,7 @@ % well with them. % % \ifx\ONLYDESCRIPTION\undefined\else -% \newpage\label{page:toc} \tableofcontents +% \newpage\tableofcontents % \fi % % \PrintIndex} |