Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/support/latex-git-log

# latex-git-log
This program will output the entire version history as table written in LaTeX
if it is executed within a git repository.

It is intended that you redirect the standard output of this script to a file
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.

## Dependencies
### Of this script
This module requires these other modules and libraries:

    IPC::System::Simple
    Locale::Maketext::Simple

Everything else should already be installed.

### To compile the output
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
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) by Robin Schneider <ypid23@aol.de> <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 <br />

## Usage

    latex-git-log [options]

    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
      --repo            set a github repository to derive the base URL
      --lang            language of the legend and all strings in the output
      --version, -v     print version of this script
      --help            brief help message
      --man             full documentation

### Description of some options

    --width Set the width in cm of the commit message field in the LaTeX
            table. If this parameter is not set then the table is not
            vertically limited. That means that if you have a very long
            commit message then the table will probably not fit on the page
            and you will get a "Overfull" error message from TeX.

            In this case you should specify the width of the column
            containing the commit messages. I normally use something like
            --width=14 for DIN A4 in landscape.

    --git-c-add
            Set an base URL to link to a commit. This script will
            automatically try to use the base URL for github.

    --lang  Set the language of the legend and all strings in the output. Be
            default the language of your system is used but you can
            overwrite this with this parameter.

            Currently this script only supports English and German. If you
            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.

Direc­to­ries

Name Notes
po

Files

Name Size Date Notes
README 3183 2013-06-16 03:15:20
example-output.tex 7519 2013-06-16 02:43:43
example.pdf 77887 2013-06-16 02:43:48
example.tex 430 2013-06-16 01:49:25
latex-git-log 11375 2013-06-16 03:22:08

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (85.5k).

la­tex-git-log – Type­set git log in­for­ma­tion

The pro­gram is run within a git repos­i­tory, and out­puts the en­tire ver­sion his­tory, as a LaTeX ta­ble.

That out­put will typ­i­cally be redi­rected to a file; the au­thor rec­om­mends type­set­ting in land­scape ori­en­ta­tion.

Doc­u­men­ta­tion
Home pagehttps://github.com/ypid/type­set­ting/tree/mas­ter/scripts/la­tex-git-log
Ver­sion0.9
Li­censeGNU Gen­eral Public Li­cense, ver­sion 3
Main­tainerRobin Sch­nei­der
Con­tained inTeXLive as la­tex-git-log
MiKTeX as la­tex-git-log
Topics tex-re­lated project man­age­ment
Guest Book Sitemap Contact 2014-04-20 17:57 CEST