aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-02RST writer: Ensure no blank line after def in definition list.John MacFarlane1-1/+1
Closes #992.
2014-01-02Pretty: Added nestle. API change, minor version bump to 1.12.3.John MacFarlane1-1/+10
2014-01-02HTML writer: With --toc, headers no longer link to themselves.John MacFarlane1-15/+8
Closes #1081.
2014-01-02Use isHeaderBlock from Shared rather than defining it anew...John MacFarlane2-9/+3
2014-01-02ODT writer: Use mathml for proper rendering of formulas.John MacFarlane1-8/+42
Note: LibreOffice's support for this seems a bit buggy. But it should be better than what we had before.
2014-01-02OpenDocument writer: Fixed RawInline, RawBlock so they don't escape.John MacFarlane1-6/+10
2014-01-02Moved fixDisplayMath from Docx writer to Writer.Shared.John MacFarlane2-25/+29
2014-01-01HTML reader: Parse name/content pairs from meta tags as metadata.John MacFarlane1-1/+10
Closes #1106.
2014-01-01Docx writer: Fixed problem with some modified reference docx files.John MacFarlane1-2/+7
Include `word/_rels/settings.xml.rels` if it exists, as well as other `rels` files besides the ones pandoc generates explicitly.
2013-12-19HLint: use fromMaybeHenry de Valence10-23/+30
Replace uses of `maybe x id` with `fromMaybe x`.
2013-12-19HLint: use /=Henry de Valence1-1/+1
2013-12-19HLint: redundant parensHenry de Valence5-5/+5
Remove parens enclosing a single element.
2013-12-19HLint: Remove lambdas.Henry de Valence1-2/+1
2013-12-19HLint: use `elem` and `notElem`Henry de Valence6-23/+19
Replaces long conditional chains with calls to `elem` and `notElem`.
2013-12-19HLint: Use allHenry de Valence2-5/+5
Replace `and . map` with `all`.
2013-12-17LaTeX writer: Better treatment of footnotes in tables.John MacFarlane1-6/+29
Notes now appear in the regular sequence, rather than in the table cell. (This was a regression in 1.10.)
2013-12-17LaTeX writer: Factored out function for table cell creation.John MacFarlane1-13/+17
2013-12-17LaTeX reader: Support babel-style quoting: `` "`..."' ``.John MacFarlane1-0/+2
2013-12-16Docbook reader: Avoid failure if tbody contains no tr or row elements.John MacFarlane1-1/+3
2013-12-15Properly handle script blocks in strict mode.John MacFarlane1-1/+3
(That is, markdown-markdown_in_html_blocks.) Previously a spurious `<p>` tag was being added. Closes #1093.
2013-12-13LaTeX reader: add support for Verb macroJeff Arnold1-0/+1
2013-12-13EPUB writer: Fixed bug with `--epub-stylesheet`.John MacFarlane1-2/+1
Now the contents of `writerEpubStylesheet` (set by `--epub-stylesheet`) should again work, and take precedence over a stylesheet specified in the metadata.
2013-12-12Markdown reader: Fixed regression in title blocks.John MacFarlane1-4/+4
If author field was empty, date was being ignored. Closes #1089.
2013-12-09Added `withSocketsDo` around http conduit code in `openURL`.John MacFarlane1-1/+2
This should address #1080, but further testing on Windows is needed before we can close the bug.
2013-12-09Don't use tilde code blocks with braced attributes in gfm output.John MacFarlane1-9/+9
A consequence of this change is that the backtick form will be preferred in general if both are enabled. I think that is good, as it is much more widespread than the tilde form. Closes #1084.
2013-12-07Another small performance improvement.John MacFarlane1-3/+5
2013-12-07Small performance improvement in list parsing.John MacFarlane1-2/+3
2013-12-07Markdown reader: Fixed bug with literal `</div>` in lists.John MacFarlane1-3/+4
Closes #1078.
2013-12-06Text.Pandoc: Don't default to pandocExtensions for all writers.John MacFarlane1-1/+4
In particular, we don't want to default to math parsing for the HTML writer.
2013-12-06HTML reader: Parse LaTeX math if appropriate options are set.John MacFarlane4-35/+45
* Moved inlineMath, displayMath from Markdown reader to Parsing. * Export them from Parsing. (API change.) * Generalize their types.
2013-12-04Stop parsing "list lines" when we hit a block tag.John MacFarlane1-1/+3
This fixes exponential slowdown in certain input, e.g. a series of lists followed by `</div>`.
2013-12-03Merge pull request #1076 from jlduran/booktabsJohn MacFarlane1-5/+5
Add booktabs package for LaTeX tables
2013-12-04Add booktabs package for LaTeX tablesJose Luis Duran1-5/+5
[ci skip]
2013-12-03EPUB writer: Allow 'stylesheet' in metadata.John MacFarlane1-11/+22
The value is a path to the stylesheet.
2013-12-01EPUB writer: Allow partial dates: YYYY, YYYY-MM.John MacFarlane1-3/+14
Improves on #1074, since now we don't default to January 1.
2013-12-01normalizeDate: Allow dates with year only (%Y)Shaun Attfield1-1/+1
2013-11-30EPUB writer: Insert "svg" property as needed in opf (EPUB 3).John MacFarlane1-3/+9
2013-11-30EPUB writer: Simplify imageTypeOf using getMimeType.John MacFarlane1-9/+3
2013-11-30MIME: Add entry for jfif.John MacFarlane1-0/+1
2013-11-30EPUB writer: Add properties attribute to cover-image item for EPUB v3.John MacFarlane1-1/+6
2013-11-30Markdown writer: Fix rendering of tight sublists.John MacFarlane1-1/+8
E.g. - foo - bar - baz Previously a spurious blank line was included before the last item. Closes #1050.
2013-11-30ODT writer: Add `draw:name` attribute to `draw:frame` elements.John MacFarlane1-2/+8
This is reported to be necessary to avoid an error from recent versions of Libre Office when files contain more than one image. Closes #1069. Thanks to wmanley for reporting and diagnosing the problem.
2013-11-30ConTeXt writer: Don't hardcode figure/table placement.John MacFarlane1-4/+4
Instead, let this be set in the template, using `\setupfloat`. Thanks to Aditya Mahajan for the suggestion.
2013-11-30Fixed `cover-image` in EPUB YAML metadata.John MacFarlane1-1/+2
2013-11-30Allow specification of epub-cover-image in YAML metadata.John MacFarlane1-9/+8
2013-11-30EPUB writer: Improved metadata handling.John MacFarlane1-51/+591
* Metadata may now be included in YAML blocks in a markdown document. For example, --- title: - type: main text: My Book - type: subtitle text: An investigation of metadata creator: - role: author text: John Smith - role: editor text: Sarah Jones identifier: - scheme: DOI text: doi:10.234234.234/33 publisher: My Press rights: (c) 2007 John Smith, CC BY-NC ... * Metadata may still be provided using `--epub-metadata`; it will be merged with the metadata in YAML blocks. * meta tags are used instead of opf attributes for EPUB3.
2013-11-23Docx writer: Implemented csl flipflopping spans.John MacFarlane1-1/+6
2013-11-23LaTeX writer: Handle csl flipflopping spans (csl-no-emph, etc.)John MacFarlane1-1/+10
2013-11-23HTML writer: Handle csl flipflopping spans (csl-no-emph, etc.)John MacFarlane1-2/+16
2013-11-22EPUB writer: Don't include node for cover.xhtml if no cover!John MacFarlane1-2/+3