Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-02 | Rename `Ext_yaml_title_block` -> `Ext_yaml_metadata_block`. | John MacFarlane | 1 | -1/+1 | |
2013-07-02 | Markdown reader: Better error messages for yaml headers. | John MacFarlane | 1 | -5/+18 | |
2013-07-01 | Markdown reader: Ignore fields ending with _ in YAML headers. | John MacFarlane | 1 | -2/+2 | |
2013-07-01 | Emit warning instead of failing on invalid YAML header. | John MacFarlane | 1 | -4/+10 | |
2013-06-27 | LaTeX reader: Support alltt environment. | John MacFarlane | 1 | -2/+12 | |
Closes #892. | |||||
2013-06-25 | Fixed 'authors' metadata parsing in reST. | John MacFarlane | 1 | -1/+22 | |
Semicolons separate different authors. | |||||
2013-06-24 | Use new flexible metadata type. | John MacFarlane | 7 | -116/+154 | |
* Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this. | |||||
2013-06-19 | Markdown reader: Check for blank lines first in blocks. | John MacFarlane | 1 | -2/+2 | |
(And skip them. This might speed things up in some cases.) | |||||
2013-06-19 | Properly handle blank line at beginning of input. | John MacFarlane | 1 | -1/+1 | |
Closes #882. | |||||
2013-06-19 | Improved code readability. | John MacFarlane | 1 | -11/+15 | |
2013-06-19 | Markdown reader: fixed bug in unmatched reference links. | John MacFarlane | 1 | -7/+12 | |
The input [*infile*] [*outfile*] was getting improperly parsed: "infile" was emphasized, but "*outfile*" was literal. This was due to failure to parse the "fallback" in the reference link parser. Closes #883. | |||||
2013-06-18 | RST reader: don't insert paragraphs where docutils doesn't. | John MacFarlane | 1 | -1/+6 | |
rst2html doesn't add `<p>` tags to list items (even when they are separated by blank lines) unless there are multiple paragraphs in the list. This commit changes the RST reader to conform more closely to what docutils does. Closes #880. | |||||
2013-06-11 | Textile reader: Correctly handle entities. | John MacFarlane | 1 | -1/+2 | |
2013-05-20 | MediaWiki reader: Ignore attributes on headers. | John MacFarlane | 1 | -4/+3 | |
2013-05-20 | MediaWiki reader: Skip attributes on table rows. | John MacFarlane | 1 | -1/+2 | |
Previously we just crashed if rows had attributes, now we ignore them. | |||||
2013-05-13 | Markdown reader: Allow internal `+` in citation identifiers. | John MacFarlane | 1 | -1/+1 | |
Closes #856. | |||||
2013-05-12 | LaTeX reader: Skip positional options after `\begin{figure}`. | John MacFarlane | 1 | -0/+1 | |
2013-05-09 | Treat `\textsl` as emphasized text in LaTeX reader. | John MacFarlane | 1 | -0/+1 | |
Closes #850. | |||||
2013-04-23 | Markdown reader: Implemented `Ext_ascii_identifiers`. | John MacFarlane | 1 | -2/+8 | |
Closes #807. | |||||
2013-04-19 | Markdown reader: minor code cleanup. | John MacFarlane | 1 | -2/+2 | |
2013-04-14 | Haddock reader improvements. | John MacFarlane | 1 | -10/+6 | |
- Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code. | |||||
2013-04-09 | Removed unnecessary OPTIONS flag in Haddock/Parse.y. | John MacFarlane | 1 | -1/+0 | |
2013-04-09 | Fixed Haddock reader bugs with list item spaces and examples. | John MacFarlane | 1 | -10/+8 | |
Closes #824. | |||||
2013-04-04 | Haddock reader: leaving Space alone in @...@ seems more semantically correct. | David Lazar | 1 | -1/+0 | |
2013-04-04 | Haddock reader: derive Show for Token, making debugging easier. | David Lazar | 1 | -1/+1 | |
2013-03-31 | LaTeX reader: Support `\textasciitilde`, `\textasciicircum`. | John MacFarlane | 1 | -0/+2 | |
Closes #810. | |||||
2013-03-29 | Haddock reader: make clearer which production the comment refers to. | David Lazar | 1 | -2/+3 | |
2013-03-29 | Haddock reader: add the "haskell" attribute to code blocks so they are | David Lazar | 1 | -4/+4 | |
highlighted. We reasonably assume that code blocks in Haddock markup wont be used for anything but Haskell code. | |||||
2013-03-29 | Haddock reader: improved error reporting. | David Lazar | 3 | -6/+9 | |
2013-03-28 | Parsing: Better error reporting in readWith. | John MacFarlane | 1 | -1/+4 | |
- Specialize readWith to String input. - On error have it print the line in which the error occurred, with a caret pointing to the column. - This should help diagnose parsing problems in LaTeX especially. | |||||
2013-03-28 | Haddock writer: use 'text' builder instead of 'str'. | John MacFarlane | 1 | -3/+10 | |
This articulates strings into Str, Space, allowing them to be hard-wrapped intelligently by the writers. This patch also fixes a bug with trailing spaces and newlines. (See #806.) | |||||
2013-03-28 | Add reader for Haddock markup based on Haddock's own lexer/parser. | David Lazar | 3 | -0/+387 | |
2013-03-28 | Mediawiki reader: Fixed | links inside table cells. | John MacFarlane | 1 | -10/+8 | |
Improved attribute parsing. | |||||
2013-03-28 | Mediawiki reader: Fixed last commit. | John MacFarlane | 1 | -1/+1 | |
2013-03-28 | MediaWiki reader: Correctly handle indented preformatted text | John MacFarlane | 1 | -5/+17 | |
without preceding or following blank line. | |||||
2013-03-27 | mediawiki reader: allow space before table rows. | John MacFarlane | 1 | -4/+5 | |
2013-03-20 | OPML reader: Type attributes are not case sensitive. | John MacFarlane | 1 | -2/+2 | |
So, `type="link"` or `type="LINK"`. | |||||
2013-03-19 | Added Text.Pandoc.Readers.OPML, exporting readOPML. | John MacFarlane | 1 | -0/+95 | |
The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests. | |||||
2013-03-17 | Revert "LaTeX reader: citation handling changes." | John MacFarlane | 1 | -8/+3 | |
This reverts commit f7229b147314042f946dfded3b441ab0fae260a0. | |||||
2013-03-13 | Markdown reader: don't lose parentheses in URLs. | John MacFarlane | 1 | -3/+7 | |
Added tests. This fixes a regression from 1.10.x. Closes #786. | |||||
2013-03-12 | Markdown reader: Handle unmatched double quotes in dialogues. | John MacFarlane | 1 | -3/+8 | |
They do not generate a Quoted element; instead, the double quote is just turned into a Str with a curly left quote. This should satisfy the fiction writers. Closes #99 (again). | |||||
2013-03-11 | Fixed spacing bugs involving code block attributes. | John MacFarlane | 1 | -1/+1 | |
Closes #763. | |||||
2013-03-09 | LaTeX reader: citation handling changes. | John MacFarlane | 1 | -3/+8 | |
Previously, a LaTeX citation would always be parsed as a Citation element, with the raw LaTeX in the [Inline] part. Now, the LaTeX citation is parsed as a Citation element only if `--biblio` was specified (i.e. only if there is a nonempty set of references in readerReferences). Otherwise it is parsed as raw LaTeX. This will make it possible to simplify some things in the markdown writer. It also makes the LaTeX reader behave more like the Markdown reader. | |||||
2013-03-06 | Support :number-lines: in RST code output. | John MacFarlane | 1 | -2/+1 | |
2013-03-06 | LaTeX reader: Better support for Verbatim and minted environments. | John MacFarlane | 1 | -3/+18 | |
Closes #763. | |||||
2013-03-05 | LaTeX reader: Handle language attribute for lstlistings. | John MacFarlane | 1 | -2/+5 | |
Convert it to a highlighting-kate language name. | |||||
2013-03-04 | LaTeX reader: Read optional attributes in lstlisting environment. | John MacFarlane | 1 | -1/+22 | |
We convert these to pandoc standard names, e.g. "numberLines" for "numbers=left", "startFrom=100" from "firstnumber=100". Still need to add code to convert the language names. | |||||
2013-03-02 | Markdown reader: attribute parsing improvements. | John MacFarlane | 1 | -14/+15 | |
* Cleaned up parsing code. * '-' in an attribute context = '.unnumbered'. The point of this is to provide a way to specify unnumbered headers in non-English documents. | |||||
2013-03-02 | Check for tables before line blocks. | John MacFarlane | 1 | -1/+1 | |
Otherwise some pipe tables get treated as line blocks. | |||||
2013-03-02 | Markdown reader: Allow spaces around borders in pipe tables. | John MacFarlane | 1 | -1/+3 | |
Closes #772. |