Age | Commit message (Collapse) | Author | Files | Lines |
|
Numbered lists were being numbered continuously, instead
of having new lists start again with 1.
|
|
|
|
Print warning if file doesn't exist.
|
|
* New module `Text.Pandoc.Docx`.
* New output format `docx`.
* Added reference.docx.
* New option `--reference-docx`.
The writer includes support for highlighted code blocks
and math (which is converted from TeX to OMML using
texmath's new OMML module).
|
|
* ImageSize record now includes dpiX, dpiY, pxX, pxY.
* New functions sizeInPixels and sizeInPoints.
|
|
OpenDocument writer: a title like "123x467" is interpreted
as size in *points*.
ODT writer: while adding images to the archive, computes their
sizes and inserts a title attribute with the size before
calling opendocument writer.
Size is computed as follows:
size in points = size in pixels * 96 / 72
|
|
Later we'll modify the ODT writer to insert such titles, so image
sizes will be correct in the ODT.
|
|
|
|
|
|
Defaults to locale language if `lang` is not set.
|
|
Inline math uses the :math:`...` construct.
Display math uses
.. math:: ...
or if multilin
.. math::
...
These seem to be supported now by rst2latex.py.
|
|
http://sphinx.pocoo.org/latest/ext/math.html
|
|
This was a regression introduced by the recent internal
links changes.
|
|
|
|
Based on a patch by B. Scott Michel.
Also simplified use of \hyphenateurl. We no longer try to go within
an Inline list to find URLs. This is resource-heavy, and the main
use case is autolinks, which can be readily recognized.
|
|
Based on a patch by B. Scott Michel.
|
|
Add the ability to refer to internal links to the ConTeXt writer, just
like the HTML writer can. The 'hierarchicalize' function generates
unique names for sections, which can be used for references in ConTeXt,
just as they can be in HTML.
The ConTeXt writer adds these unique identifiers to each \section and
does special processing of the Link target to see if it starts with a
'#' (hash symbol), which is the tip-off that the link is an internal
link.
|
|
Footnotes and email addresses now come out in a more pleasing
way.
Modified from a patch by B. Scott Michel.
|
|
|
|
Use isURI instead of isAbsoluteURI, as it also matches
absolute URIs with '#...' at the end.
|
|
Deeply scan through the [Inline] associated with a Link and ensure that
all URLs are hyphenated using SYB primitives.
|
|
We now check the `documentclass` variable, and if that is
not set, we look through the template itself. Also, we
have added the KOMA classes scrreprt and scrbook.
You can now make a book using
markdown2pdf -V documentclass:book
|
|
This should fix `<dc:language>` problems.
|
|
Use Link instead of RawInline for reference backlinks
|
|
Beamer output uses the default LaTeX template, with some
customizations via variables.
Added `writerBeamer` to `WriterOptions`.
Added `--beamer` option to `markdown2pdf`.
|
|
The container element will have the classes, id, and
key-value attributes you specified in the delimited code
block.
Previously these were stripped off.
|
|
Previously they were ignored. Now all links are preserved,
but purely internal links are modified so that they point
to the proper place in the EPUB.
This is nontrivial, since the heading you refer to in your
markdown source with 'my-section-1' might end up as
'ch16.xhtml#my-section' in the EPUB.
Closes #76.
|
|
|
|
|
|
|
|
Text.Pandoc.Highlighting now exports just one new function,
'highlight', and reexports all the other functions from
highlighting-kate that are used in the writers. This should
make it easy to switch highlighting engines if that is ever
desired.
|
|
properly when using the xmlhtml package
|
|
|
|
|
|
|
|
* highlightLaTeX, highlightHtml now return Maybe, not Either.
* This is because h-k's higdlightAs no longer returns an Either.
|
|
|
|
This requires blaze-html >= 0.4.3.0.
|
|
(In HTML 5, the "section" class is omitted, since the tag itself
is "section.")
|
|
epub-page.html, epub-coverimage.html, epub-titlepage.html.
|
|
|
|
This requires using a custom string escaper. If we use toHtml
from Blaze, we get ', which is pointless unless you're
writing attributes in single quotes.
|
|
|
|
* This is a breaking API change for `writeHtml`.
* It introduces a new dependency on blaze-html.
* Pandoc now depends on highlighting-kate >= 0.4, which
also uses blaze-html.
* The --ascii option has been removed, because of differences
in blaze-html's and xhtml's escaping.
* Pandoc will no longer transform leading newlines in code
blocks to `<br/>` tags.
|
|
kindlegen doesn't like them - even '.
It should be safe to use the unescaped ' character, since
we know that all attributes are double quoted in the relevant
files.
|
|
|
|
|
|
This addresses a problem with kindlegen pointed out by
Axel Kielhorn.
|
|
|
|
escapeURI now only escapes space characters, leaving unicode characters
as they are, instead of converting them to octets and URL-encoding them,
as before. This gives more readable URIs. User agents now do the
percent-encoding themselves.
URIs are no longer unescaped at all on conversion to markdown, asciidoc,
rst, org.
Closes #349.
|