Age | Commit message (Collapse) | Author | Files | Lines |
|
Now by default pandoc will act as if link references have been defined
for all headers. So, you can do this:
# My header
Link to [My header].
Another link to [it][My header].
Closes #691.
|
|
This reverts commit 84ed0f055f71f32fc2db1dbe962e83cd0bb0b5d8.
|
|
file-embed uses forward slashes as path separators, even
on Windows. So we just convert backslashes to forward
before doing a lookup.
|
|
|
|
* Added `embed_data_files` flag. (not yet used)
* Shared no longer exports `findDataFile`.
* `readDataFile` now returns a strict bytestring.
* Shared now exports `readDataFileUTF8` which returns a string like
the old `readDataFile`.
* Rewrote modules to use new data file functions and to avoid
using functions from Paths_pandoc directly.
|
|
It is not widely implemented yet.
|
|
Didn't correctly handle case where nothing is parsed.
|
|
Environment macros still not supported.
|
|
Previously the textile reader and writer incorrectly implented
RST-style autolinks for URLs and email addresses.
This has been fixed. Now an autolink is done this way:
"$":http://myurl.com
|
|
This fixes a bug on input like "(_hello_)" which should
be a parenthesized emphasized "hello".
The new list is taken from the PHP source of textile 2.4.
|
|
Previously it was only included if used in a code block.
Closes #653.
|
|
|
|
Closes #654.
|
|
* Previously there were three different templates involved in
epub production. There is now just one template, default.epub
or default.epub3.
* It can now be overridden using `--template`, just like other
templates.
|
|
The titlepage stuff is now folded into the epub-page template.
A titlepage variable selects it.
|
|
The standard epub-page template is now used.
|
|
* Code highlighting now works by default.
* Quote styles work as in pandoc's HTML writer.
|
|
|
|
|
|
* Here we go back to splitting the document at the Pandoc AST
level, and converting each chapter to HTML separately.
* Fixes bug in footnote processing introduced by
commit 01d109e2efb880d9d2b8256d2e19ed4954076754. The bug caused
all footnotes to appear in the last chapter, so that footnote
links from other chapters would not work. Closes #651.
* We also disable writerTableOfContents, since TOC is automatic
for epub.
|
|
|
|
We were using [fragile] on slides even if they only contained
code that was rendered using `\texttt`. Now `[fragile]` is
only used for slides containing inline code if that code
is rendered using listings. Closes #649.
|
|
* MathML math method now used always in EPUB3 (even if another
math method specified in options).
* epub:switch is used to specify a non-MathML default. This is supposed
to proide a good fallback behavior in older readers, though I'm
not sure how well it works in practice.
|
|
|
|
|
|
|
|
|
|
This is needed for epub.
|
|
|
|
|
|
|
|
|
|
* EPUB writer now exports writeEPUB2 and writeEPUB3.
* 'epub' output format is epub v2, while 'epub3'
is v3.
|
|
Closes #650.
|
|
|
|
This reverts commit da87837318cf035be407136b39c5ec6a0009adb4.
Reason: The code was overzealous and would rule out some things
we want to be able to do, like include the same file multiple
times.
|
|
e.g. when one file includes another which includes it.
|
|
* `\input` now works, as well as `\include`.
* TEXINPUTS is used.
* We now look recursively into included files for more included files.
|
|
Makefile: Use citeproc-0.3.6 release.
|
|
|
|
|
|
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd.
Conflicts:
src/Text/Pandoc/Readers/LaTeX.hs
|
|
|
|
Also changed Biblio, Markdown reader, and LaTeX reader tests because
of new citationSuppressParens field in Citation.
|
|
Requires dev version of citeproc-hs.
|
|
Eventually it would be nice to use a "suppress outer parens" variant,
if citeproc-hs provides one.
|
|
Previously this was done in src/pandoc.hs, which made it difficult
for library users.
* Removed readerCitations in ReaderOptions.
* Added readerReferences and readerCitationStyle to ReaderOptions.
* Moved use of processBiblio from main program to the
markdown and LaTeX readers.
|
|
If Nothing, then nothing is done.
|
|
Now pandoc correctly handles hard line breaks inside list items.
Previously they broke list parsing. Thanks to Pablo
RodrÃguez for pointing out the problem.
|
|
Now it will also try to parse block commands. This is usually
what we want, given how rawLaTeXInline is used in the markdown
and textile readers. If a block-level LaTeX command is used
in the middle of a paragraph (e.g. `\subtitle` inside a title),
we can treat it as raw inline LaTeX.
|