diff options
Diffstat (limited to 'macros/latex')
-rw-r--r-- | macros/latex/contrib/nostarch/README | 4 | ||||
-rw-r--r-- | macros/latex/contrib/nostarch/nostarch.dtx | 54 | ||||
-rw-r--r-- | macros/latex/contrib/nostarch/nostarch.pdf | bin | 350878 -> 317675 bytes | |||
-rw-r--r-- | macros/latex/contrib/nostarch/nssample.pdf | bin | 281557 -> 281327 bytes | |||
-rw-r--r-- | macros/latex/contrib/nostarch/tabletest.pdf | bin | 35332 -> 0 bytes | |||
-rw-r--r-- | macros/latex/contrib/nostarch/tabletest.tex | 215 | ||||
-rw-r--r-- | macros/latex/contrib/nostarch/urltest.pdf | bin | 18227 -> 0 bytes | |||
-rw-r--r-- | macros/latex/contrib/nostarch/urltest.tex | 8 | ||||
-rw-r--r-- | macros/latex/contrib/teubner/README | 9 | ||||
-rw-r--r-- | macros/latex/contrib/teubner/teubner-doc.pdf | bin | 432909 -> 431373 bytes | |||
-rw-r--r-- | macros/latex/contrib/teubner/teubner-doc.tex | 4 | ||||
-rw-r--r-- | macros/latex/contrib/teubner/teubner.dtx | 24 | ||||
-rw-r--r-- | macros/latex/contrib/teubner/teubner.pdf | bin | 671724 -> 673272 bytes | |||
-rw-r--r-- | macros/latex/contrib/teubner/teubner.txt | 19 |
14 files changed, 84 insertions, 253 deletions
diff --git a/macros/latex/contrib/nostarch/README b/macros/latex/contrib/nostarch/README index 96dc00c597..279b8973d8 100644 --- a/macros/latex/contrib/nostarch/README +++ b/macros/latex/contrib/nostarch/README @@ -10,6 +10,10 @@ nshyper.sty and MakeIndex style nostarch.ist. CHANGES: +Version 2.2 + New environments: note and aside + Subfigure package is now the default + Version 2.1 Urls now correspond to the requirements of NoStarch: italic font, low tilde, splitting according to the NoStarch rules diff --git a/macros/latex/contrib/nostarch/nostarch.dtx b/macros/latex/contrib/nostarch/nostarch.dtx index 56969391d5..ba0c42cdc2 100644 --- a/macros/latex/contrib/nostarch/nostarch.dtx +++ b/macros/latex/contrib/nostarch/nostarch.dtx @@ -450,18 +450,32 @@ % \DescribeMacro{itemize} % \DescribeMacro{enumerate} % \DescribeMacro{description} +% \DescribeMacro{aside} % \DescribeMacro{note} +% \DescribeMacro{warning} % The class offers standard |itemize|, |enumerate| and |description| -% environment. There is an environment specific for it: |note|. It -% is intended for ``asides'': +% environment. There are also special environments reserverd for +% asides. The |aside| environment has a mandatory argument: aside +% name. It typesets its contents in italics with the name in bold on +% the marginh: +% \begin{verbatim} +% \begin{aside}{Reminder} +% Do not forget to plug off the computer before doing any +% modifications! +% \end{aside} +% \end{verbatim} +% The environments |note| and |warning| are similar, but have +% pre-defined names NOTE and WARNING, e.g % \begin{verbatim} % \begin{note} % Do not forget to plug off the computer before doing any % modifications! % \end{note} +% \begin{warning} +% Do not forget to plug off the computer before doing any +% modifications! +% \end{warning} % \end{verbatim} -% The material in a |note| will be typeset in italics with bold -% ``NOTE'' on the margin. % % %\subsubsection{Tables and Figures} @@ -703,7 +717,7 @@ %<class>\ProvidesClass{nostarch} %<nshyper>\ProvidesPackage{nshyper} %<*!ist> -[2023/04/08 v2.1 Typesetting books for No Starch Press] +[2023/06/10 v2.2 Typesetting books for No Starch Press] %</!ist> % \end{macrocode} % @@ -804,7 +818,7 @@ pagecolor=black,urlcolor=black,hyperindex=false]{hyperref} fancyhdr, fancyvrb, booktabs, graphicx, listings, caption, makeidx, upquote, pifont, textcomp, xcolor, lmodern, nameref, float, amssymb, etoolbox, - setspace, marginnote, url} + setspace, marginnote, url, subfigure} \RequirePackage[framemethod=TikZ]{mdframed} \RequirePackage{soul} \RequirePackage[T1]{fontenc} @@ -2214,13 +2228,14 @@ pagecolor=black,urlcolor=black,hyperindex=false]{hyperref} % \end{macrocode} % \end{macro} % -% \begin{macro}{note} -% Note is a special environment for asides. It is in italics with -% the word ``NOTE'' on the margin: +% \begin{macro}{\aside} +% \changes{v2.2}{2023/06/10}{Added macro} +% An environment for asides. Italics with the name (the mandatory +% arg) on the margin % \begin{macrocode} -\newenvironment{note}{% +\newenvironment{aside}[1]{% \list{\makebox[0pt][r]{\dogma \fontsize{7.5pt}{12pt} - \colorbox{black}{\textcolor{white}{\sonote{NOTE}}}\hspace{2em}}}{\listparindent0pt\relax + \colorbox{black}{\textcolor{white}{\sonote{#1}}}\hspace{2em}}}{\listparindent0pt\relax \topsep9\p@\relax \itemindent0\p@\relax \rightmargin0\p@\relax @@ -2231,6 +2246,23 @@ pagecolor=black,urlcolor=black,hyperindex=false]{hyperref} % \end{macrocode} % \end{macro} % +% \begin{macro}{\note} +% \changes{v2.2}{2023/06/10}{Redefined using generic} +% Note is in italics with +% the word ``NOTE'' on the margin: +% \begin{macrocode} +\newenvironment{note}{\begin{aside}{NOTE}}{\end{aside}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\warning} +% \changes{v2.2}{2023/06/10}{Defined using generic} +% Warning is in italics with +% the word ``WARNING'' on the margin: +% \begin{macrocode} +\newenvironment{warning}{\begin{aside}{WARNING}}{\end{aside}} +% \end{macrocode} +% \end{macro} +% % \begin{macro}{plainlist} % \changes{v2.0}{2023/04/08}{Added macro} \newenvironment{plainlist}{% diff --git a/macros/latex/contrib/nostarch/nostarch.pdf b/macros/latex/contrib/nostarch/nostarch.pdf Binary files differindex d0b15ee893..d27608c590 100644 --- a/macros/latex/contrib/nostarch/nostarch.pdf +++ b/macros/latex/contrib/nostarch/nostarch.pdf diff --git a/macros/latex/contrib/nostarch/nssample.pdf b/macros/latex/contrib/nostarch/nssample.pdf Binary files differindex a6b476eba4..3d7d86418a 100644 --- a/macros/latex/contrib/nostarch/nssample.pdf +++ b/macros/latex/contrib/nostarch/nssample.pdf diff --git a/macros/latex/contrib/nostarch/tabletest.pdf b/macros/latex/contrib/nostarch/tabletest.pdf Binary files differdeleted file mode 100644 index 5ed27d9915..0000000000 --- a/macros/latex/contrib/nostarch/tabletest.pdf +++ /dev/null diff --git a/macros/latex/contrib/nostarch/tabletest.tex b/macros/latex/contrib/nostarch/tabletest.tex deleted file mode 100644 index b1e28864db..0000000000 --- a/macros/latex/contrib/nostarch/tabletest.tex +++ /dev/null @@ -1,215 +0,0 @@ -\documentclass[cfonts, nofontsdir]{nostarch} -\usepackage{nshyper} -\begin{document} - -Some examples of tables - - -\begin{table}[H] -\caption{Similar to Figures, Table Titles Also Should Break Within the Table's Width Instead of Extending the Full Page Width Like This}\index{kinds, meanings of} -\label{exampletable} -\begin{tabular}{ll} - \toprule - \thfont Col 1 & \thfont Col 2 \\ - \midrule - Lorem ipsum & dolor sit amet \\ - consectetur adipiscing & elit sed do \\ - eiusmod tempor & incididunt ut \\ - labore et dolore & magna aliqua \\ - ut enim ad & minim veniam \\ - \bottomrule -\end{tabular} -\end{table} - -A long table - -\begin{longtable}{ll} - \caption{A very long table. Its caption also wraps up like the - caption of figures and tables}\label{long table}\\ - \toprule - \thfont Col 1 & \thfont Col 2 \\ - \midrule - \endfirsthead - \caption[]{A very long table. Its caption also wraps up like the - caption of figures and tables continued\ldots}\\ - \toprule - \thfont Col 1 & \thfont Col 2 \\ - \midrule - \endhead - \bottomrule - \endfoot - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ - this table is & long! \\ -\end{longtable} - -Equations have unequal amounts of spacing above and below them. The -space before the following equation looks roughly twice as large as -after. -\begin{equation} -mean~tot = b + c ~ temp + d ~ temp^2. -\end{equation} - -Additionally, the amount of space before/after equations is not always -consistent. The below equation seems to have even more leading space -than the previous one. -\begin{equation} -mean~tot = b + c ~ temp + d ~ temp^2 + e ~ hum + f ~ hum^2 + g ~ temp -\times ~ hum. -\end{equation} - -We've been manually adding \lstinline{\vspace} commands to account for this, which is not an ideal solution. - - -\end{document} diff --git a/macros/latex/contrib/nostarch/urltest.pdf b/macros/latex/contrib/nostarch/urltest.pdf Binary files differdeleted file mode 100644 index 152b9e7170..0000000000 --- a/macros/latex/contrib/nostarch/urltest.pdf +++ /dev/null diff --git a/macros/latex/contrib/nostarch/urltest.tex b/macros/latex/contrib/nostarch/urltest.tex deleted file mode 100644 index 56368a2ce7..0000000000 --- a/macros/latex/contrib/nostarch/urltest.tex +++ /dev/null @@ -1,8 +0,0 @@ -\documentclass[cfonts, nofontsdir]{nostarch} -\usepackage{nshyper} -\begin{document} -\url{https://bilbo.dynip.com/~boris} - - -\fbox{\parbox{.8cm}{\url{https://bilbo.dynip.com/~boris_ddd=2345&aaaaaaa-b-c-c-c-cdddddddddd@ddddddddd!ddddd?dddddd|dddddd,ddddd;ddddd'dddddd+dddddd<aaaaaa>bbbbbb(aaaaaa)bbbbbb[aaaaaa]bbbbb{aaaaaa}bbbbb"aaaaaaaa:bbbbbbbbb///////////bbbbbbbbbbb}}} -\end{document} diff --git a/macros/latex/contrib/teubner/README b/macros/latex/contrib/teubner/README index d1b6912675..d277daf7be 100644 --- a/macros/latex/contrib/teubner/README +++ b/macros/latex/contrib/teubner/README @@ -1,7 +1,7 @@ -This README file accompanies the teubner bundle version 5.x dated -November 2020 or later. +This README file accompanies the teubner bundle version 5.8.x dated +June 2023 or later. -Copyright 2010-2022 Claudio Beccari +Copyright 2010-2023 Claudio Beccari The bundle contains the files @@ -48,5 +48,8 @@ greek.ldf 1.10 so as cope with the ancient Greek numbering system. The teubner package works also with previous versions of the above pieces of software, but with limited performances. +Version 5.8.0 patches some changes that were introduced in version 1.13.2 +of the babel-greek language description file. + Claudio Beccari claudio dot beccari at gmail dot com
\ No newline at end of file diff --git a/macros/latex/contrib/teubner/teubner-doc.pdf b/macros/latex/contrib/teubner/teubner-doc.pdf Binary files differindex b95983eb0c..0dc5378b36 100644 --- a/macros/latex/contrib/teubner/teubner-doc.pdf +++ b/macros/latex/contrib/teubner/teubner-doc.pdf diff --git a/macros/latex/contrib/teubner/teubner-doc.tex b/macros/latex/contrib/teubner/teubner-doc.tex index 2fcc2b241d..4dca1c1316 100644 --- a/macros/latex/contrib/teubner/teubner-doc.tex +++ b/macros/latex/contrib/teubner/teubner-doc.tex @@ -9,7 +9,7 @@ %\usepackage{pxfonts} \usepackage{mflogo} \usepackage[greek,english]{babel} -\def\workingdate{2020/11/01}% see two lines ahead +\def\workingdate{2023-06-01}% see two lines ahead \usepackage[boldLipsian,10pt,GlyphNames]% <-------- teubner options {teubner}[\workingdate]% <--- older versions don't work well \usepackage[scaled=0.90]{helvet} @@ -46,7 +46,7 @@ An extension for Greek philology\\ User manual} \author{Claudio Beccari\thanks{\texttt{claudio dot beccari at gmail dot com}}} -\date{October 2022}% <---- this is the date of the teubner-doc document! +\date{June 2023}% <---- this is the date of the teubner-doc document! \def\comando#1{\expandafter\texttt\expandafter{\string#1}} \def\cs#1{\texttt{\char92#1}} \def\ARG#1{\texttt{\char123}\meta{#1}\texttt{\char125}} diff --git a/macros/latex/contrib/teubner/teubner.dtx b/macros/latex/contrib/teubner/teubner.dtx index bd656ecbda..c95283e7f3 100644 --- a/macros/latex/contrib/teubner/teubner.dtx +++ b/macros/latex/contrib/teubner/teubner.dtx @@ -4,7 +4,7 @@ \input docstrip.tex \keepsilent \preamble -Copyright 2001--2022 Claudio Beccari All rights reserved. +Copyright 2001--2023 Claudio Beccari All rights reserved. This system is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -43,7 +43,7 @@ See the end of the file. %<package>\ProvidesPackage{teubner}[% %<tbtx>\ProvidesPackage{teubnertx}[% %<*driver,package,tbtx> -2022/10/03 v.5.7.3 +2023/06/10 v.5.8.0 %<package>Extensions for Greek philology] %<tbtx>Access to the LGR encoded Greek fonts that match the TX fonts] %</driver,package,tbtx> @@ -656,12 +656,24 @@ Type X <return> to exit.}% % Nevertheless, if some work on modern polytonic Greek philological % document is being typeset, the |ancient| attribute may work % satisfactorily, but with some possible “ancient” line breaks. +% +% In this new version 5.8.0 of this package I had to redefine my macro +% \cs{strip@slash}, the purpose of which is to compact the ISO date +% formato in a string made up only of eight digits, without separators, +% because the maintainer of the \pack{babel-greek} package on 31st o fMay +% 2023 changed the formati; in facts the previous format was YYYY/MM/DD, +% the new format is YYYY-MM-DD; Evidently now the separators are hyphen +% signs, not slashes, I did not change the name of my command; I just +% modified its definition so as to delete the hyphen signs. The number +% test that follows checks the digit string against another digit string +% so as to control if the \pack{babel-greek} package is sufficiently +% recent. % \begin{macrocode} \ifx\languageattribute\undefined \def\GreekName{polutonikogreek}% \else \def\GreekName{greek} - \def\strip@slash#1/#2/#3!{\edef\@tempA{#1#2#3}} + \def\strip@slash#1-#2-#3!{\edef\@tempA{#1#2#3}} \def\getgreekdate#1 #2 #3 #4!{\def\@tempA{#1}\expandafter\strip@slash\@tempA!} \expandafter\expandafter\expandafter\getgreekdate\csname ver@greek.ldf\endcsname ! \ifnum\@tempA<20140918 @@ -3563,8 +3575,10 @@ $\displaystyle\left.% \providecommand\grtoday{} \RenewDocumentCommand\grtoday{ s }% {\bgroup\IfBooleanTF{#1}% -{\greeknumeral*{\the\day}\space\gr@c@month\space\greeknumeral*{\the\year}}% -{\greeknumeral{\the\day}\space\gr@c@month\space\greeknumeral{\the\year}}% +{\greeknumeral*{\the\day}\space \gr@polutoniko@month\space + \greeknumeral*{\the\year}}% +{\greeknumeral{\the\day}\space \gr@polutoniko@month\space + \greeknumeral{\the\year}}% \egroup} % \end{macrocode} diff --git a/macros/latex/contrib/teubner/teubner.pdf b/macros/latex/contrib/teubner/teubner.pdf Binary files differindex 5368b72abe..809742aad0 100644 --- a/macros/latex/contrib/teubner/teubner.pdf +++ b/macros/latex/contrib/teubner/teubner.pdf diff --git a/macros/latex/contrib/teubner/teubner.txt b/macros/latex/contrib/teubner/teubner.txt index 788df7def9..fbd8e4f77e 100644 --- a/macros/latex/contrib/teubner/teubner.txt +++ b/macros/latex/contrib/teubner/teubner.txt @@ -1,9 +1,9 @@ - THE TEUBNER PACKAGE VERSION 5.7.3 OF OCTOBER 2022 + THE TEUBNER PACKAGE VERSION 5.8.0 OF JUNE 2023 EXTENSION FOR PHILOLOGICAL TYPESETTING -Copyright 2001-2022 Claudio Beccari +Copyright 2001-2023 Claudio Beccari The programs contained in this bundle can be distributed and/or modified under the terms of the LaTeX Project Public License (LPPL), version 1.3c @@ -22,14 +22,14 @@ teubner-doc.pdf user documentation By running pdflatex on teubner.dtx in addition to the technical documentation file teubner.pdf, the byproduct files teubner.sty, - teubnertx.sty, are generated; teubner-doc.pdf must be generated - by running pdflatex on the source file teubner-doc.tex source file. +teubnertx.sty, are generated; teubner-doc.pdf must be generated +by running pdflatex on the source file teubner-doc.tex source file. These two .pdf files are already contained in the bundle. File teubner-doc.pdf is the documentation file that shows what can be done with this extension package and displays several examples. -Versiosn 5.2 and later of the teubner package is compliant with the Greek +Versions 5.2 and later of the teubner package are compliant with the Greek language support to babel version 3.9g, that makes use of the encoding independent LICR (LaTeX Internal Character Representation) of the Greek characters & diacritics; it contains also the macros that allow using @@ -39,7 +39,7 @@ through the packages txfonts and pxfonts, are already built in; the compatibility with the Latin Modern fonts was already available with version 2.x of this package. -With the upgrade of the Greek support for babel through file greek.ldf +With the upgrade of the Greek support for babel through file greek.ldf version 1.10, teubner package versions previous to 5.0 became unable to transform Arabic numerals into the classical Milesian and Attic number representations. From version 5.0 the teubner package has been patched @@ -48,9 +48,10 @@ improvements have been added that are transparent to the end user, since they deal with the package internal workings. But these improvements require a recent installation of the TeX system, because they use interfaces to the new LaTeX 3 language; the minimum date of the LaTeX -kernel should not be earlier than January 2020. +kernel should not be earlier than January 2020. In any case some modifications were made to the greek.ldf, version 1.13.x, on June 1, 2023, that required some more patches. -Some time ago Antonis Tsolomitis uploaded the package txfontsb which + +Some time ago Antonis Tsolomitis uploaded the package txfontsb which adds the possibility of using nice TX compatible Greek fonts when using the TX latin fonts so as to let the users typeset their documents in mixed script. The upright shape resembles the traditional Didot one, @@ -75,7 +76,7 @@ In order to use this extension package with LaTeX you have to install it. May be the very installation of your (recent) TeX system distribution already provided for this task; may be your TeX system is configured to load missing packages on the fly. In any case with MiKTeX you can check -and possibly run your Package Manager: X follow the path: +and possibly run your Package Manager: follow the path: Programs|MiKTeX Settings|Packages. With TeXlive and MacTeX (if their installation configuration was not the default complete one) run tlmgr. |