Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-02-08 | More efficient implementation of nowrap in Pretty. | John MacFarlane | 1 | -4/+4 | |
2012-02-07 | Limit nesting of strong/emph. | John MacFarlane | 2 | -2/+16 | |
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 | PDF: Only run latex twice if \tableofcontents is present. | John MacFarlane | 1 | -1/+4 | |
Note: This will pick up on \tableofcontents even if it's in a verbatim environment. But the worst that can happen is that the document takes a bit longer to build. | |||||
2012-02-07 | Handle escaped $ in latex math. Closes #186. | John MacFarlane | 1 | -2/+8 | |
2012-02-07 | Added test case for issue #186 (\$ in latex math). | John MacFarlane | 1 | -1/+1 | |
2012-02-07 | Added test case for issue #186 (\$ in latex math). | John MacFarlane | 1 | -0/+5 | |
2012-02-06 | LaTeX writer: prevent adjacent hyphens from forming ligatures. | John MacFarlane | 1 | -20/+32 | |
This is important primarily for things like `--option`. Em and En dashes will produce '---' and '--' in LaTeX, but hyphens should not otherwise combine into dashes. | |||||
2012-02-06 | LaTeX reader: use raw latex as fallback for Cites. | John MacFarlane | 2 | -75/+81 | |
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-06 | Text.Pandoc.PDF: Simplified tex2pdf. | John MacFarlane | 1 | -26/+16 | |
We no longer try to parse the log file to determine whether latex needs to be rerun. Instead, we run latex twice -- which should be enough for table of contents and hyperrefs. Closes #402. | |||||
2012-02-05 | Fixed bug in fromEntities: require semicolon to process as entity. | John MacFarlane | 1 | -1/+1 | |
2012-02-05 | Parsing: Make characterReference fail if entity not found. | John MacFarlane | 1 | -2/+2 | |
2012-02-05 | Removed module Text.Pandoc.CharacterReferences. | John MacFarlane | 4 | -79/+16 | |
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 | Fixed Pretty so it uses Data.Monoid's <> w/ GHC 7.4. | John MacFarlane | 1 | -2/+13 | |
Note: changed fixity to infixr 6. | |||||
2012-02-05 | Re-added the --ascii option. | John MacFarlane | 1 | -5/+18 | |
Now it is implemented in pandoc.hs, not in the HTML writer. | |||||
2012-02-05 | Text.Pandoc.XML: Export fromEntities. | John MacFarlane | 2 | -15/+17 | |
Remove old 'deEntities' from pandoc.hs. | |||||
2012-02-05 | Remove dependency on dlist. | John MacFarlane | 1 | -6/+7 | |
Use sequence in Pretty instead. | |||||
2012-02-05 | Normalize date in EPUB metadata. | John MacFarlane | 1 | -1/+1 | |
2012-02-05 | Changed infix level of testing combinators. | John MacFarlane | 7 | -7/+7 | |
This avoids clash with (<>), which is defined in Data.Monoid as having infix 6. | |||||
2012-02-05 | pandoc: Treat html5+lhs as an html format. | John MacFarlane | 1 | -1/+2 | |
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 | 6 | -1006/+795 | |
* 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-31 | Don't let autolinks create reference links. | John MacFarlane | 1 | -1/+1 | |
Previously we got bad results with -t markdown --reference-links if the input contained autolinks like <http://yahoo.com>. | |||||
2012-01-31 | Don't include mathml javascript for html5 output. | John MacFarlane | 1 | -1/+2 | |
mathml is supposed to be supported in HTML5. | |||||
2012-01-31 | Support `--mathml` flag in docbook. | John MacFarlane | 1 | -2/+28 | |
2012-01-31 | Change copyright date. | John MacFarlane | 1 | -3/+3 | |
2012-01-30 | Added `--epub-embed-font` option. | John MacFarlane | 3 | -6/+37 | |
* This can be repeated for multiple fonts. * Added parameter for fonts to embed to writeEPUB. * Added ttf, otf to Mime types in Text.Pandoc.MIME. | |||||
2012-01-30 | Added default.beamer template (separate from default.latex). | John MacFarlane | 1 | -1/+0 | |
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 | Remove dependency on old-time. | John MacFarlane | 3 | -6/+6 | |
2012-01-28 | Put date in YYYY-MM-DD format if possible for HTML, docx metadata. | John MacFarlane | 3 | -5/+23 | |
Added normalizeDate to Text.Pandoc.Shared. | |||||
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. |