[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: New stub clsguide (2c256b27)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Apr 11 13:09:11 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/2c256b27d140879bf707185cbec4d2d0916c5762
>---------------------------------------------------------------
commit 2c256b27d140879bf707185cbec4d2d0916c5762
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Jan 11 09:34:07 2023 +0000
New stub clsguide
>---------------------------------------------------------------
2c256b27d140879bf707185cbec4d2d0916c5762
base/build.lua | 1 +
base/doc/{ltnews18.tex => clsguide.tex} | 45 +++++++++++++++++++++------------
base/manifest.txt | 1 +
3 files changed, 31 insertions(+), 16 deletions(-)
diff --git a/base/build.lua b/base/build.lua
index d8d38ecd..a1ca3430 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -99,6 +99,7 @@ typesetfiles_list = {
"*.err",
"lppl.tex",
"cfgguide.tex",
+ "clsguide.tex",
"clsguide-historic.tex",
"cyrguide.tex",
"encguide.tex",
diff --git a/base/doc/ltnews18.tex b/base/doc/clsguide.tex
similarity index 50%
copy from base/doc/ltnews18.tex
copy to base/doc/clsguide.tex
index 8c706215..f910cbe4 100644
--- a/base/doc/ltnews18.tex
+++ b/base/doc/clsguide.tex
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 1993-2023
+% Copyright (C) 2023
% The LaTeX Project and any individual authors listed elsewhere
% in this file.
%
@@ -26,25 +26,38 @@
% extension .ins) which are part of the distribution.
%
% \fi
-% Filename: ltnews18.tex
-%
-% This is issue 18 of LaTeX News.
-
-\documentclass
- [lw35fonts] % uncomment this line to get Palatino
- {ltnews}[2004/02/28]
-
-% \usepackage[T1]{fontenc}
-
-
-\publicationmonth{December}
-\publicationyear{2007}
-\publicationissue{18}
+% Filename: clsguide.tex
+
+\documentclass{ltxguide}
+
+\usepackage[T1]{fontenc} % needed for \textbackslash in tt
+\usepackage{csquotes}
+
+\title{\LaTeX\ for package and class authors --- current version}
+\author{\copyright~Copyright 2023, \LaTeX\ Project Team.\\
+ All rights reserved.%
+ \footnote{This file may distributed and/or modified under the
+ conditions of the \LaTeX{} Project Public License, either version 1.3c
+ of this license or (at your option) any later version. See the source
+ \texttt{usrguide.tex} for full details.}%
+}
+
+\date{2022-07-05}
+
+\NewDocumentCommand\cs{m}{\texttt{\textbackslash\detokenize{#1}}}
+\NewDocumentCommand\marg{m}{\arg{#1}}
+\NewDocumentCommand\meta{m}{\ensuremath{\langle}\textit{#1}\ensuremath{\rangle}}
+\NewDocumentCommand\pkg{m}{\textsf{#1}}
+\NewDocumentCommand\text{m}{\ifmmode\mbox{#1}\else#1\fi}
+% Fix a 'feature'
+\makeatletter
+\renewcommand \verbatim at font {\normalfont \ttfamily}
+\makeatother
\begin{document}
\maketitle
-\noindent This news never existed.
+\tableofcontents
\end{document}
diff --git a/base/manifest.txt b/base/manifest.txt
index f423c769..be4a38c3 100644
--- a/base/manifest.txt
+++ b/base/manifest.txt
@@ -27,6 +27,7 @@
% sample2e.tex -- Sample LaTeX input file.
% small2e.tex -- Small sample LaTeX input file.
%
+% clsguide.tex -- How to write class files.
% clsguide-historic.tex -- How to write class files with a focus on moving from 2.09.
% cfgguide.tex -- Guide to using `.cfg' files to configure LaTeX.
% cyrguide.tex -- Guide to using cyrillic languages in LaTeX.
More information about the latex3-commits
mailing list.