Giter VIP home page Giter VIP logo

tikzify's Introduction

Tikzify

image

A set of utilities for programmatically generating TikZ code.

Contribution guidelines

  • Conventions
    • Naming conventions are according to PEP8.
  • How to clean the source:
    • ruff .
    • pyright
    • mypy
    • isort .
    • pylint tikzify

Running

  • This macro is helpful for running examples:
function dm {
    python "$1.py" $2 && pdflatex -shell-escape $1 && open $1.pdf
}
  • The basal ganglia example can be run by doing dm basal_ganglia from the examples folder. It should produce examples/basal_ganglia.pdf, which shows all of the output, as well as examples/figures/basal_ganglia-*.pdf, which are the individual diagrams to be included.
  • A copy of the pdf <examples/basal_ganglia.pdf> is provided. It shows three programmatically-generated diagrams, with various sections highlighted.

Whom do I talk to?

  • Neil Girdhar

tikzify's People

Contributors

dependabot[bot] avatar neilgirdhar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

tikzify's Issues

Live detection of TikZ error

You might be interested to use my library to generate the TikZ diagrams, instead of generate the TeX source code and feed it to TeX.

One advantage is that it may be possible to raise an error immediately, instead of only when the file is passed to TeX --- for which it would be difficult to trace back the source of the error on the Python side.

The library is at https://github.com/user202729/pythonimmediate-tex . Documentation on how to generate PDF file programmatically is at https://pythonimmediate.readthedocs.io/en/latest/pythonimmediate.html#pythonimmediate.engine.ChildProcessEngine .

It would be helpful if you can provide feedback on improvements of the user-facing interface and the documentation of the library while using it.

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.