Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-09 | Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly." | John MacFarlane | 1 | -1/+0 | |
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b. | |||||
2015-11-08 | Merge pull request #2502 from minoki/latex-comment-environment | John MacFarlane | 1 | -1/+2 | |
LaTeX reader: Handle `comment` environment. | |||||
2015-11-08 | Use -XNoImplicitPrelude and 'import Prelude' explicitly. | John MacFarlane | 1 | -0/+1 | |
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503. | |||||
2015-11-08 | LaTeX reader: Handle `comment` environment. | ARATA Mizuki | 1 | -1/+2 | |
The `comment` environment is handled in a similar way to the `verbatim` environment, except that its content is discarded. | |||||
2015-10-15 | LaTeX reader: fixed longtable support. | John MacFarlane | 1 | -1/+1 | |
2015-10-14 | Use custom Prelude to avoid compiler warnings. | John MacFarlane | 1 | -2/+1 | |
- The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10. | |||||
2015-10-09 | LaTeX reader: don't eat excess whitespace after macros. | John MacFarlane | 1 | -4/+4 | |
Really close #2446. | |||||
2015-10-09 | LaTeX reader: don't eat whitespace after macro with only opt arg. | John MacFarlane | 1 | -1/+3 | |
Closes #2446. | |||||
2015-09-23 | LaTeX reader: support longtable. | John MacFarlane | 1 | -0/+2 | |
Closes #2411. | |||||
2015-08-08 | LaTeX reader: Implement \Cite. | John MacFarlane | 1 | -0/+1 | |
See #2335. | |||||
2015-07-23 | LaTeX reader: support abstract environment. | John MacFarlane | 1 | -0/+1 | |
The abstract populates an "abstract" metadata field. | |||||
2015-07-21 | LaTeX reader: properly handle booktabs lines. | John MacFarlane | 1 | -1/+10 | |
Lines aren't part of the pandoc table model, but we can just ignore them. Closes #2307. | |||||
2015-06-29 | LaTeX reader: Allow `_` and `^` as regular inline text. | John MacFarlane | 1 | -1/+1 | |
Normally these will cause an error in LaTeX, but there are contexts (e.g. `alltt` environments) where they are okay. Now that we aren't treating them as super/subscript outside of math mode, it seems okay to parse them as regular text. | |||||
2015-06-29 | LaTeX reader: don't parse `_`,`^` as super/sub outside math mode. | John MacFarlane | 1 | -2/+0 | |
2015-04-26 | Updated copyright notices to -2015. Closes #2111. | John MacFarlane | 1 | -2/+2 | |
2015-04-22 | LaTeX reader: recognize `\newpage` as a block command. | John MacFarlane | 1 | -0/+1 | |
2015-04-12 | LaTeX Reader: Code cleanup | Nikolay Yakimov | 1 | -92/+82 | |
2015-03-31 | Latex Reader: Block commands code cleanup | Nikolay Yakimov | 1 | -3/+2 | |
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-28 | Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵ | John MacFarlane | 1 | -7/+4 | |
mpickering-errortype Conflicts: benchmark/benchmark-pandoc.hs src/Text/Pandoc/Readers/Markdown.hs src/Text/Pandoc/Readers/Org.hs src/Text/Pandoc/Readers/RST.hs tests/Tests/Readers/LaTeX.hs | |||||
2015-03-14 | Properly gobble spaces after \\. | John MacFarlane | 1 | -10/+12 | |
Closes #2007. | |||||
2015-03-14 | LaTeX reader: allow block content in \title{}. | John MacFarlane | 1 | -1/+3 | |
Closes #2001. | |||||
2015-03-08 | LaTeX reader: allow non-empty colsep in tables | Mathias Schenner | 1 | -1/+1 | |
The `tabular` environment allows non-empty column separators with the "@{...}" syntax. Previously, pandoc would fail to parse tables if a non-empty colsep was present. With this commit, these separators are still ignored, but the table gets parsed. A test case is included. | |||||
2015-03-08 | LaTeX reader: allow valign argument in tables | Mathias Schenner | 1 | -1/+1 | |
The `tabular` environment takes an optional parameter for vertical alignment. Previously, pandoc would fail to parse tables if this parameter was present. With this commit, the parameter is still ignored, but the table gets parsed. A test case is included. | |||||
2015-03-07 | LaTeX reader: ignore options in `\lstinline`. | John MacFarlane | 1 | -1/+1 | |
Rather than raising a parse error. Closes #1997. | |||||
2015-02-18 | Change return type of LaTeX reader | Matthew Pickering | 1 | -7/+4 | |
2015-01-22 | LaTeX reader: don't limit includes to .tex extension. | John MacFarlane | 1 | -2/+8 | |
Previously `\input` and `\include` would only work if the included files had the extension `.tex`. This change relaxes that restriction, though if the extension is not `.tex`, it must be given explicitly in the `\input` or `\include`. Closes #1882. | |||||
2015-01-05 | ghc 7.10.1 RC1 requires specifying the type of String literals ↵ | Mark Wright | 1 | -2/+2 | |
https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#GHCsaysNoinstanceforFoldable...arisingfromtheuseof... | |||||
2015-01-01 | LaTeX reader: handle `tabular*` environment. | John MacFarlane | 1 | -3/+5 | |
This change allows pandoc not to choke on the table-width parameter of `tabular*`. Note that the table width is not actually parsed or taken into account, but this should give tolerable results in many cases. Closes #1850. | |||||
2014-12-16 | LaTeX reader: parse math environments as inline when possible. | John MacFarlane | 1 | -15/+42 | |
Closes #1821. | |||||
2014-12-15 | LaTeX reader: parse label after caption into a span... | John MacFarlane | 1 | -4/+11 | |
instead of inserting an additional paragraph of bracketed text. Closes #1747. | |||||
2014-12-15 | Merge branch 'patch-1' of https://github.com/Wikiwide/pandoc into ↵ | John MacFarlane | 1 | -0/+2 | |
Wikiwide-patch-1 Conflicts: src/Text/Pandoc/Readers/LaTeX.hs | |||||
2014-12-15 | LaTeX reader: better handling of `\noindent` and `\greektext`. | John MacFarlane | 1 | -1/+3 | |
Closes #1783. | |||||
2014-12-15 | Improved texorpdfstring patch #1148. | John MacFarlane | 1 | -0/+1 | |
* Make LaTeX reader recognize texorpdfstring. * Don't use texorpdfstring unless it's actually needed. * Fix tests. | |||||
2014-11-25 | LaTeX reader: support `\smartcite` and `\Smartcite` from biblatex. | John MacFarlane | 1 | -0/+2 | |
See jgm/pandoc-citeproc#26. | |||||
2014-10-03 | cref, sep | Wikiwide | 1 | -0/+2 | |
Adding inlineCommands | |||||
2014-07-22 | Exported runParserT and Stream | Matthew Pickering | 1 | -2/+1 | |
2014-07-11 | Removed (>>~) function | Matthew Pickering | 1 | -1/+1 | |
This function is equivalent to the more general (<*) which is defined in Control.Applicative. This change makes pandoc code easier to understand for those not familar with the codebase. | |||||
2014-06-17 | LaTeX reader: Correctly handle table rows with too few cells. | John MacFarlane | 1 | -3/+7 | |
LaTeX seems to treat them as if they have empty cells at the end. Closes #241. | |||||
2014-06-16 | LaTeX reader: handle leading/trailing spaces in emph better. | John MacFarlane | 1 | -17/+17 | |
`\emph{ hi }` gets parsed as `[Space, Emph [Str "hi"], Space]` so that we don't get things like `* hi *` in markdown output. Also applies to textbf and some other constructions. Closes #1146. (`--normalize` isn't touched by this, but normalization should not generally be necessary with the changes to the readers.) | |||||
2014-06-16 | LaTeX reader: don't assume preamble doesn't contain environments. | John MacFarlane | 1 | -1/+1 | |
Closes #1338. | |||||
2014-06-12 | allow (and discard) optional argument for \caption | James Aspnes | 1 | -1/+1 | |
2014-06-03 | LaTeX reader: Handle comments at the end of tables. | John MacFarlane | 1 | -0/+1 | |
This resolves the issue illustrated in http://stackoverflow.com/questions/24009489/comments-in-latex-break-pandoc-table. | |||||
2014-05-20 | Org reader: support for inline LaTeX | Albert Krewinkel | 1 | -0/+1 | |
Inline LaTeX is now accepted and parsed by the org-mode reader. Both, math symbols (like \tau) and LaTeX commands (like \cite{Coffee}), can be used without any further escaping. | |||||
2014-05-12 | LaTeX reader: Support `\addbibresource`. | John MacFarlane | 1 | -0/+2 | |
2014-05-11 | LaTeX reader: set `bibliography` in metadata from `\bibliography` cmd. | John MacFarlane | 1 | -1/+6 | |
2014-05-10 | LaTeX reader: Don't error on "%foo" with no newline. | John MacFarlane | 1 | -1/+1 | |
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-05-03 | LaTeX reader: Fixed regression introduced with last commit. | John MacFarlane | 1 | -10/+10 | |
Tests now pass again. |