Lout 3.37.
svn path=/nixpkgs/trunk/; revision=12886
This commit is contained in:
parent
40df8c7b92
commit
508ae51b7a
|
@ -22,7 +22,8 @@ installDoc ()
|
||||||
|| return 1
|
|| return 1
|
||||||
fi
|
fi
|
||||||
cp "doc/$doc/outfile.ps" "$out/doc/lout/$doc.ps" && \
|
cp "doc/$doc/outfile.ps" "$out/doc/lout/$doc.ps" && \
|
||||||
ps2pdf "doc/$doc/outfile.ps" "$out/doc/lout/$doc.pdf"
|
ps2pdf -dPDFSETTINGS=/prepress -sPAPERSIZE=a4 \
|
||||||
|
"doc/$doc/outfile.ps" "$out/doc/lout/$doc.pdf"
|
||||||
done
|
done
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -1,20 +1,47 @@
|
||||||
{stdenv, fetchurl, ghostscript}:
|
{stdenv, fetchurl, ghostscript}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "lout-3.36";
|
name = "lout-3.37";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.cs.usyd.edu.au/jeff/lout/lout-3.36.tar.gz;
|
urls = [
|
||||||
sha256 = "b689cbe12074be8817c90070b162593fc9cc51f2f8868701833ff599b24fd4ad";
|
"ftp://ftp.cs.usyd.edu.au/jeff/lout/${name}.tar.gz"
|
||||||
|
"mirror://sourceforge/lout/${name}.tar.gz"
|
||||||
|
# XXX: We could add the CTAN mirrors
|
||||||
|
# (see http://www.ctan.org/tex-archive/support/lout/).
|
||||||
|
];
|
||||||
|
sha256 = "1a388q7rpv27bvily7ii8sv2brns30g1hh77gq50qc7w0wsli0cc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ghostscript ];
|
buildInputs = [ ghostscript ];
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = ''Lout is a document layout system, similar in functionality
|
description = "Lout, a document layout system similar in style to LaTeX";
|
||||||
to TeX/LaTeX, but based on a purely functional programming
|
|
||||||
language. It can produce PostScript output.'';
|
longDescription = ''
|
||||||
homepage = http://www.cs.usyd.edu.au/~jeff/;
|
The Lout document formatting system is now reads a high-level
|
||||||
license = "GPL";
|
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.
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Author's page: http://www.cs.usyd.edu.au/~jeff/ .
|
||||||
|
homepage = http://lout.wiki.sourceforge.net/;
|
||||||
|
|
||||||
|
license = "GPLv3+";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue