haskintex: Haskell Evaluation inside of LaTeX code.

[ bsd3, latex, library, program ] [ Propose Tags ]

The haskintex (Haskell in LaTeX) program is a tool that reads a LaTeX file and evaluates Haskell expressions contained in some specific commands and environments. It allows you to define your own functions, use any GHC Haskell language extension and, in brief, anything you can do within Haskell. Additionally, it is possible to include expressions of LaTeX type (see HaTeX package) and render them as LaTeX code. You can freely add any Haskell code you need, and make this code appear optionally in the LaTeX output. It is a tiny program, and therefore, easy to understand, use and predict.

Additions from last version:

  • haskintex is now able to detect that is running on a cabal sandbox, and will use the sandbox package db if this is the case. Unless the flag -nosandbox is given, in which case the sandbox will be ignored.

  • New flag -nosandbox. Ignore sandbox if haskintex runs on one.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.3.1.0, 0.3.1.1, 0.4.0.0, 0.4.1.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.1.0, 0.6.0.0, 0.6.0.1, 0.7.0.0, 0.7.0.1, 0.8.0.0, 0.8.0.1, 0.8.0.2
Dependencies base (>=4.7 && <5), binary (>=0.7.1), bytestring (>=0.10.4), containers (>=0.5.5), directory (>=1.2.0 && <1.4), filepath (>=1.1.0 && <1.5), haskell-src-exts (>=1.18.2), haskintex, HaTeX (>=3.9.0.0), hint (>=0.3.3), parsec (>=3.1.2), process (>=1.2.0), text (>=0.11.2.3 && <2), transformers (>=0.3.0.0) [details]
License BSD-3-Clause
Author Daniel Díaz
Maintainer dhelta.diaz@gmail.com
Category LaTeX
Home page http://daniel-diaz.github.io/projects/haskintex
Bug tracker https://github.com/Daniel-Diaz/haskintex/issues
Uploaded by DanielDiaz at 2022-09-11T10:29:54Z
Distributions LTSHaskell:0.8.0.2, NixOS:0.8.0.2, Stackage:0.8.0.2
Reverse Dependencies 2 direct, 1 indirect [details]
Executables haskintex
Downloads 14086 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-09-11 [all 1 reports]

Readme for haskintex-0.8.0.1

[back to package description]

The haskintex program

The haskintex program is a tool that reads a LaTeX file and evaluates Haskell expressions contained in some specific commands and environments. It allows you to define your own functions, use any GHC Haskell language extension and, in brief, anything you can do within Haskell. You can freely add any Haskell code you need, and make this code appear optionally in the LaTeX output. It is a tiny program, and therefore, easy to understand, use and predict.

For more details, read the homepage of the project.