Commit graph

1185 commits

Author SHA1 Message Date
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
fiddlosopher
096413b2f3 Fixed Setup.hs so correct status is returned after build.
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-27 21:52:31 +00:00
fiddlosopher
0b3d8581a3 Changed compactify in Text.Pandoc.Shared - better heuristic.
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-25 22:07:45 +00:00
fiddlosopher
66d459a545 Don't print a line break between a footnote and immediately following nonspace
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-19 00:33:12 +00:00
fiddlosopher
a2422504ff HTML reader: Don't interpret contents of <pre> blocks as markdown.
Added rawVerbatimBlock parser.  Resolves Issue #94.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1468 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18 23:42:23 +00:00
fiddlosopher
5b422262d3 Include classes on tr elements in HTML output: "header", "odd", "even".
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-18 23:14:59 +00:00
fiddlosopher
2122aa5359 Changed date on copyright message in Main.hs.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1466 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18 23:14:48 +00:00
fiddlosopher
1b4a79726a pandoc-setup.iss: Don't require admin privileges to run installer.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1465 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18 18:48:31 +00:00
fiddlosopher
1aed6a9ee4 Modified modpath.iss to modify HKCU path if user lacks admin privileges.
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-18 18:48:23 +00:00
fiddlosopher
51a58987b3 Bump version to 1.0.0.2.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1463 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16 01:00:59 +00:00
fiddlosopher
f08ebf5a9b Added colons to protocols in unsanitaryURI in HTML reader.
Closes Issue #88.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1462 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16 01:00:51 +00:00
fiddlosopher
d0fe8dcae0 Add BUGS to files in tarball.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1461 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16 01:00:42 +00:00
fiddlosopher
d318c0e376 Removed empty Codec and System directories.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1460 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-08 17:03:47 +00:00
fiddlosopher
c4c77517e9 Have the '-v' option print syntax highlighting languages separated by commas,
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-30 20:16:03 +00:00
fiddlosopher
3b58456673 Moved odt-styles/ to data/. Removed unneeded variable in Makefile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1458 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23 15:55:30 +00:00
fiddlosopher
fcb220a7a4 Removed debian directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1457 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23 15:49:05 +00:00
fiddlosopher
d1d614b8ef Have "runhaskell Setup test" return an error status if tests fail.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1456 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-22 21:26:54 +00:00
fiddlosopher
caadac70cd Adjusted s5.fancy.html in tests/ to conform to new LaTeXMathML policy
(span class="LaTeX").


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1455 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-16 01:39:13 +00:00
fiddlosopher
7ad17fe5cf Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code blocks.
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-16 01:39:05 +00:00
fiddlosopher
4d5c71e183 HTML writer: Enclose all LaTeXMathML bits in <span class="LaTeX">.
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-15 22:43:21 +00:00
fiddlosopher
4681b4a54c Fixed minor cut-and-paste error in README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1452 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-15 22:16:45 +00:00
fiddlosopher
27ad57e3ef INSTALL: Updated description of Arch linux packages.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1451 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 18:19:24 +00:00
fiddlosopher
2c5e17e779 INSTALL - added note on quick Mac OSX install method, using cabal install.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1450 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 18:11:00 +00:00
fiddlosopher
2483d5ff5b Bumped version to 1.0.0.1.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1449 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 03:15:59 +00:00
fiddlosopher
ed6ad322a7 Small changes to website index.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1447 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 00:39:55 +00:00
fiddlosopher
d00b52a4ed Removed spurious reference to a pdf output format in the pandoc(1) man page.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1446 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 00:11:17 +00:00
fiddlosopher
2d99c21ecc INSTALL: Documented citeproc-hs support.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1444 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-13 20:23:23 +00:00
fiddlosopher
1a7e181778 More minor changes to INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1443 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 23:10:28 +00:00
fiddlosopher
d528b5a06d Small updates to INSTALL.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1442 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 20:12:51 +00:00
fiddlosopher
d9e7bc279c Updated changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1441 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 06:12:27 +00:00
fiddlosopher
aaf6d72b17 Added scripts for Windows Inno Setup installer in windows/.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1440 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 00:05:43 +00:00
fiddlosopher
d5ec1981a4 Added to INSTALL instructions on installing cabal-install w/ macports.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1439 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 00:05:37 +00:00
fiddlosopher
943c2f353d Changed list parser so that only the starting list marker matters:
1. one
  -  two
  (b) three

produces an ordered list with 1., 2., 3.  This is the behavior of
Markdown.pl.

Modified README to document the new behavior.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1438 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 00:05:32 +00:00
fiddlosopher
c39a3fe7c4 Updated website index.txt.in.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1437 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 22:40:45 +00:00
fiddlosopher
087e4457d2 pandoc.cabal: Removed most upper-bounds on dependency versions.
Reason:  Upper bounds may cause problems for package managers, since
many package management systems do not (like Cabal) allow multiple
versions of libraries to be installed simultaneously.  At this point
very few packages in HackageDB use upper bounds.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1436 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 21:57:45 +00:00
fiddlosopher
8c182d4d99 Use versioned dependencies in pandoc.cabal, following guidelines in
<http://www.haskell.org/haskellwiki/Package_versioning_policy>.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1435 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 21:39:58 +00:00
fiddlosopher
e7cc9b26db Version bump to 1.0.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1434 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 21:39:50 +00:00
fiddlosopher
ad91687034 Removed debian-specific formatting from changelog heading.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1433 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 14:52:23 +00:00
fiddlosopher
fa25d95a90 Updated changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1432 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-09 23:12:55 +00:00
fiddlosopher
08ba270027 pandoc.cabal: removed COPYING from Extra-Source-Files;
it is already included under License-File.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1431 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-09 23:12:45 +00:00
fiddlosopher
efd2b07757 Removed README.Debian.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1430 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-09 05:00:19 +00:00
fiddlosopher
7ad1ec0892 --tabstop -> --tab-stop in README documentation.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1429 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-08 20:01:08 +00:00
fiddlosopher
000b89c718 Use Data.List's 'intercalate' instead of custom 'joinWithSep'.
+ Removed joinWithSep definition from Text.Pandoc.Shared.
+ Replaced joinWithSep with intercalate
+ Depend on base >= 3, since in base < 3 intercalate is not included.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1428 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-08 06:36:28 +00:00