Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-08-22 | Write id for code block to label attr in latex when listing is used | Florian Eitel | 1 | -1/+2 | |
The code: ~~~{#test} asdf ~~~ gets compiled to html: <pre id="test"> asdf </pre> So it is possible to link to the identifier `test` But this doesn't happen on latex When using the listings package (`--listings`) it is possible to set the identifier using the `label=test` property: \begin{lstlisting}[label=id] hi \end{lstlisting} And this is exactly what this patch is doing. Modified LaTeX Reader/Writer and added tests for this. | |||||
2013-08-21 | Merge pull request #960 from semorrison/master | John MacFarlane | 1 | -0/+6 | |
Processing some additional cedilla accents while reading LaTeX | |||||
2013-08-21 | cedilla-o breaks the compile, removing again | Scott Morrison | 1 | -2/+0 | |
2013-08-21 | adding some cedilla characters to the LaTeX reader | Scott Morrison | 1 | -0/+8 | |
2013-08-20 | Create Cite element even if no matching reference in the biblio. | John MacFarlane | 1 | -9/+12 | |
* Add ??? as fallback text for non-resolved citations. * Biblio: Put references (including a header at the end of the document, if one exists) inside a Div with class "references". This gives some control over styling of references, and allows scripts to manipulate them. * Markdown writer: Print markdown citation codes, and disable printing of references, if `citations` extension is enabled. NOTE: It would be good to improve what citeproc-hs does for a nonexistent key. | |||||
2013-08-18 | Allow multiple YAML metadata blocks in document. | John MacFarlane | 1 | -51/+56 | |
2013-08-17 | Markdown reader: Parse span, div tags as Span, Div elements. | John MacFarlane | 1 | -0/+22 | |
Assuming markdown_in_html extension is set. | |||||
2013-08-17 | Markdown reader: Don't generate blank title, author, date elements. | John MacFarlane | 1 | -3/+3 | |
2013-08-16 | LaTeX reader: parse label after section command and set id. | John MacFarlane | 1 | -2/+4 | |
Closes #951. | |||||
2013-08-16 | LaTeX reader missing \oe and \OE characters | Scott Morrison | 1 | -0/+2 | |
2013-08-16 | adding support for breve accents via \u{} while reading LaTeX | Scott Morrison | 1 | -0/+16 | |
2013-08-10 | Use walk, walkM in place of bottomUp, bottomUpM when possible. | John MacFarlane | 2 | -4/+4 | |
They are significantly faster. | |||||
2013-08-10 | Adjustments for new Format newtype. | John MacFarlane | 4 | -6/+7 | |
2013-08-08 | Revert "Textile reader: Removed raw LaTeX parsing." | John MacFarlane | 1 | -0/+16 | |
This reverts commit bb61624bb2bba416e1992ecdf101f9660a3edcae. Apparently someone put this there for a reason, since it's in the test suite. | |||||
2013-08-08 | Added Text.Pandoc.Compat.TagSoupEntity. | John MacFarlane | 2 | -2/+2 | |
This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch. | |||||
2013-08-07 | Textile reader: Removed raw LaTeX parsing. | John MacFarlane | 1 | -16/+0 | |
This isn't part of Textile. | |||||
2013-08-07 | Allow YAML title blocks to contain only comments. | John MacFarlane | 1 | -1/+4 | |
2013-08-06 | Added support for MetaBool. | John MacFarlane | 1 | -1/+1 | |
2013-07-29 | Markdown atx headers: Allow `.` or `)` after `#` if no `fancy_lists`. | John MacFarlane | 1 | -1/+2 | |
2013-07-25 | LaTeX reader: Support `\v{}` for hacek. | John MacFarlane | 1 | -0/+37 | |
Closes #926. | |||||
2013-07-25 | Textile reader: Improved handling of `<pre>` blocks. | John MacFarlane | 1 | -4/+10 | |
* Closed #927 (a bug in which `<pre>` in certain contexts was not recognized as a code block). * Remove internal HTML tags in code blocks, rather than printing them verbatim. * Parse attributes on `<pre>` tag for code blocks. | |||||
2013-07-21 | LaTeX reader: Don't add spurious ", " to citation suffixes. | John MacFarlane | 1 | -7/+3 | |
This is added when needed in Text.Pandoc.Biblio anyway. | |||||
2013-07-20 | Markdown reader: Improved strong/emph parsing. | John MacFarlane | 1 | -34/+54 | |
Using technique from github.com/jgm/Markdown. The new parsing algorithm requires no backtracking, and no keeping track of nesting levels. It will give different results in some edge cases but should not affect most people. | |||||
2013-07-17 | Added `ignore_line_breaks` markdown extension. | John MacFarlane | 1 | -0/+1 | |
This causes intra-paragraph line breaks to be ignored, rather than being treated as hard line breaks or spaces. This is useful for some East Asian languages, where spaces aren't used between words, but text is separated into lines for readability. | |||||
2013-07-16 | HTML reader: read widths from col tags if present. | John MacFarlane | 1 | -6/+23 | |
Closes #893. | |||||
2013-07-16 | HTML reader: Handle non-simple tables (#893). | John MacFarlane | 1 | -3/+9 | |
Column widths are divided equally. TODO: Get column widths from col tags if present. | |||||
2013-07-16 | HTML reader: Generalized table parser. | John MacFarlane | 1 | -4/+9 | |
This commit doesn't change the present behavior at all, but it will make it easier to support non-simple tables in the future. | |||||
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. |