| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
* "Merge" MANUAL.txt into README.md
Pull request #3157 without the automatic building from MANUAL.txt to
README.md
* remove contributors in README.md
|
|\
| |
| | |
Use the markdown version of COPYING from GNU
|
| |
| |
| |
| | |
From https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
|
|\ \
| | |
| | | |
Add command line option allowing to set type of top-level divisions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `--chapters` option is replaced with `--top-level-division` which allows
users to specify the type as which top-level headers should be output. Possible
values are `section` (the default), `chapter`, or `part`.
The formats LaTeX, ConTeXt, and Docbook allow `part` as top-level division, TEI
only allows to set the `type` attribute on `div` containers. The writers are
altered to respect this option in a sensible way.
|
| | |
| | |
| | |
| | |
| | | |
TEI doesn't have `<book>` elements but only generic `<divN>` division elements.
Checking the template for a trailing `</book>` is nonsensical.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add --parts command line argument.
This only effects LaTeX writer, and only for non-beamer output formats.
It changes the output levels so the top level is 'part', the next
'chapter' and then into sections.
|
|\ \ \
| |/ /
|/| | |
[odt] proper formatting of an image with a caption
|
|/ /
| |
| |
| |
| | |
Latex Writer only handles captions if the image's title
is prefixed with 'fig:'.
|
|\ \
| | |
| | | |
Issue 3143: Don't duplicate text for anchors
|
| | |
| | |
| | |
| | |
| | | |
When creating an anchor element we were adding its representation
as well as the original content, leading to text duplication.
|
|\ \ \
| | | |
| | | | |
[odt] images parser
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Frame can contain other frames with the text boxes.
This is something that has not been considered before
and meant that the whole construction of images was
broken in those cases. Also the captions were fixed/ignored.
|
| |/ /
| | |
| | |
| | |
| | | |
Highly influenced by the docx support, refactored
some code to avoid DRY.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
@tarleb this is an interesting one, see the build log in
https://travis-ci.org/jgm/pandoc/jobs/168612017
It only failed on ghc 7.8; I think this must have to do with
the change making Monad a superclass of Applicative, hence
this change.
|
| | | |
|
| | |
| | |
| | |
| | | |
Otherwise we can't set flags.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Disable optimizations.
Make sure we don't change flag on aeson.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The writer no longer adds an extra space before footnote markers.
Fixes: #3162
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RST requires a space before a footnote marker. We discard those spaces
so that footnotes will be adjacent to the text that comes before
it. This is in line with what rst2latex does. rst2html does not discard
the space, but its html output is different than pandoc's, so this seems
the most semantically correct approach.
Closes #3163
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This dramatically speeds up the build, according to the
aeson changelog.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A `#+CAPTION` attribute before an image is enough to turn an image into a
figure. This wasn't the case because the `parseFromString` function, which
processes the caption value, would fail on empty values. Adding a newline
character to the caption value fixes this.
Fixes: #3161
|
| | |
| | |
| | |
| | | |
Use exported Arbitrary instances from pandoc-types instead.
|
|\ \ \
| | | |
| | | | |
[ODT Parser] Include list's starting value
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Review revealed that we didn't handle the case
when the starting point is an empty string. While
this is not a valid .odt file, we simply added
a special case to deal with it.
Also added tests for the new feature.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously the starting value of the lists' items has been
hardcoded to 1. In reality ODT's list style definition can
provide a new starting value in one of its attributes.
Writers already handle the modified start value so no need
to change anything in that area.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
We do basically the same thing every time we insert notes, so let's cut
down on code duplication.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Previously we required 0.5.
Remove CPP conditionals for earlier versions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 3f82471355286d33f2d73329c29a51c47bf76ad7.
We might want to revert the requirement of http-client 0.5,
as this is not yet in Stackage and that is starting to
cause problems. I can't recall why it is there.
|
| | |
| | |
| | |
| | | |
Cloess #258.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Read and write LineBlock elements
|