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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/hs-lhs2tex | 1.26 |
| DragonFly | textproc/hs-lhs2tex | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.26 | 1.26 | - | - | - |
| FreeBSD:14:quarterly | 1.26 | 1.26 | n/a | - | - |
| FreeBSD:15:latest | 1.26 | 1.26 | n/a | - | - |
| FreeBSD:15:quarterly | 1.26 | 1.26 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.26 | 1.26 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/libiconv
- databases/gdbm
- databases/sqlite3
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/glib20
- devel/hs-cabal-install
- devel/icu
- devel/libdaemon
- devel/libedit
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libunistring
- devel/npth
- devel/nspr
- devel/p5-File-HomeDir
- devel/pcre2
- devel/py-packaging
- devel/readline
- devel/t1lib
- devel/tex-kpathsea
- devel/tex-web2c
- devel/zziplib
- dns/libidn
- dns/libidn2
- graphics/cairo
- graphics/gd
- graphics/giflib
- graphics/graphite2
- graphics/jbig2dec
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libpotrace
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/tiff
- graphics/webp
- lang/ghc
- lang/perl5.42
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpdecimal
- math/mpfi
- math/mpfr
- net/avahi-app
- print/cups
- print/freetype2
- print/ghostscript10
- print/harfbuzz
- print/harfbuzz-icu
- print/indexinfo
- print/libpaper
- print/psutils
- print/tex-basic-engines
- print/tex-dvipsk
- print/tex-formats
- print/tex-ptexenc
- print/texlive-base
- print/texlive-texmf
- print/texlive-tlmgr
- print/xpdfopen
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libtasn1
- security/nettle
- security/nss
- security/p11-kit
- security/pinentry
- security/pinentry-curses
- sysutils/gnome_subr
- sysutils/p5-File-Which
- textproc/expat2
- textproc/libxml2
- textproc/p5-YAML-Tiny
- textproc/teckit
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/urw-base35-fonts
- x11-toolkits/libXaw
The first 100 are listed.
Run dependencies 111
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/libiconv
- databases/gdbm
- databases/sqlite3
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/glib20
- devel/icu
- devel/libdaemon
- devel/libedit
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libunistring
- devel/npth
- devel/nspr
- devel/p5-File-HomeDir
- devel/pcre2
- devel/py-packaging
- devel/readline
- devel/t1lib
- devel/tex-kpathsea
- devel/tex-web2c
- devel/zziplib
- dns/libidn
- dns/libidn2
- graphics/cairo
- graphics/gd
- graphics/giflib
- graphics/graphite2
- graphics/jbig2dec
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libpotrace
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/tiff
- graphics/webp
- lang/perl5.42
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpdecimal
- math/mpfi
- math/mpfr
- net/avahi-app
- print/cups
- print/freetype2
- print/ghostscript10
- print/harfbuzz
- print/harfbuzz-icu
- print/indexinfo
- print/libpaper
- print/psutils
- print/tex-basic-engines
- print/tex-dvipsk
- print/tex-formats
- print/tex-ptexenc
- print/texlive-base
- print/texlive-texmf
- print/texlive-tlmgr
- print/xpdfopen
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libtasn1
- security/nettle
- security/nss
- security/p11-kit
- security/pinentry
- security/pinentry-curses
- sysutils/gnome_subr
- sysutils/p5-File-Which
- textproc/expat2
- textproc/libxml2
- textproc/p5-YAML-Tiny
- textproc/teckit
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/urw-base35-fonts
- x11-toolkits/libXaw
- x11-toolkits/libXmu
- x11-toolkits/libXt
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
| File | Size | SHA256 |
|---|---|---|
| cabal/lhs2tex-1.26/lhs2tex-1.26.tar.gz | 905241 | 26a3a55d1a2e71a1af353e12e18c3dc704dfcebe9fa4418940f20aba0ee8c6a5 |
| cabal/regex-base-0.94.0.3/regex-base-0.94.0.3.tar.gz | 10550 | e8ca2dee598c790dd1c1c4359bdd1e495d9b881f5aa1f539c22f0dd5563747bf |
| cabal/regex-compat-0.95.2.2/regex-compat-0.95.2.2.tar.gz | 4658 | e27ed1d8c3616a7bd471c66950c7dd3bbdfe435da8319d647bfea12031bb301c |
| cabal/regex-posix-0.96.0.2/regex-posix-0.96.0.2.tar.gz | 13343 | 7e570460c35c5deec54d1ba46305ddb4679c7d4aae84f631dd0c61daaeaa8150 |
Commit history 0
No commits in the history this site was built from.