This package provides a way to use LaTeX code directly in Slideshow.
|(require (planet stchang/slideshow-tex))|
This package requires the following to be installed:
an updated geometry.sty that includes \newgeometry. Check here to download an updated geometry.sty and for install directions.
1) Input strings inserted into LaTeX document (in math mode) and compiled to pdf.
(Temporary files are created in the directory <tmpdir>/slideshow-texfiles/ where <tmpdir> is the result of (find-system-path ’temp-dir). Temporary files are named texfile<#>.<ext> where <#> is the equal-hash-code of the input string and <ext> is the appropriate extension (ie, tex, aux, etc.).)
2) pdf file converted to png file using ImageMagick.
(All temporary files, except png files, are deleted after the conversion is done.)
Results of compilation (ie, the png files) are cached. This function first checks for an existing png file (identified with the equal-hash-code hash) and uses instead of recompiling every time.
> (tex "\\lambda x.x")
() → boolean?