Coder Social home page Coder Social logo

tla2tex's Introduction

tla2tex

TLA+ code to TeX code

How to do that?

  • Put your tla code in between \begin{tla} and \end{tla} in file like tla2tex-example-tla.tex.
    • Ignore the code in between \begin{\tlatex} and \end{\tlatex} now.
  • Run java -cp tla2tools.jar tla2tex.TeX tlatex-example-tla.tex
    • This will automatically generate that code in between \begin{\tlatex} and \end{\tlatex}.
    • Important Note: You'd better run java -cp under the directory of tlatex-example-tla.tex. Otherwise, you may get a renaming error and information indicating that some .new file was generated in a different directory.
    • -cp tla2tools.jar: make sure that tla2tools.jar is in your path; use your-path-to-tla2tools.jar when necessary.
  • Compile tlatex-example-tla.tex to produce the pdf version which can be inserted into your LaTeX document as usual.

For detailed info, see tla2tex-readme.md.

tla2tex's People

Contributors

hengxin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

thesammiller

tla2tex's Issues

TODO list for tla2tex tools

  • Line space

    • Especially, above/below "======="
  • Smaller fonts

  • Keywords highlight

  • longer "========"

  • Show/Hidden Line No

  • Automation:

    • Changes detect
    • Copy and rename
    • Delete "preamble"

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.