Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-11-25 | LaTeX reader: support `\smartcite` and `\Smartcite` from biblatex. | John MacFarlane | 1 | -0/+2 | |
See jgm/pandoc-citeproc#26. | |||||
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 | |
2013-11-17 | LaTeX reader: Support `\textnormal` as span with class "nodecor". | John MacFarlane | 1 | -0/+1 | |
This is needed for pandoc-citeproc. | |||||
2013-10-21 | LaTeX reader: Improved citation parsing. | John MacFarlane | 1 | -6/+13 | |
This fixes a run-time error that occured with `\citet{}` (empty list of keys). It also ensures that empty keys don't get produced. | |||||
2013-10-11 | LaTeX reader: Ensure that preamble doesn't contribute to text of doc. | John MacFarlane | 1 | -8/+8 | |
2013-10-11 | LaTeX reader: Fixed character escaping in \url{}. | John MacFarlane | 1 | -3/+1 | |
Previously `\~` wasn't handled properly, among others. | |||||
2013-09-28 | LaTeX reader: Parse {groups} as Span. | John MacFarlane | 1 | -1/+10 | |
This is needed for accurate conversion of bibtex titles, since we need to know what was protected from titlecase conversions. | |||||
2013-09-01 | Use registerHeader in RST and LaTeX readers. | John MacFarlane | 1 | -3/+3 | |
This will give automatic unique identifiers, unless `-auto_identifiers` is specified. | |||||
2013-08-28 | LaTeX reader: allow spaces in alignment spec in tables. | John MacFarlane | 1 | -2/+3 | |
E.g. `{ l r c }`. | |||||
2013-08-27 | LaTeX reader: Allow accents with combining characters. | John MacFarlane | 1 | -185/+185 | |
accent now returns [Char], not Char. | |||||
2013-08-27 | Merge branch 'master' of github.com:jgm/pandoc | John MacFarlane | 1 | -5/+3 | |
2013-08-25 | Merge pull request #961 from nougad/add_latex_listings_label | John MacFarlane | 1 | -1/+2 | |
Write id for code block to label attr in latex when listing is used | |||||
2013-08-24 | Removed dependency on citeproc-hs. | John MacFarlane | 1 | -4/+1 | |
Going forward we'll use pandoc-citeproc, as an external filter. The `--bibliography`, `--csl`, and `--citation-abbreviation` fields have been removed. Instead one must include `bibliography`, `csl`, or `csl-abbrevs` fields in the document's YAML metadata. The filter can then be used as follows: pandoc --filter pandoc-citeproc The `Text.Pandoc.Biblio` module has been removed. Henceforth, `Text.CSL.Pandoc` from pandoc-citations can be used by library users. The Markdown and LaTeX readers now longer format bibliographies and citations. That must be done using `processCites` or `processCites'` from Text.CSL.Pandoc. All bibliography-related fields have been removed from `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`, `readerReferences`, `readerCitationStyle`. API change. | |||||
2013-08-22 | Write id for code block to label attr in latex when listing is used | Florian Eitel | 1 | -1/+2 | |
The code: ~~~{#test} asdf ~~~ gets compiled to html: <pre id="test"> asdf </pre> So it is possible to link to the identifier `test` But this doesn't happen on latex When using the listings package (`--listings`) it is possible to set the identifier using the `label=test` property: \begin{lstlisting}[label=id] hi \end{lstlisting} And this is exactly what this patch is doing. Modified LaTeX Reader/Writer and added tests for this. | |||||
2013-08-21 | LaTeX reader: Added o-cedilla. | John MacFarlane | 1 | -0/+2 | |
2013-08-21 | Merge pull request #960 from semorrison/master | John MacFarlane | 1 | -0/+6 | |
Processing some additional cedilla accents while reading LaTeX | |||||
2013-08-21 | cedilla-o breaks the compile, removing again | Scott Morrison | 1 | -2/+0 | |
2013-08-21 | adding some cedilla characters to the LaTeX reader | Scott Morrison | 1 | -0/+8 | |
2013-08-16 | LaTeX reader: parse label after section command and set id. | John MacFarlane | 1 | -2/+4 | |
Closes #951. | |||||
2013-08-16 | LaTeX reader missing \oe and \OE characters | Scott Morrison | 1 | -0/+2 | |
2013-08-16 | adding support for breve accents via \u{} while reading LaTeX | Scott Morrison | 1 | -0/+16 | |
2013-08-10 | Use walk, walkM in place of bottomUp, bottomUpM when possible. | John MacFarlane | 1 | -2/+2 | |
They are significantly faster. | |||||
2013-08-10 | Adjustments for new Format newtype. | John MacFarlane | 1 | -1/+1 | |
2013-07-25 | LaTeX reader: Support `\v{}` for hacek. | John MacFarlane | 1 | -0/+37 | |
Closes #926. | |||||
2013-07-21 | LaTeX reader: Don't add spurious ", " to citation suffixes. | John MacFarlane | 1 | -7/+3 | |
This is added when needed in Text.Pandoc.Biblio anyway. | |||||
2013-06-27 | LaTeX reader: Support alltt environment. | John MacFarlane | 1 | -2/+12 | |
Closes #892. |