Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Also escape the author field.
Loading branch information
There are no files selected for viewing
@@ -60,4 +60,10 @@
\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 \\
\end {longtable }
@@ -128,7 +128,7 @@ say '\endfoot
my @lines ;
my @git_command = qw( git log --date=short --shortstat) ;
if ($print_author ) {
push ( @git_command , qq( --pretty=format:%H & %an & %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 ) );
@@ -191,9 +191,9 @@ for (@lines) {
my $date_author = ' ' ;
my $c_msg ;
if ($print_author ) {
/ ((?: .*? &){2} ) (.*)/ ;
$date_author = $1 ;
$c_msg = $2 ;
/ (& )(.*?)NoTinAuthorFiled(& .*? &) (.*)/ ;
$date_author = $1 . latex_escape( $2 ) . $3 ;
$c_msg = $4 ;
}
else {
/ (.*? &) (.*)/ ;
@@ -316,12 +316,6 @@ which can then be included from your main TeX document.
Because the table can be very large you might want to put the thing on a
landscape page.
=head1 BUGS AND LIMITATIONS
The author section is currently not escaped. This means, that if the author
filed contains charters that are special to (La)TeX, then this can cause
problems.
=head1 Version
0.9
Toggle all file notes
Toggle all file annotations