GithubHelp home page GithubHelp logo

da-vinci's Introduction

Da Vinci

This project is designed to help creating data-based documents with Python and LaTeX. The build system is Gradle-based, and PythonTeX is used to integrate Python and LaTeX. A set of Python modules that integrate with the Gradle build are available from PythonTeX.

Codex

Codex is the Python component of Da Vinci (his notebooks are called Codex ...). The base module is named da_vinci.

Gradle Design

A Document is the core model object. It knows about the main LaTeX file as well as other files it depends on, such as bibliographies, data files, code, and other LaTeX files. It should also be able to set environment variables like TEXINPUTS, BIBINPUTS, and PYTHONPATH correctly.

There are a couple of ways the build can be configured

  • A LaTeX engine such as pdflatex or XeLaTeX can be specified, along with command-line arguments for it
  • Processors such as PythonTeX and Biber can be enabled and configured
  • It seems like LaTeX needs to be run once initially, then all the processors are run, then LaTeX again until the label/reference messages stops showing up or some maximum number of passes is exceeded.
    • Label(s) may have changed
    • There were undefined references
  • Generate PDF files by default, then convert to other formats as needed (e.g. use pdf2ps)
    • The LaTeX wikibook says Ghostscript can be used to compress PDFs

da-vinci's People

Contributors

bnavetta avatar

Stargazers

 avatar

Watchers

 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.