Compare commits

..

No commits in common. "ff8d8136370e14bc1ce11dfa45a6df76cd1c14e1" and "7f39828d3f6bad6ee9974b865451d2173b97e653" have entirely different histories.

7 changed files with 13 additions and 34 deletions

View File

@ -5,8 +5,3 @@
### 2023/02/20: Version 1.0.1 ### 2023/02/20: Version 1.0.1
`\crossrefenum` is now protected against early expansion. `\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.

View File

@ -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. Smart typesetting of enumerated cross-references for various TeX formats.
Copyright (C) 2022-2023 Copyright (C) 2022
by Bastien Dumont <bastien.dumont@posteo.net> by Bastien Dumont <bastien.dumont@posteo.net>
CTAN: `macros/generic/crossrefenum` CTAN: `macros/generic/crossrefenum`
@ -66,7 +66,7 @@ and put in it `crossrefenum.tex` and, if required,
## License ## 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 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 it under the terms of the GNU General Public License as published by

View File

@ -1,9 +1,6 @@
crossrefenum.pdf: crossrefenum-doc.tex crossrefenum.pdf: crossrefenum.md ../CHANGELOG.md \
context $< && mv crossrefenum-doc.pdf $@
crossrefenum-doc.tex: crossrefenum.md ../CHANGELOG.md \
TEMPLATE_crossrefenum.context fixes.lua TEMPLATE_crossrefenum.context fixes.lua
pandoc -s -o $@ -t context \ pandoc -o crossrefenum.pdf --pdf-engine=context \
--template=TEMPLATE_crossrefenum.context \ --template=TEMPLATE_crossrefenum.context \
-L fixes.lua \ -L fixes.lua \
crossrefenum.md ../CHANGELOG.md crossrefenum.md ../CHANGELOG.md

View File

@ -88,10 +88,6 @@ intent=ISO coated v2 300\letterpercent\space (ECI)]
\setuplist[subsection][margin=3em, width=3em] \setuplist[subsection][margin=3em, width=3em]
\setuplist[subsubsection][margin=6em, width=4em] \setuplist[subsubsection][margin=6em, width=4em]
$if(highlighting-commands)$
$highlighting-commands$
$endif$
\starttext \starttext
\starttitlepagemakeup \starttitlepagemakeup
@ -116,7 +112,7 @@ $endif$
$if(license)$ $if(license)$
\startlicensepagemakeup \startlicensepagemakeup
\inframed[frame=off, width=0.66\textwidth, align=normal]{% \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 Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation; or any later version published by the Free Software Foundation;

View File

@ -2,7 +2,7 @@
title: "crossrefenum" title: "crossrefenum"
subtitle: "Smart typesetting of enumerated cross-references for various TeX formats" subtitle: "Smart typesetting of enumerated cross-references for various TeX formats"
author: Bastien Dumont author: Bastien Dumont
date: 2023/02/20 date: 2022/11/11
lang: en-US lang: en-US
toc: true toc: true
license: 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@doubleRefTypes][\crfnm@pageline] -> \crfnm@doubleRefTypes
\crfnm@newListFrom[\crfnm@supportedTypes][\crfnm@line] -> \crfnm@supportedTypes \crfnm@newListFrom[\crfnm@supportedTypes][\crfnm@line] -> \crfnm@supportedTypes
\crfnm@newListFrom[\crfnm@supportedTypes][\crfnm@pageline] -> \crfnm@supportedTypes \crfnm@newListFrom[\crfnm@supportedTypes][\crfnm@pageline] -> \crfnm@supportedTypes
```
```{.tex}
%% For the double types, set the primary and the secondary type. %% For the double types, set the primary and the secondary type.
%% The primary type corresponds to the widest typographic unit %% The primary type corresponds to the widest typographic unit
%% (“page” for “pagenote”, “section” for “sectionpage”...). %% (“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. % Define all specific configuration options in the regular way.
%% Required %% Required
\def\crfnmLine{l.~} \def\crfnmLine{l. }
\def\crfnmLines{ll.~} \def\crfnmLines{ll.}
```
```{.tex}
%% If it differs from the defaults. %% If it differs from the defaults.
\def\crfnmCollapsable{yes} \def\crfnmCollapsable{yes}
\def\crfnmLineBeforeLastInSecond{, } \def\crfnmLineBeforeLastInSecond{, }
@ -267,7 +263,7 @@ if this feature were not already included in _crossrefenum_.
\def\crfnmLinePrintPrefixInSecond{no} \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 not least because most of them do not provide a straightforward way
to get reference numbers via purely expandable macros, to get reference numbers via purely expandable macros,
which is required for _crossrefenum_ to perform its calculations. which is required for _crossrefenum_ to perform its calculations.

View File

@ -18,11 +18,6 @@ check_files(){
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 if [[ -a crossrefenum.zip ]] ; then rm crossrefenum.zip ; fi
mkdir crossrefenum mkdir crossrefenum
cd crossrefenum cd crossrefenum

View File

@ -3,9 +3,9 @@
\def\crfnmShortDesc{Smart typesetting of enumerated cross-references for various TeX formats} \def\crfnmShortDesc{Smart typesetting of enumerated cross-references for various TeX formats}
\def\crfnmAuthor{Bastien Dumont} \def\crfnmAuthor{Bastien Dumont}
\def\crfnmDate{2023/02/20} \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 % 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 % it under the terms of the GNU General Public License as published by