Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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 Visser
00bdbb7fff dot2ps
svn path=/nixpkgs/trunk/; revision=5152
2006-04-11 13:27:01 +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
6ea37d567f * A function for dot animation.
svn path=/nixpkgs/trunk/; revision=3255
2005-06-27 09:44:27 +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
6fcee91442 * Macros for building LaTeX documents using Nix.
svn path=/nixpkgs/trunk/; revision=3216
2005-06-20 13:51:48 +00:00