aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-01Added new Haskell version of markdown2pdf.fiddlosopher2-15/+27
Thanks to Paulo Tanimoto for the patch. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1573 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01pandoc.hs: Make --strict compatible with --standalone, --toc.fiddlosopher2-2/+196
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1572 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01Markdown reader: change ' ' to '\160' in abbreviations.fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1571 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-30Markdown reader: improved efficiency of abbreviation parsing.fiddlosopher3-31/+28
Instead of a separate abbrev parser, we just check for abbreviations each time we parse a string. This gives a huge performance boost with -S. Resolves Issue #141. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1570 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Fixed profiling options.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1569 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Improved efficiency of hexNum parser.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1568 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Made htmlComment parser more efficient.fiddlosopher1-1/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1567 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Added -caf-all to profiling options.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1566 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Improved efficiency of whitespace parser.fiddlosopher1-13/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1565 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Use more efficient skipNonindentSpaces instead of nonidentSpaces where possible.fiddlosopher1-7/+16
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1564 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29Took out unneeded 'try' in indentSpaces parser.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1563 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-25HTML writer: wrap sections in divs. Resolves Issue #70.fiddlosopher10-1129/+1190
+ hierarchicalize has been rationalized; it builds a hierarchical representation of the document from the headers, and simultaneously gives each section a unique identifier based on the heading title. + Identifiers are now attached to the divs rather than to the headers themselves. + Table of content backlinks go to the beginning of the table, rather than to the section reference that was clicked. This seems better. + Code for constructing identifiers has been moved to Text.Pandoc.Shared from the HTML writer, since it is now consumed only by hierarchicalize. + In --strict mode, pandoc just prints bare headings, as before (unless --toc has been specified). + In s5 output, it does not wrap sections in divs, as that seems to confuse the s5 javascript. + Test suite updated accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1562 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-20Added notice of NetBSD port in web index.fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1561 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-18Use Paths_pandoc to get version number.fiddlosopher2-2/+5
(Instead of hard-coding it into Text/Pandoc.hs.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1560 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-08Fixed regression with --preserveTabs.fiddlosopher1-3/+8
Brought back optPreserveTabs. The trick of setting tabStop to 0 to mean "preserve tabs" had a bad side effect: strings of 0 spaces were interpreted as indentation. So, with --preserve-tabs, unindented paragraphs were treated as code. Resolves Issue #138. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1559 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-03-01Updated website index with release 1.2 news.fiddlosopher1-0/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1558 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-03-01Updated googlecode instructions in RELEASE-CHECKLIST.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1557 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-03-01Updated RELEASE-CHECKLIST.fiddlosopher1-19/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1555 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-28Minor changes in Text.Pandoc.Biblio.fiddlosopher1-3/+3
Replaced queryPandoc w queryWith, processPandoc w processWith. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1554 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-27Setup.hs: replace readProcess with something more portable.fiddlosopher1-4/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1553 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-26Made Setup.hs compatible with Cabal < 1.6.fiddlosopher1-6/+5
Replaced a non-portable test for highlighting support with a portable one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1552 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-26Don't return an error status on --help or --version.fiddlosopher1-4/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1551 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-26Revert "Require Cabal >= 1.6."fiddlosopher2-3/+1
This reverts commit 1823bf615b824c12dce091f49be277c584e03f0e. Reason: This requirement doesn't help, since the problem is in compiling Setup.hs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1550 788f1e2b-df1e-0410-8736-df70ead52e1b
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