From 97600a36695705b3c80e06f0e34b38c72177c577 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 18 Jul 2019 20:34:43 +0000 Subject: titlesec (18jul19) git-svn-id: svn://tug.org/texlive/trunk@51664 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/titlesec/CHANGES | 267 -------- Master/texmf-dist/doc/latex/titlesec/CHANGES.old | 341 ++++++++++ Master/texmf-dist/doc/latex/titlesec/README | 74 -- Master/texmf-dist/doc/latex/titlesec/README.md | 62 ++ Master/texmf-dist/doc/latex/titlesec/titleps.pdf | Bin 134019 -> 134004 bytes Master/texmf-dist/doc/latex/titlesec/titleps.tex | 52 +- Master/texmf-dist/doc/latex/titlesec/titlesec.pdf | Bin 182077 -> 183112 bytes Master/texmf-dist/doc/latex/titlesec/titlesec.tex | 138 ++-- Master/texmf-dist/tex/latex/titlesec/block.tss | 44 -- Master/texmf-dist/tex/latex/titlesec/drop.tss | 61 -- Master/texmf-dist/tex/latex/titlesec/frame.tss | 68 -- .../texmf-dist/tex/latex/titlesec/leftmargin.tss | 62 -- Master/texmf-dist/tex/latex/titlesec/margin.tss | 61 -- .../texmf-dist/tex/latex/titlesec/rightmargin.tss | 59 -- Master/texmf-dist/tex/latex/titlesec/titleps.sty | 757 ++++++++++++++++++++- Master/texmf-dist/tex/latex/titlesec/titlesec.sty | 440 ++++++++++-- Master/texmf-dist/tex/latex/titlesec/titletoc.sty | 164 ++--- Master/texmf-dist/tex/latex/titlesec/ttlkeys.def | 121 ---- Master/texmf-dist/tex/latex/titlesec/ttlps.def | 739 -------------------- Master/texmf-dist/tex/latex/titlesec/wrap.tss | 83 --- 20 files changed, 1710 insertions(+), 1883 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/titlesec/CHANGES create mode 100644 Master/texmf-dist/doc/latex/titlesec/CHANGES.old delete mode 100644 Master/texmf-dist/doc/latex/titlesec/README create mode 100644 Master/texmf-dist/doc/latex/titlesec/README.md delete mode 100644 Master/texmf-dist/tex/latex/titlesec/block.tss delete mode 100644 Master/texmf-dist/tex/latex/titlesec/drop.tss delete mode 100644 Master/texmf-dist/tex/latex/titlesec/frame.tss delete mode 100644 Master/texmf-dist/tex/latex/titlesec/leftmargin.tss delete mode 100644 Master/texmf-dist/tex/latex/titlesec/margin.tss delete mode 100644 Master/texmf-dist/tex/latex/titlesec/rightmargin.tss delete mode 100644 Master/texmf-dist/tex/latex/titlesec/ttlkeys.def delete mode 100644 Master/texmf-dist/tex/latex/titlesec/ttlps.def delete mode 100644 Master/texmf-dist/tex/latex/titlesec/wrap.tss diff --git a/Master/texmf-dist/doc/latex/titlesec/CHANGES b/Master/texmf-dist/doc/latex/titlesec/CHANGES deleted file mode 100644 index b08244f92e7..00000000000 --- a/Master/texmf-dist/doc/latex/titlesec/CHANGES +++ /dev/null @@ -1,267 +0,0 @@ -Titlesec changes - -History of v1.0 -~~~~~~~~~~~~~~~ -1998/02/25 Added nops option -1998/02/28 Added \@mkboth stuff in \setmarks -1998/03/01 Changed test in \ttl@secnum -1998/03/03 Corrected some \fil... commands -1998/03/03 Replaced the faulty \@hangfrom by new commands -1998/03/03 Some \def replaced by \newcommand -1998/03/04 .dtx/.ins scheme finally rejected. Useless - for users, obtrusive for `readers' and proned - to errors -1998/03/04 Tidied up documentation -1998/03/06 \wordsep renamed and documented -1998/03/06 Added dummy asignation in \ttl@chap. -1998/03/06 Removed \ttl@xsect and merged into \tl@sect -1998/03/06 Added \ProvidesPackage - -History of v1.1 -~~~~~~~~~~~~~~~~ -1998/03/25 \chapter corrected, as well as the size options -1998/03/26 Added compact option -1998/03/26 Added flushleft, flushright and center options -1998/04/08 Changed all instances of \noindent by \parindent\z@ -1998/04/14 Added \filinner, \filouter -1998/04/14 Added drop shape -1998/05/01 Added rightmargin shape (and margin renamed to - leftmargin) -1998/05/03 Added \setheadindent - -History of v1.2 (unreleased) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -1998/06/01 Compatibility with AMS classes -1998/06/08 On-demand loading of shapes -1998/06/11 Frame shape. Some \fil... command - modified to work in the label of this - chapter shape. -1998/07/03 Bottomtitle option (at last...) -1998/07/14 ...margin styles bug fixed using a method - similar to bottomtitle. -1998/07/29 \titleline - -==================== - -History of v2.0 -~~~~~~~~~~~~~~~~ - -1998/08/05 to -1998/08/29 Fully reimplemented - -History of v2.1 -~~~~~~~~~~~~~~~~ -1999/01/05 We define in this file the three basic shapes. - Additional ones remain defined in external files. - Unified the shapes for sections and chapters. -1999/01/05 \ttl@shape merged into \ttl@format@iii. -1999/01/05 \titlerule -1999/01/07 \ttl@defkeys splitted from \ttl@keys -1999/01/10 Added the \part stuff, including a definition of \@openright -1999/01/11 Removed unnecessary \ttl@numsecfalse in \ttl@sect@i. -1999/01/14 Optimized \titlerule -1999/01/27 Changed \titleline to correct the spacing at the - top page and to fix a bug which changed the mode - to horizontal, thus introducing unwanted space - (\makebox -> \@makebox). -1999/02/02 \ttl@secnum renamed to \ttl@write and introduced the - \ttl@savewrite mechanism to sincronize the toc/marks - with the title in case there is a \newpage in . -1999/02/03 wrap shape -1999/02/03 Added a \kern\z@ for not to avoid hyphenation - of the last word. Not strictly necessary, but - it is more LaTeX-like. -1999/02/05 \partmark defined (and in \setmarks, too). -1999/02/08 \ttl@row@i simplified. -1999/02/08 \ttl@savefn mechanism. -1999/02/10 Removed extra \leavevmode in display -1999/02/13 Now \titleline doesn't add the width. It's set. -1999/02/17 The part mark is catched, even if unused. -1999/02/17 old/newparttoc added. -1999/02/18 Changed many TeX assignments to the LaTeX - counterpart. -1999/02/19 Introduced \ttl@startargs. - -History of v2.1.1 -~~~~~~~~~~~~~~~~~ -1999/08/04 Moved misplaced lines in \ttl@makeboth - -History of v2.2 (unreleased) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1999/11/03 We load titleps if pagestyles are required, but - some old definitions are restored. -1999/11/06 Improved outermarks test in \ttl@sect@i. Formerly - the section number could be printed if a page ended - with an unnumebered section followed by a numbered one. -1999/11/06 \ttl@startargs now adds (and passes) automatically the - section name. Involved macros modified accordingly. -1999/11/06 Replaced explicit part names by the parameter in - \ttl@part@i. The same for chapter. -1999/11/21 \ttl@try's are not given explicitly, but built by - \ttl@setkeys. Intruduced the \ttl@key@... and - \ttl@extra@... commands. -1999/11/23 Minor problems with keys fixed. -1999/12/10 Added the nobottomtitles* option and \ttl@addstretch. -2000/01/07 First steps towards the calcwidth feature (basic code). -2000/01/08 (Continued.) \titleline* for rules of width \titlewidth. - Option calcwidth implemented. -2000/01/12 Finished with changes in wrap.tss (no longer - "experimental" :-) ) - -History of v2.3 -~~~~~~~~~~~~~~~ -2000/01/19 All keys are grouped in a single file tttkeys. Removed - page.tsk and deleted the corresponding code in the sty. -2000/01/19 Classes begun. -2000/01/19 The level numbers are stored in \ttll@ macros, and not - passed as arguments. -2000/01/21 Introduced the new mark scheme. It's mostly compatible - with the old one, but a compatibility mode seems - imposible (it was introduced in a preliminary test - but eventually removed). -2000/01/23 loadonly package option. -2000/02/01 Classes finished. Many things had to be rewritten. -2000/02/02 Made partially compatible with hyperref (dvips). -2000/02/08 \ttl@savewrite moved from shapes to classes. But - explicit page breaks expand it, too, to avoid wrong - toc entries. -2000/02/18 A new box named \ttl@box stores the title in runin - leftmargin etc shapes, to increase reliability. - -(2.3.1 -- 2.3.3 No changes on this file) - -History of v2.3.4 -~~~~~~~~~~~~~~~~~ -2000/05/12 nonindentfirst redefine \titlespacing instead of - \@afterindent... so that they don't interfere with - the first entry in tocs. -2000/05/17 The marks in \ttl@select are protected to prevent - endless loop if the title is expanded, say, by - \MakeUppercase. - -History of v2.3.5 -~~~~~~~~~~~~~~~~~ -2000/05/21 Restores missing test for secnumdepth in \ttl@mkchap, - and instead of setting \ttl@toclevel in ttlps now is - done in \secdef. Except inside the macros, \ttl@toclevel - is false, so that an explicit \...mark works. -2000/06/04 \partmark defined with \providecommand -2000/06/14 A patch mechanism added, for small bug fixes. - -History of v2.4 -~~~~~~~~~~~~~~~~ -2001/01/18 Minor changes in code. Essentialy an incremental - update. -2001/01/22 \titleformat has a new "easy" starred variant. - -History of v2.5 -~~~~~~~~~~~~~~~ -2002/01/02 New macros for \ttl@assign. Now * length allow - non integer values. -2002/03/22 Added \ttl@calc and \ttl@calcneg to make titlesec - calc-savvy. - - Merged bug fixes of .new into this file. - - Bugs in frame fixed -- gap in lines, misplaced - label, wrong margins (sometimes), - - \leftskip, \rightskip and \linewidth (re)set in - margin shapes. - - Removed obsolete flush... options. - - indentafter and noindentafter, new names for - indentfirst and nonindentfirst. - - A new level (\titleclass) without its "location" - now raises a meaningful error. - - Bug in top-level \titleclass fixed. -2002/03/23 Tests for undefined and unformatted sectioning levels, - and horizontal material in . - - Missing \if@openright inside \if@twoside in - page class added. - - Removed extra (but inoffensive) \expandafter - in \ttl@class@iii. -2002/03/27 Added \titlewidthfirst and ...last - - "Not definable" gives a more meaningful message in - the context of the package. - -History of v.2.6 -~~~~~~~~~~~~~~~~ -2004/08/30 Corrected typo in margin \hsiz -> \hsize. -2004/10/17 Added a couple of missing \noexpand's in drop. -2004/12/01 Removed the error about the mode in block because this - style is general purpose. -2005/01/16 Missing braces around #2 in the last else part of - \ttl@headinline added - - Replaced explicit \makeatother's by a saved value as - the macros can be used in a class/package file. -2005/01/18 newlinetospace mechanism - - // does not break pages; option pageatnewline to - restore the LaTeX behaviour. -2005/01/19 \...break in top shape. - - Renumbered several scratch registers to follow the - TeXbook (p. 346), with \ttl@box in a few cases. In - wrap \titlewidthfirst and \titlewidthlast made global. - - Float heads and foots have now a further argument for - additional stuff (eg, to remove rules). Option is now - psfloats while floatps enters in compatibility mode. - - \ttl@savetitle in all classes. Option toctitles. -2005/01/21 Changed pageatnewline to make it compatible with - titletoc, with \ttl@changecentercr. -2005/01/22 \...tolist in top class. - -History of v.2.7 -~~~~~~~~~~~~~~~~ -2007-03-27 Added the `explicit' option. - - Added \titlepagestyle. -2007-03-29 Fixed wrong number for chapter in log - - Patch file named .270 instead of .new -2007-05-09 Added to leftmargin, so that you can add stuff - at the beginning of the paragraph, eg, the sec number. -2007-07-07 Removed the patch mechanism. -2007-08-07 `explicit' improved. - -History of v.2.8 -~~~~~~~~~~~~~~~~ -2007-08-12 \titlepagestyle already used by KOMA-Script. Renamed - to \assignpagestyle. - -History of v.2.9 -~~~~~~~~~~~~~~~~ -2010-05-04 Add \nobreak in \ttl@addcontentsline, to prevent the title - going to footnotes (!) in runin style in some (rare) cases. -2010-05-06 Option uppercase (and \ttl@case). -2011-02-25 \iftitlemeasuring test -2011-07-14 Fixed \assignpagestyle -2011-07-15 Introduced the \scantokens mechanism to make sure section - names are 'letters' and not 'others' -2011-07-18 Removed \if@nobreak test in wrap/drop, which added a line - to the title after another section (why?) - -History of v.2.9.1 -~~~~~~~~~~~~~~~~~~ -2011-08-28 Removed a spurious > in wrap.tss - -History of v.2.9.2 -~~~~~~~~~~~~~~~~~~ -2011-11-11 Fixed a typo in ttlps.def (\MessageBreag) - -History of v.2.10.0 -~~~~~~~~~~~~~~~~~~~~ - -2011-12-15 Split titlesp - -History of v.2.10.1 -~~~~~~~~~~~~~~~~~~~~ - -2015-02-27 Fix: An explict \newpage in 'after' wrote the toc entry twice -2015-03-09 Fix (partial): A list containing just a sectioning command - raised an error - -History of v.2.10.2 -~~~~~~~~~~~~~~~~~~~~ - -2015-03-21 Fix: With 2.10.1 labels vanished in hang shape (due to a - misplaced \noindent) - -History of titleps v.1.1.1 -~~~~~~~~~~~~~~~~~~~~~~~~~~ -2016-03-15 New macro \setmarkboth for compatibility - diff --git a/Master/texmf-dist/doc/latex/titlesec/CHANGES.old b/Master/texmf-dist/doc/latex/titlesec/CHANGES.old new file mode 100644 index 00000000000..fdbcb6b1dbb --- /dev/null +++ b/Master/texmf-dist/doc/latex/titlesec/CHANGES.old @@ -0,0 +1,341 @@ +## TITLESEC + +History of v1.0 +~~~~~~~~~~~~~~~ +1998/02/25 Added nops option +1998/02/28 Added \@mkboth stuff in \setmarks +1998/03/01 Changed test in \ttl@secnum +1998/03/03 Corrected some \fil... commands +1998/03/03 Replaced the faulty \@hangfrom by new commands +1998/03/03 Some \def replaced by \newcommand +1998/03/04 .dtx/.ins scheme finally rejected. Useless + for users, obtrusive for `readers' and proned + to errors +1998/03/04 Tidied up documentation +1998/03/06 \wordsep renamed and documented +1998/03/06 Added dummy asignation in \ttl@chap. +1998/03/06 Removed \ttl@xsect and merged into \tl@sect +1998/03/06 Added \ProvidesPackage + +History of v1.1 +~~~~~~~~~~~~~~~~ +1998/03/25 \chapter corrected, as well as the size options +1998/03/26 Added compact option +1998/03/26 Added flushleft, flushright and center options +1998/04/08 Changed all instances of \noindent by \parindent\z@ +1998/04/14 Added \filinner, \filouter +1998/04/14 Added drop shape +1998/05/01 Added rightmargin shape (and margin renamed to + leftmargin) +1998/05/03 Added \setheadindent + +History of v1.2 (unreleased) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +1998/06/01 Compatibility with AMS classes +1998/06/08 On-demand loading of shapes +1998/06/11 Frame shape. Some \fil... command + modified to work in the label of this + chapter shape. +1998/07/03 Bottomtitle option (at last...) +1998/07/14 ...margin styles bug fixed using a method + similar to bottomtitle. +1998/07/29 \titleline + +==================== + +History of v2.0 +~~~~~~~~~~~~~~~~ + +1998/08/05 to +1998/08/29 Fully reimplemented + +History of v2.1 +~~~~~~~~~~~~~~~~ +1999/01/05 We define in this file the three basic shapes. + Additional ones remain defined in external files. + Unified the shapes for sections and chapters. +1999/01/05 \ttl@shape merged into \ttl@format@iii. +1999/01/05 \titlerule +1999/01/07 \ttl@defkeys splitted from \ttl@keys +1999/01/10 Added the \part stuff, including a definition of \@openright +1999/01/11 Removed unnecessary \ttl@numsecfalse in \ttl@sect@i. +1999/01/14 Optimized \titlerule +1999/01/27 Changed \titleline to correct the spacing at the + top page and to fix a bug which changed the mode + to horizontal, thus introducing unwanted space + (\makebox -> \@makebox). +1999/02/02 \ttl@secnum renamed to \ttl@write and introduced the + \ttl@savewrite mechanism to sincronize the toc/marks + with the title in case there is a \newpage in . +1999/02/03 wrap shape +1999/02/03 Added a \kern\z@ for not to avoid hyphenation + of the last word. Not strictly necessary, but + it is more LaTeX-like. +1999/02/05 \partmark defined (and in \setmarks, too). +1999/02/08 \ttl@row@i simplified. +1999/02/08 \ttl@savefn mechanism. +1999/02/10 Removed extra \leavevmode in display +1999/02/13 Now \titleline doesn't add the width. It's set. +1999/02/17 The part mark is catched, even if unused. +1999/02/17 old/newparttoc added. +1999/02/18 Changed many TeX assignments to the LaTeX + counterpart. +1999/02/19 Introduced \ttl@startargs. + +History of v2.1.1 +~~~~~~~~~~~~~~~~~ +1999/08/04 Moved misplaced lines in \ttl@makeboth + +History of v2.2 (unreleased) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +1999/11/03 We load titleps if pagestyles are required, but + some old definitions are restored. +1999/11/06 Improved outermarks test in \ttl@sect@i. Formerly + the section number could be printed if a page ended + with an unnumebered section followed by a numbered one. +1999/11/06 \ttl@startargs now adds (and passes) automatically the + section name. Involved macros modified accordingly. +1999/11/06 Replaced explicit part names by the parameter in + \ttl@part@i. The same for chapter. +1999/11/21 \ttl@try's are not given explicitly, but built by + \ttl@setkeys. Intruduced the \ttl@key@... and + \ttl@extra@... commands. +1999/11/23 Minor problems with keys fixed. +1999/12/10 Added the nobottomtitles* option and \ttl@addstretch. +2000/01/07 First steps towards the calcwidth feature (basic code). +2000/01/08 (Continued.) \titleline* for rules of width \titlewidth. + Option calcwidth implemented. +2000/01/12 Finished with changes in wrap.tss (no longer + "experimental" :-) ) + +History of v2.3 +~~~~~~~~~~~~~~~ +2000/01/19 All keys are grouped in a single file tttkeys. Removed + page.tsk and deleted the corresponding code in the sty. +2000/01/19 Classes begun. +2000/01/19 The level numbers are stored in \ttll@ macros, and not + passed as arguments. +2000/01/21 Introduced the new mark scheme. It's mostly compatible + with the old one, but a compatibility mode seems + imposible (it was introduced in a preliminary test + but eventually removed). +2000/01/23 loadonly package option. +2000/02/01 Classes finished. Many things had to be rewritten. +2000/02/02 Made partially compatible with hyperref (dvips). +2000/02/08 \ttl@savewrite moved from shapes to classes. But + explicit page breaks expand it, too, to avoid wrong + toc entries. +2000/02/18 A new box named \ttl@box stores the title in runin + leftmargin etc shapes, to increase reliability. + +(2.3.1 -- 2.3.3 No changes on this file) + +History of v2.3.4 +~~~~~~~~~~~~~~~~~ +2000/05/12 nonindentfirst redefine \titlespacing instead of + \@afterindent... so that they don't interfere with + the first entry in tocs. +2000/05/17 The marks in \ttl@select are protected to prevent + endless loop if the title is expanded, say, by + \MakeUppercase. + +History of v2.3.5 +~~~~~~~~~~~~~~~~~ +2000/05/21 Restores missing test for secnumdepth in \ttl@mkchap, + and instead of setting \ttl@toclevel in ttlps now is + done in \secdef. Except inside the macros, \ttl@toclevel + is false, so that an explicit \...mark works. +2000/06/04 \partmark defined with \providecommand +2000/06/14 A patch mechanism added, for small bug fixes. + +History of v2.4 +~~~~~~~~~~~~~~~~ +2001/01/18 Minor changes in code. Essentialy an incremental + update. +2001/01/22 \titleformat has a new "easy" starred variant. + +History of v2.5 +~~~~~~~~~~~~~~~ +2002/01/02 New macros for \ttl@assign. Now * length allow + non integer values. +2002/03/22 Added \ttl@calc and \ttl@calcneg to make titlesec + calc-savvy. + - Merged bug fixes of .new into this file. + - Bugs in frame fixed -- gap in lines, misplaced + label, wrong margins (sometimes), + - \leftskip, \rightskip and \linewidth (re)set in + margin shapes. + - Removed obsolete flush... options. + - indentafter and noindentafter, new names for + indentfirst and nonindentfirst. + - A new level (\titleclass) without its "location" + now raises a meaningful error. + - Bug in top-level \titleclass fixed. +2002/03/23 Tests for undefined and unformatted sectioning levels, + and horizontal material in . + - Missing \if@openright inside \if@twoside in + page class added. + - Removed extra (but inoffensive) \expandafter + in \ttl@class@iii. +2002/03/27 Added \titlewidthfirst and ...last + - "Not definable" gives a more meaningful message in + the context of the package. + +History of v.2.6 +~~~~~~~~~~~~~~~~ +2004/08/30 Corrected typo in margin \hsiz -> \hsize. +2004/10/17 Added a couple of missing \noexpand's in drop. +2004/12/01 Removed the error about the mode in block because this + style is general purpose. +2005/01/16 Missing braces around #2 in the last else part of + \ttl@headinline added + - Replaced explicit \makeatother's by a saved value as + the macros can be used in a class/package file. +2005/01/18 newlinetospace mechanism + - // does not break pages; option pageatnewline to + restore the LaTeX behaviour. +2005/01/19 \...break in top shape. + - Renumbered several scratch registers to follow the + TeXbook (p. 346), with \ttl@box in a few cases. In + wrap \titlewidthfirst and \titlewidthlast made global. + - Float heads and foots have now a further argument for + additional stuff (eg, to remove rules). Option is now + psfloats while floatps enters in compatibility mode. + - \ttl@savetitle in all classes. Option toctitles. +2005/01/21 Changed pageatnewline to make it compatible with + titletoc, with \ttl@changecentercr. +2005/01/22 \...tolist in top class. + +History of v.2.7 +~~~~~~~~~~~~~~~~ +2007-03-27 Added the `explicit' option. + - Added \titlepagestyle. +2007-03-29 Fixed wrong number for chapter in log + - Patch file named .270 instead of .new +2007-05-09 Added to leftmargin, so that you can add stuff + at the beginning of the paragraph, eg, the sec number. +2007-07-07 Removed the patch mechanism. +2007-08-07 `explicit' improved. + +History of v.2.8 +~~~~~~~~~~~~~~~~ +2007-08-12 \titlepagestyle already used by KOMA-Script. Renamed + to \assignpagestyle. + +History of v.2.9 +~~~~~~~~~~~~~~~~ +2010-05-04 Add \nobreak in \ttl@addcontentsline, to prevent the title + going to footnotes (!) in runin style in some (rare) cases. +2010-05-06 Option uppercase (and \ttl@case). +2011-02-25 \iftitlemeasuring test +2011-07-14 Fixed \assignpagestyle +2011-07-15 Introduced the \scantokens mechanism to make sure section + names are 'letters' and not 'others' +2011-07-18 Removed \if@nobreak test in wrap/drop, which added a line + to the title after another section (why?) + +History of v.2.9.1 +~~~~~~~~~~~~~~~~~~ +2011-08-28 Removed a spurious > in wrap.tss + +History of v.2.9.2 +~~~~~~~~~~~~~~~~~~ +2011-11-11 Fixed a typo in ttlps.def (\MessageBreag) + +History of v.2.10.0 +~~~~~~~~~~~~~~~~~~~~ + +2011-12-15 Split titlesp + +History of v.2.10.1 +~~~~~~~~~~~~~~~~~~~~ + +2015-02-27 Fix: An explict \newpage in 'after' wrote the toc entry twice +2015-03-09 Fix (partial): A list containing just a sectioning command + raised an error + +History of v.2.10.2 +~~~~~~~~~~~~~~~~~~~~ + +2015-03-21 Fix: With 2.10.1 labels vanished in hang shape (due to a + misplaced \noindent) + +## TITLEPS + +History of v.1.1.1 +~~~~~~~~~~~~~~~~~~ +2016-03-15 New macro \setmarkboth for compatibility + +## TITLETOC + +History of v1.1 +~~~~~~~~~~~~~~~ +99/04/22: A bug fix. Some missing global assignments in \ttl@tocentry + were missing, and page numbers messed up with + \titlecontents* + +History of v1.2 +~~~~~~~~~~~~~~~~ +1999/10/20: Added \contentsafter. \ttl@tocentry modified to accept + the new command for grouping in a paragraph entries of + different levels. +1999/10/27: Instead of defining the level numbers explicitly, that's + done with \ttl@setlevels and \ttl@levels. +1999/10/27: Added the basic code for multiple indexes. +1999/10/29: Added the toctop test to the \ttl@savel@... commands. +1999/12/28: Simplified \ttl@savel@... with \ttl@lselect. +2000/01/12: \contentsafter rejected. An aditional optional parameter + is used instead. (Too) many thing had to be rewritten. +2000/01/27: Removed \ttl@setlevels. Any change of levels are + best done with titlesec. +2000/02/14: Moved misplaced \vskip in ttl@tocentry. +2000/02/16: A few changes in the "block" separators. +2000/02/16: Fixed bug in \ttl@margin. For the right margin the + correction was used instead of the margin. + +History of v1.2.1 +~~~~~~~~~~~~~~~~~ +2000/04/25: Dirty trick to make sure that \ttl@finish is the very + last thing in lists of floats (lof, lot, etc.). +2000/05/14: Missing \global before \ttl@labelfalse added. + +History of 1.2.2 +~~~~~~~~~~~~~~~~ +2000/06/05: The optional argument no longer mandatory, but + still reporting an error if the length is missing. + Minor internal changes, and a patch mechanism added. + +History of 1.3 +~~~~~~~~~~~~~~ +2001/01/12: Minor changes and some missing \globals added for + partial tocs to work inside a group. +2001/01/21: Added \dottedcontents. + +History of 1.4 +~~~~~~~~~~~~~~ +2002/03/27: titletoc.new merged into this file +2002/03/27: \ttl@finish written by the last \newpage. +2002/03/27: \ttl@lsection broke paragraphs always. Now + only if the sublevel is typeset. +2002/03/27: \ttl@finish -> \contentsfinish + +History of 1.5 +~~~~~~~~~~~~~~ +2003/06/14: \contentspush didn't work because of the change of +(.new) \leftskip was done inside a group before the + corresponding \par +2003/06/14: Added an useful error if a partial TOC is not +(.new) defined. +2005/01/17: New options rubber/rigidseps, to remove if desired + the small vertical "plus" between entries. +2005/01/20: Begin work on partial lists. +2005/01/21: \ttl@outblock and \ttl@outnoblock just to avoid a + huge definition and to ease patching. +2005/01/22: Work on partial lists finished (but to be resumed). + +History of 1.6 +~~~~~~~~~~~~~~ +2007/05/04: Added the patch 2005/05/03 which fixed a wrong + result with \included (F. Mittelbach) +2007/07/14: Removed the patch mechanism. diff --git a/Master/texmf-dist/doc/latex/titlesec/README b/Master/texmf-dist/doc/latex/titlesec/README deleted file mode 100644 index dff339be936..00000000000 --- a/Master/texmf-dist/doc/latex/titlesec/README +++ /dev/null @@ -1,74 +0,0 @@ -This directory holds 3 packages for sectioning titles -- when used as -such (titlesec), in headers and footers (titleps) and in tables of -contents (titletoc). They can be used separately, but you will get -most of them when used together. - -Titlesec -~~~~~~~~ -Sectioning titles, including margin and `wrap' titles, different -format in odd and even pages, rules above and below the title, -adding new sectioning levels, measuring the width of the title, etc. - -Titletoc -~~~~~~~~ -TOC entries, with the possibility of changing the format in the middle -of a document, grouping the entries in a single paragraph, pretty -free-forms entries, partial tocs, etc. It's described in titlesec.pdf -(or .tex). - -Titleps -~~~~~~~ -Page styles with working top marks, access to top, first and bot marks -in a single header/footer, rules, headers/footers for specific floats -(kinda \thispagestyle), multiple sets of marks, etc. An one-stage -mechanims is used, without intermediate \leftmark's or \rightmark's. - -What's new (2.9. 2.10) -~~~~~~~~~~~~~~~~ - -- Fixed \assignpagestyle, which did not work except in a -few cases. -- Fixed an incompatibility with hyperref (wrong appendix -name). -- Added \iftitlemeasuring -- Added package option uppercase -- Fixed a bug when reckoning the number of lines in wrap/drop. - -2.9.1: Fixed a typo (a spurious > in wrap.tss). -2.9.2: Fixed another typo (\MessageBreag in ttlps.def) -2.10.0: New features in titleps also available in titlesec - -Installation -~~~~~~~~~~~~ -No .ins/.dtx preinstalation is required. Move the files to a place -where LaTeX can find them and typeset titlesec.tex. All of files in -this directory are necessary for titlesec.sty to work, except the -manual titlesec.tex (and this 'readme' file). The manual requires -titlesec.sty and titletoc.sty, and hence all the .tss and .def -files as well. - -Formerly there were files with extension .new (titlesec.new and -titletoc.new) used to patch the packages, but if present should be -removed (they will be ignored, however). - -Web site, manual in PDF format and info -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Further details are available on - - http://www.texnia.com/titlesec.html - -Contact -~~~~~~~ -Please, for suggestions, bug reports, etc., go to -More - http://www.texnia.com/contact.html - -Known problems -~~~~~~~~~~ -Some language styles (for babel) add the indentation -after a section in a so radical way that titlesec (which -uses the internal LaTeX macros) cannot supress it again. -For example, spanish (fixed in version 5.0) and frenchb. - -2016/03/21 - diff --git a/Master/texmf-dist/doc/latex/titlesec/README.md b/Master/texmf-dist/doc/latex/titlesec/README.md new file mode 100644 index 00000000000..1b9250a712e --- /dev/null +++ b/Master/texmf-dist/doc/latex/titlesec/README.md @@ -0,0 +1,62 @@ +## Titlesec, Titletoc, Titleps + +This directory holds 3 packages for sectioning titles -- when used as +such (titlesec), in headers and footers (titleps) and in tables of +contents (titletoc). They can be used separately, but you will get +most of them when used together. + +### Titlesec + +Sectioning titles, including margin and `wrap` titles, different +format in odd and even pages, rules above and below the title, +adding new sectioning levels, measuring the width of the title, etc. + +### Titletoc + +TOC entries, with the possibility of changing the format in the middle +of a document, grouping the entries in a single paragraph, pretty +free-forms entries, partial tocs, etc. It's described in +`titlesec.pdf`. + +### Titleps + +Page styles with working top marks, access to top, first and bot marks +in a single header/footer, rules, headers/footers for specific floats +(kinda `\thispagestyle`), multiple sets of marks, etc. An one-stage +mechanims is used, without intermediate `\leftmark`s or `\rightmark`s. + +### Latest changes + +``` +2.11 2019-07-16 + - New license: MIT. + - Option nostruts, to remove struts inserted by titlesec. + - Reorganized code: only sty files, removed def and tss ones + (although the mechanism for tss still works). + - Fix - Wrong hyperlinks in table of contents with the starred + versions, because of a change of behavior of hyperref (it + patches the behaviour of an internal macro in hyperref). + - Fix - Wrong spacing with titleps and displayed text after a + section. + - Fix - Newly defined floats raised an error with titletoc. +``` + +### Installation + +No .ins/.dtx preinstalation is required. Move the files to a place +where LaTeX can find them and typeset titlesec.tex. All of files in +this directory are necessary for titlesec.sty to work, except the +manual titlesec.tex (and this 'readme' file). The manual requires +titlesec.sty and titletoc.sty. + +Further details are available on + + http://www.texnia.com/titlesec.html + +### Contact + +Please, for suggestions, bug reports, etc., go to +More + http://www.texnia.com/contact.html + + diff --git a/Master/texmf-dist/doc/latex/titlesec/titleps.pdf b/Master/texmf-dist/doc/latex/titlesec/titleps.pdf index 31c69f64192..cef3495fdf9 100644 Binary files a/Master/texmf-dist/doc/latex/titlesec/titleps.pdf and b/Master/texmf-dist/doc/latex/titlesec/titleps.pdf differ diff --git a/Master/texmf-dist/doc/latex/titlesec/titleps.tex b/Master/texmf-dist/doc/latex/titlesec/titleps.tex index df021692fc4..51149c9fa85 100644 --- a/Master/texmf-dist/doc/latex/titlesec/titleps.tex +++ b/Master/texmf-dist/doc/latex/titlesec/titleps.tex @@ -1,27 +1,14 @@ -% +--------------------------------------------------+ -% | Typeset this file to get the documentation. | -% +--------------------------------------------------+ % -% Copyright (c) 1998-2016 by Javier Bezos. -% All Rights Reserved. +% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com % -% This file is part of the titlesec distribution release 2.10.2 -% ----------------------------------------------------------- +% This file may be distributed and/or modified under the conditions of +% the MIT License. A version can be found at the end of this file. +% +% Repository: https://github.com/jbezos/titlesec % -% It 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 2003/12/01 or later. -% -% This work has the LPPL maintenance status "maintained". -% -% The Current Maintainer of this work is Javier Bezos. -\def\fileversion{1.1.1} -\def\docdate{2016-03-15} +\def\fileversion{2.11} +\def\docdate{2019/07/16} \documentclass[a4paper]{ltxguide} \usepackage[sf,bf,compact,topmarks,calcwidth,pagestyles]{titlesec} @@ -621,7 +608,7 @@ commands, you might still need an empty title mark (like \verb|\sectionmark{}|), as well as to synchronize the language by hand. -In many cases, the following “short” marks mechanism will be enough. +In many cases, the following ``short'' marks mechanism will be enough. With it, you simply say with \verb|\newshormark| the name of a command to be used in heads or foots, and then emit the mark at appropiated places (short marks for variables are not available). An example @@ -823,3 +810,26 @@ Lamport's \textit{The \LaTeX\ book} (with the \textsf{calc} package): \end{document} +MIT License +----------- + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + diff --git a/Master/texmf-dist/doc/latex/titlesec/titlesec.pdf b/Master/texmf-dist/doc/latex/titlesec/titlesec.pdf index 0bd17ad3752..bf4525f3e9c 100644 Binary files a/Master/texmf-dist/doc/latex/titlesec/titlesec.pdf and b/Master/texmf-dist/doc/latex/titlesec/titlesec.pdf differ diff --git a/Master/texmf-dist/doc/latex/titlesec/titlesec.tex b/Master/texmf-dist/doc/latex/titlesec/titlesec.tex index b57d718744c..d10da1e0401 100644 --- a/Master/texmf-dist/doc/latex/titlesec/titlesec.tex +++ b/Master/texmf-dist/doc/latex/titlesec/titlesec.tex @@ -1,27 +1,14 @@ -% +--------------------------------------------------+ -% | Typeset this file to get the documentation. | -% +--------------------------------------------------+ % -% Copyright (c) 1998-2016 by Javier Bezos. -% All Rights Reserved. +% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com % -% This file is part of the titlesec distribution release 2.10.2 -% ----------------------------------------------------------- +% This file may be distributed and/or modified under the conditions of +% the MIT License. A version can be found at the end of this file. +% +% Repository: https://github.com/jbezos/titlesec % -% It 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 2003/12/01 or later. -% -% This work has the LPPL maintenance status "maintained". -% -% The Current Maintainer of this work is Javier Bezos. -\def\fileversion{2.10.2} -\def\docdate{2016-03-21} +\def\fileversion{2.11} +\def\docdate{2019/07/16} \documentclass[a4paper]{ltxguide} \usepackage[sf,bf,compact,topmarks,calcwidth,pagestyles]{titlesec} @@ -69,7 +56,7 @@ dotlessi, babeltools}.}} \newpagestyle{myps}[\small\sffamily\slshape]{ \headrule \sethead{Titlesec}{\sectiontitle}{\usepage}} - + \pagestyle{myps} \newcommand{\examplesep}{% @@ -157,7 +144,6 @@ same time, but because |\part| is usually implemented in a non-standard way, it remains untouched by the simple settings and should be changed with the help of the ``Advanced Interface.'' - \section{Quick Reference} %~~~~~~~~~~~~~~~~~~~~~~ @@ -334,7 +320,7 @@ above the title. there is no section label at that level, but this is not recommended because by doing so the number is not suppressed in the table of contents and running heads. - + \item || is the horizontal separation between label and title body and must be a length (it must not be empty). This space is vertical in |display| shape; in |frame| it is the distance from text @@ -342,20 +328,26 @@ to frame. Both |