Better latex example and a few bug fixes.

Former-commit-id: c08f4f7b31996b8a6672a91d86724ea57869d043
This commit is contained in:
David Himmelstrup 2019-12-03 23:20:11 +08:00
commit a8192aa099
8 changed files with 180 additions and 62 deletions

View file

@ -226,3 +226,18 @@ This file is auto-generated by docs/render_all.sh. DO NOT EDIT.
<br/><hr><br/>
## tut_glue_latex
<details>
<summary>View tut_glue_latex.hs</summary>
<pre><code class="haskell">
{!examples/tut_glue_latex.hs!}
</code></pre>
</details>
<br/>
<video width="640" height="360" autoplay loop>
<source src="https://github.com/Lemmih/reanimate/raw/master/docs/rendered/tut_glue_latex.mp4">
</video>
<br/><hr><br/>

View file

@ -4,7 +4,7 @@ ROOT=`stack path --project-root`
EXAMPLES='boundingbox colormaps goo latex_basic latex_color latex_draw
latex_wheel raster sphere blender_default_cube
tut_glue_svg tut_glue_animate tut_glue_keyframe tut_glue_fourier
tut_glue_physics'
tut_glue_physics tut_glue_latex'
WIDTH=640
HEIGHT=$((WIDTH*9/16))

View file

@ -105,6 +105,19 @@ TODO: Show that LaTeX is a provider of SVG graphics. It has the type
'latex :: Text -> SVG'. Caching is automatic and it plays well with
other SVG functions (partialSvg, center, etc).
<details>
<summary>Toggle source code.</summary>
<pre><code class="haskell">
{!examples/tut_glue_latex.hs!}
</code></pre>
</details>
<br/>
<video width="640" height="360" autoplay loop>
<source src="../rendered/tut_glue_latex.mp4">
<source src="https://github.com/Lemmih/reanimate/raw/master/docs/rendered/tut_glue_latex.mp4">
</video>
## Pillar III: potrace
## Pillar IV: Povray