mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-11 16:12:20 +00:00
Support multiple latex configurations. (#173)
* Support multiple latex configurations. * Don't look for pdf2svg/dvisvgm unless they are actually required.
This commit is contained in:
parent
85c768cc2e
commit
009a9e2188
20 changed files with 558 additions and 161 deletions
13
examples/doc_calligra.hs
Executable file
13
examples/doc_calligra.hs
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env stack
|
||||
-- stack runghc --package reanimate
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Main (main) where
|
||||
|
||||
import Reanimate
|
||||
import Reanimate.LaTeX
|
||||
import Reanimate.Builtin.Documentation
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ docEnv $ staticFrame 1 $
|
||||
center $ withStrokeWidth 0 $ withFillOpacity 1 $ scale 4 $
|
||||
latexCfg calligra "calligra"
|
||||
Loading…
Reference in a new issue