8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
13 owner = "william8000";
16 hash = "sha256-YUFrlM7BnDlG1rUV90yBvWG6lOKW5qKxs/xdq6I/kI0=";
19 buildInputs = [ ghostscript ];
23 "CC=${stdenv.cc.targetPrefix}cc"
27 description = "Document layout system similar in style to LaTeX";
30 The Lout document formatting system is now reads a high-level
31 description of a document similar in style to LaTeX and produces
32 a PostScript or plain text output file.
34 Lout offers an unprecedented range of advanced features,
35 including optimal paragraph and page breaking, automatic
36 hyphenation, PostScript EPS file inclusion and generation,
37 equation formatting, tables, diagrams, rotation and scaling,
38 sorted indexes, bibliographic databases, running headers and
39 odd-even pages, automatic cross referencing, multilingual
40 documents including hyphenation (most European languages are
41 supported), formatting of computer programs, and much more, all
42 ready to use. Furthermore, Lout is easily extended with
43 definitions which are very much easier to write than troff of
44 TeX macros because Lout is a high-level, purely functional
45 language, the outcome of an eight-year research project that
46 went back to the beginning.
49 homepage = "https://github.com/william8000/lout";
51 license = lib.licenses.gpl3Plus;
53 platforms = lib.platforms.all;