aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-26Require Cabal >= 1.6.fiddlosopher2-1/+3
This is needed for the new test hook, because the PackageName type is new in 1.6. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1549 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-24Removed plugin support.fiddlosopher6-332/+8
Plugins will probably be added in a later version, but for now we want to avoid the heavy GHC API dependency. Also, plugins are very slow with the current system. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1548 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Added new lhs tests to cabal file.fiddlosopher1-0/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1547 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Version bump to 1.2.fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1546 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Updated changelog.fiddlosopher1-0/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1545 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Make wrappers flag False by default.fiddlosopher1-1/+1
This can change when we've got haskell versions of all the wrappers. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1544 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Changed comment header on hsmarkdown.hs.fiddlosopher1-2/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1543 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Check to see if highlighting supported and run lhs tests if it is.fiddlosopher2-4/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1542 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Only run lhs tests if 'lhs' argument passed to RunTests.hs.fiddlosopher1-2/+15
Reason: these tests assume highlighting support has been compiled in. So, to avoid unexpected failures, we shouldn't run them by default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1541 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Updated test suites: regular paragraph before block quote.fiddlosopher10-10/+29
Note: rst writer doesn't handle block quote after code block properly. Ideally it would insert an empty comment to reset indentation. But this is not desirable in general before code blocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1540 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Added lhs reader tests. (One case fails.)fiddlosopher2-1/+59
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1539 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-10Removed extraneous Text directory (now moved to src/).fiddlosopher0-0/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1538 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-07Added tests for lhs writers.fiddlosopher10-1/+340
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1537 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-07Fixed bug with header spacing in Markdown and RST writers.fiddlosopher2-5/+11
A null header (Meta [] [] []) should not cause a blank line at the beginning of output. But a blank line is needed between a non-null header and the main text. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1536 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-02Brought changelog up to date.fiddlosopher1-0/+91
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1535 788f1e2b-df1e-0410-8736-df70ead52e1b
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