BSD Ports

textproc/hs-lhs2tex 1.26 FreeBSD

Preprocessor for typesetting Haskell sources with LaTeX

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
textproc, haskell
Package size
2829.1 KiB, 18354.7 KiB installed

Description

This tool is primarily intended for people who want to write articles or books using LaTeX that contain some Haskell code. It works on literate Haskell documents where the non-Haskell parts form essentially a valid LaTeX document, then processes the Haskell code in the document and replaces it with formatted LaTeX output. It is not fully automatic in the sense that it will turn an arbitrary literate Haskell document into a LaTeX document without further work.

Nearly all aspects about the output and formatting are configurable. Output of code can be made using proportional fonts in such a way that even complex horizontal alignment is preserved. The preprocessor can also be invoked in another mode to just extract the Haskell code.

In the other systems

SystemPortVersion
FreeBSDtextproc/hs-lhs2tex1.26
DragonFlytextproc/hs-lhs2tex1.25

Install

Binary package:

pkg install hs-lhs2tex

From the ports tree:

cd /usr/ports/textproc/hs-lhs2tex/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	hs-lhs2tex>0:textproc/hs-lhs2tex

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.261.26---
FreeBSD:14:quarterly1.261.26n/a--
FreeBSD:15:latest1.261.26n/a--
FreeBSD:15:quarterly1.261.26n/an/an/a
FreeBSD:16:latest1.261.26n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 113

The first 100 are listed.

Run dependencies 111

The first 100 are listed.

No port depends on this one.

Configuration

No options to configure.

USES
cabal tex
Service scripts
none

Files

distinfo 4
FileSizeSHA256
cabal/lhs2tex-1.26/lhs2tex-1.26.tar.gz90524126a3a55d1a2e71a1af353e12e18c3dc704dfcebe9fa4418940f20aba0ee8c6a5
cabal/regex-base-0.94.0.3/regex-base-0.94.0.3.tar.gz10550e8ca2dee598c790dd1c1c4359bdd1e495d9b881f5aa1f539c22f0dd5563747bf
cabal/regex-compat-0.95.2.2/regex-compat-0.95.2.2.tar.gz4658e27ed1d8c3616a7bd471c66950c7dd3bbdfe435da8319d647bfea12031bb301c
cabal/regex-posix-0.96.0.2/regex-posix-0.96.0.2.tar.gz133437e570460c35c5deec54d1ba46305ddb4679c7d4aae84f631dd0c61daaeaa8150

Commit history 0

No commits in the history this site was built from.