Code Monkey home page Code Monkey logo

mathematicacellstotex's Introduction

Cells to TeX

releases Mathematica 8.0 - 11.0 license MIT SemVer 2.0.0

Convert Mathematica cells to TeX, retaining formatting.

Description

This package provides functions converting Mathematica cells to specific type of TeX code, compatible with mmacells package. Compilation of this TeX code results in output resembling FrontEnd appearance of converted cells.

You can find usage examples in answer to "How best to embed various cell groups into a latex project?" question on Mathematica Stack Exchange.

Installation

Automatic installation

To install newest version of CellsToTeX package, in Mathematica version 10 or newer, evaluate following code:

PacletInstall@"http://github.com/jkuczm/MathematicaCellsToTeX/releases/download/v0.2.2/CellsToTeX-0.2.2.paclet"

Note that above requires allowing Mathematica to use the Internet.

To load CellsToTeX package evaluate:

Needs@"CellsToTeX`"

To uninstall CellsToTeX package evaluate:

PacletUninstall@"CellsToTeX"

Manual installation

If in your setup Mathematica doesn't have Internet access, or you're using version older than 10, download CellsToTeX-0.2.2.paclet file and evaluate PacletInstall with path to downloaded file:

PacletInstall@"path/to/downloaded/CellsToTeX-0.2.2.paclet"

To load CellsToTeX package evaluate:

Needs@"CellsToTeX`"

To uninstall CellsToTeX package evaluate:

PacletUninstall@"CellsToTeX"

No installation

To use package directly from the Web, without installation, evaluate:

Import@"https://raw.githubusercontent.com/jkuczm/MathematicaCellsToTeX/master/NoInstall.m"

Compatibility

This package contains extensive automatic test suite. Package is tested with all Mathematica major and minor versions from 8.0 to 11.0 on Linux. Since it doesn't contain any OS specific code it should work with above versions on all operating systems.

There's also no obvious reason for package not to work on older (6.0+) and newer (11.1+) versions of Mathematica, but it was not tested with these versions.

Bugs and requests

If you find any bugs or have feature request please create an issue on GitHub.

Contributing

Feel free to fork and send pull requests.

All contributions are welcome!

License

This package is released under The MIT License.

Attribution

Parts of code of this project are a derivative of code written by Leonid Shifrin in Exception checking and trapping techniques with Throw and Catch thread on Mathematica Stack Exchange, used under Creative Commons Attribution-ShareAlike 3.0 Unported License.

Parts of code of this project are a derivative of code written by John Fultz in answer to "How can I get the unchanged Box form of an arbitrary expression?" question on Mathematica Stack Exchange, used under Creative Commons Attribution-ShareAlike 3.0 Unported License.

Versioning

Releases of this package will be numbered using Semantic Versioning guidelines.

mathematicacellstotex's People

Contributors

jkuczm 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.