MultiMarkdown 3.0b1 released!
MultiMarkdown 3.0 has moved to beta. Changes in this version primarily consist of bug fixes (mostly bugs pointed out by Jonathan Coulombe — Thanks!). The more interesting changes are those related to XSLT.
Using MMD 3, there are two general approaches to generating LaTeX output. The
first approach is using the multimarkdown -t latex
command line approach.
The multimarkdown
binary converts the source text file directly into LaTeX
output. This approach is the easiest and fastest. It also doesn’t require any
additional configuration once you’ve installed the binary.
The second approach is similar to the mechanism used in MMD 2. Basically, the
multimarkdown
binary is used to convert the source text file into XHTML.
Then, xsltproc
is used to convert the XHTML file into LaTeX. To help
simplify this, there is a script available in the [MMD-Support] package called
mmd2xslt.pl
.
IMPORTANT: This script is not yet “official.” This means, if you can figure out how to use it, great. If not, then wait for it to be officially supported. It’s been available for a while for the curious, but I would like to get a bit more testing from more advanced users who are comfortable working with this now.
In this release, I have worked to bring these two approaches for creating
LaTeX into sync. Ideally, whether one uses multimarkdown -t latex
or
mmd2xslt.pl
, the generated LaTeX output should be the same.
To test this, I have added a few new options to the Makefile
:
make # Compile the binary
make test # Test multimarkdown in compatibility mode against Markdown
make mmdtest # Test XHTML output against MMD-specific test files
make latextest # Test LaTeX output against MMD-specific test files
make xslttest # Test MMD->XHTML->XSLT->LaTeX against regular LaTeX output
Currently the XSLT approach only allows for plain LaTeX output. It doesn’t yet support the memoir or beamer output modes. These are planned for the future, however.