Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-05-02 | LaTeX writer: Add a `\label` in `\hyperdef` for Div, Span. | John MacFarlane | 1 | -2/+4 | |
Otherwise links don't work. | |||||
2015-05-01 | EPUB writer: Use plain writer for metadata dc: fields. | John MacFarlane | 1 | -2/+5 | |
This gives better results when we have, e.g. multiple paragraphs. Note that tags aren't allowed in these fields. Closes #2121. | |||||
2015-05-01 | SelfContained: cssURLs no longer tries to fetch fragment URLs. | John MacFarlane | 1 | -7/+11 | |
The current test is: does the URL start with a `#`? Closes #2121. | |||||
2015-04-29 | Added woff2 to MIME types | Alfred Wechselberger | 1 | -0/+1 | |
2015-04-29 | HTML reader: Allow multiple colgroups in table. | John MacFarlane | 1 | -1/+1 | |
Closes #2122. | |||||
2015-04-26 | EPUB writer: Remove linear=no from cover itemref. | John MacFarlane | 1 | -1/+1 | |
Closes #1609. | |||||
2015-04-26 | Fixed regression with lists inside defintiion lists. | John MacFarlane | 1 | -1/+1 | |
This fixes a regression (not in any released version) on things like hi : - there Closes #2098. | |||||
2015-04-26 | Merge pull request #2112 from lierdakil/issue2101 | John MacFarlane | 1 | -33/+29 | |
Custom Writer: Set foreign encoding to UTF-8 | |||||
2015-04-26 | Updated copyright notices to -2015. Closes #2111. | John MacFarlane | 47 | -93/+93 | |
2015-04-26 | Custom Writer: Set foreign encoding to UTF-8 | Nikolay Yakimov | 1 | -33/+29 | |
Closes #2101, #1634 Also factored out ByteString, since it's only used as an intermediate representation. | |||||
2015-04-22 | LaTeX reader: recognize `\newpage` as a block command. | John MacFarlane | 1 | -0/+1 | |
2015-04-21 | Custom writer: use UTF-8 aware bytestring conversion. | John MacFarlane | 1 | -7/+8 | |
This might help with #2101. | |||||
2015-04-19 | Rewrote charsInBalancedBrackets. | John MacFarlane | 1 | -12/+15 | |
This version should be a bit more efficient. This doesn't help with #1735, however. | |||||
2015-04-20 | MD Reader: Fix links/footnotets after citations | Nikolay Yakimov | 1 | -2/+16 | |
Footnotes: check if '^' follows '[' Links: check if '[' or '(' follows ']' Shorthand links: attempt to lazily parse suffix as referenceLink | |||||
2015-04-18 | Revert "Merge pull request #1947 from mpickering/Fmonad" | John MacFarlane | 4 | -575/+627 | |
Closes #2062. This reverts commit c302bdcdbe97b38721015fe82403b2a8f488a702, reversing changes made to b983adf0d0cbc98d2da1e2751f46ae1f93352be6. Conflicts: src/Text/Pandoc/Parsing.hs src/Text/Pandoc/Readers/Markdown.hs src/Text/Pandoc/Readers/Org.hs src/Text/Pandoc/Readers/RST.hs | |||||
2015-04-18 | Markdown writer: improved escaping. | John MacFarlane | 1 | -2/+3 | |
`<` should not be escaped as `\<`, for compatibility with original Markdown. We now escape `<` and `>` with entities. Also, we now backslash-escape square brackets. Closes #2086. | |||||
2015-04-18 | Markdown definition lists: don't require indent for first line. | John MacFarlane | 1 | -2/+4 | |
Previously the body of the definition (after the `:` or `~` marker) needed to be in column 4. This commit relaxes that requirement, to better match the behavior of PHP Markdown Extra. So, now this is a valid definition list: foo : bar This patch also helps resolve a potentially ambiguity with table captions: foo : bar ----- table ----- Is "bar" a definition, or the caption for the table? We'll count it as a caption for the table. Closes #2087. | |||||
2015-04-17 | More principled fix for #1820. | John MacFarlane | 1 | -5/+7 | |
If the tag parses as a comment, we check to see if the input starts with `<!--`. If not, it's bogus comment mode and we fail htmlTag. Includes test case. Closes #1820. | |||||
2015-04-17 | Merge branch 'latex-tightlist' of https://github.com/jlduran/pandoc into ↵ | John MacFarlane | 1 | -3/+3 | |
jlduran-latex-tightlist Conflicts: data/templates | |||||
2015-04-17 | Merge pull request #1954 from mcmtroffaes/feature/citekey-firstchar-alphanum | John MacFarlane | 1 | -1/+1 | |
Allow digit as first character of a citation key. | |||||
2015-04-17 | Merge pull request #2079 from lierdakil/rst-normalize-headings | John MacFarlane | 1 | -7/+36 | |
RST Writer: Normalize headings to sequential levels | |||||
2015-04-17 | Merge pull request #2092 from lierdakil/issue1909 | John MacFarlane | 2 | -2/+8 | |
MD Reader: Smart apostrophe after inline math | |||||
2015-04-17 | Fixed `htmlTag` in HTML reader. | John MacFarlane | 1 | -1/+1 | |
Require that `<!` or `<?` be followed by nonspace. This prevents `</ div>` from being parsed as a comment. Closes #1820. | |||||
2015-04-18 | MD Reader: Smart `'` after inline math | Nikolay Yakimov | 2 | -2/+8 | |
Closes #1909. Adds new parser combinator to Parsing.hs `a <+?> b` : if a succeeds, applies b and mappends output (if any) to result of a. If b fails, it's just a, if a fails, whole expression fails. | |||||
2015-04-16 | RST Writer: treat headings in block quotes, etc as rubrics | Nikolay Yakimov | 1 | -7/+29 | |
2015-04-14 | Docx Writer: Take TOC title from toc-title metadata field | Nikolay Yakimov | 1 | -1/+15 | |
2015-04-13 | RST Writer: Normalize headings to sequential levels | Nikolay Yakimov | 1 | -1/+8 | |
This is pretty much required by docutils. | |||||
2015-04-12 | Fixed warning. | John MacFarlane | 1 | -1/+1 | |
2015-04-12 | Fixed toc depth in RST writer. | John MacFarlane | 1 | -1/+1 | |
Previously the depth was being rendered as a floating point number with a decimal point. Thanks to Nick Yakimov for noticing this. | |||||
2015-04-12 | Merge pull request #2072 from lierdakil/latex-reader-cleanup | John MacFarlane | 1 | -92/+82 | |
LaTeX Reader: Code cleanup | |||||
2015-04-12 | Text.Pandoc.PDF: more comprehensible errors on image conversion. | John MacFarlane | 1 | -3/+3 | |
Closes #2067. EPS can't be supported without shelling out to something like ImageMagick, but at least we can avoid mysterious error messages. We now get: pandoc: Unable to convert `circle.eps' for use with pdflatex. ! Package pdftex.def Error: File `circle-eps-converted-to.pdf' not found. which seems more straightforward. | |||||
2015-04-12 | LaTeX Reader: Code cleanup | Nikolay Yakimov | 1 | -92/+82 | |
2015-04-12 | ODT Writer: Figure captions | Nikolay Yakimov | 2 | -4/+13 | |
Works pretty much the same as Word writer. Following styles are used for figures: Figure -- for figure with empty caption FigureWithCaption (based on Figure) -- for figure with caption FigureCaption (based on Caption) -- for figure captions Also, TableCaption (based on Caption) is used for table captions. We need FigureWithCaption to set keepWithNext, in order to keep caption with figure. | |||||
2015-04-07 | Removed redundat import. | John MacFarlane | 1 | -1/+0 | |
2015-04-07 | DocBook reader: look inside "info" elements for section titles. | John MacFarlane | 1 | -1/+4 | |
Closes #1931. | |||||
2015-04-07 | RST writer: better handling of raw latex inline. | John MacFarlane | 1 | -6/+12 | |
We use `` :raw-latex:`...` `` and add a definition for this role to the template. Closes #1961. | |||||
2015-04-07 | Markdown Reader: eliminate common subexpressions | Julien Cretel | 1 | -2/+5 | |
2015-04-02 | EPUB writer: Take TOC title from toc-title metadata field. | John MacFarlane | 1 | -2/+5 | |
2015-04-01 | Added "noProof" to docx syntax highlighting SourceCode style. | John MacFarlane | 1 | -0/+1 | |
2015-03-31 | Merge pull request #2042 from lierdakil/issue1866 | John MacFarlane | 1 | -3/+13 | |
LaTeX Reader: check for block-level newcommand aliases in blockCommand | |||||
2015-03-31 | Latex Reader: Block commands code cleanup | Nikolay Yakimov | 1 | -3/+2 | |
2015-03-30 | Merge pull request #2035 from lierdakil/issue2031 | John MacFarlane | 1 | -0/+5 | |
Docx Writer/Reference: Add keepNext to objects w/ captions | |||||
2015-03-29 | Added CommonMark writer. | John MacFarlane | 1 | -0/+178 | |
Added `Text.Pandoc.Writers.CommonMark`, exporting `writeCommonMark`. | |||||
2015-03-30 | Latex Reader: Guard against para starting with inline macro | Nikolay Yakimov | 1 | -0/+1 | |
2015-03-30 | LaTeX Reader: check for block-level newcommand aliases in blockCommand | Nikolay Yakimov | 1 | -3/+13 | |
2015-03-29 | Merge pull request #2038 from lierdakil/docx-hyphen-settings | John MacFarlane | 1 | -3/+26 | |
Docx Writer: Copy hyphenation settings from reference.docx | |||||
2015-03-29 | Merge pull request #2037 from lierdakil/issue458 | John MacFarlane | 1 | -1/+29 | |
Docx Writer: support for --toc option | |||||
2015-03-29 | Docx Writer: Filter out illegal XML characters | Matthew Pickering | 1 | -2/+19 | |
Fixes #1992 | |||||
2015-03-29 | Docx Writer: Place toc after abstract, rather than before | Nikolay Yakimov | 1 | -1/+1 | |
2015-03-29 | Docx Writer: Copy hyphenation settings from reference.docx | Nikolay Yakimov | 1 | -3/+26 | |