aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2008-11-02Updated changelog.fiddlosopher1-26/+17
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1482 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-02Revert "Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code ↵fiddlosopher1-2/+0
blocks." This reverts commit 7ad17fe5cff04e0b68be5c4a08339bb53d3d176d. We will soon have a better way of handling literate haskell. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1481 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01Markdown reader: Allow blank space at end of horizontal rules.fiddlosopher4-3/+14
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1480 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01Support horizontal rules in OpenDocument and ODT writers.fiddlosopher4-2/+18
Added style for Horizontal_20_Rule to odt-styles/styles.xml. Add support for horizontal rules in OpenDocument writer. Resolves Issue #95. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1479 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01Corrected mispelling (Defnition) in odt styles.xml.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1478 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01Markdown reader: cleaner handling of spaces in URLs.fiddlosopher4-13/+25
Consecutive spaces are now collapsed into one %20, and final spaces are removed. Also, a test case has been added. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1477 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-31Updated changelog.fiddlosopher1-4/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1476 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-31Markdown reader: allow URLs containing spaces.fiddlosopher1-6/+11
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1475 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-30Updated changelog.fiddlosopher1-0/+77
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1474 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-30Version bump to 1.1.fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1473 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-28Added --jsmath option.fiddlosopher5-11/+47
- Added --jsmath option to Main.hs - Added JsMath to HTMLMathMethod in Text.Pandoc.Shared. - Handle math appropriately in HTML writer when JsMath selected. - Documented the option in README and man page. Resolves Issue #68. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1472 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-27Fixed Setup.hs so correct status is returned after build.fiddlosopher1-13/+13
Previously an error status was returned even after a normal build. Resolves Issue #100. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1471 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-25Changed compactify in Text.Pandoc.Shared - better heuristic.fiddlosopher1-16/+15
Final Para is changed to Plain if all other list items *end* with a Plain block. Addresses Issue #99. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1470 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-19Don't print a line break between a footnote and immediately following nonspacefiddlosopher1-6/+15
in LaTeX and ConTeXt output, as it is interpreted as a space. This is problematic for cases like "text^[note]---". Modified wrappedTeX (in Text.Pandoc.Shared). Resolves Issue #93. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1469 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18HTML reader: Don't interpret contents of <pre> blocks as markdown.fiddlosopher1-1/+13
Added rawVerbatimBlock parser. Resolves Issue #94. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1468 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18Include classes on tr elements in HTML output: "header", "odd", "even".fiddlosopher2-22/+23
This allows tables to be styled with lines in alternating colors. Resolves Issue #91. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1467 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18Changed date on copyright message in Main.hs.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1466 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18pandoc-setup.iss: Don't require admin privileges to run installer.fiddlosopher1-2/+16
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1465 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18Modified modpath.iss to modify HKCU path if user lacks admin privileges.fiddlosopher1-4/+25
Also fixed case where oldpath is empty (previously this led to the new path beginning with a semicolon). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1464 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16Bump version to 1.0.0.2.fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1463 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16Added colons to protocols in unsanitaryURI in HTML reader.fiddlosopher1-10/+10
Closes Issue #88. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1462 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16Add BUGS to files in tarball.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1461 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-08Removed empty Codec and System directories.fiddlosopher0-0/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1460 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-30Have the '-v' option print syntax highlighting languages separated by commas,fiddlosopher1-8/+12
and wrapped in lines, instead of in five columns as before. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1459 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23Moved odt-styles/ to data/. Removed unneeded variable in Makefile.fiddlosopher8-2/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1458 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23Removed debian directory.fiddlosopher0-0/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1457 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-22Have "runhaskell Setup test" return an error status if tests fail.fiddlosopher1-2/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1456 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-16Adjusted s5.fancy.html in tests/ to conform to new LaTeXMathML policyfiddlosopher1-1/+3
(span class="LaTeX"). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1455 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-16Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code blocks.fiddlosopher1-0/+2
Rationale: these are useful for literate haskell, but lhs requires a blank line before the haskell code, and we don't want spurious blank lines in the output. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1454 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-15HTML writer: Enclose all LaTeXMathML bits in <span class="LaTeX">.fiddlosopher1-3/+7
This prevents parts of the document that are not math from being interpreted as math by LaTeXMathML.js. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1453 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-15Fixed minor cut-and-paste error in README.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1452 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14INSTALL: Updated description of Arch linux packages.fiddlosopher1-2/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1451 788f1e2b-df1e-0410-8736-df70ead52e1b