2008-02-15 13:42:24 +00:00
|
|
|
{stdenv, fetchurl, ghostscript}:
|
2008-02-12 09:58:57 +00:00
|
|
|
|
2008-09-19 08:32:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-03 10:08:41 +00:00
|
|
|
name = "lout-3.40";
|
2008-09-19 08:32:37 +00:00
|
|
|
|
2008-02-12 09:58:57 +00:00
|
|
|
src = fetchurl {
|
2008-09-19 08:32:37 +00:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.cs.usyd.edu.au/jeff/lout/${name}.tar.gz"
|
2010-09-21 12:31:06 +00:00
|
|
|
"mirror://savannah/lout/${name}.tar.gz" # new!
|
|
|
|
"mirror://sourceforge/lout/${name}.tar.gz" # to be phased out
|
2008-09-19 08:32:37 +00:00
|
|
|
# XXX: We could add the CTAN mirrors
|
2018-12-01 17:32:32 +00:00
|
|
|
# (see https://www.ctan.org/tex-archive/support/lout/).
|
2008-09-19 08:32:37 +00:00
|
|
|
];
|
2014-03-03 10:08:41 +00:00
|
|
|
sha256 = "1gb8vb1wl7ikn269dd1c7ihqhkyrwk19jwx5kd0rdvbk6g7g25ix";
|
2008-02-12 09:58:57 +00:00
|
|
|
};
|
|
|
|
|
2008-02-15 13:42:24 +00:00
|
|
|
buildInputs = [ ghostscript ];
|
2008-02-12 09:58:57 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Document layout system similar in style to LaTeX";
|
2008-09-19 08:32:37 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The Lout document formatting system is now reads a high-level
|
|
|
|
description of a document similar in style to LaTeX and produces
|
|
|
|
a PostScript or plain text output file.
|
|
|
|
|
|
|
|
Lout offers an unprecedented range of advanced features,
|
|
|
|
including optimal paragraph and page breaking, automatic
|
|
|
|
hyphenation, PostScript EPS file inclusion and generation,
|
|
|
|
equation formatting, tables, diagrams, rotation and scaling,
|
|
|
|
sorted indexes, bibliographic databases, running headers and
|
|
|
|
odd-even pages, automatic cross referencing, multilingual
|
|
|
|
documents including hyphenation (most European languages are
|
|
|
|
supported), formatting of computer programs, and much more, all
|
|
|
|
ready to use. Furthermore, Lout is easily extended with
|
|
|
|
definitions which are very much easier to write than troff of
|
|
|
|
TeX macros because Lout is a high-level, purely functional
|
|
|
|
language, the outcome of an eight-year research project that
|
|
|
|
went back to the beginning.
|
|
|
|
'';
|
|
|
|
|
2018-12-01 17:32:32 +00:00
|
|
|
# Author's page: http://jeffreykingston.id.au/lout/
|
|
|
|
# Wiki: https://sourceforge.net/p/lout/wiki/
|
|
|
|
homepage = https://savannah.nongnu.org/projects/lout/;
|
2008-09-19 08:32:37 +00:00
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-09-21 12:31:06 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2015-01-13 21:33:24 +00:00
|
|
|
maintainers = [ ];
|
2008-02-12 09:58:57 +00:00
|
|
|
};
|
|
|
|
}
|