Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-07-13 | Use raw HTML for complex block quotes. | John MacFarlane | 1 | -2/+3 | |
As far as I can see, dokuwiki markup is pretty limited in what can go in a `>` block quote: just a single line of paragraph text. (#1398) | |||||
2014-07-13 | DokuWiki writer: Use raw HTML for complex lists... | John MacFarlane | 1 | -19/+35 | |
as in the mediawiki writer. The dokuwiki markup isn't able to handle multiple block-level items within a list item, except in a few special cases (e.g. code blocks, and these must be started on the same line as the preceding paragraph). So we fall back to raw HTML for these. Perhaps there is a better solution. We can "fake" multiple paragraphs within list items using hard line breaks (`\\`), but we must keep everything on one line. (#1398) | |||||
2014-07-13 | DokuWiki writer: Normalize to collapse adjacent raw HTML blocks. | John MacFarlane | 1 | -30/+0 | |
2014-07-13 | DokuWiki writer: Updated tests. | John MacFarlane | 1 | -51/+69 | |
2014-07-13 | Merge branch 'claremacrae-dokuwiki'. | John MacFarlane | 1 | -3/+3 | |
Use removeFormatting from Shared instead of the custom unfancy function. | |||||
2014-07-10 | Added failing test for issue #1121. | John MacFarlane | 1 | -0/+2 | |
2014-07-10 | LaTeX writer: Put table captions above tables. | John MacFarlane | 1 | -6/+3 | |
The standard seems to be captions above tables. (See http://tex.stackexchange.com/questions/3243/why-should-a-table-caption-be-placed-above-the-table) | |||||
2014-07-08 | DokuWiki writer: Remove broken formatting from headings (#1398) | Clare Macrae | 1 | -3/+3 | |
2014-07-07 | Added test for issue #1330. | John MacFarlane | 1 | -0/+6 | |
2014-07-07 | Reorganized some markdown tests. | John MacFarlane | 1 | -11/+9 | |
2014-07-07 | Updated dokuwiki tests for latest changes to testsuite.native. | John MacFarlane | 1 | -35/+35 | |
2014-07-07 | Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into ↵ | John MacFarlane | 7 | -0/+684 | |
claremacrae-dokuwiki | |||||
2014-07-07 | Revamped raw HTML block parsing in markdown. | John MacFarlane | 13 | -152/+228 | |
- We no longer include trailing spaces and newlines in the raw blocks. - We look for closing tags for elements (but without backtracking). - Each block-level tag is its own RawBlock; we no longer try to consolidate them (though `--normalize` will do so). Closes #1330. | |||||
2014-07-02 | Revert "DokuWiki writer: Whitespace to a testsuite output file." | Clare Macrae | 1 | -0/+1 | |
This reverts commit 23d71b13e7b462229427e2437a8dd9c8f72d72f1. This is now resulting in a testsuite failure, and I can't see why it didn't do so before | |||||
2014-07-02 | DokuWiki writer: Span no longer swallows text | Clare Macrae | 1 | -1/+1 | |
2014-07-02 | DokuWiki writer: Add new test showing that span swallows content. | Clare Macrae | 3 | -0/+16 | |
2014-07-02 | DokuWiki writer: Whitespace to a testsuite output file. | Clare Macrae | 1 | -1/+0 | |
This doesn't change the testsuite behaviour, but it does mean that all the testsuite output files are exactly identical to the output obtained by running the current pandoc. | |||||
2014-07-02 | DokuWiki writer: Retain unknown RawBlock and RawInline text | Clare Macrae | 1 | -2/+6 | |
This added \cite and \begin latex to the testuite output. | |||||
2014-07-02 | DokuWiki output: Implement blockquotes properly | Clare Macrae | 1 | -12/+12 | |
TODO Also implement nested blockquotes. | |||||
2014-07-01 | Merge branch 'master' of git://github.com/jgm/pandoc into dokuwiki | Clare Macrae | 4 | -3/+12 | |
2014-07-01 | Remove stray <div> and </div> from DokuWiki output (#386) | Clare Macrae | 1 | -18/+9 | |
2014-07-01 | Improved HTML Blocks in DokuWiki output (#386) | Clare Macrae | 1 | -7/+14 | |
For example, this fixes the display of a broken table, and it also fixes the various HTML horizontal rules. | |||||
2014-06-29 | Rewrote normalize for efficiency. (Closes #1385.) | John MacFarlane | 1 | -3/+5 | |
* Added normalizeInlines, normalizeBlocks. * Type signature is now more narrow, `Pandoc -> Pandoc` instead of `Data a :: a -> a`. Some users may need to change their uses of `normalize` to the newly exported `normalizeInlines` or `normalizeBlocks`. | |||||
2014-06-29 | Docx reader: Add tests for hanging indent handline. | Jesse Rosenthal | 3 | -0/+7 | |
We want to treat it as a plain paragraph if the hanging amount is greater to or equal to the left indent---i.e., if the first line has zero indentation. But we still want it to be a block quote if it starts to the right of the margin. Someone might format verse with wrapping lines with a hanging indent, for example. | |||||
2014-06-29 | Updated DokuWiki code and tests to work with latest code from jgm. | Clare Macrae | 1 | -9/+3 | |
The new code was got from inspecting changes in MediaWiki.hs This slightly changes the output of Div blocks, but I'm not convinced the original behaviour was really correct anyway. The code for handling Span does nothing for now, until I can work out the desired behaviour, and add tests for it. | |||||
2014-06-29 | Merge remote-tracking branch 'jgm/master' into dokuwiki | Clare Macrae | 157 | -6276/+7316 | |
2014-06-28 | Update docx tests to reflect new expected behavior | Jesse Rosenthal | 7 | -9/+9 | |
Now doing auto ids for all headers, so tests should reflect that. | |||||
2014-06-28 | Change test result to match new behavior. | Jesse Rosenthal | 1 | -2/+2 | |
2014-06-25 | Track changes tests. | Jesse Rosenthal | 7 | -4/+32 | |
2014-06-25 | Docx reader: Add tests for basic track changes | Jesse Rosenthal | 5 | -0/+12 | |
This is what seems like the sensible default: read in insertions, and ignore deletions. In the future, it would be good if options were available for either taking in deletions or keeping both in some scriptable format. | |||||
2014-06-24 | Docx Reader: add failing defintion list tests. | Jesse Rosenthal | 3 | -0/+11 | |
2014-06-24 | Docx reader: add failing tests for inline code and code blocks. | Jesse Rosenthal | 5 | -0/+13 | |
2014-06-23 | Merge pull request #1366 from jkr/reducible3 | John MacFarlane | 3 | -0/+5 | |
Docx rewrite and cleanup (in terms of Reducible typeclass) | |||||
2014-06-23 | Add test for correctly trimming spaces in formatting. | Jesse Rosenthal | 3 | -0/+5 | |
This used to be fixed in the tree-walking. We need to make sure we're doing it right now. | |||||
2014-06-23 | LaTeX writer: Use `\textquotesingle` for `'` in inline code. | John MacFarlane | 1 | -0/+2 | |
Otherwise we get curly quotes in the PDF output. Closes #1364. | |||||
2014-06-22 | Docx reader tests: add tests for normalization deep in blocks. | Jesse Rosenthal | 3 | -0/+10 | |
2014-06-22 | Docx reader tests: Correct normalize test. | Jesse Rosenthal | 1 | -1/+1 | |
2014-06-22 | Add normalization test. | Jesse Rosenthal | 3 | -0/+6 | |
Add torture-test for new normalization functions. One problem that this test demonstrates is that word has a tendency to turn off formatting at a space, and then turn it back on after. I'm not sure yet whether this is something we should fix. | |||||
2014-06-20 | Docx reader tests: Introduce NoNormPandoc type. | Jesse Rosenthal | 1 | -2/+27 | |
This is just a wrapper around Pandoc that doesn't normalize with `toString`. We want to make sure that our own normalization process works. If, in the future, we are able to hook into the builder's normalization, this will be removed. | |||||
2014-06-20 | LaTeX writer: Fixed strikeout + highlighted code. Closes #1294. | John MacFarlane | 1 | -1/+11 | |
Previously strikeout highlighted code caused an error. | |||||
2014-06-19 | Add tabs tests. | Jesse Rosenthal | 3 | -1/+8 | |
2014-06-19 | Fix notes test. | Jesse Rosenthal | 1 | -1/+1 | |
This previously allowed spaces at the beginning of a paragraph. | |||||
2014-06-19 | Add ReaderOptions to the docx tests | Jesse Rosenthal | 1 | -8/+11 | |
This will allow for testing different media embedding (in addition to any other applicable options.) | |||||
2014-06-19 | Haddock writer: Use _____ for hrule. | John MacFarlane | 1 | -13/+13 | |
Avoids interpretation as list. | |||||
2014-06-18 | Updated haddock writer tests. | John MacFarlane | 1 | -7/+7 | |
2014-06-18 | Small fix to haddock "tables". | John MacFarlane | 1 | -4/+9 | |
2014-06-18 | Revised haddock reader tests for changes in reader. | John MacFarlane | 1 | -6/+6 | |
2014-06-18 | Added haddock writer tests. | John MacFarlane | 4 | -3/+736 | |
2014-06-18 | Rewrote haddock reader to use haddock-library. | John MacFarlane | 2 | -13/+13 | |
This brings pandoc's rendering of haddock markup in line with the new haddock. Note that we preserve line breaks in `@` code blocks, unlike the earlier version. Modified tests pass. More tests would be good. | |||||
2014-06-16 | Naming: Use Docx instead of DocX. | John MacFarlane | 2 | -5/+5 | |
For consistency with the existing writer. |