summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/isodoc/isodoc.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/isodoc/isodoc.dtx')
-rw-r--r--Master/texmf-dist/source/latex/isodoc/isodoc.dtx60
1 files changed, 34 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/isodoc/isodoc.dtx b/Master/texmf-dist/source/latex/isodoc/isodoc.dtx
index 777f91404bd..25a0034ed85 100644
--- a/Master/texmf-dist/source/latex/isodoc/isodoc.dtx
+++ b/Master/texmf-dist/source/latex/isodoc/isodoc.dtx
@@ -27,25 +27,23 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{isodoc}%
%<*class>
- [2021/02/20 v1.12 isodoc class for letters and invoices]
+ [2021/06/22 v1.13 isodoc class for letters and invoices]
%</class>
%<*driver>
\documentclass{ltxdoc}
\usepackage{ctable,pdfpages,paralist,sverb,ltablex}
-\usepackage[margin=20mm,left=50mm,nohead]{geometry}
-\usepackage{silence,luatex85}
+\usepackage[a4paper,margin=20mm,left=50mm,nohead]{geometry}
+\usepackage{silence}
\WarningFilter{latex}{Marginpar on page}
\usepackage{fontspec}
-\protrudechars=2
-\adjustspacing=2
-\newfontfeature{Microtype}{protrusion=default;expansion=default}
-\directlua{fonts.protrusions.setups.default.factor=.5}
-\setmainfont[Microtype,
- Ligatures=TeX,
+\usepackage{microtype}
+% suppress microtype warnings - may become unnecessary with microtype > v2.8:
+\makeatletter\def\MT@warn@unknown{}\makeatother
+\setmainfont[Ligatures=TeX]{Fontin-Regular}[%
ItalicFont=Fontin-Italic,
BoldFont=Fontin-Bold,
SmallCapsFont=Fontin-SmallCaps
- ]{Fontin-Regular}
+ ]
\setmonofont{DejaVuSansMono}[Scale=MatchLowercase]
\usepackage{hyperref}
\IndexMin=1580pt
@@ -305,6 +303,11 @@
% - isodoc.ins syntax did'nt work, probably because of changes in luatex?
% - small changes because of move from bitbucket to github
% }
+% \changes{v1.13}{2021/06/22}{
+% - Use memoir with article option for better table numbering etc.
+% - Check validity of language option argument
+% - Adapted to changes in new LaTeX version (headers disappeared)
+% }
% \DoNotIndex{%
% \,\",\',\@auxout,\AtBeginDocument,\AtEndDocument,\AtEndOfClass,\ClassError,
% \ClassWarning,\CurrentOption,\DeclareOption,\DescribeMacro,\ForEachX,
@@ -331,11 +334,11 @@
% }
%
% \GetFileInfo{\jobname.dtx}
-%\title{The isodoc class\thanks{This file
-% describes version \fileversion, last revised \filedate.}\\
+% \title{The isodoc class\thanks{This document describes
+% version \fileversion, last revised \filedate.}\\
% for letters, invoices, and more}
-%\author{Wybo Dekker\thanks{E-mail: wybo@dekkerdocumenten.nl}}
-%\date{Released \filedate}%
+% \author{Wybo Dekker\thanks{Email: wybo@dekkerdocumenten.nl}}
+% \date{\filedate}%
% \maketitle
% \begin{abstract}\noindent
% The |isodoc| class can be used for the preparation of letters,
@@ -1194,19 +1197,24 @@
% Set the language; en-GB, set at the |\EndOfClass| is the default.
% \begin{macrocode}
\define@key{isodoc}{language}{
- \StrSubstitute{#1}{-}{}[\@iso]\csname isodoc@\@iso\endcsname}
+ \StrSubstitute{#1}{-}{}[\@iso]
+ \ifcsname isodoc@\@iso\endcsname\csname isodoc@\@iso\endcsname\else
+ \ClassError{isodoc}{Unknown language #1}{}
+ \fi
+}
% \end{macrocode}
% \DescribeMacro{ordinalss}
% Ordinal suffixes (like st, nd, rd, th) in dates are put on the line by
% default, but they can be set superscript with the |ordinalss| option:
% \begin{macrocode}
\define@key{isodoc}{ordinalss}[\@isodocordinalsstrue]{%
- \ifx\yourlettertext\undefined%
- \@isodocordinalsstrue
- \else
- \ClassError{isodoc}{
- You must use the ordinalss option before any language option}
- \fi}
+ \ifx\yourlettertext\undefined%
+ \@isodocordinalsstrue
+ \else
+ \ClassError{isodoc}{
+ You must use the ordinalss option before any language option}{}
+ \fi
+}
\newif\if@isodocordinalss\@isodocordinalssfalse
% \end{macrocode}
% \DescribeMacro{fill}
@@ -2010,7 +2018,7 @@ accountname;payref;vatno;chamber}
% |\letter| prints a letter...
% The code is enclosed in an extra pair of braces, in order to keep option changes local
% \begin{macrocode}
-\newcommand{\letter}[2][]{{%
+\newcommand{\letter}[2][]{%
\clearpage{\pagestyle{empty}\cleardoublepage}
\setcounter{section}{0}
\setkeys{isodoc}{#1}
@@ -2157,7 +2165,7 @@ accountname;payref;vatno;chamber}
\end{minipage}
}\fi
\label{LastPageOf\thelettercount}
-}}
+} % end letter
% \end{macrocode}
% \subsection{Internal Macros}
% |\isodocFootFields| creates the foot fields. Defined here so you can easily replace them
@@ -3287,7 +3295,7 @@ files.zip: files.zip.uue
uudecode files.zip.uue
files.zip.uue accept.tex accept.sty invoice.tex invoice.sty letter.tex letter.sty logoletter.tex logoletter.sty ntgletter.tex ntgletter.sty: isodoc.dtx isodoc.ins
luatex isodoc.ins
-clean:
+clean: iolang
./iolang -i 2> /dev/null
echo lang iolang README Makefile files.zip{,.uue} \
{Chopin,Fontin}*.ttf acceptform.jpg body.tex listkeys.sh logo[12].pdf \
@@ -12728,8 +12736,8 @@ AAAADwAPAOMEAADkZAYAAAA=
| key | description
| ---:|:---
| isodoc | LaTeX class used for typesetting of letters and invoices
-|version | 1.12
-| date | 2021-02-20
+|version | 1.13
+| date | 2021-06-22
| author | Wybo Dekker
| email | wybo@dekkerdocumenten.nl
|license | Released under the LaTeX Project Public License v1.3c or later