| Commit message (Collapse) | Author | Age |
|
|
|
| |
Partially resolves Issue #247.
|
| |
|
|
|
|
|
| |
We now carve up slides at HorizontalRules, rather than by level-1
headers. This gives the user lots of flexibility.
|
|
|
|
| |
Resolves Issue #122.
|
| |
|
|
|
|
|
|
|
| |
+ Added stateHasChapters to ParserState.
+ If a \chapter command is encountered, this is set to True
and subsequent \section commands (etc.) will be bumped up
one level.
|
|
|
|
|
| |
The refs are now replaced by numbers at the final stage, using
processWith.
|
|\ |
|
| |
| |
| |
| | |
Also implemented (@label) for example labels and references.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This allows us to remove an argument from the ODT and EPUB
writers.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The previous fix resulted in bird tracks being included in
both html and html+lhs renderings of literate haskell sections
when pandoc was compiled without highlighting support. This change make
pandoc without highlighting behave like pandoc with highlighting: the
bird tracks are used only if html+lhs output is specified.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
+ Captions may now begin simply with ':', instead of 'Table:'
+ Captions may now appear either above or below the table.
+ Resolves Issue #227.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Here they can be used by the Markdown reader as well.
|
| |
| |
| |
| | |
Resolves Issue #245.
|
| |
| |
| |
| | |
They have a special meaning in XML (e.g. in EPUB).
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Read a sequence of elements from the file.
Ignore anything that's not valid Dublin Core.
If title, language, uuid not supplied, supply them.
|
| | |
|
| |
| |
| |
| | |
This is no longer used with the new templating system.
|
| |
| |
| |
| |
| | |
+ Text.Pandoc.Writers.Native
+ The function prettyPandoc is now gone. Use writeNative instead.
|
| |
| |
| |
| | |
+ Text.Pandoc.Parsing
|
| |
| |
| |
| |
| |
| |
| |
| | |
+ New writer module Text.Pandoc.Writers.EPUB
+ Stylesheet in epub.css
+ --epub-stylesheet command-line option.
+ New utility module Text.Pandoc.UUID to generate
random UUIDs for EPUBs.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
+ Transformed the old Text.Pandoc.ODT module into a proper
writer module, Text.Pandoc.Writers.ODT.
+ Instead of saveOpenDocumentAsODT, we now have writeODT, which
takes a Pandoc document and produces a bytestring.
saveOpenDocumentAsODT has been removed.
+ To extract the images and insert them into the ODT, we now use
processPandocM on the Pandoc document rather than a custom XML parser.
+ Handle the case where the image is remote (or not found) by
converting the Image element into an Emph with the label.
+ Plumbing in pandoc.hs changed slightly to accomodate this, and to
allow other writers that live in the IO monad.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Resolves Issue #242. Previously the bird tracks would be
stripped off when pandoc was not compiled with highlighting support,
even if -t html+lhs was specified.
Thanks to Nicholas Wu for pointing out the problem.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* This affects the RST and Markdown readers.
* The type for stateKeys in ParserState has also changed.
* Pandoc, Meta, Inline, and Block have been given Ord instances.
* Reference keys now have a type of their own (Key), with its
own Ord instance for case-insensitive comparison.
|
| |
| |
| |
| |
| |
| | |
Otherwise we have a conflict with the 'empty' symbol,
introduced in syb >= 0.2. Thanks to ddssff for pointing
out the problem. Resolves Issue #237.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Resolves Issue #234.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use new rawLaTeXInline' in LaTeX reader, and export rawLaTeXInline
for use in markdown reader.
Fixes bug wherein '\section{foo}' was not recognized as raw TeX
in markdown document.
|
| |
| |
| |
| | |
(As in other writers.)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* This replaces a lot of custom parser code, and expands
the tex -> unicode conversion.
* The behavior has also changed: if the whole formula can't
be converted, the whole formula is left in raw TeX.
Previously, pandoc converted parts of the formula to unicode
and left other parts in raw TeX.
* Added (but not yet exported) readTeXMath', which returns a Maybe.
* Updated tests
|
| |
| |
| |
| | |
Resolves Issue #143.
|
| | |
|
|/
|
|
|
|
| |
Previously some characters that are illegal in HTML identifiers,
such as '<', were being allowed in header identifiers. The logic
has now been fixed. Thanks to Xyne for reporting.
|
|
|
|
| |
(Since they aren't required to be escaped in these formats.)
|