aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-31Gobble space after Plain blocks containing only raw html inline.fiddlosopher3-2/+11
Otherwise following header blocks are not parsed correctly, since the parser sees blank space before them. Resolves Issue #124. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1534 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-31Rewrote hsmarkdown in Haskell for portability.fiddlosopher2-0/+58
For now, keeping the old shell script too. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1533 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-31Moved tabFilter to Shared.fiddlosopher2-22/+26
Removed optPreserveTabs; instead, tabstop of 0 means preserve tabs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1532 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-31Renamed Main.hs -> pandoc.hs.fiddlosopher2-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1531 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-31Changed srcdir in Makefile.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1530 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-25Added TemplateHaskell to Extensions for executable, removed -threaded for ↵fiddlosopher1-2/+2
library. Thanks to duncan.coutts for the bug report. Resolves Issue #121. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1529 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Moved all haskell source to src subdirectory.fiddlosopher32-3/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Allow " as well as '' to end a latex double-quote.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1527 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Changed processIn -> processWith in sample plugin.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1526 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Code cleanup based on hlint suggestions.fiddlosopher1-30/+23
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1525 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Fixed bug in mediawiki writer: improper closing tags in tables.fiddlosopher2-73/+73
<th> instead of </th>, <td> instead of </td>. Thanks to Benct Philip Jonsson for reporting the bug. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1524 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Added --email-obfuscation option.fiddlosopher5-60/+110
+ Added writer option for email obfuscation. + Implemented email obfuscation options in HTML writer. + Added option to option parser. + Documented in README and pandoc man page. + Resolves Issue #97. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1523 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Improved documentation for plugins in README.fiddlosopher1-22/+69
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1522 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Renamed processIn -> processWith, queryIn -> queryWith.fiddlosopher4-18/+18
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1521 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Moved some Extra-Source-Files to Data-Files.fiddlosopher1-9/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1520 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Added a plugin system, based on hint.fiddlosopher11-24/+398
+ In Text.Pandoc.Definition, added processIn, processInM, and queryIn, and deprecated processPandoc and queryPandoc for these more general functions, which are useful in writing plugins. + Added module Text.Pandoc.Plugins. + Added a --plugins option to Main, and code to run the parsed pandoc document through all the plugins. + Provided five sample plugin files in the plugins/ directory. + Documented --plugin in the pandoc man page and README. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1519 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-29Brought citeproc support up to date for citeproc-hs-0.2.fiddlosopher2-7/+15
(Patch by Andrea Rossato.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1518 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-29More fixes to get markdown writer working with pretty-1.0.1.0.fiddlosopher1-4/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1517 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-23Added Bug-Reports field to cabal file.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1516 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-17Fixed problems in RST and markdown output due to bug in pretty-1.0.1.0fiddlosopher5-19/+28
+ Added hang' function to Text.Pandoc.Shared; this will be used instead of hang, which doesn't work properly in pretty-1.0.1.0. When pretty is upgraded, we can go back to hang. See http://article.gmane.org/gmane.comp.lang.haskell.general/16687 + Use hang' (and some different techniques) in RST and markdown writers. Some output is now a bit different. + Modify test suites accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1515 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-17Added new listings include to LaTeX writer test.fiddlosopher1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1514 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-03Mention WordPress EasyFilter in website.fiddlosopher1-0/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1513 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02LaTeX header: Use fixed-width font for Haskell code.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1512 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02LaTeX reader: parse |inline lhs| if source is lhs.fiddlosopher1-2/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1511 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02LaTeX and Markdown readers: Add sourceCode class to haskell code.fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1510 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Added lhs support to RST reader.fiddlosopher1-0/+20
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1509 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Added lhs support to RST writer.fiddlosopher1-4/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1508 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Use +lhs suffixes in formats instead of options to trigger lhs.fiddlosopher1-31/+18
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1507 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Modified README and man page to document lhs features.fiddlosopher2-31/+56
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1506 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Add definition of code environment to LaTeX header.fiddlosopher1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1505 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Allow LaTeX-style code sections as well as bird-style in lhs markdown.fiddlosopher1-1/+14
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1504 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Markdown writer: Use setext style headers only if --lhs-out specified.fiddlosopher1-1/+10
Reason: ghc doesn't like '#' characters in lhs comment sections. See http://www.haskell.org/pipermail/haskell-cafe/2008-December/051300.html git-svn-id: https://pandoc.googlecode.com/svn/trunk@1503 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Markdown writer: proper handling of block quotes in lhs mode.fiddlosopher1-1/+6
If in lhs mode, put space before bird tracks for block quotes, to prevent them from being interpreted as literate Haskell source. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1502 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Handle --lhs-out option in HTML, LaTeX, and Markdown writers.fiddlosopher5-5/+42
Documented lhs options in man page and README. Note: HTML output with --lhs-out is not strictly literate haskell, but it is designed so that the result of copying and pasting the page in the browser will be a literate haskell file. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1501 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Added --lhs-out option.fiddlosopher2-14/+32
+ Added writerLiterateHaskell to WriterOptions. + Added --lhs-out option to Main. + Added --lhs option (combines --lhs-out and --lhs-in) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1500 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02LaTeX reader: Added parser for literate haskell code blocks.fiddlosopher1-3/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1499 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Moved failUnlessLHS to Text.Pandoc.Shared.fiddlosopher2-6/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1498 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02Added literate haskell support for markdown reader.fiddlosopher3-9/+53
+ Added stateLiterateHaskell to parser state. + Added parser for lhsCodeBlock to Markdown reader. + Added --lhs-in option, to treat input as literate haskell. + If first source has extension .lhs, assume --lhs-in. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1497 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-01Conditionally depend on syb and base >= 4 if ghc >= 6.10.fiddlosopher1-1/+5
Resolves Issue #109. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1496 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-01Removed package-URL field from cabal file.fiddlosopher1-1/+0
This pointed to an old version, and isn't really needed since the cabal file comes with the source bundle. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1495 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-25Markdown reader: relax spacing rules for $$ in display math.fiddlosopher1-1/+4
Now space and newlines are allowed after the opening $$ and before the closing $$. However, the display math cannot contain an entirely blank line. Resolves Issue #105. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1494 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-17Website: Updated links to distribution repositories.fiddlosopher1-6/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1493 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-11LaTeX writer: fixed bug with empty table cells.fiddlosopher1-1/+1
Resolves Issue #107. Thanks to rodja.trappe for the patch. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1492 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-07Website demos: removed escaping of -.fiddlosopher2-1/+3
Instead, don't use -S for examples.html. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1491 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06Fixed problem in mkdemos.pl:fiddlosopher1-1/+0
Backslashes were being added before dashes in code samples. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1490 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06Updated location of odt-styles in pandoc.cabal.fiddlosopher1-6/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1488 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06Updated website index page.fiddlosopher1-0/+13
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1486 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06Updated changelog.fiddlosopher1-0/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1485 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06Fixed parsing of RST comment blocks.fiddlosopher3-5/+36
Modified 'unknown directive' in RST reader. Added RST reader tests for comment blocks. Resolves Issue #86 and Debian Bug#500662. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1484 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-02Bumped version in windows installer to 1.1.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1483 788f1e2b-df1e-0410-8736-df70ead52e1b