Giter Site home page Giter Site logo

jgitinfo's People

Contributors

jcalov avatar

jgitinfo's Issues

Extend README: how to ensure watermark info if repo is dirty

The package only can know if the repo is dirty if one of the installed git hooks was invoked. So you have to ensure that you invoke one of them before compiling your latex document.

One possibility is to checkout a file that is in every branch of every repo and changes extremely rarely. Normally that file is .gitignore, so you can run git checkout .gitignore before every compile.

How you configure this in TexStudio ist described in section 1.3 of the TeXstudio user manual.

Silent option only for not installed git hooks

When using git-latexdiff and not using the silent option of the jgitinfo package, the pdf output of the diff has the prominent watermark that git hooks are not installed which is very annoying.

Integrate an additional flag silent-not-installed that makes no watermark if git hooks are not installed, but that shows the prominent notice if repo is dirty.

Extend README: Installation instructions

Provide information for installation, like:

Installation

  • Copy the files from the repo folder git_hooks into your local repository folder .git/hooks/
  • Make the files executable, e.g. with chmod 755 .git/hooks/post-*
  • Ensure that you invoke on of the hooks before compiling your latex document (see previous section)

For more information see the package documentation for the gitinfo2 package.

typo: Dirty in silent mode

In watermark text, everything is written in lower case, but in silent mode, the dirty flag in watermark begins with an upper case D.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.