Commit graph

29 commits

Author SHA1 Message Date
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