summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-06-01 03:03:08 +0000
committerNorbert Preining <norbert@preining.info>2024-06-01 03:03:08 +0000
commitc4af6b71665be2eeee42e63d081e50debde63162 (patch)
tree0aa23000bc666f291ea28f46e96855bd7fc33bf2 /support
parenta8defee70e0584a8e7dffa017ae41d58fd45996e (diff)
CTAN sync 202406010303
Diffstat (limited to 'support')
-rw-r--r--support/latex-git-log/README.md22
-rw-r--r--support/latex-git-log/example-output.tex217
-rw-r--r--support/latex-git-log/example.pdfbin77887 -> 51051 bytes
-rw-r--r--support/latex-git-log/example.tex40
-rwxr-xr-xsupport/latex-git-log/latex-git-log81
-rw-r--r--support/latex-git-log/po/de.po8
6 files changed, 272 insertions, 96 deletions
diff --git a/support/latex-git-log/README.md b/support/latex-git-log/README.md
index f3d5f15f2c..c186186418 100644
--- a/support/latex-git-log/README.md
+++ b/support/latex-git-log/README.md
@@ -1,7 +1,15 @@
+<!--
+SPDX-FileCopyrightText: 2013,2020,2024 Robin Schneider <ypid@riseup.net>
+
+SPDX-License-Identifier: GPL-3.0-or-later
+-->
+
# latex-git-log
This program will output the entire version history as table written in LaTeX
if it is executed within a git repository.
+When file argument(s) are given, only the history that changed these file(s)
+will be output.
It is intended that you redirect the standard output of this script to a file which can then be included from your main LaTeX document.
@@ -12,7 +20,7 @@ landscape page.
### Of this script
-This module requires these other modules and libraries:
+This script requires the following Perl modules:
IPC::System::Simple
Locale::Maketext::Simple
@@ -25,27 +33,25 @@ The table is using the *longtable* package and the links to a web resource for
each commit use the `\href` macro from *hyperref*. So these two packages have
to be loaded.
-Furthermore you need to defined the macro `\longtableendfoot` which will be
+Furthermore you need to define the macro `\longtableendfoot` which will be
expanded on the bottom of every page if the table will be continued on the next
page. You can defined it to a localized message to inform the reader that this
table is not complete and will be continued.
## License and development
-Copyright (C) 2012-2013,2017,2019-2020 Robin Schneider <ypid@riseup.net> <br/>
-SPDX-License-Identifier: GPL-3.0-or-later <br/>
+License: GPL-3.0-or-later <br/>
CTAN: https://ctan.org/pkg/latex-git-log <br/>
Source code repository: https://github.com/ypid/typesetting/tree/master/scripts/latex-git-log <br/>
Please report bugs and feature requests at https://github.com/ypid/typesetting/issues
## Usage
- latex-git-log [options]
+ latex-git-log [options] [file] ...
Options:
--author set this if you want the author included
- --startcommit set the start value of count commit
--width set the width in cm of the commit message field in the LaTeX table
--git-c-add set an base URL to link to a commit
--user set a github user to derive the base URL
@@ -80,3 +86,7 @@ Please report bugs and feature requests at https://github.com/ypid/typesetting/i
need a translation to another language then you can either
create a .po file or I can register this project on one of those
websites for online translation.
+
+## Bugs and limitations
+
+* The translation features does not seem to work. So this script is unable to output German. English works.
diff --git a/support/latex-git-log/example-output.tex b/support/latex-git-log/example-output.tex
index da2c199b5c..f8a396e651 100644
--- a/support/latex-git-log/example-output.tex
+++ b/support/latex-git-log/example-output.tex
@@ -1,9 +1,13 @@
-%% This file was generated by the script latex-git-log
-%% Base git commit URL: https://github.com/ypid/typesetting/commit
+% SPDX-FileCopyrightText: 2024 Robin Schneider <ypid@riseup.net>
+%
+% SPDX-License-Identifier: CC0-1.0 OR MIT
+
+% This file was generated by the script latex-git-log.
+% Base git commit URL: https://github.com/ypid/typesetting/commit
\begin{tabular}{lp{12cm}}
\label{tabular:legend:git-log}
\textbf{acronym} & \textbf{meaning} \\
- V & \texttt{version} \\
+ H & \texttt{commit hash} \\
tag & \texttt{git tag} \\
MF & Number of \texttt{modified files}. \\
AL & Number of \texttt{added lines}. \\
@@ -12,9 +16,8 @@
\bigskip
-\iflanguage{ngerman}{\shorthandoff{"}}{}
-\begin{longtable}{|rllp{13cm}rrr|}
-\hline \multicolumn{1}{|c}{\textbf{V}} & \multicolumn{1}{c}{\textbf{tag}}
+\begin{longtable}{|rllp{12cm}rrr|}
+\hline \multicolumn{1}{|c}{\textbf{H}} & \multicolumn{1}{c}{\textbf{tag}}
& \multicolumn{1}{c}{\textbf{date}}
& \multicolumn{1}{c}{\textbf{commit message}} & \multicolumn{1}{c}{\textbf{MF}}
& \multicolumn{1}{c}{\textbf{AL}} & \multicolumn{1}{c|}{\textbf{DL}} \\ \hline
@@ -26,45 +29,165 @@
\hline% \hline
\endlastfoot
-\hline 1 & & 2012-08-18 & \href{https://github.com/ypid/typesetting/commit/3ff663fcfbc56662426740cf6bab2a840e320db6}{added template.dtx from http://texhacks.blogspot.de/2011/01/simpler-dtx-template.html} & 2 & 127 & 0 \\
-\hline 2 & & 2012-08-19 & \href{https://github.com/ypid/typesetting/commit/e9fc9a2847fe14067bb3ec8d4e4298ff8806f11f}{made my first changes on the docstrip template} & 2 & 40 & 48 \\
-\hline 3 & & 2012-08-19 & \href{https://github.com/ypid/typesetting/commit/cbc7bbcdda54f7b43f2039531d2a4f58c35f8964}{optimized} & 1 & 5 & 4 \\
-\hline 4 & & 2012-08-22 & \href{https://github.com/ypid/typesetting/commit/55d994c391c509897dd56a6a755c51a1e62bd4d4}{optimized} & 2 & 119 & 115 \\
-\hline 5 & & 2012-08-23 & \href{https://github.com/ypid/typesetting/commit/933466b223d70adeda6a865b4b13b4cdfa245070}{added my primary template} & 6 & 252 & 6 \\
-\hline 6 & & 2012-08-23 & \href{https://github.com/ypid/typesetting/commit/5995d70f82b680d3a529aa592558dcdde6f407b7}{added PDFs} & 2 & 0 & 0 \\
-\hline 7 & & 2012-08-23 & \href{https://github.com/ypid/typesetting/commit/7e1efb265b43fb9aad3fa94b22408951076016f3}{added README (Credits)} & 1 & 1 & 0 \\
-\hline 8 & & 2012-08-26 & \href{https://github.com/ypid/typesetting/commit/619a7f6db915bc1e05d0c9ee374aaff53195b257}{converted template.dtx and template.ins to a template for sty2dtx} & 7 & 49 & 62 \\
-\hline 9 & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/06f948149a3b0bd2c81062078add19af6bb1ac5d}{optimized} & 6 & 48 & 22 \\
-\hline 10 & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/09316b528dc90f45fa4ef6cf9cf5886c4e25c5bb}{added scripts} & 6 & 222 & 0 \\
-\hline 11 & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/4c434dcd45aa4a73112b1393d096776eaa938b83}{added README for scripts} & 1 & 10 & 0 \\
-\hline 12 & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/794a3db5bd4f0165a347f0628c78f32350731b2a}{optimized scripts} & 4 & 9 & 6 \\
-\hline 13 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/7c80a541828c3e7896c7f55c8b56d745b84a5414}{added MyPackages} & 22 & 1162 & 2 \\
-\hline 14 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/b408bc9fa5f91ff5a7687fc4903d520ab09a288d}{added my Makefile} & 5 & 106 & 0 \\
-\hline 15 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/d86bd28e3f0d0e14d7eb239eb6ad9afab2da47c0}{added more scripts} & 4 & 1465 & 0 \\
-\hline 16 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/ab0554ce8d44852a76b7ad0246e04268b8347acb}{optimized} & 5 & 4 & 1459 \\
-\hline 17 & & 2012-08-31 & \href{https://github.com/ypid/typesetting/commit/75a5b9d653b2798a9cb8f10535f50abf98e94cd2}{optimized} & 7 & 52 & 31 \\
-\hline 18 & & 2012-09-09 & \href{https://github.com/ypid/typesetting/commit/2a99a061ae89f5bd6bd6ace4aac66ad9a768b0fc}{optimized} & 4 & 23 & 10 \\
-\hline 19 & & 2012-09-16 & \href{https://github.com/ypid/typesetting/commit/c2463e8229fbc506a70b4efb157679ecf3aae795}{optimized} & 6 & 10 & 7 \\
-\hline 20 & & 2012-09-23 & \href{https://github.com/ypid/typesetting/commit/1b6cb46337c516e3042d94956e7bf4f097822a47}{added more packages} & 9 & 491 & 12 \\
-\hline 21 & & 2012-09-23 & \href{https://github.com/ypid/typesetting/commit/92a41f208a275b6fcdfe9c442be8c135ec0d1c92}{added school templates} & 25 & 502 & 25 \\
-\hline 22 & & 2012-09-30 & \href{https://github.com/ypid/typesetting/commit/32e21641dff2ffd9fecfe33b93def53d6a305963}{added more templates} & 20 & 537 & 4 \\
-\hline 23 & & 2012-11-03 & \href{https://github.com/ypid/typesetting/commit/2309fa9dd41d0acaf74d6de66976f7ae6f1e7c6b}{rewrote LaTeX-git-log as perl script} & 2 & 63 & 61 \\
-\hline 24 & & 2012-11-03 & \href{https://github.com/ypid/typesetting/commit/773e5b801cfd2ad9a2af8c9d379dd0e2f9afd3cf}{optimized} & 2 & 5 & 4 \\
-\hline 25 & & 2012-11-28 & \href{https://github.com/ypid/typesetting/commit/4ffc0488959ada2a97ba50d5a7db1390afce4a26}{added more templates and optimized} & 12 & 141 & 3 \\
-\hline 26 & & 2013-04-04 & \href{https://github.com/ypid/typesetting/commit/dc3b091e5e8d68daa1c4b73ab96e7bc201a6ed08}{Updated templates.} & 17 & 92 & 55 \\
-\hline 27 & & 2013-04-04 & \href{https://github.com/ypid/typesetting/commit/457664094f33618c62348fe5a9798cc98117bcad}{Added macro for showing the github URL and optimized.} & 8 & 26 & 38 \\
-\hline 28 & & 2013-04-04 & \href{https://github.com/ypid/typesetting/commit/71547c919a2b36548e65320be8ce0d318b473523}{Optimized} & 3 & 36 & 0 \\
-\hline 29 & & 2013-04-20 & \href{https://github.com/ypid/typesetting/commit/3681cf7bc6d18878ca03af4009bdfc9e8835dbcd}{Optimized.} & 5 & 40 & 12 \\
-\hline 30 & & 2013-04-20 & \href{https://github.com/ypid/typesetting/commit/c0ef81a414620007d6f39fa95e59888045fa5cf0}{Optimized.} & 12 & 67 & 22 \\
-\hline 31 & & 2013-04-21 & \href{https://github.com/ypid/typesetting/commit/782b0e0e51773b02cf909600444da892c890b926}{Optimized.} & 4 & 30 & 13 \\
-\hline 32 & & 2013-05-22 & \href{https://github.com/ypid/typesetting/commit/f3048459117aa782b32324bd08ce77bfde325a62}{Optimized (mainly LaTeX-git-wdiff).} & 9 & 229 & 78 \\
-\hline 33 & & 2013-06-15 & \href{https://github.com/ypid/typesetting/commit/c5c45122518ad0e6cf9712dc248b26fd3eea4cf0}{Optimized.} & 3 & 15 & 12 \\
-\hline 34 & v1.0 & 2013-06-15 & \href{https://github.com/ypid/typesetting/commit/af3d63d88a8e37c45c4dc7c8b54ee55091f7ea80}{Made latex-git-log ready for CTAN.} & 6 & 482 & 199 \\
-\hline 35 & & 2013-06-15 & \href{https://github.com/ypid/typesetting/commit/489927feca92be10ddb5bde1b8fb11dae6b37bbb}{Optimized latex-git-log.} & 6 & 12 & 15 \\
-\hline 36 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/6d0ff0a6ae2baba715704f7dea23ebb0ac9ddc02}{Optimized.} & 3 & 106 & 79 \\
-\hline 37 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/ff9d61b343971ca964ca5e2708253abe3dad4dab}{Fixed layout.} & 1 & 9 & 5 \\
-\hline 38 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/2c128bf3eb4d734a11f3e7ebfdc93c01eafbd6f4}{Taking care about special charters in the commit message.} & 2 & 48 & 10 \\
-\hline 39 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/7b1683a671fe687ca58f895564341ee4c82a7f7d}{Fixed problem with escaped $\backslash$href.} & 1 & 10 & 3 \\
-\hline 40 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/6b25666f78ff276bbe161a0a7b659ad0c836aa22}{Made the script prettier with perltidy.} & 1 & 33 & 25 \\
-\hline 41 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/38698ff91b2253abddacd135e332d9ace5127122}{Also escape the author field.} & 3 & 10 & 10 \\
+\hline 3ff663f & & 2012-08-18 & \href{https://github.com/ypid/typesetting/commit/3ff663fcfbc56662426740cf6bab2a840e320db6}{added template.dtx from http://texhacks.blogspot.de/2011/01/simpler-dtx-template.html} & 2 & 127 & 0 \\
+\hline e9fc9a2 & & 2012-08-19 & \href{https://github.com/ypid/typesetting/commit/e9fc9a2847fe14067bb3ec8d4e4298ff8806f11f}{made my first changes on the docstrip template} & 2 & 40 & 48 \\
+\hline cbc7bbc & & 2012-08-19 & \href{https://github.com/ypid/typesetting/commit/cbc7bbcdda54f7b43f2039531d2a4f58c35f8964}{optimized} & 1 & 5 & 4 \\
+\hline 55d994c & & 2012-08-22 & \href{https://github.com/ypid/typesetting/commit/55d994c391c509897dd56a6a755c51a1e62bd4d4}{optimized} & 1 & 17 & 13 \\
+\hline 933466b & & 2012-08-23 & \href{https://github.com/ypid/typesetting/commit/933466b223d70adeda6a865b4b13b4cdfa245070}{added my primary template} & 6 & 252 & 6 \\
+\hline 5995d70 & & 2012-08-23 & \href{https://github.com/ypid/typesetting/commit/5995d70f82b680d3a529aa592558dcdde6f407b7}{added PDFs} & 2 & 0 & 0 \\
+\hline 7e1efb2 & & 2012-08-23 & \href{https://github.com/ypid/typesetting/commit/7e1efb265b43fb9aad3fa94b22408951076016f3}{added README (Credits)} & 1 & 1 & 0 \\
+\hline 619a7f6 & & 2012-08-26 & \href{https://github.com/ypid/typesetting/commit/619a7f6db915bc1e05d0c9ee374aaff53195b257}{converted template.dtx and template.ins to a template for sty2dtx} & 7 & 49 & 62 \\
+\hline 06f9481 & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/06f948149a3b0bd2c81062078add19af6bb1ac5d}{optimized} & 6 & 48 & 22 \\
+\hline 09316b5 & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/09316b528dc90f45fa4ef6cf9cf5886c4e25c5bb}{added scripts} & 6 & 222 & 0 \\
+\hline 4c434dc & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/4c434dcd45aa4a73112b1393d096776eaa938b83}{added README for scripts} & 1 & 10 & 0 \\
+\hline 794a3db & & 2012-08-27 & \href{https://github.com/ypid/typesetting/commit/794a3db5bd4f0165a347f0628c78f32350731b2a}{optimized scripts} & 4 & 9 & 6 \\
+\hline 7c80a54 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/7c80a541828c3e7896c7f55c8b56d745b84a5414}{added MyPackages} & 22 & 1162 & 2 \\
+\hline b408bc9 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/b408bc9fa5f91ff5a7687fc4903d520ab09a288d}{added my Makefile} & 5 & 106 & 0 \\
+\hline d86bd28 & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/d86bd28e3f0d0e14d7eb239eb6ad9afab2da47c0}{added more scripts} & 4 & 1465 & 0 \\
+\hline ab0554c & & 2012-08-28 & \href{https://github.com/ypid/typesetting/commit/ab0554ce8d44852a76b7ad0246e04268b8347acb}{optimized} & 5 & 4 & 1459 \\
+\hline 75a5b9d & & 2012-08-31 & \href{https://github.com/ypid/typesetting/commit/75a5b9d653b2798a9cb8f10535f50abf98e94cd2}{optimized} & 7 & 52 & 31 \\
+\hline 2a99a06 & & 2012-09-09 & \href{https://github.com/ypid/typesetting/commit/2a99a061ae89f5bd6bd6ace4aac66ad9a768b0fc}{optimized} & 4 & 23 & 10 \\
+\hline c2463e8 & & 2012-09-16 & \href{https://github.com/ypid/typesetting/commit/c2463e8229fbc506a70b4efb157679ecf3aae795}{optimized} & 6 & 10 & 7 \\
+\hline 1b6cb46 & & 2012-09-23 & \href{https://github.com/ypid/typesetting/commit/1b6cb46337c516e3042d94956e7bf4f097822a47}{added more packages} & 9 & 491 & 12 \\
+\hline 92a41f2 & & 2012-09-23 & \href{https://github.com/ypid/typesetting/commit/92a41f208a275b6fcdfe9c442be8c135ec0d1c92}{added school templates} & 25 & 502 & 25 \\
+\hline 32e2164 & & 2012-09-30 & \href{https://github.com/ypid/typesetting/commit/32e21641dff2ffd9fecfe33b93def53d6a305963}{added more templates} & 20 & 537 & 4 \\
+\hline 2309fa9 & & 2012-11-03 & \href{https://github.com/ypid/typesetting/commit/2309fa9dd41d0acaf74d6de66976f7ae6f1e7c6b}{rewrote LaTeX-git-log as perl script} & 2 & 63 & 61 \\
+\hline 773e5b8 & & 2012-11-03 & \href{https://github.com/ypid/typesetting/commit/773e5b801cfd2ad9a2af8c9d379dd0e2f9afd3cf}{optimized} & 2 & 5 & 4 \\
+\hline 4ffc048 & & 2012-11-28 & \href{https://github.com/ypid/typesetting/commit/4ffc0488959ada2a97ba50d5a7db1390afce4a26}{added more templates and optimized} & 12 & 141 & 3 \\
+\hline dc3b091 & & 2013-04-04 & \href{https://github.com/ypid/typesetting/commit/dc3b091e5e8d68daa1c4b73ab96e7bc201a6ed08}{Updated templates.} & 17 & 92 & 55 \\
+\hline 4576640 & & 2013-04-04 & \href{https://github.com/ypid/typesetting/commit/457664094f33618c62348fe5a9798cc98117bcad}{Added macro for showing the github URL and optimized.} & 8 & 26 & 38 \\
+\hline 71547c9 & & 2013-04-04 & \href{https://github.com/ypid/typesetting/commit/71547c919a2b36548e65320be8ce0d318b473523}{Optimized} & 3 & 36 & 0 \\
+\hline 3681cf7 & & 2013-04-20 & \href{https://github.com/ypid/typesetting/commit/3681cf7bc6d18878ca03af4009bdfc9e8835dbcd}{Optimized.} & 5 & 40 & 12 \\
+\hline c0ef81a & & 2013-04-20 & \href{https://github.com/ypid/typesetting/commit/c0ef81a414620007d6f39fa95e59888045fa5cf0}{Optimized.} & 12 & 67 & 22 \\
+\hline 782b0e0 & & 2013-04-21 & \href{https://github.com/ypid/typesetting/commit/782b0e0e51773b02cf909600444da892c890b926}{Optimized.} & 4 & 30 & 13 \\
+\hline f304845 & & 2013-05-22 & \href{https://github.com/ypid/typesetting/commit/f3048459117aa782b32324bd08ce77bfde325a62}{Optimized (mainly LaTeX-git-wdiff).} & 8 & 205 & 54 \\
+\hline c5c4512 & & 2013-06-15 & \href{https://github.com/ypid/typesetting/commit/c5c45122518ad0e6cf9712dc248b26fd3eea4cf0}{Optimized.} & 3 & 15 & 12 \\
+\hline af3d63d & v1.0 & 2013-06-15 & \href{https://github.com/ypid/typesetting/commit/af3d63d88a8e37c45c4dc7c8b54ee55091f7ea80}{Made latex-git-log ready for CTAN.} & 6 & 482 & 199 \\
+\hline 489927f & & 2013-06-15 & \href{https://github.com/ypid/typesetting/commit/489927feca92be10ddb5bde1b8fb11dae6b37bbb}{Optimized latex-git-log.} & 6 & 12 & 15 \\
+\hline 6d0ff0a & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/6d0ff0a6ae2baba715704f7dea23ebb0ac9ddc02}{Optimized.} & 2 & 53 & 26 \\
+\hline ff9d61b & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/ff9d61b343971ca964ca5e2708253abe3dad4dab}{Fixed layout.} & 1 & 9 & 5 \\
+\hline 2c128bf & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/2c128bf3eb4d734a11f3e7ebfdc93c01eafbd6f4}{Taking care about special charters in the commit message.} & 2 & 48 & 10 \\
+\hline 7b1683a & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/7b1683a671fe687ca58f895564341ee4c82a7f7d}{Fixed problem with escaped $\backslash$href.} & 1 & 10 & 3 \\
+\hline 6b25666 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/6b25666f78ff276bbe161a0a7b659ad0c836aa22}{Made the script prettier with perltidy.} & 1 & 33 & 25 \\
+\hline 38698ff & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/38698ff91b2253abddacd135e332d9ace5127122}{Also escape the author field.} & 3 & 10 & 10 \\
+\hline 92a1348 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/92a13483f1d72b15b80a80a0353edaac344d09a2}{Fixed translation and problem with --author.} & 4 & 33 & 17 \\
+\hline 971d92b & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/971d92bd25176270a817fe106010ef7f2db6a4f5}{Fixed spelling.} & 3 & 16 & 15 \\
+\hline 997c10c & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/997c10ca34da6d579ecbc3f6cbeeec2898cb8b17}{Updated README.} & 1 & 3 & 6 \\
+\hline dae8299 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/dae82997bac80dc9a205e901159cc4ed38678bc1}{Updated README.} & 2 & 8 & 2 \\
+\hline 2c6c975 & & 2013-06-16 & \href{https://github.com/ypid/typesetting/commit/2c6c975b9b4e570155127fffad9d09d819e286b2}{Updated README.} & 1 & 1 & 1 \\
+\hline b452ef3 & & 2013-06-18 & \href{https://github.com/ypid/typesetting/commit/b452ef377e4254584ebd70cf0575a86de75ddd15}{Fixed typo.} & 2 & 2 & 2 \\
+\hline 812516f & & 2013-06-23 & \href{https://github.com/ypid/typesetting/commit/812516f2d3679c80df731968d0ad048e70ecd287}{Optimized MyPackages.} & 5 & 157 & 123 \\
+\hline 28d6d14 & & 2013-06-23 & \href{https://github.com/ypid/typesetting/commit/28d6d149c978a37614a1c3a85e6bb185d9831366}{Enhanced.} & 27 & 176 & 252 \\
+\hline 86c9ef8 & & 2013-06-24 & \href{https://github.com/ypid/typesetting/commit/86c9ef8898b858504417b0ce600eddad4ddcf07a}{Optimized. Now using minted for listings ;)} & 2 & 91 & 9 \\
+\hline 07dd7bc & & 2013-06-29 & \href{https://github.com/ypid/typesetting/commit/07dd7bc664fcf781261f3acb8227e9f65ab07ff4}{Optimized.} & 18 & 49 & 45 \\
+\hline 78e5eb9 & & 2013-07-01 & \href{https://github.com/ypid/typesetting/commit/78e5eb9e5e65efac6f37c887c668a7af5cca1789}{Enhanced.} & 10 & 97 & 78 \\
+\hline d434467 & & 2014-03-04 & \href{https://github.com/ypid/typesetting/commit/d43446790b1f599b4b9603ea6a35ef38c6d89a46}{Committed changes.} & 10 & 50 & 42 \\
+\hline 2c282ba & & 2014-03-24 & \href{https://github.com/ypid/typesetting/commit/2c282badd9181e22bf87d5d7bd1c62b9f340e988}{Optimized.} & 6 & 18 & 9 \\
+\hline 23bcb81 & & 2014-05-14 & \href{https://github.com/ypid/typesetting/commit/23bcb81711a102774651e7a29d19e57a7eeee7b9}{Optimized.} & 4 & 20 & 19 \\
+\hline 0a23f56 & & 2014-05-14 & \href{https://github.com/ypid/typesetting/commit/0a23f5635d4abba9b2aaa85813b25cda3dd2fd09}{Use $\backslash$listoflistings … ($\backslash$lstlistoflistings locks wired in my setting)} & 5 & 21 & 21 \\
+\hline 3c24da4 & & 2014-05-22 & \href{https://github.com/ypid/typesetting/commit/3c24da481eddd7217f5a4a54ac182a32cd37bcd4}{Added testing code for macros …} & 8 & 60 & 40 \\
+\hline eaff441 & & 2014-06-03 & \href{https://github.com/ypid/typesetting/commit/eaff44162c1027cb579a4bf3c894ebb0cc949e81}{Optimized. Fixes git hooks.} & 2 & 3 & 1 \\
+\hline e4d004f & & 2015-02-05 & \href{https://github.com/ypid/typesetting/commit/e4d004f8e12657918d8078299f68e77d71476803}{Enhanced my LaTeX bundles and added support for LuaLaTeX.} & 14 & 214 & 188 \\
+\hline 48bf054 & & 2015-02-06 & \href{https://github.com/ypid/typesetting/commit/48bf054fb8aa82ae9acae2b104e1343e544254a9}{Set new email address.} & 30 & 108 & 109 \\
+\hline f7f1f3c & & 2015-02-06 & \href{https://github.com/ypid/typesetting/commit/f7f1f3cfd3ddee1c55167e7265a70a923a4ab64b}{Enhanced LuaLaTeX compatibility.} & 7 & 35 & 11 \\
+\hline 5017aa0 & & 2015-02-06 & \href{https://github.com/ypid/typesetting/commit/5017aa052d3e93b58b4da31cbcee32f73ea3ea2e}{Fixed up my packages and the Epochenheft template.} & 19 & 173 & 250 \\
+\hline 9b0a20b & & 2015-02-06 & \href{https://github.com/ypid/typesetting/commit/9b0a20b9e00535e507da3acfca7efd75fd508a7f}{Fixed hook.} & 1 & 1 & 1 \\
+\hline 1d1cc01 & & 2015-02-07 & \href{https://github.com/ypid/typesetting/commit/1d1cc0109eb2f1eed704ac6bdaa5c4dfa15e2c8a}{Fixed up template and packages. Added the package authorRS.} & 15 & 77 & 21 \\
+\hline 8525167 & & 2015-02-07 & \href{https://github.com/ypid/typesetting/commit/85251679b1f39bf874649307db1e2f8dcd671747}{Fixed up packages. Use native $\backslash$subject command.} & 4 & 25 & 8 \\
+\hline df826ed & & 2015-02-07 & \href{https://github.com/ypid/typesetting/commit/df826ed8d0c0341dbcc02c17876fc225811bdd6c}{Fixed up acro for LuaLaTeX.} & 4 & 32 & 1 \\
+\hline 4699c6f & & 2015-02-07 & \href{https://github.com/ypid/typesetting/commit/4699c6f84612f410119e64e67b56960ed0dac977}{Fixed up packages.} & 12 & 68 & 33 \\
+\hline cb4e89e & & 2015-02-11 & \href{https://github.com/ypid/typesetting/commit/cb4e89e28145dff637a9af13e726c0bb8b11440a}{Optimized for final document.} & 8 & 58 & 5 \\
+\hline 5d61a8f & & 2015-02-11 & \href{https://github.com/ypid/typesetting/commit/5d61a8fc1bf1a3193dc03b442293299ef9f50ced}{Optimized.} & 3 & 18 & 2 \\
+\hline 8fb9e99 & & 2015-02-11 & \href{https://github.com/ypid/typesetting/commit/8fb9e9912fdb76c11651516d2d17cfec6be68cb7}{Merge branch 'luaLaTeX'.} & - & - & - \\
+\hline f352a8f & & 2015-02-11 & \href{https://github.com/ypid/typesetting/commit/f352a8fe35c4a93a3d239b5dd755d3335957e9c4}{Optimized.} & 9 & 112 & 85 \\
+\hline a6429ca & & 2015-02-11 & \href{https://github.com/ypid/typesetting/commit/a6429ca856fcdfa010861001b80528333de16cba}{Enabled hooks for this repo.} & 1 & 1 & 0 \\
+\hline 1d398ca & & 2015-02-11 & \href{https://github.com/ypid/typesetting/commit/1d398cac05aa7c0be07139b30e8549c0bfb75544}{Added README.md.} & 3 & 4 & 1 \\
+\hline fcecad4 & & 2015-02-13 & \href{https://github.com/ypid/typesetting/commit/fcecad42d65fad16e7d86a6f1b94ff94d58d0ee5}{Optimized.} & 10 & 73 & 31 \\
+\hline 60ed275 & & 2015-02-28 & \href{https://github.com/ypid/typesetting/commit/60ed275b248d08ba1f5158552db2b31b4ccaf68b}{Optimized typography based on LaTeX für Studierende und Wissenschaftler.} & 12 & 121 & 32 \\
+\hline 848c689 & & 2015-02-28 & \href{https://github.com/ypid/typesetting/commit/848c689cdb6d1a19933e3d5c348cfd3090bae747}{Fixed encoding of Unicode in PDF bookmarks.} & 4 & 2 & 7 \\
+\hline 0fdd501 & & 2015-02-28 & \href{https://github.com/ypid/typesetting/commit/0fdd50162acc66341e9e89291b247f0e37516cec}{Optimized.} & 16 & 151 & 72 \\
+\hline 343d887 & & 2015-02-28 & \href{https://github.com/ypid/typesetting/commit/343d8873e5ebe25449548f69aee587e07aed151d}{Fixed up letter template.} & 8 & 43 & 15 \\
+\hline 889175a & & 2015-03-05 & \href{https://github.com/ypid/typesetting/commit/889175a7db49b5d43a20c212a90e5aadec5f953b}{Optimized packages.} & 4 & 19 & 13 \\
+\hline 087ec11 & & 2015-03-25 & \href{https://github.com/ypid/typesetting/commit/087ec11ee218690b9a73face011878e811263377}{Optimized for moderncv.} & 12 & 131 & 116 \\
+\hline e9eaaa5 & & 2015-04-05 & \href{https://github.com/ypid/typesetting/commit/e9eaaa5736d2e4020d670d3b860cb9968a0f2fba}{Fixed English language code.} & 2 & 6 & 2 \\
+\hline 753afd6 & & 2015-04-08 & \href{https://github.com/ypid/typesetting/commit/753afd6bb0f28c70b5f12c017814371ccb728272}{Use ((( ))) as fold marker.} & 1 & 8 & 8 \\
+\hline c0247ea & & 2015-04-08 & \href{https://github.com/ypid/typesetting/commit/c0247ea085a45a9ae2ed56ecaadc81355632db5e}{Hyperref should be loaded after most packages. But hyperxmp should be loaded after.} & 1 & 3 & 1 \\
+\hline d6f3e50 & & 2015-05-16 & \href{https://github.com/ypid/typesetting/commit/d6f3e50f0c134e42fa994d5544f6580d33c7c1c8}{Optimized.} & 3 & 7 & 2 \\
+\hline 535c7de & & 2015-05-20 & \href{https://github.com/ypid/typesetting/commit/535c7dec92682c4eadcaee1340b0fdec28d39a28}{Added acronymRS removed ctr files and optimized literature and others.} & 27 & 455 & 123 \\
+\hline 4c92122 & & 2015-05-24 & \href{https://github.com/ypid/typesetting/commit/4c92122decb454e876e1791b3ae1e67f4a5c75f7}{Optimized packages. Added acronyms, fixed literatureRS. Coped TeXinfoRS.} & 13 & 273 & 42 \\
+\hline 5bc68b0 & & 2015-05-24 & \href{https://github.com/ypid/typesetting/commit/5bc68b0ab50912c9070f74b533585b07cc3ed078}{Optimized references in the document.} & 4 & 26 & 8 \\
+\hline 66dfa73 & & 2015-05-25 & \href{https://github.com/ypid/typesetting/commit/66dfa73c3a531fdf2b97f4d9975d0646a49ab161}{Optimized references in the text further.} & 3 & 26 & 12 \\
+\hline 396332c & & 2015-05-25 & \href{https://github.com/ypid/typesetting/commit/396332c368786b99d0c377c9584ecab333fe45e0}{Added default license to the project.} & 1 & 4 & 0 \\
+\hline 0cb789b & & 2015-05-25 & \href{https://github.com/ypid/typesetting/commit/0cb789b5de0f57dd4770cc0b33c1064a6ccba94d}{Optimized. Fixed a few warnings.} & 11 & 73 & 19 \\
+\hline ff07dad & & 2015-05-25 & \href{https://github.com/ypid/typesetting/commit/ff07dade58ca31b6add898fc584d73d3fddd0776}{Fixed spacing after refer to macros.} & 1 & 4 & 4 \\
+\hline be2ca4d & & 2015-05-26 & \href{https://github.com/ypid/typesetting/commit/be2ca4d5d361ff5e536d6964a131d13c3d4f5b55}{Fixed up my packages for twoside print. It messed up my draft print :(} & 3 & 9 & 4 \\
+\hline faa3eea & & 2015-05-26 & \href{https://github.com/ypid/typesetting/commit/faa3eeaf213ebf6747c5a68c7e8b64c638db0009}{Fixed typo.} & 1 & 1 & 1 \\
+\hline c2d15ea & & 2015-05-27 & \href{https://github.com/ypid/typesetting/commit/c2d15ea2b7a84867deebfe6786277a61bdc139f7}{Optimized.} & 4 & 13 & 3 \\
+\hline eecd0ea & & 2015-05-27 & \href{https://github.com/ypid/typesetting/commit/eecd0ea5a2647ba47ab2c2fc71fe5e999573032d}{Made tables look nicer in print.} & 1 & 3 & 1 \\
+\hline 95126ec & & 2015-05-28 & \href{https://github.com/ypid/typesetting/commit/95126ecaa1d48056fc925abc1a1e239b44edd4ca}{Added acronyms and forced isodate to use german as default language.} & 4 & 45 & 9 \\
+\hline 22adff8 & & 2015-05-28 & \href{https://github.com/ypid/typesetting/commit/22adff897223ea40efba41208af032cbb02f8c62}{Fixed release critical bugs :)} & 4 & 26 & 7 \\
+\hline c655ba2 & v2.0 & 2015-05-28 & \href{https://github.com/ypid/typesetting/commit/c655ba2046a65613d267a0e3734b5f98f49d5f45}{Added new Makefile for LaTeX projects.} & 4 & 53 & 82 \\
+\hline beea9b8 & & 2015-06-07 & \href{https://github.com/ypid/typesetting/commit/beea9b8a0d6f38a4a9e93b788618a24045732d4d}{Removed LPPL license.} & 1 & 0 & 15 \\
+\hline 69c0326 & & 2015-06-07 & \href{https://github.com/ypid/typesetting/commit/69c03266945f16253e5b3fefe09c6eeb08f0898f}{Optimized my packages for working with letters.} & 5 & 78 & 65 \\
+\hline 82e04e2 & & 2015-06-21 & \href{https://github.com/ypid/typesetting/commit/82e04e29efeeda55760c0531f0f79b77116fded6}{Fixed up beamer template.} & 11 & 387 & 213 \\
+\hline 4848209 & & 2015-06-21 & \href{https://github.com/ypid/typesetting/commit/4848209c7a69582944332e14f0419e44de5ddf19}{Created my own beamer style.} & 8 & 107 & 62 \\
+\hline c5681ea & & 2015-06-22 & \href{https://github.com/ypid/typesetting/commit/c5681ea9ebccbde05a7f1f3dd4e25d5aee2a247d}{Fixed layout bug in my slides.} & 2 & 122 & 5 \\
+\hline fdc127a & & 2015-07-20 & \href{https://github.com/ypid/typesetting/commit/fdc127a83c75e189e526c3caed2ff9ad753eb286}{Updated. Making old chemistry documents work again.} & 6 & 184 & 41 \\
+\hline 3b9114b & & 2015-09-01 & \href{https://github.com/ypid/typesetting/commit/3b9114b22434f0b24a8b4a1c2daaef74268c9228}{Optimized.} & 3 & 11 & 6 \\
+\hline c68e656 & & 2015-12-10 & \href{https://github.com/ypid/typesetting/commit/c68e65600b3cdf0d7e99f25d0e4181dd40ef197c}{Improved latex-optimize-text a bit and tried URL regex stuff.} & 4 & 17 & 5 \\
+\hline 6258007 & & 2017-02-16 & \href{https://github.com/ypid/typesetting/commit/625800737b800725c9ac4efb8b875e4032f4078e}{Evolve} & 8 & 75 & 51 \\
+\hline 92fe6b5 & & 2017-04-26 & \href{https://github.com/ypid/typesetting/commit/92fe6b5dabbfe7ba28ff77bc7e73c21214c70c6d}{Optimize MyPackages} & 7 & 26 & 25 \\
+\hline 6b37fcc & & 2017-10-08 & \href{https://github.com/ypid/typesetting/commit/6b37fcc7dbe70aec3de054f95a4bce25932985e9}{No more legacy date formats. ISO 8601 is an international standard.} & 1 & 5 & 5 \\
+\hline a1cfa47 & & 2017-11-13 & \href{https://github.com/ypid/typesetting/commit/a1cfa47484f2232b589e8a3f3805a539ee20d1b7}{specify git revision range} & 2 & 6 & 0 \\
+\hline f95c860 & & 2017-11-13 & \href{https://github.com/ypid/typesetting/commit/f95c860585111290ac5dc3685c9d72226e8d69d0}{Align command line option variables} & 1 & 7 & 7 \\
+\hline 565872f & & 2017-11-13 & \href{https://github.com/ypid/typesetting/commit/565872fdc58731167cbf73975325435bf8c5145d}{Merge branch '\#1'} & - & - & - \\
+\hline 3af2ecd & & 2018-05-28 & \href{https://github.com/ypid/typesetting/commit/3af2ecdc13baa29772324d40e1ba4582a192dfac}{TOC: Link from both: The section label and the page number.} & 1 & 1 & 0 \\
+\hline 27e1441 & & 2019-02-13 & \href{https://github.com/ypid/typesetting/commit/27e14417b30e91e48777567d2fcdcb3ac51b7f78}{change latex-git-log to cover merge commits} & 1 & 14 & 4 \\
+\hline 258a37d & & 2019-02-13 & \href{https://github.com/ypid/typesetting/commit/258a37d98c192f82012bb5a3425218d472b677af}{restore confusion with tags} & 1 & 2 & 2 \\
+\hline 21e32d5 & & 2019-02-13 & \href{https://github.com/ypid/typesetting/commit/21e32d57d373bf9a831ff2a6c7d31091227d9050}{repair getting tags} & 1 & 4 & 3 \\
+\hline 239d959 & & 2019-04-07 & \href{https://github.com/ypid/typesetting/commit/239d95916f60e7fea6fbf32363b4757a28aa5e91}{Make git tag parsing more robust} & 1 & 4 & 2 \\
+\hline f98f16a & & 2019-04-07 & \href{https://github.com/ypid/typesetting/commit/f98f16a34f006a07803350ea1b73a64584fa6e97}{Remove space introduced in \#2} & 1 & 1 & 1 \\
+\hline d345341 & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/d345341bd4937e6cbc904c2782c61be31e8a9678}{Move latex-rm-tmpfiles from my scripts repo to this one} & 1 & 5 & 0 \\
+\hline 93b1ec2 & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/93b1ec27a9776c7226cbbc1857bc456f33153edd}{Use updated license SPDX identifier} & 2 & 2 & 2 \\
+\hline abb549e & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/abb549e71d92f13fa835e8a0d5ad63ddb1ff4b2e}{Don’t require calctime which is not public} & 1 & 1 & 1 \\
+\hline 22efbf1 & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/22efbf199a379cd0cb09970f7bfc56274ef85b37}{Don’t load private package authorRobinRS by default} & 2 & 1 & 1 \\
+\hline bbebfbb & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/bbebfbb96859f767e26d9f543532c960819cb375}{Don’t load slashbox which is not in TexLive 2016} & 1 & 1 & 1 \\
+\hline b40d5cb & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/b40d5cbb7ecdf573f4a20a1f761fd2d4e08cd6ff}{Make acronymRS compatible with acro v2.7} & 1 & 27 & 34 \\
+\hline 11e3514 & & 2019-05-27 & \href{https://github.com/ypid/typesetting/commit/11e3514b0153cf01f7522fb502f63434037ad33c}{hyphsubst is not needed for LuaLaTeX} & 1 & 8 & 4 \\
+\hline 4bae2cb & & 2019-09-04 & \href{https://github.com/ypid/typesetting/commit/4bae2cbb59aec4a6399970d11a22221eaccb0ab1}{Support to use $\backslash$Anschrift directly in letters} & 1 & 2 & 2 \\
+\hline ec4ad7d & & 2019-09-04 & \href{https://github.com/ypid/typesetting/commit/ec4ad7de54dd3497c7ef20f5d7dfa6ed084a47f1}{RFC 3339/ISO 8201 overwrites DIN norm when it comes to dates} & 1 & 3 & 2 \\
+\hline e9a422c & & 2019-04-07 & \href{https://github.com/ypid/typesetting/commit/e9a422c028b4819ec539bd8fecafeccf64904fd1}{Remove git repo url auto detect and href disable. href is now opt-in.} & 1 & 3 & 17 \\
+\hline 653096c & & 2020-01-26 & \href{https://github.com/ypid/typesetting/commit/653096ccc55a4380de64a64355ba180ad76bc6a0}{Merge branch '\#2'. Closes \#4.} & - & - & - \\
+\hline 087b27b & & 2020-02-26 & \href{https://github.com/ypid/typesetting/commit/087b27b6c43b1771ecb015e47f2436b480f95e0d}{Fix latex-git-log documentation} & 2 & 13 & 7 \\
+\hline 35437de & & 2020-02-26 & \href{https://github.com/ypid/typesetting/commit/35437def862b666d4c21b7df61b6e21e98150374}{Calling --help should also output Synopsis} & 1 & 4 & 3 \\
+\hline 95549c6 & latex-git-log/v1.0.0 & 2020-02-26 & \href{https://github.com/ypid/typesetting/commit/95549c6bf98962170d3caee8552d6fa58715e5da}{Release version 1.0.0 of latex-git-log} & 1 & 1 & 1 \\
+\hline 23bef58 & & 2024-03-20 & \href{https://github.com/ypid/typesetting/commit/23bef58ed102850dcfad56464e739ccb33227714}{latex-git-log: Add file arguments} & 2 & 12 & 2 \\
+\hline 51be3d0 & & 2024-04-17 & \href{https://github.com/ypid/typesetting/commit/51be3d03735a1bb6f4d2e1cbe63ac6ccf8fef72a}{Merge branch '\#5'} & - & - & - \\
+\hline 72f0882 & & 2024-05-19 & \href{https://github.com/ypid/typesetting/commit/72f08826873fd1263b3d2f9c2c48466d3300934c}{fix: lower case LaTeX-git-log to remove pain for macOS and Windows users} & 9 & 2 & 2 \\
+\hline 852d74c & & 2024-05-19 & \href{https://github.com/ypid/typesetting/commit/852d74c620d608bc2a59737ecd0b0225f40970a9}{chore(latex-git-log): start to follow https://reuse.software/} & 4 & 245 & 2 \\
+\hline 6058f64 & & 2024-05-19 & \href{https://github.com/ypid/typesetting/commit/6058f64889abd60b9c001054bde50813236d8b1d}{chore: drop outdated git hook templates} & 5 & 0 & 24 \\
+\hline 724ea64 & & 2024-05-19 & \href{https://github.com/ypid/typesetting/commit/724ea647f0aea74925f721f3a8215f4aa66c5b05}{build(latex-git-log): use commitizen for release management} & 2 & 14 & 5 \\
+\hline 98fb3b1 & & 2024-05-19 & \href{https://github.com/ypid/typesetting/commit/98fb3b1cf71101d0012b85cfb6211f75dd1b8db9}{chore: extend .gitignore file for bazel.build} & 1 & 16 & 0 \\
+\hline 84d9df5 & & 2024-05-20 & \href{https://github.com/ypid/typesetting/commit/84d9df575a7918619051ffd8a6c0c8851a829594}{fix(latex-git-log): --user and --repo flags where not included in URL} & 1 & 1 & 1 \\
+\hline 366fc89 & & 2024-05-19 & \href{https://github.com/ypid/typesetting/commit/366fc89342d611b5ac11a5a3a036586451318113}{build(latex-git-log): start using Bazel build system} & 19 & 3933 & 18 \\
+\hline 9286ca6 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/9286ca6535ad3c02fa26ee241abb6d4accbd77ed}{build: get aspect-correctness.bazelrc file} & 1 & 75 & 0 \\
+\hline 0120766 & & 2024-05-26 & \href{https://github.com/ypid/typesetting/commit/01207665460cf9108bfa17594a196867216da55e}{build(latex-git-log): finish setting up Bazel build system} & 11 & 231 & 1418 \\
+\hline 3cd73f8 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/3cd73f8d353cbe36ed96b6dbbfb0de2d7a6c30ef}{build(latex-git-log): remove genrule\_stamped.bzl experiment} & 1 & 0 & 27 \\
+\hline a2fe127 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/a2fe12786b6485a4a7288f1aab26afe4c2494d63}{build(latex-git-log): drop Taskfile.yml, it is too limited} & 1 & 0 & 30 \\
+\hline aa05c17 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/aa05c177cd3baf0a6a12f5ac9d2aecb3b23271f8}{build: use commitizen to check commit messages} & 1 & 9 & 0 \\
+\hline 8dd67eb & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/8dd67eb9671cd239c3981479f9b4fd60a0ab74a1}{chore: make new files reuse.software compliant} & 2 & 12 & 0 \\
+\hline 8ad9824 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/8ad9824e30d54ad7a0d907614d28a7e6cb9aac07}{chore(latex-git-log): make reuse.software compliant} & 4 & 21 & 1 \\
+\hline b920b12 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/b920b12c04122cbadc052ccc4317ab197940f4a4}{style(latex-git-log): TeX code comments are introduced by one \%, not two} & 1 & 2 & 2 \\
+\hline 8ab96f4 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/8ab96f41efe17743b5bb0d1967df232c291addd8}{feat(latex-git-log): make generated file reuse.software compliant} & 1 & 6 & 1 \\
+\hline a7eb636 & & 2024-05-29 & \href{https://github.com/ypid/typesetting/commit/a7eb6364ab40b79c6e1a49a02243b516439a68d7}{chore: ensure text of all used licenses are included} & 3 & 203 & 0 \\
+\hline db1869f & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/db1869f27961af46d7a73cdd0bde3cc1b03c8e20}{docs(latex-git-log): mention that script is in Perl} & 2 & 2 & 2 \\
+\hline c029c99 & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/c029c99427424d53d728db46c785f39bd3cca5c6}{docs(latex-git-log): drop German version of GPL from manpage} & 1 & 0 & 13 \\
+\hline faeaae7 & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/faeaae7b2b7d3dcb844fb3e376824313b03aef15}{chore(latex-git-log): copyright years in script need to be in sync} & 1 & 1 & 1 \\
+\hline 474e980 & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/474e980e1f8e5fa36b7782095d383101827abb13}{docs(latex-git-log): note that only English works to known bugs} & 2 & 14 & 0 \\
+\hline 4e8a7ed & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/4e8a7edb69e6a02178dd6d81948a7120b8caaa20}{docs(latex-git-log): fix typo} & 2 & 2 & 2 \\
+\hline 07d3a7e & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/07d3a7e838beeb5737d1506fedfa28288b03956d}{fix(latex-git-log): print commit hash instead of artificial version} & 3 & 14 & 17 \\
+\hline 422272d & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/422272dcdf41b36c51d856b0005b70551102f059}{build(latex-git-log): SOURCE\_DATE\_EPOCH from env has precedence} & 1 & 4 & 2 \\
+\hline 3cdf233 & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/3cdf2337c930b9446bacf51ccef880434c1596ad}{chore(latex-git-log): regenerate example.tex} & 1 & 167 & 47 \\
+\hline e7dda12 & & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/e7dda1265766365bf5e13668734a8f9768d9c14f}{Merge branch 'bump/latex-git-log/v1.1.0'} & - & - & - \\
+\hline 84d7a6c & HEAD -> master, latex-git-log/v1.1.0 & 2024-05-31 & \href{https://github.com/ypid/typesetting/commit/84d7a6c64cd4c962fff02a04638b793ce50d19f2}{bump(latex-git-log): version 1.0.0 → 1.1.0} & 2 & 2 & 2 \\
\end{longtable}
diff --git a/support/latex-git-log/example.pdf b/support/latex-git-log/example.pdf
index 54c9c6093e..ecccf4777e 100644
--- a/support/latex-git-log/example.pdf
+++ b/support/latex-git-log/example.pdf
Binary files differ
diff --git a/support/latex-git-log/example.tex b/support/latex-git-log/example.tex
index fec2a0e31f..7527e47673 100644
--- a/support/latex-git-log/example.tex
+++ b/support/latex-git-log/example.tex
@@ -1,8 +1,38 @@
-\documentclass[12pt,a4paper,english,landscape]{scrartcl}
+% SPDX-FileCopyrightText: 2013,2020,2024 Robin Schneider <ypid@riseup.net>
+%
+% SPDX-License-Identifier: GPL-3.0-or-later
+
+\documentclass[
+ a4paper,
+ ngerman,
+ landscape,
+ DIV=15,
+]{scrartcl}
+
+\usepackage{
+ iftex,
+}
+
+\ifPDFTeX%
+ \usepackage[utf8]{inputenc}
+ \usepackage[T1]{fontenc}
+ \usepackage{babel}
+\fi
+\ifLuaTeX%
+ \usepackage{
+ fontspec,
+ polyglossia,
+ }
+\fi
+
+\ifLuaTeX%
+ \usepackage{selnolig}
+\fi
+
+\usepackage[
+ tracking=true,
+]{microtype}
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
-\usepackage{babel}
\usepackage{longtable,hyperref}
\newcommand{\longtableendfoot}{Please continue at the next page}
@@ -11,7 +41,7 @@
The example-output.tex was generated with this command:
\begin{verbatim}
- latex-git-log --width=13 --lang=en > example-output.tex
+ latex-git-log --user ypid --repo typesetting --width=12 --lang=en > example-output.tex
\end{verbatim}
\end{document}
diff --git a/support/latex-git-log/latex-git-log b/support/latex-git-log/latex-git-log
index 35d831b6eb..3cce9ef9b8 100755
--- a/support/latex-git-log/latex-git-log
+++ b/support/latex-git-log/latex-git-log
@@ -1,4 +1,6 @@
#!/usr/bin/env perl
+# SPDX-FileCopyrightText: 2012-2013,2017,2019-2020,2024 Robin Schneider <ypid@riseup.net>
+#
# SPDX-License-Identifier: GPL-3.0-or-later
# Modules and pragmas {{{
@@ -8,6 +10,7 @@ use autodie;
use feature qw(say);
use utf8;
use open qw(:std :utf8);
+use English;
binmode STDOUT, ':encoding(UTF-8)';
use IPC::System::Simple qw(capturex);
use Getopt::Long;
@@ -31,7 +34,6 @@ use Locale::Maketext::Simple (
# Optional parameters {{{
my $print_author = 0;
-my $commit_count = 1;
my $width = 0;
my $lang = undef;
my $version = 0;
@@ -41,7 +43,6 @@ my $revision_range = 0;
my ( $git_user, $git_repo, $git_commit_address );
GetOptions(
'author' => \$print_author,
- 'startcommit=s' => \$commit_count,
'width=s' => \$width,
'git-c-add=s' => \$git_commit_address,
'user=s' => \$git_user,
@@ -58,14 +59,19 @@ pod2usage( -verbose => 99, -sections => 'Version' ) if $version;
my $git_remote = ( split /\n/xms, capturex(qw(git remote -v)) )[0];
loc_lang($lang) if ( defined $lang );
-say '%% This file was generated by the script latex-git-log';
+my $committer_year_of_last_commit = ( split /\n/xms, capturex('git', '--no-pager', 'log', '-1', '--pretty=%cd', '--date=format:%Y') )[0];
+say "% SPDX-FileCopyrightText: $committer_year_of_last_commit Robin Schneider <ypid\@riseup.net>
+%
+% SPDX-License-Identifier: CC0-1.0 OR MIT
+
+% This file was generated by the script latex-git-log.";
my $git_command_commit_msg = '%s';
if ( (defined $git_user and defined $git_repo) or $git_commit_address ) {
unless ( defined $git_commit_address ) {
- $git_commit_address = "https://github.com/$+{user}/$+{repo}/commit";
+ $git_commit_address = "https://github.com/$git_user/$git_repo/commit";
}
$git_command_commit_msg = '%H & %s';
- say '%% Base git commit URL: ' . $git_commit_address;
+ say '% Base git commit URL: ' . $git_commit_address;
}
if ($width) {
$width = "p{${width}cm}";
@@ -79,7 +85,7 @@ else {
say '\begin{tabular}{lp{12cm}}
\label{tabular:legend:git-log}
\textbf{' . loc('acronym') . '} & \textbf{' . loc('meaning') . '} \\\\
- V & \texttt{' . loc('version') . '} \\\\
+ H & \texttt{' . loc('commit hash') . '} \\\\
' . loc('tag') . ' & ' . loc('\texttt{git tag}') . ' \\\\
' . loc('MF') . ' & ' . loc('Number of \texttt{modified files}.') . ' \\\\
' . loc('AL') . ' & ' . loc('Number of \texttt{added lines}.') . ' \\\\
@@ -87,8 +93,11 @@ say '\begin{tabular}{lp{12cm}}
\end{tabular}
\bigskip
+';
-\iflanguage{ngerman}{\shorthandoff{"}}{}';
+# Users should set this themselves if they need it because it can cause build errors like:
+# Undefined control sequence.
+# \iflanguage{ngerman}{\shorthandoff{"}}{}';
if ($print_author) {
say "\\begin{longtable}{|rllllrrr|}";
@@ -96,7 +105,7 @@ if ($print_author) {
else {
say "\\begin{longtable}{|rll${width}rrr|}";
}
-say '\hline \multicolumn{1}{|c}{\textbf{' . loc('V') . '}} & \multicolumn{1}{c}{\textbf{' . loc('tag') . '}}';
+say '\hline \multicolumn{1}{|c}{\textbf{' . loc('H') . '}} & \multicolumn{1}{c}{\textbf{' . loc('tag') . '}}';
say '& \multicolumn{1}{c}{\textbf{' . loc('author') . '}}' if $print_author;
say '& \multicolumn{1}{c}{\textbf{' . loc('date') . '}}
& \multicolumn{1}{c}{\textbf{' . loc('commit message') . '}} & \multicolumn{1}{c}{\textbf{' . loc('MF') . '}}
@@ -122,19 +131,25 @@ say '\endfoot
my @lines;
my @git_command = qw(git log --date=short --shortstat);
if ($print_author) {
- push( @git_command, qq(--pretty=format:%H & %an NoTinAuthorFiled& %ad & $git_command_commit_msg) );
+ push( @git_command, qq(--pretty=format:%h & %an NoTinAuthorFiled& %ad & $git_command_commit_msg) );
}
else {
- push( @git_command, qq(--pretty=format:%H %ad & $git_command_commit_msg) );
+ push( @git_command, qq(--pretty=format:%h %ad & $git_command_commit_msg) );
}
if ($revision_range) {
push( @git_command, qq($revision_range) );
}
+
+# check for command-line file arguments
+if ($#ARGV >= 0) {
+ push( @git_command, ("--", @ARGV) );
+}
+
@lines = reverse capturex(@git_command);
# }}}
# Get tags {{{
-my @tags_commits = capturex( 'git', 'log', '--tags', '--no-walk', '--pretty=\'%H %d\'' );
+my @tags_commits = capturex( 'git', 'log', '--tags', '--no-walk', '--pretty=\'%h %d\'' );
my %commit_tags; # The key will be a SHA1 commit hash and the value a comma separated list of all tags.
for (@tags_commits) {
chomp;
@@ -185,12 +200,13 @@ my @changes;
for (@lines) {
next if /\A\Z/xms;
chomp;
- if ( m/^([0-9a-f]{40})\s/g and !$which_line) {
+ if ( m/^([0-9a-f]{7,})\s/g and !$which_line) {
$which_line ^= 1; ## additional toggle for merge commits
@changes = ( "-", "-", "-" );
}
if ($which_line) {
- s/\A([0-9a-f]{40})\s//xms or die "Did not match the commit hash\n";
+ s/\A(?<short_commit_hash>[0-9a-f]{7,})\s//xms or die "Did not match the commit hash\n";
+ my $short_commit_hash = $LAST_PAREN_MATCH{short_commit_hash};
my $tags = exists $commit_tags{$1} ? $commit_tags{$1} : q();
my $date_author = '';
my $c_msg = '';
@@ -211,8 +227,7 @@ for (@lines) {
else {
$c_msg = latex_escape($c_msg);
}
- say "\\hline $commit_count & $tags & $date_author $c_msg & " . join( ' & ', @changes ) . ' \\\\';
- $commit_count++;
+ say "\\hline $short_commit_hash & $tags & $date_author $c_msg & " . join( ' & ', @changes ) . ' \\\\';
} ## end if ($which_line)
else {
@changes = ( 0, 0, 0 );
@@ -235,12 +250,11 @@ latex-git-log - Generates the version history of a git project as LaTeX source c
=head1 Synopsis
-latex-git-log [options]
+latex-git-log [options] [file] ...
Options:
--author set this if you want the author included
- --startcommit set the start value of count commit
--width set the width in cm of the commit message field in the LaTeX table
--git-c-add set an base URL to link to a commit
--user set a github user to derive the base URL
@@ -291,7 +305,7 @@ You can use it like this:
=head2 Of this script
-This module requires these other modules and libraries:
+This script requires the following Perl modules:
IPC::System::Simple
Locale::Maketext::Simple
@@ -306,13 +320,15 @@ be loaded.
Furthermore you need to defined the macro B<\longtableendfoot> which will be
expanded on the bottom of every page if the table will be continued on the next
-page. You can defined it to a localized message to inform the reader that this
+page. You can define it to a localized message to inform the reader that this
table is not complete and will be continued.
=head1 Description
B<This program> will output the entire version history as table written in
LaTeX if it is executed within a git repository.
+When I<file> argument(s) are given, only the history that changed these file(s)
+will be output.
It is intended that you redirect the standard output of this script to a file
which can then be included from your main LaTeX document.
@@ -322,7 +338,7 @@ landscape page.
=head1 Version
-1.0.0
+1.1.0
=head1 Author
@@ -336,9 +352,19 @@ Source code repository: https://github.com/ypid/typesetting/tree/master/scripts/
Please report bugs and feature requests at https://github.com/ypid/typesetting/issues
+=head1 Bugs and limitations
+
+=over 4
+
+=item
+
+The translation features does not seem to work. So this script is unable to output German. English works.
+
+=back
+
=head1 License and Copyright
-Copyright (C) 2012-2013,2017,2019 Robin Schneider <ypid@riseup.net>
+Copyright (C) 2012-2013,2017,2019-2020,2024 Robin Schneider <ypid@riseup.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -353,18 +379,5 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-Dieses Programm ist Freie Software: Sie können es unter den Bedingungen
-der GNU General Public License, wie von der Free Software Foundation,
-Version 3 der Lizenz oder (nach Ihrer Option) jeder späteren
-veröffentlichten Version, weiterverbreiten und/oder modifizieren.
-
-Dieses Programm wird in der Hoffnung, dass es nützlich sein wird, aber
-OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite
-Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
-Siehe die GNU General Public License für weitere Details.
-
-Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
-Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
-
=cut
# }}}
diff --git a/support/latex-git-log/po/de.po b/support/latex-git-log/po/de.po
index 401e7fe172..c9dcdab438 100644
--- a/support/latex-git-log/po/de.po
+++ b/support/latex-git-log/po/de.po
@@ -17,11 +17,11 @@ msgstr "Abkürzung"
msgid "meaning"
msgstr "Bedeutung"
-msgid "version"
-msgstr "Version"
+msgid "commit hash"
+msgstr "Commit Prüfsumme"
-msgid "V"
-msgid "V"
+msgid "H"
+msgid "H"
msgid "tag"
msgstr "Tag"