Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-02-04 | Complete rewrite of LaTeX reader. | John MacFarlane | 1 | -969/+728 | |
* The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes. | |||||
2012-01-29 | LaTeX reader: Require non-letter after certain commands. | John MacFarlane | 1 | -6/+11 | |
Previously "\opening" was rendered as "\248pening". The "\o" should not be parsed as a control sequence. Partially addresses #393. | |||||
2012-01-26 | LaTeX reader: Handle \@. | John MacFarlane | 1 | -1/+4 | |
2011-12-27 | Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings. | John MacFarlane | 1 | -3/+3 | |
2011-12-27 | LaTeX reader: Return Str instead of Apostrophe. | John MacFarlane | 1 | -1/+1 | |
2011-12-05 | Changes to fit new charsInBalanced. | John MacFarlane | 1 | -2/+2 | |
2011-12-05 | Parsing: Changed type of escaped to return Char | John MacFarlane | 1 | -1/+1 | |
2011-11-12 | LaTeX reader: Don't crash on commands like `\itemsep`. | John MacFarlane | 1 | -1/+2 | |
Closes #314. | |||||
2011-11-12 | LaTeX reader: Ignore empty groups {}, { }. | John MacFarlane | 1 | -0/+8 | |
Closes #322. | |||||
2011-07-21 | LaTeX reader: Handle \subtitle command. | John MacFarlane | 1 | -1/+10 | |
If there's a subtitle, it is added to the title, separated by a colon and linebreak. Closes #280. | |||||
2011-07-21 | LaTeX reader & writer: Use \and to separate authors. | John MacFarlane | 1 | -2/+4 | |
Closes #279. | |||||
2011-07-10 | LaTeX reader: Gobble option & space after linebreak \\[10pt]. | John MacFarlane | 1 | -1/+5 | |
2011-06-22 | Support \dots and well as \ldots in LaTeX reader. | John MacFarlane | 1 | -2/+6 | |
2011-01-30 | LaTeX reader: Fixed bug with whitespace at beginning of file. | John MacFarlane | 1 | -2/+2 | |
Previously a file beginning " hi" would cause a parse error. Also cleaned up comment parsing. | |||||
2011-01-26 | Add support for attributes in inline Code. | John MacFarlane | 1 | -5/+5 | |
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code. | |||||
2011-01-26 | LaTeX reader: Fixed an incomplete pattern match. | John MacFarlane | 1 | -1/+3 | |
2011-01-26 | Bumped version to 1.8; depend on pandoc-types 1.8. | John MacFarlane | 1 | -2/+2 | |
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements. | |||||
2011-01-07 | LaTeX reader: Support simple tables. | John MacFarlane | 1 | -0/+58 | |
2011-01-06 | LaTeX reader: allow spaces btw \\begin or \\end and {. | John MacFarlane | 1 | -10/+27 | |
2011-01-06 | LaTeX reader: Removed unnecessary 'spaces'. | John MacFarlane | 1 | -4/+0 | |
2011-01-05 | LaTeX reader: Apply macros to non-math; handle ensuremath. | John MacFarlane | 1 | -9/+23 | |
2011-01-05 | LaTeX reader: Don't handle \label and \ref specially. | John MacFarlane | 1 | -11/+0 | |
Put labels in {} instead of (). | |||||
2011-01-05 | LaTeX reader: Support \L \l accents. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | LaTeX reader: Parse inside arguments when ignoring commands. | John MacFarlane | 1 | -9/+11 | |
2011-01-05 | LaTeX reader: Don't handle \index separately. | John MacFarlane | 1 | -7/+0 | |
Instead, just put it in list of commands to ignore. | |||||
2011-01-05 | LaTeX reader: Added "index" to ignorable commands. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: skip space before option or argument. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: Skip \index commands. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | LaTeX reader: Removed \group (we want to parse inside {}). | John MacFarlane | 1 | -6/+0 | |
2011-01-05 | LaTeX reader: Better handling of preamble, inc. parsing macros. | John MacFarlane | 1 | -10/+20 | |
2011-01-04 | LaTeX reader: Parse bracketed {parts} as raw TeX. | John MacFarlane | 1 | -2/+2 | |
2011-01-04 | LaTeX reader: parse macros and apply to math. | John MacFarlane | 1 | -7/+8 | |
2010-12-30 | LaTeX reader: Allow ignored comments after \end{document}. | John MacFarlane | 1 | -3/+1 | |
2010-12-30 | Added support for listings package code blocks and inline code. | Puneeth Chaganti | 1 | -2/+9 | |
2010-12-21 | Shared: Made splitBy take a test instead of an element. | John MacFarlane | 1 | -1/+1 | |
2010-12-14 | Fixed preamble parsing in LaTeX reader. | John MacFarlane | 1 | -2/+8 | |
2010-12-13 | Added support for latex cite commands in latex reader. | Nathan Gass | 1 | -8/+109 | |
2010-12-10 | LaTeX reader: Improved parsing of preamble. | John MacFarlane | 1 | -11/+6 | |
Previously you'd get unexpected behavior on a document that contained '\begin{document}' in, say, a verbatim block. | |||||
2010-07-13 | Made latex \section, \chapter parsers more forgiving of whitespace. | John MacFarlane | 1 | -0/+3 | |
2010-07-13 | Parse \chapter{} in latex. | John MacFarlane | 1 | -2/+20 | |
+ Added stateHasChapters to ParserState. + If a \chapter command is encountered, this is set to True and subsequent \section commands (etc.) will be bumped up one level. | |||||
2010-07-05 | Moved parsing functions from Text.Pandoc.Shared to new module. | John MacFarlane | 1 | -1/+2 | |
+ Text.Pandoc.Parsing | |||||
2010-04-26 | Changed rawLaTeXInline to accept '\section', '\begin', etc. | John MacFarlane | 1 | -3/+8 | |
Use new rawLaTeXInline' in LaTeX reader, and export rawLaTeXInline for use in markdown reader. Fixes bug wherein '\section{foo}' was not recognized as raw TeX in markdown document. | |||||
2010-03-23 | Properly escape URIs in all readers. | John MacFarlane | 1 | -7/+6 | |
2010-03-23 | Updated copyright notices. | John MacFarlane | 1 | -2/+2 | |
2010-03-14 | LaTeX reader: ignore \section, \pdfannot, \pdfstringdef. | fiddlosopher | 1 | -15/+17 | |
Resolves Issue #202. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1887 788f1e2b-df1e-0410-8736-df70ead52e1b | |||||
2010-03-14 | LaTeX reader: Ignore alt title in section headers. | fiddlosopher | 1 | -0/+1 | |
Partially resolves Issue #202. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1886 788f1e2b-df1e-0410-8736-df70ead52e1b | |||||
2010-03-13 | LaTeX reader: don't treat \section as inline LaTeX. | fiddlosopher | 1 | -1/+2 | |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1885 788f1e2b-df1e-0410-8736-df70ead52e1b | |||||
2010-03-13 | LaTeX reader: recognize nonbreaking space ~. | fiddlosopher | 1 | -1/+5 | |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1884 788f1e2b-df1e-0410-8736-df70ead52e1b | |||||
2010-02-27 | LaTeX reader: handle \ (interword space). | fiddlosopher | 1 | -5/+9 | |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1846 788f1e2b-df1e-0410-8736-df70ead52e1b | |||||
2010-02-26 | LaTeX reader: allow any special character to be escaped. | fiddlosopher | 1 | -1/+1 | |
Resolves Issue #221. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1845 788f1e2b-df1e-0410-8736-df70ead52e1b |