summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-21 20:51:28 +0000
committerKarl Berry <karl@freefriends.org>2023-02-21 20:51:28 +0000
commit37598affe1e8726e4d586b219457fdb85ca4b684 (patch)
treed12eef1dca565d9729915af80184d578b4cd0dbd /Master/texmf-dist/doc
parente7f95d56345db1b468b320e87d7591f04fa2778c (diff)
crossrefenum (21feb23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66032 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md5
-rw-r--r--Master/texmf-dist/doc/generic/crossrefenum/README.md6
-rw-r--r--Master/texmf-dist/doc/generic/crossrefenum/doc/Makefile9
-rw-r--r--Master/texmf-dist/doc/generic/crossrefenum/doc/TEMPLATE_crossrefenum.context6
-rw-r--r--Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.md12
-rw-r--r--Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.pdfbin188047 -> 214504 bytes
6 files changed, 27 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md b/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md
index 264537fd9e1..70ca26494aa 100644
--- a/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md
+++ b/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md
@@ -5,3 +5,8 @@
### 2023/02/20: Version 1.0.1
`\crossrefenum` is now protected against early expansion.
+
+### 2023/02/20: Version 1.0.2
+
+Fixed some minor issues in version numbers and in the manual.
+
diff --git a/Master/texmf-dist/doc/generic/crossrefenum/README.md b/Master/texmf-dist/doc/generic/crossrefenum/README.md
index 44f74cbcd93..fc699bfe962 100644
--- a/Master/texmf-dist/doc/generic/crossrefenum/README.md
+++ b/Master/texmf-dist/doc/generic/crossrefenum/README.md
@@ -1,8 +1,8 @@
-# crossrefenum 2023/02/20 v1.0.1
+# crossrefenum 2023/02/20 v1.0.2
Smart typesetting of enumerated cross-references for various TeX formats.
-Copyright (C) 2022
+Copyright (C) 2022-2023
by Bastien Dumont <bastien.dumont@posteo.net>
CTAN: `macros/generic/crossrefenum`
@@ -66,7 +66,7 @@ and put in it `crossrefenum.tex` and, if required,
## License
-Copyright 2022 by Bastien Dumont (bastien.dumont@posteo.net)
+Copyright 2022-2023 by Bastien Dumont (bastien.dumont@posteo.net)
crossrefenum.tex is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/Master/texmf-dist/doc/generic/crossrefenum/doc/Makefile b/Master/texmf-dist/doc/generic/crossrefenum/doc/Makefile
index 9d124db5364..31e2bc686f4 100644
--- a/Master/texmf-dist/doc/generic/crossrefenum/doc/Makefile
+++ b/Master/texmf-dist/doc/generic/crossrefenum/doc/Makefile
@@ -1,6 +1,9 @@
-crossrefenum.pdf: crossrefenum.md ../CHANGELOG.md \
- TEMPLATE_crossrefenum.context fixes.lua
- pandoc -o crossrefenum.pdf --pdf-engine=context \
+crossrefenum.pdf: crossrefenum-doc.tex
+ context $< && mv crossrefenum-doc.pdf $@
+
+crossrefenum-doc.tex: crossrefenum.md ../CHANGELOG.md \
+ TEMPLATE_crossrefenum.context fixes.lua
+ pandoc -s -o $@ -t context \
--template=TEMPLATE_crossrefenum.context \
-L fixes.lua \
crossrefenum.md ../CHANGELOG.md
diff --git a/Master/texmf-dist/doc/generic/crossrefenum/doc/TEMPLATE_crossrefenum.context b/Master/texmf-dist/doc/generic/crossrefenum/doc/TEMPLATE_crossrefenum.context
index c9995390898..27b15a0d85b 100644
--- a/Master/texmf-dist/doc/generic/crossrefenum/doc/TEMPLATE_crossrefenum.context
+++ b/Master/texmf-dist/doc/generic/crossrefenum/doc/TEMPLATE_crossrefenum.context
@@ -88,6 +88,10 @@ intent=ISO coated v2 300\letterpercent\space (ECI)]
\setuplist[subsection][margin=3em, width=3em]
\setuplist[subsubsection][margin=6em, width=4em]
+$if(highlighting-commands)$
+$highlighting-commands$
+$endif$
+
\starttext
\starttitlepagemakeup
@@ -112,7 +116,7 @@ $endif$
$if(license)$
\startlicensepagemakeup
\inframed[frame=off, width=0.66\textwidth, align=normal]{%
- Copyright (C) 2022 Bastien Dumont.
+ Copyright (C) 2022-2023 Bastien Dumont.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
diff --git a/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.md b/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.md
index a08821de290..13e5494695d 100644
--- a/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.md
+++ b/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.md
@@ -2,7 +2,7 @@
title: "crossrefenum"
subtitle: "Smart typesetting of enumerated cross-references for various TeX formats"
author: Bastien Dumont
-date: 2022/11/11
+date: 2023/02/20
lang: en-US
toc: true
license: true
@@ -230,7 +230,9 @@ if this feature were not already included in _crossrefenum_.
\crfnm@newListFrom[\crfnm@doubleRefTypes][\crfnm@pageline] -> \crfnm@doubleRefTypes
\crfnm@newListFrom[\crfnm@supportedTypes][\crfnm@line] -> \crfnm@supportedTypes
\crfnm@newListFrom[\crfnm@supportedTypes][\crfnm@pageline] -> \crfnm@supportedTypes
+```
+```{.tex}
%% For the double types, set the primary and the secondary type.
%% The primary type corresponds to the widest typographic unit
%% (“page” for “pagenote”, “section” for “sectionpage”...).
@@ -251,9 +253,11 @@ if this feature were not already included in _crossrefenum_.
% Define all specific configuration options in the regular way.
%% Required
-\def\crfnmLine{l. }
-\def\crfnmLines{ll.}
+\def\crfnmLine{l.~}
+\def\crfnmLines{ll.~}
+```
+```{.tex}
%% If it differs from the defaults.
\def\crfnmCollapsable{yes}
\def\crfnmLineBeforeLastInSecond{, }
@@ -263,7 +267,7 @@ if this feature were not already included in _crossrefenum_.
\def\crfnmLinePrintPrefixInSecond{no}
```
-Adding support to yet unsupported formats is far less trivial,
+Adding support for additional formats is far less trivial,
not least because most of them do not provide a straightforward way
to get reference numbers via purely expandable macros,
which is required for _crossrefenum_ to perform its calculations.
diff --git a/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.pdf b/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.pdf
index f2f7a9a7cd9..94387d3b920 100644
--- a/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.pdf
+++ b/Master/texmf-dist/doc/generic/crossrefenum/doc/crossrefenum.pdf
Binary files differ