aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-25Allow continuation lines in line blocks.fiddlosopher3-5/+22
Also added test cases for line blocks for RST reader. Resolves Issue #149. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1583 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-25Fixed duplicate text bug in markdown2pdf.hs. (Paulo Tanimoto)fiddlosopher2-9/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1582 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-17Don't install markdown2pdf by default - still has bugs.fiddlosopher1-4/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1581 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-06Man writer: break lines at end of each sentence.fiddlosopher3-107/+153
groff expects this and treats . and ? differently when followed by line ending as opposed to ordinary space. Also, don't escape periods. Instead, use zero-width character \& to avoid unwanted interpretation of periods at start of line. Resolves Issue #148. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1580 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-06Make --smart default for man output format.fiddlosopher1-1/+1
Otherwise we have trouble dividing lists of endlines into sentences. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1579 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-03Added Pandoc's HCAR blurb to repository.fiddlosopher1-0/+27
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1578 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-03Improved LaTeX reader's coverage of math modes.fiddlosopher1-3/+7
Remove displaymath* (which is not in LaTeX) and recognize all the amsmath environments that are alternatives to eqnarray, namely equation, equation*, gather, gather*, gathered, multline, multline*, align, align*, alignat, alignat*, aligned, alignedat, split Resolves Issue #103. Thanks to shreevatsa.public for the patch. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1577 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-04RST reader: Allow explicit links with spaces in URL: `link <to this>`_fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1576 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-03Export HTMLMathMethod in Text.Pandoc.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1575 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-02Made pandoc -v more explicit about compiler options.fiddlosopher1-9/+6
Resolves Issue #139. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1574 788f1e2b-df1e-0410-8736-df70ead52e1b
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