summaryrefslogtreecommitdiff
path: root/Text
Commit message (Collapse)AuthorAge
...
* Compatibility fixes for CPP, Cabal, and haddock:fiddlosopher2008-07-31
| | | | | | | | + Use CPP in "Extensions" field in pandoc.cabal. + Removed use of backslash string continuations in source files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1350 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use utf8-string's System.IO.UTF8 to replace Text.Pandoc.UTF8.fiddlosopher2008-07-31
| | | | | | | | | | | + removed Text/Pandoc/UTF8.hs + removed UTF8.hs notice from debian/copyright + adjusted main.hs, Text/Pandoc.hs, and Text/Pandoc/ODT.hs to use System.IO.UTF8 instead of Text.Pandoc.UTF8 + Added dependency on utf8-string to pandoc.cabal git-svn-id: https://pandoc.googlecode.com/svn/trunk@1347 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added 'odt' output option to pandoc:fiddlosopher2008-07-31
| | | | | | | | | | | | | | | | | Not a writer, but a module that inserts the output of the OpenDocument writer into an ODT archive. This replaces markdown2odt. + Added odt output option to Main.hs. + Added default for .odt output file. + Changed defaults so that .xml and .sgml aren't automatically DocBook. + Added odt writer to Text.Pandoc exports. + Added Text.Pandoc.ODT and included in pandoc.cabal. + Added reference.odt as data-file in pandoc.cabal. + Handle picture links in OpenDocument files using xml library. + Removed markdown2odt and references from Makefile, README, man. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1345 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: don't print alt text with Image.fiddlosopher2008-07-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1344 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in Text/Pandoc/Highlighting.hs.fiddlosopher2008-07-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1340 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use CPP to simplify build procedure for Highlighting.hs module.fiddlosopher2008-07-31
| | | | | | | This is no longer built by Setup.hs in the pre-configure phase. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1339 788f1e2b-df1e-0410-8736-df70ead52e1b
* HTML writer: override Text.XHtml's stringToHtml function,fiddlosopher2008-07-27
| | | | | | | | | | so that characters below 0xff are not converted to numerical entity references. Also convert '\160' to " ". This should aid readability and editability of the HTML source. It does presuppose that the HTML will be served as UTF-8. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1338 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added MediaWiki writer.fiddlosopher2008-07-27
| | | | | | | | | | | | | | | | | + Added Text/Pandoc/Writers/MediaWiki.hs + Added to pandoc.cabal + Added to Main.hs and Text/Pandoc.hs exports. + Added tests for mediawiki writer & table writer. + Added information on MediaWiki writer to README. + Added mediawiki markup to list of formats in pandoc(1) man page. + Updated debian/control with mediawiki output format. + Added mediawiki markup to description in macports portfile. + Updated freebsd package description to include mediawiki format. + Mention MediaWiki output format in web page index. + Added mediawiki demo to website. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1337 788f1e2b-df1e-0410-8736-df70ead52e1b
* Markdown reader: Parse setext headers before atx headers.fiddlosopher2008-07-23
| | | | | | | | | | Test case: # hi ==== parsed by Markdown.pl as an H1 header with contents "# hi". git-svn-id: https://pandoc.googlecode.com/svn/trunk@1334 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added proper support for embedded images to opendocument writer.fiddlosopher2008-07-18
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1331 788f1e2b-df1e-0410-8736-df70ead52e1b
* Style fixes in opendocument writer:fiddlosopher2008-07-18
| | | | | | | | | + tight definition lists + author/date styles + quotation spacing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1330 788f1e2b-df1e-0410-8736-df70ead52e1b
* More work on smallcaps support.fiddlosopher2008-07-15
| | | | | | | | + Added to refsMatch in Shared. + Supported all writers to the extent possible. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1328 788f1e2b-df1e-0410-8736-df70ead52e1b
* Add preliminary support for SmallCaps inline element. (Andrea Rossato)fiddlosopher2008-07-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1327 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed bug in Markdown parser: regular $s triggering math mode.fiddlosopher2008-07-15
| | | | | | | | | | | | | For example: "shoes ($20) and socks ($5)." The fix consists in two new restrictions: + the $ that ends a math span may not be directly followed by a digit. + no blank lines may be included within a math span. Thanks to Joseph Reagle for noticing the bug. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1326 788f1e2b-df1e-0410-8736-df70ead52e1b
* Commented out some unneeded code in HTML reader.fiddlosopher2008-07-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1325 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup - RST reader.fiddlosopher2008-07-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1324 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added type declarations to avoid -Wall 'defaulting' warnings in writers.fiddlosopher2008-07-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1323 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader - Code cleanup.fiddlosopher2008-07-15
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1322 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: Fixed typo in inline styles fix (super/sup).fiddlosopher2008-07-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1321 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in LaTeX reader.fiddlosopher2008-07-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1320 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: support nested inline styles.fiddlosopher2008-07-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1319 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in TexMath reader.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1318 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in ConTeXt writer.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1317 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in Texinfo writer.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1316 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in Man writer.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1315 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in DocBook writer.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1314 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in RTF writer.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1313 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in RST writer to eliminate -Wall warnings.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1311 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in markdown writer to eliminate -Wall warnings.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1310 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in Text.Pandoc.Blocks to eliminate -Wall warnings.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1309 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in HTML writer to eliminate -Wall warnings.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1308 788f1e2b-df1e-0410-8736-df70ead52e1b
* Code cleanup in LaTeX writer to eliminate -Wall warnings.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1307 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: Indented bulleted lists as we do enumerated lists.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1306 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added distinction between tight and loose lists in OpenDocument writer.fiddlosopher2008-07-13
| | | | | | | (For bullet and enumerated lists only.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1305 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed bugs in OpenDocument writer affecting nested block quotes.fiddlosopher2008-07-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1304 788f1e2b-df1e-0410-8736-df70ead52e1b
* Escape '\160' as " ", not " " in XML.fiddlosopher2008-07-13
| | | | | | | "nbsp" isn't a predefined XML entity. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1303 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added type signatures and fixed other -Wall warnings in Markdown reader.fiddlosopher2008-07-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1301 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added a few more recognized abbreviations to 'abbrev' parser.fiddlosopher2008-07-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1300 788f1e2b-df1e-0410-8736-df70ead52e1b
* Print unicode \160 literally in markdown writer, rather than as  .fiddlosopher2008-07-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1299 788f1e2b-df1e-0410-8736-df70ead52e1b
* In smart mode, use nonbreaking spaces after abbreviations in markdown parser.fiddlosopher2008-07-11
| | | | | | | | Thus, for example, "Mr. Brown" comes out as "Mr.~Brown" in LaTeX, and does not produce a sentence-separating space. Resolves Issue #75. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1298 788f1e2b-df1e-0410-8736-df70ead52e1b
* Treat '\ ' in (extended) markdown as nonbreaking space.fiddlosopher2008-07-11
| | | | | | | Print nonbreaking space appropriately in each writer (e.g. ~ in LaTeX). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1297 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed inDefinition and indentPara to stInDefinition and stIndentParafiddlosopher2008-07-10
| | | | | | | (for consistency). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1295 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added type signatures, etc., to eliminate -Wall warnings.fiddlosopher2008-06-17
| | | | | | | | (except for two warnings about unneeded functions, which might come in handy some day...) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1291 788f1e2b-df1e-0410-8736-df70ead52e1b
* Cleaned up Text/Pandoc/CharacterReferences.hs to avoid -Wall warnings.fiddlosopher2008-06-17
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1289 788f1e2b-df1e-0410-8736-df70ead52e1b
* Cleaned up Text/Pandoc/Shared.hs to avoid -Wall warnings.fiddlosopher2008-06-17
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1288 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument Writer: Fixed handling of spaces and tabs in preformatted blocks.fiddlosopher2008-06-12
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1286 788f1e2b-df1e-0410-8736-df70ead52e1b
* Small fix to indentation of code blocks inside defn lists.fiddlosopher2008-06-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1285 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: Fixed indentation for verbatim blocks inside defn lists.fiddlosopher2008-06-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1284 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: Use different bullets for different list levels.fiddlosopher2008-06-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1283 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: Return empty Doc in title block for null author, ↵fiddlosopher2008-06-09
| | | | | | title, date. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1282 788f1e2b-df1e-0410-8736-df70ead52e1b