simplebnf
markdown
simplebnf | markdown | |
---|---|---|
2 | 4 | |
34 | 314 | |
- | - | |
6.9 | 9.8 | |
6 months ago | 8 days ago | |
TeX | TeX | |
MIT License | LaTeX Project Public License v1.2 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
simplebnf
-
simplebnf 1.0.0: A small package to typeset BNF grammars in DSL
I've updated the simplebnf package to version 1.0.0, which enables typesetting BNF grammars by simply writing them: tex \begin{bnf}[ colspec = {llcll}, column{1} = {font = \sffamily}, column{2} = {mode = dmath}, column{4} = {font = \ttfamily}, ] \tau : Type ::= | num : numbers | str : strings ;; e : Expr ::= | $x$ : variable | $n$ : numeral | $e$ + $e$ : addition | $e$ * $e$ : multiplication | $e$ \textasciicircum{} $e$ : concatenation | len($e$) : length | let $x$ = $e_1$ in $e_2$ : definition \end{bnf} And as some could have guessed from the above snippet, the backend is now using the tabularray package.
- A small package to typeset BNF grammars in DSL
markdown
- A package for converting and rendering Markdown documents in TeX
- A package for converting and rendering Markdown documents inside TeX
-
How to write LaTeX without writing LaTeX
If your only target from Markdown is LaTeX, I recommend the LaTeX markdown package which uses lua to parse and convert the input markdown: https://github.com/Witiko/markdown
Pandoc shines when targetting multiple backends, like EPUB, HTML and LaTeX/PDF. But the LaTeX markdown package has one advantage when only targetting LaTeX, especially in academic settings: it translates everything to the LaTeX you'd expected. For example, citations are translated into biblatex calls, while pandoc generates all of the citations and the bibliography by itself, bypassing the style and behavior you and your professors might expect.
-
Coming soon: Publishing Beautiful Books with Markdown
For a conversion to an e-book, it is possible to take a trip through (La)TeX and TeX4ht, or use Pandoc, which is pretty good at converting from Markdown to HTML (better than between, say, HTML and LaTeX). We will cover all these aspects and more in our book, which itself will be written and typeset using the Markdown package.
What are some alternatives?
moderncv - A modern curriculum vitae class for LaTeX
org-fragtog - Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them
tikzpingus - 🐧 Penguins in LaTeX with TikZ
novelWriter - novelWriter is an open source plain text editor designed for writing novels. It supports a minimal markdown-like syntax for formatting text. It is written with Python 3 (3.9+) and Qt 5 (5.15) for cross-platform support.
bnfc - BNF Converter
mathpix.el - Mathpix Emacs Plugin
cdlatex - Fast input methods to enter LaTeX environments and math with GNU Emacs
plaited - Pandoc filter for publishing code notebooks
rmarkdown - Dynamic Documents for R
github-orgmode-tests - This is a test project where you can explore how github interprets Org-mode files
magit - It's Magit! A Git Porcelain inside Emacs.