Git Product home page Git Product logo

automata's Introduction

PaperTemplate

Build

Template repository for reproducible paper builds.

Assumptions

  • Paper file name: paper.tex
  • Latex compiler: lualatex
  • Build tool: latexmk
  • References file name: references.bib
  • References format: biblatex
  • References compiler: biber
  • Font: STIX 2

Build

For the final build use nix build. For development use nix develop and just run make manually. To provide the derivation with the current time add the --impure flag. Note that in that case the output path changes on every build.

GitHub Actions

The repositry has an action setup for building the paper. It runs nix build and uploads the paper as an artifact. The dependencies are cached between runs to optimize the build times (cca. 2 min).

Notes

lualatex and luaotfload-tool fail without output when ran using nix build. The problem is that they don't have access to the TEXMFVAR directory. You can fix that by setting the variable to something that is accessible (in this template it is set to /tmp/texmf).

To get a complete closure for the derivation (with binary build-time dependencies) you need to run:

nix-store -qR --include-outputs <derivation path>

See also

automata's People

Contributors

brokenpylons avatar

Watchers

 avatar  avatar

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.