Releases: ickc/pandoc-amsthm
Releases · ickc/pandoc-amsthm
pandoc-amsthm v2.0.0: reimplement amsthm environment as a pandoc filter
README: expand the description of "YAML Front Matter"
The default.yml
is changed to a more readable form, which is functionally equivalent to the previous default.yml
.
Fix Bug in HTML templates
That accidentally used .Proof
instead of .proof
in 1 instance.
Add default options
v1.2.1 add defaults
Support other HTML related outputs
Added template fragments so that one can include it in their own custom templates. This has a side benefits of supporting all HTML related outputs such as dzslides, html, html5, revealjs, s5, slideous, slidy.
The documentation and organization are greatly simplified too. demo are now put in a separate gh-pages branch.
Fix a potential issue when there's multiple classes in the divs
1.1.1 Updated the description in the test
Let filter run only when the format is LaTeX
1.1.0 simplifies makefiles
A minor update on where the CSS counter is reset
I decided to use html
instead of body
to reset the counter. See the caveat in the README.
Finalizing the syntax
Finalizing the YAML syntax, for example:
---
amsthm:
plain: [Theorem]
plain-unnumbered: [Lemma, Proposition, Corollary]
definition: [Definition,Conjecture,Example,Postulate,Problem]
definition-unnumbered: []
remark: [Case]
remark-unnumbered: [Remark,Note]
proof: [proof]
parentcounter: chapter
---
And the syntax to use an amsthm environment:
<div class="proof">
A Proof.
</div>
<div class="Theorem">
A Theorem.
</div>
<div class="Theorem boxed">
A boxed theorem if you define so in CSS. (Of course other filters needed if you want it boxed in LaTeX too.)
</div>