Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2014-05-03 | LaTeX reader: Better error messages with include files. | John MacFarlane | 1 | -55/+117 | |
Closes #1274. Rewrote handleIncludes. We now report the actual source file and position where the error occurs, even if it is included. We do this by inserting special commands, `\PandocStartInclude` and `\PandocEndInclude`, that encode this information in the preprocessing phase. Also generalized the types of a couple functions from `Text.Pandoc.Parsing`. | |||||
2014-04-26 | LaTeX reader: Made `\nocite` work. | John MacFarlane | 1 | -3/+6 | |
This adds nocite citations to a metadata field, `nocite`. These will appear in the bibliography but not in the text (unless you use a `$nocite$` variable in your template, of course). | |||||
2014-04-06 | LaTeX reader: handle @{} and p{length} in tabular. | John MacFarlane | 1 | -2/+3 | |
The length is not actually recorded, but at least we get a table. Closes #1180. | |||||
2014-03-25 | LaTeX reader: Better handling of figure and table with caption. | John MacFarlane | 1 | -11/+34 | |
We now look for a \caption inside the environment; if one is found, it is attached to the graphic or tabular found there. Closes #1204. | |||||
2014-03-25 | Revert "LaTeX reader: Added LPState." | John MacFarlane | 1 | -18/+0 | |
This reverts commit 82ddec698e782fef83dcd1b1fba79cd3b698c717. | |||||
2014-03-25 | LaTeX reader: Added LPState. | John MacFarlane | 1 | -0/+18 | |
Plan is to use this instead of ParserState in LP. | |||||
2014-03-25 | LaTeX reader: Better handling of "table" environment. | John MacFarlane | 1 | -0/+1 | |
Positioning options no longer rendered verbatim. Partially addresses #1204. | |||||
2013-12-19 | HLint: use `elem` and `notElem` | Henry de Valence | 1 | -3/+2 | |
Replaces long conditional chains with calls to `elem` and `notElem`. | |||||
2013-12-17 | LaTeX reader: Support babel-style quoting: `` "`..."' ``. | John MacFarlane | 1 | -0/+2 | |
2013-12-13 | LaTeX reader: add support for Verb macro | Jeff Arnold | 1 | -0/+1 | |
2013-12-06 | HTML reader: Parse LaTeX math if appropriate options are set. | John MacFarlane | 1 | -1/+2 | |
* Moved inlineMath, displayMath from Markdown reader to Parsing. * Export them from Parsing. (API change.) * Generalize their types. | |||||
2013-11-18 | LaTeX reader: Parse contents of curly quotes or matched `"` as quotes. | John MacFarlane | 1 | -7/+17 | |