fiddlosopher
74543e32f7
Changed -H -> -C for --custom-header in README.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1594 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-11 01:11:50 +00:00
fiddlosopher
75eb2329a6
Fixed README - obsolete reference to --header.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1593 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-11 01:10:13 +00:00
fiddlosopher
667b8f62ea
Improved clarity of titleTransform in RST reader.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1592 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-11 01:08:31 +00:00
fiddlosopher
be06503e10
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1591 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-04 07:51:00 +00:00
fiddlosopher
f361a743b6
Added upper version limit to base in cabal file.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1590 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-04 07:27:17 +00:00
fiddlosopher
ccc70f62e4
Version bump to 1.2.1.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1589 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-04 07:27:12 +00:00
fiddlosopher
7e8ea0ae74
Fixed lhs test cases.
...
+ Changed Setup.hs in accord with change in '--version'
output.
+ Changed lhs test cases in accord with change in
the way HTML headers are written (they are now put
in divs, and the id is put on the div rather than the
header itself).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1588 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-03 03:05:29 +00:00
fiddlosopher
c177c70959
Use language attribute to indicate source language in docbook code blocks.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1587 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-03 02:33:58 +00:00
fiddlosopher
e577233095
Allow -, _, :, . in markdown attribute names.
...
These are legal in XML attribute names.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1586 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-03 02:33:52 +00:00
fiddlosopher
d3f4293725
Export languagesByExtension in Text.Pandoc.Highlighting.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1585 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-03 02:33:43 +00:00
fiddlosopher
32f357c110
RST reader: Allow # to continue list...
...
...even if the list was started with an explicit
marker. For example:
A. my list
#. continued
Resolves Issue #140 . Test case also added.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1584 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-28 01:38:40 +00:00
fiddlosopher
313405f59a
Allow continuation lines in line blocks.
...
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-25 02:01:41 +00:00
fiddlosopher
15258f66f0
Fixed duplicate text bug in markdown2pdf.hs. (Paulo Tanimoto)
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1582 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-25 01:12:07 +00:00
fiddlosopher
541a032e49
Don't install markdown2pdf by default - still has bugs.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1581 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-17 03:40:45 +00:00
fiddlosopher
a0da2816bd
Man writer: break lines at end of each sentence.
...
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-06 21:27:46 +00:00
fiddlosopher
314c332581
Make --smart default for man output format.
...
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-06 21:27:40 +00:00
fiddlosopher
a93062c26c
Added Pandoc's HCAR blurb to repository.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1578 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-03 20:31:30 +00:00
fiddlosopher
cca2acb6db
Improved LaTeX reader's coverage of math modes.
...
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-06-03 20:26:41 +00:00
fiddlosopher
236896bd10
RST reader: Allow explicit links with spaces in URL: link <to this>
_
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1576 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-04 00:05:58 +00:00
fiddlosopher
2f737a97e4
Export HTMLMathMethod in Text.Pandoc.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1575 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-03 21:24:01 +00:00
fiddlosopher
553d91a15f
Made pandoc -v more explicit about compiler options.
...
Resolves Issue #139 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1574 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-02 02:37:38 +00:00
fiddlosopher
cceede4ca2
Added new Haskell version of markdown2pdf.
...
Thanks to Paulo Tanimoto for the patch.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1573 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01 04:18:14 +00:00
fiddlosopher
2d5f718048
pandoc.hs: Make --strict compatible with --standalone, --toc.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1572 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01 04:18:07 +00:00
fiddlosopher
c584e48168
Markdown reader: change ' ' to '\160' in abbreviations.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1571 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01 04:17:54 +00:00
fiddlosopher
ab100f7c5e
Markdown reader: improved efficiency of abbreviation parsing.
...
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-30 04:39:45 +00:00
fiddlosopher
490c4304f5
Fixed profiling options.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1569 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:29:09 +00:00
fiddlosopher
532e52f2d4
Improved efficiency of hexNum parser.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1568 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:29:03 +00:00
fiddlosopher
d4d99d281d
Made htmlComment parser more efficient.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1567 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:28:54 +00:00
fiddlosopher
59563e5fb1
Added -caf-all to profiling options.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1566 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:28:45 +00:00
fiddlosopher
e203c562d6
Improved efficiency of whitespace parser.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1565 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:28:39 +00:00
fiddlosopher
5182381084
Use more efficient skipNonindentSpaces instead of nonidentSpaces where possible.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1564 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:28:31 +00:00
fiddlosopher
f43ae9edb4
Took out unneeded 'try' in indentSpaces parser.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1563 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-29 19:28:23 +00:00
fiddlosopher
df5244fd48
HTML writer: wrap sections in divs. Resolves Issue #70 .
...
+ 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-25 00:29:58 +00:00
fiddlosopher
2ab7640df6
Added notice of NetBSD port in web index.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1561 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-04-20 23:37:15 +00:00
fiddlosopher
a972a6ccbc
Use Paths_pandoc to get version number.
...
(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-18 16:15:56 +00:00
fiddlosopher
0395ba157e
Fixed regression with --preserveTabs.
...
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-04-08 20:19:50 +00:00
fiddlosopher
750f9e9f4a
Updated website index with release 1.2 news.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1558 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-03-01 19:00:23 +00:00
fiddlosopher
af9dcde82e
Updated googlecode instructions in RELEASE-CHECKLIST.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1557 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-03-01 18:37:17 +00:00
fiddlosopher
b6cdd995ad
Updated RELEASE-CHECKLIST.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1555 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-03-01 18:18:41 +00:00
fiddlosopher
9be0d098b8
Minor changes in Text.Pandoc.Biblio.
...
Replaced queryPandoc w queryWith, processPandoc w processWith.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1554 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-28 07:39:45 +00:00
fiddlosopher
29d2952a10
Setup.hs: replace readProcess with something more portable.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1553 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-27 07:23:06 +00:00
fiddlosopher
bdb84bab4e
Made Setup.hs compatible with Cabal < 1.6.
...
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-26 16:47:43 +00:00
fiddlosopher
75c7800d90
Don't return an error status on --help or --version.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1551 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-26 16:47:36 +00:00
fiddlosopher
24cb44ad6c
Revert "Require Cabal >= 1.6."
...
This reverts commit 1823bf615b
.
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-26 15:58:32 +00:00
fiddlosopher
1823bf615b
Require Cabal >= 1.6.
...
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-26 15:56:15 +00:00
fiddlosopher
5f3a147dfd
Removed plugin support.
...
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-24 22:59:44 +00:00
fiddlosopher
bb639d5506
Added new lhs tests to cabal file.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1547 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14 18:54:30 +00:00
fiddlosopher
f1c22f3d1a
Version bump to 1.2.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1546 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14 18:30:11 +00:00
fiddlosopher
a505dbecd5
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1545 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14 17:28:50 +00:00
fiddlosopher
bdcd54a485
Make wrappers flag False by default.
...
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-14 17:24:28 +00:00