Skip to content

Releases: ickc/pandoc-amsthm

pandoc-amsthm v2.0.0: reimplement amsthm environment as a pandoc filter

20 Oct 01:46
Compare
Choose a tag to compare

Complete rewrite as a standalone pandoc filter using panflute

README: expand the description of "YAML Front Matter"

26 Mar 21:37
Compare
Choose a tag to compare

The default.yml is changed to a more readable form, which is functionally equivalent to the previous default.yml.

Fix Bug in HTML templates

06 Oct 23:21
Compare
Choose a tag to compare

That accidentally used .Proof instead of .proof in 1 instance.

Add default options

03 Oct 06:55
Compare
Choose a tag to compare
v1.2.1

add defaults

Support other HTML related outputs

02 Oct 03:47
Compare
Choose a tag to compare

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

08 May 12:24
Compare
Choose a tag to compare
1.1.1

Updated the description in the test

Let filter run only when the format is LaTeX

08 May 10:56
Compare
Choose a tag to compare

A minor update on where the CSS counter is reset

23 Apr 10:58
Compare
Choose a tag to compare

I decided to use html instead of body to reset the counter. See the caveat in the README.

Finalizing the syntax

23 Apr 10:20
Compare
Choose a tag to compare
Finalizing the syntax Pre-release
Pre-release

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>