summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
Commit message (Collapse)AuthorAge
* HTML writer: don't include alignment attribute for default table columns.John MacFarlane2016-02-03
| | | | | | | Previously these were given "left" alignment. Better to leave off alignment attributes altogether. Closes #2694.
* Docx reader: Add a "Link" modifier to ReducibleJesse Rosenthal2016-02-02
| | | | | | | We want to make sure that links have their spaces removed, and are appropriately smushed together. This closes #2689
* LaTeX reader: `inlineCommand` now gobbles an empty `{}` after any command.John MacFarlane2016-01-31
| | | | | | | | | | This gives better results when people write e.g. `\TeX{}` in Markdown. \TeX{} and \LaTeX{} now works as expected with `pandoc -f markdown -t latex`. Closes #2687.
* HTML reader: handle multiple meta tags with same name.John MacFarlane2016-01-29
| | | | | | Put them in a list in the metadata so they are all preserved, rather than (as before) throwing out all but one..
* Properly handle LaTeX "math" environment as inline math.John MacFarlane2016-01-29
| | | | See #2171.
* Textile reader: Support `>`, `<`, `=`, `<>` text alignment attributes.John MacFarlane2016-01-25
| | | | Closes #2674.
* Make language extensions trigger highlighting.John MacFarlane2016-01-24
| | | | | For example, `py` will now work as well as `python`. Closes jgm/highlighting-kate#83.
* Changed type of Shared.uniqueIdent argument from [String] to Set String.John MacFarlane2016-01-22
| | | | | | | This avoids performance problems in documents with many identically named headers. Closes #2671.
* Merge pull request #2638 from c-forster/teiwriterJohn MacFarlane2016-01-21
|\ | | | | Add TEI Writer.
| * Added some entity tests in Markdown reader tests.John MacFarlane2016-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Change types of divs. From Docbook "sect#" and "simplesect" to "level#" and "section." Add tests. Add mention of TEI to README. Small changes to TEI writer.
| * Add TEI Writer.csforste2016-01-19
| |
* | LaTeX writer: Allow more flexible table alignmentHenrik Tramberend2016-01-20
|/
* HTML writer: harmless code simplification.John MacFarlane2016-01-14
| | | | | Since the 'math' is only put into the template if stMath is set anyway, there's no need for this conditional.
* Org writer - pass through RawInline with format "org".John MacFarlane2016-01-13
|
* Depend on deepseq rather than deepseq-generics.John MacFarlane2016-01-11
| | | | See fpco/stackage#1096.
* Fixed regression in latex smart quote parsing.John MacFarlane2016-01-11
| | | | | | | Closes #2645. In cases where a match was not found for a quote, everything from the open quote to the end of the paragraph was being dropped.
* LaTeX writer: restore old treatment of Span.John MacFarlane2016-01-09
| | | | | | A Span is rendered with surrounding {braces}. This was a regression in 1.16. Closes #2624.
* Fixed shadowing warning.John MacFarlane2016-01-08
|
* Work around tagsoup bug - not allowing uppercase x in hex entities.John MacFarlane2016-01-08
| | | | Issue submitted at tagsoup.
* Entity handling fixes:John MacFarlane2016-01-08
| | | | | | | | | | | | | - Text.Pandoc.XML.fromEntities: handle entities without a semicolon. Always lookup character references with the trailing ';', even if it wasn't present. And never add it when looking up numerical entities. (This is what tagsoup seems to require.) - Text.Pandoc.Parsing.characterReference: Always lookup character references with the trailing ';', and leave off the ';' when looking up numerical entities. This fixes a regression for e.g. `&lang;`.
* Merge pull request #2629 from tarleb/org-noexport-fixJohn MacFarlane2016-01-07
|\ | | | | Fix function dropping subtrees tagged :noexport:
| * Fix function dropping subtrees tagged :noexport:Albert Krewinkel2016-01-07
| | | | | | | | | | | | | | | | | | | | | | Continue scanning for comment subtrees beyond only the first block. Note to self: when writing an recursive function, don't forget to, you know, actually recurse. Shout to @mrvdb for noticing this. This fixes #2628.
* | Markdown reader: renormalize table column widths if they exceed 100%.John MacFarlane2016-01-07
|/ | | | Closes #2626.
* RST, Markdown writers: Fixed rendering of grid tables with blank rows.John MacFarlane2016-01-05
| | | | Closes #2615.
* Fixed v1.16 reversion with --latex-engine.John MacFarlane2016-01-04
| | | | | In 1.16 --latex-engine raises an error if a full path is given. This commit fixes this reversion. Closes #2618.
* Textile reader: don't allow block HTML tags in inline contexts.John MacFarlane2016-01-02
| | | | | | | | | | | | | | | | | | | | | The reader previously did allow this, following redcloth, which happily parses Html blocks can be <div>inlined</div> as well. as <p>Html blocks can be <div>inlined</div> as well.</p> This is invalid HTML, and this kind of thing can lead to parsing problems (stack overflows) as well. So this commit undoes this behavior. The above sample now produces; <p>Html blocks can be</p> <div> <p>inlined</p> </div> <p>as well.</p>
* MediaWiki reader: interpret markup inside `<tt>`, `<code>`.John MacFarlane2016-01-02
| | | | Closes #2607.
* MediaWiki writer: fix spacing issues.John MacFarlane2016-01-02
| | | | | | | | | + Start cell on new line unless it's a single Para or Plain. + For single Para or Plain, insert a space after the `|` to avoid problems when the text begins with a character like `-`. Closes #2604, closes #2606.
* Use cmark 0.5.John MacFarlane2015-12-29
| | | | Closes #2605.
* ConTeXt writer: set default layout based on margin-left, etc.John MacFarlane2015-12-22
| | | | | | This sets up `\setuplayout` based on the variables `margin-left`, `margin-right`, `margin-bottom`, and `margin-top`, if no layout is given.
* LaTeX writer: create defaults for geometry using margin-left etc.John MacFarlane2015-12-22
| | | | | | | | | If `geometry` has no value, but `margin-left`, `margin-right`, `margin-top`, and/or `-margin-bottom` are given, a default value for `geometry` is created from these. Note that these variables already affect PDF production via HTML5 with wkhtmltopdf.
* LaTeX reader: allow blank space between braced arguments of commands.John MacFarlane2015-12-22
| | | | | | | | | | For example \foo {bar} {baz} Closes #2592.
* Improved treatment of margins in wkhtmltopdf.John MacFarlane2015-12-21
|
* Allow setting margins from metadata variables for wkhtmltopdf.John MacFarlane2015-12-21
| | | | | | Variables margin-top, margin-bottom, margin-left, margin-right. Setting them with css inside @page doesn't seem to work, at least with the released wkhtmltopdf.
* pdf via wkhtmltopdf: take `title` and `page-size` from metadata.John MacFarlane2015-12-21
| | | | | Adjusted default `page-size` to `letter`, to match current LaTeX template.
* Added preliminary support for PDF creation via wkhtmltopdf.John MacFarlane2015-12-21
| | | | | | | | To use this: pandoc -t html5 -o result.pdf (and add `--mathjax` if you have math.)
* LaTeX/Beamer template changes (Thomas Hodgson):John MacFarlane2015-12-19
| | | | | | | | | | | | | | | * Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
* Added needed import of FromJSON.John MacFarlane2015-12-19
| | | | Fixes build failure.
* Fix language code for Czech (cs not cz)John MacFarlane2015-12-19
| | | | Closes #2597.
* Merge branch 'master' of https://github.com/AndreasLoow/pandoc into ↵John MacFarlane2015-12-19
|\ | | | | | | AndreasLoow-master
| * Consider header files when determining whether to use csquotes.Andreas Lööw2015-10-17
| |
* | Markdown reader: fixed parsing bug with macros.John MacFarlane2015-12-19
| | | | | | | | | | Previously macro definitions in indented code blocks were being parsed as macro definitions, not code.
* | ICML writer: intersperse line breaksmb212015-12-17
| | | | | | | | | | instead of appending them to every ParagraphStyleRange closes #2501
* | ICML writer: added figure handling, closes #2590mb212015-12-16
| |
* | ICML writer: removed redundant import.John MacFarlane2015-12-13
| |
* | Merge pull request #2570 from mb21/rst-reader-imgattrsJohn MacFarlane2015-12-13
|\ \ | | | | | | Image attributes
| * | ODT/OpenDocument writer: improved image attributesmb212015-12-13
| | | | | | | | | | | | | | | - support for percentage widths/heights - use Attr instead of title to get dimensions from ODT walker to writeOpenDocument
| * | Docx reader: image attributesmb212015-12-13
| | |
| * | new function to extract multiple properties at once in CSS.hsmb212015-12-13
| | | | | | | | | | | | and use it in Textile reader
| * | RST reader: image attributesmb212015-12-13
| | |