Commit graph

40 commits

Author SHA1 Message Date
Marc Weber 3157bb1098 removed all __primops from nixpkgs
svn path=/nixpkgs/trunk/; revision=15693
2009-05-24 10:57:46 +00:00
Eelco Dolstra ca5e6b9624 svn path=/nixpkgs/trunk/; revision=14033 2009-02-11 14:53:17 +00:00
Eelco Dolstra 5689d7338e * Support LaTeX documents that have multiple bibliographies (using the
multibib package).

svn path=/nixpkgs/trunk/; revision=13723
2009-01-08 09:54:04 +00:00
Eelco Dolstra d051b20a39 * Graphviz updated to 2.20.2. Now built with fontconfig, gd and pango
support.
* New function makeFontsConf to generate a fontconfig configuration
  file.  Moved from NixOS.
* dot2pdf: use makeFontsConf to generate a fonts.conf containing just
  the Ghostscript fonts (see NIXPKGS-29).
* dot2pdf: generate PDF directly, don't go through PS.  Note that this
  and using fontconfig changes the interpretation of "fontname"
  attributes in dot graphs.

svn path=/nixpkgs/trunk/; revision=12251
2008-07-03 14:27:19 +00:00
Eelco Dolstra 80e0fbb261 * Raise the dpi.
svn path=/nixpkgs/trunk/; revision=11854
2008-05-20 11:57:40 +00:00
Eelco Dolstra 374ccd290b * runLaTeX: added an option to copy the collected TeX inputs to $out
(useful when you need to send TeX sources for a paper to a third
  party).

svn path=/nixpkgs/trunk/; revision=11837
2008-05-16 11:48:46 +00:00
Eelco Dolstra 3042994875 * ImageMagick: don't need to keep old versions I guess.
* texFunctions.simpleTexToPNG: purity (use our own ImageMagick).

svn path=/nixpkgs/trunk/; revision=11836
2008-05-16 11:26:23 +00:00
Eelco Dolstra 76b73720da * Sometime LaTeX needs 4 passes.
svn path=/nixpkgs/trunk/; revision=11456
2008-04-02 15:10:49 +00:00
Eelco Dolstra f212e0380e svn path=/nixpkgs/trunk/; revision=10964 2008-03-05 14:37:41 +00:00
Eelco Dolstra 777826925d * \input{foo} should look for foo.tex by default.
svn path=/nixpkgs/trunk/; revision=10176
2008-01-16 13:28:54 +00:00
Eelco Dolstra 473997f01c * Work around a bad Perl interpreter path.
svn path=/nixpkgs/trunk/; revision=8553
2007-04-09 23:29:00 +00:00
Eelco Dolstra 19d0e47320 * Print a warning if files cannot be found.
svn path=/nixpkgs/trunk/; revision=8476
2007-03-29 09:23:47 +00:00
Eelco Dolstra 1c65a5b328 * A function `simpleTeXToPNG' that typesets a piece of LaTeX code
(e.g., a file containing something like `$x^2 + y^2 = z^2$') and
  converts it to a PNG image with no unnecessary surrounding
  whitespace.  Useful when you want to include TeX stuff in webpages /
  other documents.

  This currently calls /usr/bin/convert, so we should add ImageMagick.

svn path=/nixpkgs/trunk/; revision=8269
2007-03-12 18:06:31 +00:00
Eelco Dolstra ead48be229 * runLaTeX: support generation of Postscript.
* findLaTeXIncludes: handle the case where the input is already in the
  Nix store, and allow a different prefix to be used for searching
  included files.

svn path=/nixpkgs/trunk/; revision=8268
2007-03-12 17:55:08 +00:00
Eelco Dolstra cf04579cc5 * Added pgf/tikz.
* runLaTeX: allow additional TeX packages to be specified.
* teTeX setup hook: TEXMFNIX doesn't seem to work, use TEXINPUTS.

svn path=/nixpkgs/trunk/; revision=8261
2007-03-10 23:51:59 +00:00
Eelco Dolstra 9485d4a320 * Support \pgfimage.
svn path=/nixpkgs/trunk/; revision=7087
2006-11-22 07:06:10 +00:00
Eelco Dolstra 76405f2b7f * `drv + /path' is deprecated, so don't do that anymore.
svn path=/nixpkgs/trunk/; revision=6754
2006-10-17 14:06:18 +00:00
Eelco Dolstra af3721de0a * Slightly evil: compress the log file to prevent TeX output from
retaining a dependency on teTeX.

svn path=/nixpkgs/trunk/; revision=6559
2006-09-19 12:13:37 +00:00
Eelco Dolstra bf1e734f85 * Don't use the subpath operator (~) anymore, it's subsumed by normal
concatenation (+).

svn path=/nixpkgs/trunk/; revision=6080
2006-08-09 15:05:30 +00:00
Eelco Dolstra a4d3fde9d5 * Follow \bibliographystyle to find .bst files.
svn path=/nixpkgs/trunk/; revision=5590
2006-07-05 13:39:22 +00:00
Eelco Dolstra 6121806948 * Follow \usepackage.
svn path=/nixpkgs/trunk/; revision=5436
2006-06-14 10:11:21 +00:00
Eelco Visser 00bdbb7fff dot2ps
svn path=/nixpkgs/trunk/; revision=5152
2006-04-11 13:27:01 +00:00
Eelco Dolstra acf47a1bb8 * Prevent unnecessary LaTeX runs.
svn path=/nixpkgs/trunk/; revision=5082
2006-03-23 14:34:17 +00:00
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra d68e567fe3 * Enable option to compress multiple spaces in the index.
svn path=/nixpkgs/trunk/; revision=4314
2005-11-28 14:19:46 +00:00
Eelco Dolstra e11a1e014c * Also copy the generated bibliography (*.bbl) to $out.
svn path=/nixpkgs/trunk/; revision=3992
2005-10-02 15:49:09 +00:00
Eelco Dolstra 7fccd83384 * Support \pgfdeclareimage.
svn path=/nixpkgs/trunk/; revision=3771
2005-09-02 15:50:55 +00:00
Eelco Dolstra 860e14cd3d * Support references to parent directories, e.g., \input{../../macros.ltx}.
svn path=/nixpkgs/trunk/; revision=3748
2005-08-30 13:10:30 +00:00
Eelco Dolstra 8c1905ce5b * Print the page count.
svn path=/nixpkgs/trunk/; revision=3592
2005-08-16 21:53:46 +00:00
Eelco Dolstra b40cfcf0f5 * Suppress most of that crap TeX spews over your screen. Print a
summary of the under/overfull boxes and undefined
  references/citations.  The full log output is still written to
  $out/log.

svn path=/nixpkgs/trunk/; revision=3590
2005-08-16 20:59:39 +00:00
Eelco Dolstra b5a41376a7 * Don't use `seq'.
svn path=/nixpkgs/trunk/; revision=3281
2005-07-01 20:16:56 +00:00
Eelco Dolstra d33693c438 * Support PNG files.
svn path=/nixpkgs/trunk/; revision=3258
2005-06-27 16:48:00 +00:00
Eelco Dolstra 6ea37d567f * A function for dot animation.
svn path=/nixpkgs/trunk/; revision=3255
2005-06-27 09:44:27 +00:00
Eelco Dolstra 1751b6481d * Process \includegraphics{filename}.
svn path=/nixpkgs/trunk/; revision=3237
2005-06-21 20:34:15 +00:00
Eelco Dolstra 3919b35495 * Add a dot2pdf function.
svn path=/nixpkgs/trunk/; revision=3232
2005-06-20 22:43:35 +00:00
Eelco Dolstra fe0981babd * Scan for BibTeX files included by \bibliography.
* Automatically run BibTeX when necessary (i.e., when there are
  \citations in the aux file).

svn path=/nixpkgs/trunk/; revision=3222
2005-06-20 15:20:37 +00:00
Eelco Dolstra 6ce80304a5 * Handle subdirectories (e.g., \input{foo/bar.tex}). We don't yet
handle relative paths to parent directories (../foo/bar.tex).  This
  can be handled as was done in
  https://svn.cs.uu.nl:12443/repos/trace/nix/trunk/make/lib/compile-c.sh.
  The `copy-includes.pl' script is generic (not LaTeX specific), so it
  should eventually replace most of compile-c.sh and any future
  builders that have to set up a tree of symlinks to simulate the
  original directory hierarchy of the sources.

svn path=/nixpkgs/trunk/; revision=3220
2005-06-20 15:06:58 +00:00
Eelco Dolstra 2cc66184ce * Oops.
svn path=/nixpkgs/trunk/; revision=3218
2005-06-20 14:26:07 +00:00
Eelco Dolstra 6b35cefbf8 * Find LaTeX document dependencies automatically by scanning for
\input and \documentclass.  Copied from Maak
  (https://svn.cs.uu.nl:12443/repos/pkgs/texwrappers/trunk/chase-latex-inputs.pl).

  TODO: support \bibliography, \usepackage, \includegraphics, etc.

svn path=/nixpkgs/trunk/; revision=3217
2005-06-20 14:25:50 +00:00
Eelco Dolstra 6fcee91442 * Macros for building LaTeX documents using Nix.
svn path=/nixpkgs/trunk/; revision=3216
2005-06-20 13:51:48 +00:00