[latex3-commits] [latex3/latex3] main: Differentiate abstract for source3 and interface3 (0a10b51af)
github at latex-project.org
github at latex-project.org
Mon Oct 2 22:04:38 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/0a10b51afd624c5b18f99f83cdd16272e8f06350
>---------------------------------------------------------------
commit 0a10b51afd624c5b18f99f83cdd16272e8f06350
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Oct 2 21:04:29 2023 +0100
Differentiate abstract for source3 and interface3
>---------------------------------------------------------------
0a10b51afd624c5b18f99f83cdd16272e8f06350
l3kernel/doc/interface3.tex | 2 ++
l3kernel/doc/source3.tex | 4 ++++
l3kernel/doc/source3body.tex | 11 ++++++++++-
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/l3kernel/doc/interface3.tex b/l3kernel/doc/interface3.tex
index 019824039..299c8ca4b 100644
--- a/l3kernel/doc/interface3.tex
+++ b/l3kernel/doc/interface3.tex
@@ -48,6 +48,8 @@ for those people who are interested.
{ \texttt{ \__codedoc_meta:n {#1} } }
\ExplSyntaxOff
+\newif\ifinterface
+\interfacetrue
\listfiles
diff --git a/l3kernel/doc/source3.tex b/l3kernel/doc/source3.tex
index ee6efdcc7..391b9804d 100644
--- a/l3kernel/doc/source3.tex
+++ b/l3kernel/doc/source3.tex
@@ -40,6 +40,10 @@ for those people who are interested.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[kernel]{l3doc}
+
+\newif\ifinterface
+\interfacefalse
+
\listfiles
\begin{document}
diff --git a/l3kernel/doc/source3body.tex b/l3kernel/doc/source3body.tex
index 3fc6cda92..696b17d62 100644
--- a/l3kernel/doc/source3body.tex
+++ b/l3kernel/doc/source3body.tex
@@ -44,8 +44,17 @@ for those people who are interested.
\setlength\parskip{\baselineskip}
\noindent
+\ifinterface
This is the reference documentation for the \pkg{expl3}
-programming environment. The \pkg{expl3} modules set up a
+programming environment; see the matching \pkg{source3} PDF
+for the typeset sources.
+\else
+This is the typset sources for the \pkg{expl3}
+programming environment; see the matching \pkg{interface3} PDF
+for the API reference manual.
+\else
+\fi
+The \pkg{expl3} modules set up a
naming scheme for \LaTeX{} commands, which allow the \LaTeX{} programmer
to systematically name functions and variables, and specify the argument
types of functions.
More information about the latex3-commits
mailing list.