fiddlosopher
2806aee9b2
Added --email-obfuscation option.
...
+ 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-24 19:58:48 +00:00
fiddlosopher
46a3b228fa
Improved documentation for plugins in README.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1522 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24 19:58:33 +00:00
fiddlosopher
720e9ce3a5
Renamed processIn -> processWith, queryIn -> queryWith.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1521 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24 19:58:26 +00:00
fiddlosopher
066e1cfe90
Moved some Extra-Source-Files to Data-Files.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1520 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24 19:58:14 +00:00
fiddlosopher
874c3e0dea
Added a plugin system, based on hint.
...
+ 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
2009-01-24 19:58:06 +00:00
fiddlosopher
243008242d
Brought citeproc support up to date for citeproc-hs-0.2.
...
(Patch by Andrea Rossato.)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1518 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-29 22:45:18 +00:00
fiddlosopher
df4d5b96c7
More fixes to get markdown writer working with pretty-1.0.1.0.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1517 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-29 00:32:09 +00:00
fiddlosopher
3a6bfd75cb
Added Bug-Reports field to cabal file.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1516 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-23 02:57:00 +00:00
fiddlosopher
751aa15abc
Fixed problems in RST and markdown output due to bug in pretty-1.0.1.0
...
+ 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-17 15:34:25 +00:00
fiddlosopher
9ff729fc1e
Added new listings include to LaTeX writer test.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1514 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-17 15:34:11 +00:00
fiddlosopher
37e4d91703
Mention WordPress EasyFilter in website.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1513 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-03 15:54:09 +00:00
fiddlosopher
0170f5e636
LaTeX header: Use fixed-width font for Haskell code.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1512 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:56 +00:00
fiddlosopher
f8ab1c7890
LaTeX reader: parse |inline lhs| if source is lhs.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1511 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:49 +00:00
fiddlosopher
d4b9307ce4
LaTeX and Markdown readers: Add sourceCode class to haskell code.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1510 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:42 +00:00
fiddlosopher
ebe9ac50b0
Added lhs support to RST reader.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1509 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:33 +00:00
fiddlosopher
c84c3b0c36
Added lhs support to RST writer.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1508 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:25 +00:00
fiddlosopher
cc176882bf
Use +lhs suffixes in formats instead of options to trigger lhs.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1507 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:17 +00:00
fiddlosopher
4e122930f1
Modified README and man page to document lhs features.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1506 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:11 +00:00
fiddlosopher
22741eb8e8
Add definition of code environment to LaTeX header.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1505 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:43:02 +00:00
fiddlosopher
67508f986f
Allow LaTeX-style code sections as well as bird-style in lhs markdown.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1504 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:42:55 +00:00
fiddlosopher
6359c789a7
Markdown writer: Use setext style headers only if --lhs-out specified.
...
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-02 22:42:46 +00:00
fiddlosopher
9aecc17c1d
Markdown writer: proper handling of block quotes in lhs mode.
...
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-02 22:42:38 +00:00
fiddlosopher
430e55c0f1
Handle --lhs-out option in HTML, LaTeX, and Markdown writers.
...
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-02 22:42:29 +00:00
fiddlosopher
48410d1df0
Added --lhs-out option.
...
+ 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-02 22:42:16 +00:00
fiddlosopher
c815c2feab
LaTeX reader: Added parser for literate haskell code blocks.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1499 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:42:08 +00:00
fiddlosopher
95c16bfa3b
Moved failUnlessLHS to Text.Pandoc.Shared.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1498 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02 22:42:00 +00:00
fiddlosopher
42ba781b3d
Added literate haskell support for markdown reader.
...
+ 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-02 22:41:51 +00:00
fiddlosopher
035f0ff917
Conditionally depend on syb and base >= 4 if ghc >= 6.10.
...
Resolves Issue #109 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1496 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-01 04:54:29 +00:00
fiddlosopher
e5c28b37c2
Removed package-URL field from cabal file.
...
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-12-01 04:54:23 +00:00
fiddlosopher
996e1ad1b3
Markdown reader: relax spacing rules for $$ in display math.
...
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-25 00:09:02 +00:00
fiddlosopher
cf8b8fc4dd
Website: Updated links to distribution repositories.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1493 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-17 03:06:04 +00:00
fiddlosopher
72fd19811b
LaTeX writer: fixed bug with empty table cells.
...
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-11 03:02:56 +00:00
fiddlosopher
5cd286aa45
Website demos: removed escaping of -.
...
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-07 16:32:15 +00:00
fiddlosopher
c1272dee93
Fixed problem in mkdemos.pl:
...
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-06 22:12:18 +00:00
fiddlosopher
95efec1e62
Updated location of odt-styles in pandoc.cabal.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1488 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06 17:12:02 +00:00
fiddlosopher
81a96d880e
Updated website index page.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1486 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06 17:04:34 +00:00
fiddlosopher
299149e10d
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1485 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-06 16:55:27 +00:00
fiddlosopher
22549e19c6
Fixed parsing of RST comment blocks.
...
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-06 16:49:45 +00:00
fiddlosopher
f0e7d25592
Bumped version in windows installer to 1.1.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1483 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-02 18:06:52 +00:00
fiddlosopher
38cc5fee68
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1482 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-02 16:44:33 +00:00
fiddlosopher
c02e0f76fe
Revert "Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code blocks."
...
This reverts commit 7ad17fe5cf
.
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-02 16:44:26 +00:00
fiddlosopher
412315b530
Markdown reader: Allow blank space at end of horizontal rules.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1480 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01 22:58:44 +00:00
fiddlosopher
a24d107e6f
Support horizontal rules in OpenDocument and ODT writers.
...
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-01 22:44:53 +00:00
fiddlosopher
aecca4959d
Corrected mispelling (Defnition) in odt styles.xml.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1478 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01 22:44:40 +00:00
fiddlosopher
0e4eb83749
Markdown reader: cleaner handling of spaces in URLs.
...
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-11-01 21:05:33 +00:00
fiddlosopher
c43e40904e
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1476 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-31 22:35:47 +00:00
fiddlosopher
ddf2dc6896
Markdown reader: allow URLs containing spaces.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1475 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-31 22:34:38 +00:00
fiddlosopher
1aeef232c8
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1474 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-30 01:03:13 +00:00
fiddlosopher
2ed83d7921
Version bump to 1.1.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1473 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-30 01:03:06 +00:00
fiddlosopher
4f28d47b90
Added --jsmath option.
...
- 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-28 21:54:50 +00:00