Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-10 | LaTeX reader: Control sequences can't be followed by a letter. | John MacFarlane | 1 | -1/+1 | |
This fixes a bug where `\begingroup` was parsed as `\begin` followed by `group`. | |||||
2012-04-07 | LaTeX reader: Handle \bgroup, \egroup, \begingroup, \endgroup. | John MacFarlane | 1 | -3/+13 | |
2012-04-05 | Textile reader: Implemented literal escapes with `==` and `<notextile>`. | John MacFarlane | 1 | -1/+19 | |
Closes #473. | |||||
2012-03-25 | Oops! Forgot to munch whitespace / ignore body after directive. | Greg Maslov | 1 | -1/+4 | |
2012-03-24 | Add parsing support for the rST default-role directive. | Greg Maslov | 1 | -3/+31 | |
2012-03-24 | RST reader: allow :math:`...` even when not followed by blank or \. | John MacFarlane | 1 | -2/+3 | |
This does not implement the complex rule described at http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, but it should be good enough for most purposes. Closes #453. | |||||
2012-03-24 | RST reader: '\ ' is null, not escaped space. | John MacFarlane | 1 | -1/+3 | |
2012-03-19 | Fixed bug parsing LaTeX tables with one column. | John MacFarlane | 1 | -10/+14 | |
Thanks to Steven Solie for finding the bug. | |||||
2012-03-12 | fix doc generation failure against haddock-2.10.0 | Sergei Trofimovich | 1 | -2/+2 | |
$ cabal configure --haddock-option=-v3 $ cabal haddock -v3 Creating interface... 100% ( 2 / 2) in 'Text.Pandoc.Readers.Native' Checking module Text.Pandoc.Readers.HTML... Creating interface... 50% ( 4 / 8) in 'Text.Pandoc.Readers.HTML' Checking module Text.Pandoc.Readers.Textile... Creating interface... haddock: internal error: lexical error /usr/bin/haddock returned ExitFailure 1 Patch changes UTF-8 spaces to ASCII spaces. It's a known haddock issue: http://www.haskell.org/pipermail/haskell-cafe/2012-March/099870.html Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | |||||
2012-03-10 | Fixed lstlisting environment in LaTeX reader. | John MacFarlane | 1 | -1/+1 | |
Closes #443. | |||||
2012-02-27 | Support "minted" as a LaTeX verbatim block. | John MacFarlane | 1 | -1/+3 | |
Closes #431. | |||||
2012-02-25 | LaTeX reader: correctly handle \^{}. | John MacFarlane | 1 | -8/+8 | |
2012-02-25 | LaTeX reader: Fixed accents. | John MacFarlane | 1 | -28/+67 | |
\~{a}, \c{c}. | |||||
2012-02-21 | Added support for markdown-extra tables in the markdown parser | François Gannaz | 1 | -0/+5 | |
Only tables whose lines begin with a "|" are supported. There are 2 warnings about unused variables when compiling. | |||||
2012-02-19 | LaTeX math environment fixes. Closes #423. | John MacFarlane | 1 | -8/+8 | |
`aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`. | |||||
2012-02-17 | Don't escape `<` in `<style>` tags with `--self-contained`. | John MacFarlane | 1 | -2/+10 | |
Closes #422: highlighting lost using `--self-contained`. | |||||
2012-02-10 | LaTeX reader: Add ", " to suffix... | John MacFarlane | 1 | -9/+13 | |
if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles. | |||||
2012-02-09 | Made LaTeX parser more robust. | John MacFarlane | 1 | -22/+26 | |
+ Skip options after block commands. + Correctly handle {\\} in braced. + Added a needed 'try'. | |||||
2012-02-09 | Better handling of raw latex environments in markdown. | John MacFarlane | 1 | -9/+1 | |
Now \begin{equation} a_1 \end{equation} turns into a raw latex block as expected. | |||||
2012-02-08 | Improvements to markdown attributes syntax (on code blocks). | John MacFarlane | 1 | -4/+5 | |
(1) Attributes can contain line breaks. (2) Values in key-value attributes can be surrounded by either double or single quotes, or left unquoted if they contain no spaces. | |||||
2012-02-08 | Put LaTeX verse environments in blockquotes. | John MacFarlane | 1 | -0/+1 | |
2012-02-07 | Limit nesting of strong/emph. | John MacFarlane | 1 | -2/+14 | |
This avoids exponential lookahead in parasitic cases, like a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**. Added stateMaxNestingLevel to ParserState. We set this to 6, so you can still have Emph inside Emph, just not indefinitely. | |||||
2012-02-07 | Handle escaped $ in latex math. Closes #186. | John MacFarlane | 1 | -2/+8 | |
2012-02-06 | LaTeX reader: use raw latex as fallback for Cites. | John MacFarlane | 1 | -53/+57 | |
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex. | |||||
2012-02-05 | Removed module Text.Pandoc.CharacterReferences. | John MacFarlane | 1 | -3/+3 | |
Moved characterReference parser to Text.Pandoc.Parsing. decodeCharacterReferences is now replaced by fromEntities in Text.Pandoc.XML. | |||||
2012-02-05 | Removed outdated comment in LaTeX reader. | John MacFarlane | 1 | -2/+0 | |
2012-02-05 | Support \frametitle, \framesubtitle. | John MacFarlane | 1 | -0/+5 | |
2012-02-05 | LaTeX reader: Fixed bug in authors. | John MacFarlane | 1 | -1/+3 | |
2012-02-05 | LaTeX reader: Support \TeX, \LaTeX. | John MacFarlane | 1 | -0/+2 | |
2012-02-05 | LaTeX reader: Skip everything after \end{document}. | John MacFarlane | 1 | -1/+1 | |
2012-02-04 | Added \vspace and \hspace to latex ignored block commands. | John MacFarlane | 1 | -0/+1 | |
2012-02-04 | Improvements to LaTeX reader: | John MacFarlane | 1 | -26/+63 | |
* Handle \ps * Ignore ignorable commands in a uniform way. * Handle \P * handleIncludes skips \verb commands. | |||||
2012-02-04 | Handle \address and \signature in letter environment. Closes #393. | John MacFarlane | 1 | -2/+19 | |
2012-02-04 | LaTeX reader: support macron accents \=o. | John MacFarlane | 1 | -0/+14 | |
2012-02-04 | LaTeX reader: support \. dot accent. | John MacFarlane | 1 | -0/+13 | |
2012-02-04 | handleIncludes: read file as UTF8, allow multiples separated by commas. | John MacFarlane | 1 | -8/+13 | |
e.g. \usepackage{a,b} | |||||
2012-02-04 | Don't print warnings for not-found packages, includes. | John MacFarlane | 1 | -4/+1 | |
2012-02-04 | Revert "LaTeX reader: Use kpsewhich to find paths for handleIncludes." | John MacFarlane | 1 | -11/+1 | |
This reverts commit 1f90c6d7e0800621367ff72601a4f66159688ca9. | |||||
2012-02-04 | LaTeX reader: Use kpsewhich to find paths for handleIncludes. | John MacFarlane | 1 | -1/+11 | |
Fall back without an error if kpsewhich is not available. | |||||
2012-02-04 | Have handleIncludes look for local .sty files from \usepackage. | John MacFarlane | 1 | -3/+7 | |
2012-02-04 | LaTeX reader: small bug fixes. | John MacFarlane | 1 | -8/+10 | |
2012-02-04 | Minor formatting change | John MacFarlane | 1 | -1/+2 | |
2012-02-04 | LaTeX reader: Factored out rawEnv | John MacFarlane | 1 | -7/+11 | |
2012-02-04 | Small improvements in latex table parser. | John MacFarlane | 1 | -3/+2 | |
2012-02-04 | Complete rewrite of LaTeX reader. | John MacFarlane | 2 | -981/+737 | |
* 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-28 | Removed an unnecessary `many spaceChar`. | John MacFarlane | 1 | -1/+1 | |
2012-01-28 | Markdown reader: Fixed bug in code block attribute parser. | John MacFarlane | 1 | -3/+4 | |
Previously the ID attribute got lost if it didn't come first. Now attributes can come in any order. | |||||
2012-01-28 | Support github syntax for fenced code blocks. | John MacFarlane | 1 | -10/+14 | |
You can now write ```ruby x = 2 ``` instead of ~~~ {.ruby} x = 2 ~~~~ | |||||
2012-01-27 | Fixed table parsing with wide or combining characters. | John MacFarlane | 1 | -4/+4 | |
Closes #348. Closes #108. |