Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-11 | Moved headerShift from pandoc.hs to Shared. | John MacFarlane | 2 | -7/+10 | |
2010-07-11 | Slight code cleanup on substitute function. | John MacFarlane | 1 | -4/+4 | |
2010-07-09 | Cleaned up EPUB writer. | John MacFarlane | 1 | -33/+43 | |
2010-07-08 | EPUB writer: don't put multiple copies of same image in epub. | John MacFarlane | 1 | -10/+17 | |
2010-07-08 | Get default stylesheet in EPUB writer, rather than pandoc.hs. | John MacFarlane | 2 | -12/+12 | |
2010-07-08 | Added writerUserDataDir to WriterOptions. | John MacFarlane | 3 | -6/+8 | |
2010-07-08 | Added writerSourceDirectory to WriterOptions. | John MacFarlane | 4 | -16/+20 | |
This allows us to remove an argument from the ODT and EPUB writers. | |||||
2010-07-07 | Addendum to the fix to issue #242. | John MacFarlane | 1 | -1/+1 | |
The previous fix resulted in bird tracks being included in both html and html+lhs renderings of literate haskell sections when pandoc was compiled without highlighting support. This change make pandoc without highlighting behave like pandoc with highlighting: the bird tracks are used only if html+lhs output is specified. | |||||
2010-07-06 | Changed order of functions in Shared. | John MacFarlane | 1 | -26/+26 | |
2010-07-06 | Minor comment change. | John MacFarlane | 2 | -2/+1 | |
2010-07-06 | Allow language-neutral table captions. | John MacFarlane | 3 | -3/+6 | |
+ Captions may now begin simply with ':', instead of 'Table:' + Captions may now appear either above or below the table. + Resolves Issue #227. | |||||
2010-07-05 | More refactoring of grid table code. | John MacFarlane | 3 | -107/+85 | |
2010-07-05 | Minor reformatting. | John MacFarlane | 1 | -2/+4 | |
2010-07-05 | Moved generic grid table functions from RST reader -> Parsing. | John MacFarlane | 2 | -76/+91 | |
Here they can be used by the Markdown reader as well. | |||||
2010-07-05 | Comment change in Templates (thanks to Alexander Hirzel). | John MacFarlane | 1 | -1/+1 | |
Resolves Issue #245. | |||||
2010-07-05 | Don't allow colon in autogenerated HTML identifiers. | John MacFarlane | 1 | -2/+2 | |
They have a special meaning in XML (e.g. in EPUB). | |||||
2010-07-05 | Made -Wall clean. | John MacFarlane | 1 | -1/+1 | |
2010-07-05 | Removed links (internal and external). | John MacFarlane | 1 | -15/+17 | |
2010-07-05 | Process user-supplied EPUB metadata. | John MacFarlane | 1 | -7/+21 | |
Read a sequence of elements from the file. Ignore anything that's not valid Dublin Core. If title, language, uuid not supplied, supply them. | |||||
2010-07-05 | Added writerEPUBMetadata field and --epub-metadata option. | John MacFarlane | 2 | -0/+14 | |
2010-07-05 | Removed writerInclude{Before,After} from WriterOptions. | John MacFarlane | 2 | -12/+0 | |
This is no longer used with the new templating system. | |||||
2010-07-05 | Moved Pandoc prettyprinting code from Shared to new Native writer. | John MacFarlane | 4 | -58/+89 | |
+ Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead. | |||||
2010-07-05 | Moved parsing functions from Text.Pandoc.Shared to new module. | John MacFarlane | 8 | -512/+551 | |
+ Text.Pandoc.Parsing | |||||
2010-07-05 | Added an EPUB writer. | John MacFarlane | 4 | -1/+345 | |
+ New writer module Text.Pandoc.Writers.EPUB + Stylesheet in epub.css + --epub-stylesheet command-line option. + New utility module Text.Pandoc.UUID to generate random UUIDs for EPUBs. | |||||
2010-07-05 | Made a proper ODT writer. | John MacFarlane | 4 | -116/+101 | |
+ Transformed the old Text.Pandoc.ODT module into a proper writer module, Text.Pandoc.Writers.ODT. + Instead of saveOpenDocumentAsODT, we now have writeODT, which takes a Pandoc document and produces a bytestring. saveOpenDocumentAsODT has been removed. + To extract the images and insert them into the ODT, we now use processPandocM on the Pandoc document rather than a custom XML parser. + Handle the case where the image is remote (or not found) by converting the Image element into an Emph with the label. + Plumbing in pandoc.hs changed slightly to accomodate this, and to allow other writers that live in the IO monad. | |||||
2010-06-30 | Use unicode for smart punctuation in plain, markdown, rst formats. | John MacFarlane | 2 | -12/+12 | |
2010-06-30 | Let markdown2pdf recognize citeproc options. | John MacFarlane | 1 | -1/+2 | |
2010-06-28 | Add birdtracks to lhs in HTML when compiled wo -fhighlighting. | John MacFarlane | 1 | -1/+4 | |
Resolves Issue #242. Previously the bird tracks would be stripped off when pandoc was not compiled with highlighting support, even if -t html+lhs was specified. Thanks to Nicholas Wu for pointing out the problem. | |||||
2010-05-08 | Made KeyTable a map instead of an association list. | John MacFarlane | 6 | -50/+67 | |
* This affects the RST and Markdown readers. * The type for stateKeys in ParserState has also changed. * Pandoc, Meta, Inline, and Block have been given Ord instances. * Reference keys now have a type of their own (Key), with its own Ord instance for case-insensitive comparison. | |||||
2010-05-07 | Use explicit imports from Data.Generics. | John MacFarlane | 1 | -1/+1 | |
Otherwise we have a conflict with the 'empty' symbol, introduced in syb >= 0.2. Thanks to ddssff for pointing out the problem. Resolves Issue #237. | |||||
2010-05-06 | UTF8: Modified readFile and getContents to strip BOM if present. | John MacFarlane | 1 | -2/+9 | |
2010-05-06 | Use new UTF8 module in Shared, ODT, and the executables. | John MacFarlane | 4 | -56/+35 | |
2010-05-06 | Added Text.Pandoc.UTF8 for portable UTF8 string IO. | John MacFarlane | 1 | -0/+65 | |
2010-05-04 | Convert command-line arguments to UTF8. | John MacFarlane | 1 | -1/+2 | |
Resolves Issue #234. | |||||
2010-04-26 | Changed rawLaTeXInline to accept '\section', '\begin', etc. | John MacFarlane | 1 | -3/+8 | |
Use new rawLaTeXInline' in LaTeX reader, and export rawLaTeXInline for use in markdown reader. Fixes bug wherein '\section{foo}' was not recognized as raw TeX in markdown document. | |||||
2010-04-26 | Man writer: convert math to unicode when possible. | John MacFarlane | 1 | -2/+3 | |
(As in other writers.) | |||||
2010-04-25 | Use texmath's parser in TexMath module. | John MacFarlane | 1 | -197/+53 | |
* This replaces a lot of custom parser code, and expands the tex -> unicode conversion. * The behavior has also changed: if the whole formula can't be converted, the whole formula is left in raw TeX. Previously, pandoc converted parts of the formula to unicode and left other parts in raw TeX. * Added (but not yet exported) readTeXMath', which returns a Maybe. * Updated tests | |||||
2010-04-10 | In parsing smart quotes, leave unicode curly quotes alone. | John MacFarlane | 1 | -14/+12 | |
Resolves Issue #143. | |||||
2010-04-10 | Give LaTeX images a maximum width using the prelude only | Max Bolingbroke | 1 | -1/+1 | |
2010-03-28 | Shared: Fixed uniqueIdent so it behaves as described in README. | John MacFarlane | 1 | -33/+34 | |
Previously some characters that are illegal in HTML identifiers, such as '<', were being allowed in header identifiers. The logic has now been fixed. Thanks to Xyne for reporting. | |||||
2010-03-23 | Markdown, RST writers: unescape URI in links, to make them readable. | John MacFarlane | 2 | -5/+8 | |
(Since they aren't required to be escaped in these formats.) | |||||
2010-03-23 | Shared: Export unescapeURI. | John MacFarlane | 1 | -2/+9 | |
2010-03-23 | Properly escape URIs in all readers. | John MacFarlane | 4 | -44/+37 | |
2010-03-23 | Shared: Rewrote uri and emailAddress to return original text + escaped URI. | John MacFarlane | 1 | -12/+17 | |
2010-03-23 | Shared: enamed stringToURI -> escapeURI. | John MacFarlane | 1 | -4/+4 | |
2010-03-23 | Don't escape URIs in HTML writer. | John MacFarlane | 1 | -20/+12 | |
This should be done in the readers instead. | |||||
2010-03-23 | Better definition of stringToURI. | John MacFarlane | 1 | -14/+6 | |
Now it escapes all characters that aren't allowed in a URI. %, ?, /, and other characters that are allowed in a URI are left alone. Unicode high characters are UTF-8 encoded. | |||||
2010-03-23 | Updated copyright notices. | John MacFarlane | 25 | -50/+51 | |
2010-03-23 | Fixed treatment of unicode characters in URIs. | John MacFarlane | 3 | -14/+38 | |
* Added stringToURI to Shared. This is used in the HTML writer for all URIs. It properly URI-encodes high characters (> 127), leaving everything else (including symbols and spaces) the same. * Modified unsanitaryURI to allow UTF8 characters in a URI. (First, we convert the URI to URI-encoded octets, then we pass through parseURIReference.) This resolves gitit Issue #99. Previously '[abc](http://gitit.net/测试)' would not be rendered as a link when --sanitize was selected. | |||||
2010-03-22 | OpenDocument writer: Use a Map for stTextStyleAttr. | John MacFarlane | 1 | -10/+10 | |
This avoids duplicates (and invalid xml). |