aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-01-02 18:14:40 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-01-02 18:14:40 +0100
commit81cb7d5c9fbd21b5903d3f2879f30565e11d270a (patch)
treeaaea4c3e108d3d48cb1749adde1030c168e4ce2a
parent7513acbbdec16be2eea6bc6fa9d5490852a0616c (diff)
downloadarabluatex-81cb7d5c9fbd21b5903d3f2879f30565e11d270a.tar.gz
redefined \changes{} to have the minor versions sorted as they ought to
see http://tex.stackexchange.com/a/74113/7712
-rw-r--r--arabluatex.dtx16
1 files changed, 16 insertions, 0 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 17e6ed0..d7faeb9 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -245,6 +245,22 @@
245% Grave accent \` Left brace \{ Vertical bar \| 245% Grave accent \` Left brace \{ Vertical bar \|
246% Right brace \} Tilde \~} 246% Right brace \} Tilde \~}
247% 247%
248% \makeatletter
249% \let\org@changes@\changes@
250% \def\my@changes v#1.#2.#3\@nil{%
251% \org@changes@{v#1.\six@digits{#2}.#3=v#1.#2.#3}%
252% }%
253% \newcommand*{\six@digits}[1]{%
254% \ifnum#1<100000 0\fi
255% \ifnum#1<10000 0\fi
256% \ifnum#1<1000 0\fi
257% \ifnum#1<100 0\fi
258% \two@digits{#1}%
259% }%
260% \renewcommand*{\changes@}[1]{%
261% \my@changes#1.\@nil
262% }%
263% \makeatother
248% 264%
249% \changes{v1.0}{2016/03/29}{Initial release} 265% \changes{v1.0}{2016/03/29}{Initial release}
250% \changes{v1.0.1}{2016/03/31}{Minor update of the documentation} 266% \changes{v1.0.1}{2016/03/31}{Minor update of the documentation}