Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-01 | LaTeX reader: don't drop contents of \hypertarget. | John MacFarlane | 1 | -0/+3 | |
2017-02-27 | LaTeX reader: Handle komascript `\dedication`. | John MacFarlane | 1 | -0/+2 | |
It now adds a `dedication` field to metadata. It is up to the user to supply a template that uses this variable. Closes #1845. | |||||
2017-02-27 | Minor cleanups in LaTeX reader. | John MacFarlane | 1 | -5/+4 | |
2017-02-25 | LaTeX reader: allow hspace and vspace to count as raw block or inline. | John MacFarlane | 1 | -3/+5 | |
Previously we would refuse to parse anything as raw inline if it was in the blockCommands list. Now we allow exceptions if they're listed under ignoreInlines in inlineCommands. This should make it easier e.g. to include an \hspace between two side-by-side raw LaTeX tables. | |||||
2017-02-25 | Revert "LaTeX reader: don't treat `\vspace` and `\hspace` as block commands." | John MacFarlane | 1 | -0/+1 | |
This reverts commit 2873cd82886d1fa557bf3abde37b5ceb3cadf40c. | |||||
2017-02-24 | Implemented `\graphicspath` in LaTeX reader. | John MacFarlane | 1 | -1/+8 | |
Closes #736. | |||||
2017-02-22 | When parsing raw LaTeX commands, include trailing space. | John MacFarlane | 1 | -2/+2 | |
Otherwise things like `\noindent foo` break and turn into `\noindentfoo`. Affects `-f latex+raw_tex` and `-f markdown` (and other formats that allow `raw_tex`). Closes #1773. | |||||
2017-02-14 | LaTeX reader: include contents of `\parbox`. | John MacFarlane | 1 | -0/+1 | |
2017-02-14 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2017-02-13 | LaTeX reader: properly handle column prefixes/suffixes. | John MacFarlane | 1 | -12/+33 | |
For example, in \begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}} each cell will be interpreted as if it has a `$` before its content and a `$` after (math mode). | |||||
2017-02-11 | Use new warnings throughout the code base. | John MacFarlane | 1 | -6/+13 | |
2017-02-10 | LaTeX reader: Improved messages for skipped environments. | John MacFarlane | 1 | -5/+13 | |
2017-02-10 | LaTeX reader: Improved warning messages for unknown commands. | John MacFarlane | 1 | -19/+23 | |
2017-02-09 | LaTeX reader: Issue warnings when skipping unknown latex commands. | John MacFarlane | 1 | -4/+10 | |
See #3392. | |||||
2017-02-08 | LaTeX reader: support `\lstinputlisting`. | John MacFarlane | 1 | -11/+34 | |
Closes #2116. | |||||
2017-02-07 | Refactored some files formerly in LaTeX reader. | John MacFarlane | 1 | -21/+2 | |
* Export readFileFromDirs from Class. * Export insertIncludedFile from Parsing. Simplified code in LaTeX/RST readers. | |||||
2017-02-07 | Moved readFileFromDirs to Text.Pandoc.Class. | John MacFarlane | 1 | -29/+9 | |
This can be used in several different modules, not just LaTeX reader. | |||||
2017-02-07 | Refactored include file handling in LaTeX reader. | John MacFarlane | 1 | -14/+16 | |
2017-02-06 | Removed --parse-raw and readerParseRaw. | John MacFarlane | 1 | -7/+12 | |
These were confusing. Now we rely on the +raw_tex or +raw_html extension with latex or html input. Thus, instead of --parse-raw -f latex we use -f latex+raw_tex and instead of --parse-raw -f html we use -f html+raw_html | |||||
2017-01-25 | Removed readerSmart and the --smart option; added Ext_smart extension. | John MacFarlane | 1 | -2/+2 | |
Now you will need to do -f markdown+smart instead of -f markdown --smart This change opens the way for writers, in addition to readers, to be sensitive to +smart, but this change hasn't yet been made. API change. Command-line option change. Updated manual. | |||||
2017-01-25 | Have warningWithPos take a SourcePos rather than Maybe SourcePos. | John MacFarlane | 1 | -1/+1 | |
After all, we have warning if you don't want the source pos info. | |||||
2017-01-25 | LaTeX reader: add warning when parsing unescaped characters | John MacFarlane | 1 | -4/+5 | |
that normally need escaping in LaTeX. | |||||
2017-01-25 | LaTeX reader: Make sure we process includes in preamble. | John MacFarlane | 1 | -0/+1 | |
2017-01-25 | LaTeX reader: further fixes to include. | John MacFarlane | 1 | -7/+11 | |
2017-01-25 | Give source position for include file loop. | John MacFarlane | 1 | -1/+1 | |
2017-01-25 | LaTeX reader: Proper include file processing. | John MacFarlane | 1 | -111/+33 | |
* Removed handleIncludes from LaTeX reader [API change]. * Now the ordinary LaTeX reader handles includes in a way that is appropriate to the monad it is run in. | |||||
2017-01-25 | Readers: pass errors straight up to PandocMonad. | Jesse Rosenthal | 1 | -1/+1 | |
Since we've unified error types, we can just throw the same error at the toplevel. | |||||
2017-01-25 | Unify Errors. | Jesse Rosenthal | 1 | -2/+2 | |
2017-01-25 | Working on readers. | Jesse Rosenthal | 1 | -98/+105 | |
2016-11-26 | LaTeX reader: don't treat `\vspace` and `\hspace` as block commands. | John MacFarlane | 1 | -1/+0 | |
Fixed an error which came up, for example, with `\vspace` inside a caption. (Captions expect inlines.) Closes #3256. | |||||
2016-11-20 | Allow beamer-style <...> options in raw LaTeX (also in Markdown). | John MacFarlane | 1 | -1/+13 | |
This allows use of things like `\only<2,3>{my content}` in Markdown that is going to be converted to beamer. Closes #3184. | |||||
2016-11-19 | LaTeX reader: improved table handling. | John MacFarlane | 1 | -4/+13 | |
We can now parse all of the tables emitted by pandoc in our tests. The only thing we don't get yet are alignments and column widths in more complex tables. See #2669. | |||||
2016-11-19 | LaTeX reader: limited support for minipage. | John MacFarlane | 1 | -0/+2 | |
2016-11-19 | LaTeX reader: improved parsing of tables. | John MacFarlane | 1 | -5/+13 | |
Reader can now parse simple LaTeX tables such as those generated by pandoc itself. We still can't handle pandoc multiline tables which involve minipages and column widths. Partially addresses #2669. | |||||
2016-11-02 | LaTeX reader: Handle BVerbatim from fancyvrb. Fixes #3203. | John MacFarlane | 1 | -10/+15 | |
2016-11-01 | Handle hungarumlaut in LaTeX reader. Closes #3201. | John MacFarlane | 1 | -0/+16 | |
2016-10-31 | LaTeX reader: allow for []s inside LaTeX optional args. | John MacFarlane | 1 | -1/+2 | |
Fixes cases like: \begin{center} \begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt] \Tree [.{S} [.NP John\index{i} ] [.VP [.V likes ] [.NP himself\index{i,*j} ]]] \end{tikzpicture} \end{center} | |||||
2016-07-29 | LaTeX reader: drop duplicate `*` in bibtexKeyChars | Albert Krewinkel | 1 | -1/+1 | |
2016-07-20 | LaTeX reader: be more forgiving of non-standard characters. | John MacFarlane | 1 | -1/+1 | |
E.g. `^` outside of math. Some custom environments give these a meaning, so we should try not to fall over when we encounter them. | |||||
2016-07-20 | LaTeX reader: more robust parsing of unknown environments. | John MacFarlane | 1 | -2/+9 | |
We no longer fail on things like `^` inside options for tikz. Closes #3026. | |||||
2016-07-01 | LaTeX reader: strip off double quotes around image source if present. | John MacFarlane | 1 | -1/+8 | |
Avoids interpreting these as part of the literal filename. See #2825. | |||||
2016-06-29 | LaTeX reader: fixed `\cite` so it is a NormalCitation not AuthorInText. | John MacFarlane | 1 | -2/+2 | |
2016-02-28 | LaTeX reader: handle interior `$` characters in math. | John MacFarlane | 1 | -4/+12 | |
e.g. `$$\hbox{$i$}$$`. Partially addresses #2743. | |||||
2016-01-31 | LaTeX reader: `inlineCommand` now gobbles an empty `{}` after any command. | John MacFarlane | 1 | -1/+2 | |
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. | |||||
2016-01-29 | Properly handle LaTeX "math" environment as inline math. | John MacFarlane | 1 | -0/+1 | |
See #2171. | |||||
2016-01-11 | Fixed regression in latex smart quote parsing. | John MacFarlane | 1 | -4/+5 | |
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. | |||||
2015-12-22 | LaTeX reader: allow blank space between braced arguments of commands. | John MacFarlane | 1 | -1/+3 | |
For example \foo {bar} {baz} Closes #2592. | |||||
2015-12-12 | Modified readers to emit SoftBreak when appropriate. | John MacFarlane | 1 | -3/+9 | |
2015-11-24 | LaTeX reader: Improved smart quote parsing. | John MacFarlane | 1 | -14/+13 | |
This fixes redering of unmatched quotes. Closes #2555. | |||||
2015-11-23 | LaTeX reader: Use curly quotes for unmatched `. | John MacFarlane | 1 | -1/+8 | |
Partially addresses #2555. Note that there's still a problem with the code sample given. |