Compare commits
No commits in common. "ff8d8136370e14bc1ce11dfa45a6df76cd1c14e1" and "7f39828d3f6bad6ee9974b865451d2173b97e653" have entirely different histories.
ff8d813637
...
7f39828d3f
|
@ -5,8 +5,3 @@
|
|||
### 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.
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# crossrefenum 2023/02/20 v1.0.2
|
||||
# crossrefenum 2023/02/20 v1.0.1
|
||||
|
||||
Smart typesetting of enumerated cross-references for various TeX formats.
|
||||
|
||||
Copyright (C) 2022-2023
|
||||
Copyright (C) 2022
|
||||
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-2023 by Bastien Dumont (bastien.dumont@posteo.net)
|
||||
Copyright 2022 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
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
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 \
|
||||
crossrefenum.pdf: crossrefenum.md ../CHANGELOG.md \
|
||||
TEMPLATE_crossrefenum.context fixes.lua
|
||||
pandoc -o crossrefenum.pdf --pdf-engine=context \
|
||||
--template=TEMPLATE_crossrefenum.context \
|
||||
-L fixes.lua \
|
||||
crossrefenum.md ../CHANGELOG.md
|
||||
|
|
|
@ -88,10 +88,6 @@ 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
|
||||
|
@ -116,7 +112,7 @@ $endif$
|
|||
$if(license)$
|
||||
\startlicensepagemakeup
|
||||
\inframed[frame=off, width=0.66\textwidth, align=normal]{%
|
||||
Copyright (C) 2022-2023 Bastien Dumont.
|
||||
Copyright (C) 2022 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;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "crossrefenum"
|
||||
subtitle: "Smart typesetting of enumerated cross-references for various TeX formats"
|
||||
author: Bastien Dumont
|
||||
date: 2023/02/20
|
||||
date: 2022/11/11
|
||||
lang: en-US
|
||||
toc: true
|
||||
license: true
|
||||
|
@ -230,9 +230,7 @@ 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”...).
|
||||
|
@ -253,11 +251,9 @@ 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{, }
|
||||
|
@ -267,7 +263,7 @@ if this feature were not already included in _crossrefenum_.
|
|||
\def\crfnmLinePrintPrefixInSecond{no}
|
||||
```
|
||||
|
||||
Adding support for additional formats is far less trivial,
|
||||
Adding support to yet unsupported 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.
|
||||
|
|
|
@ -18,11 +18,6 @@ check_files(){
|
|||
|
||||
check_files
|
||||
|
||||
cd doc
|
||||
make crossrefenum.pdf
|
||||
if [[ $? != 0 ]] ; then cd - ; exit 1 ; fi
|
||||
cd -
|
||||
|
||||
if [[ -a crossrefenum.zip ]] ; then rm crossrefenum.zip ; fi
|
||||
mkdir crossrefenum
|
||||
cd crossrefenum
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
\def\crfnmShortDesc{Smart typesetting of enumerated cross-references for various TeX formats}
|
||||
\def\crfnmAuthor{Bastien Dumont}
|
||||
\def\crfnmDate{2023/02/20}
|
||||
\def\crfnmVersion{1.0.2}
|
||||
\def\crfnmVersion{1.0.1}
|
||||
%
|
||||
% Copyright 2022-2023 by Bastien Dumont (bastien.dumont@posteo.net)
|
||||
% Copyright 2022 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user