fiddlosopher
7c6467a115
Bumped version to 1.2.2 and updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1630 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28 03:22:22 +00:00
fiddlosopher
d1b80f8f35
Markdown reader: parse refs and notes in the same pass.
...
Previously the markdown reader made one pass for references,
a second pass for notes (which it parsed and stored in the
parser state), and a third pass for the rest. This patch
achieves a 10% speed improvement by storing the raw notes
on the first (reference) pass, then parsing them when the
notes are inserted into the AST. This eliminates the need
for a second pass to parse notes.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1629 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28 03:22:18 +00:00
fiddlosopher
1d440130c4
Added \int to characters handled as unicode in tex math.
...
Resolves Issue #177 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1628 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28 03:22:14 +00:00
fiddlosopher
6426664bcd
Makefile: Don't try to build man pages in build-doc.
...
They are now built by Cabal.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1627 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28 03:22:10 +00:00
fiddlosopher
b58232de70
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1626 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22 18:31:41 +00:00
fiddlosopher
11867521f7
Version bump to 1.2.1.1.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1625 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22 18:31:38 +00:00
fiddlosopher
81c3bd6a54
Modified markdown2pdf so as not to create a backup file.
...
Resolves Issue #166 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1624 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22 18:07:33 +00:00
fiddlosopher
4c387a4bc7
Added markdown2pdf.1 to tmp-files in cabal.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1623 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22 08:20:51 +00:00
fiddlosopher
db01801199
Use utf8-string IO in markdown2pdf.hs.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1622 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21 06:22:02 +00:00
fiddlosopher
14a25b287c
Fixed htmlComment parser.
...
(Added a needed try.)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1621 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21 05:23:09 +00:00
fiddlosopher
39f6af5de4
Modified html+lhs output to use 'haskell' highlighter.
...
The bird tracks are added in the highlighting module.
This makes sense, because the kate's haskell highlighter
is much better than the literateHaskell highlighter.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1620 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21 04:40:59 +00:00
fiddlosopher
9d20eeb019
Support for "..code-block" directive in RST reader.
...
Not core RST, but used in Sphinx for code blocks annotated with
syntax information. Thanks to Luke Plant for the patch.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1619 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-17 03:36:04 +00:00
fiddlosopher
fce48c392a
Specially mark code blocks that were "literate" in the input.
...
They can then be treated differently in the writers. This allows
authors to distinguish bits of the literate program they are writing
from source code examples, even if the examples are marked as
Haskell for highlighting.
Resolves Issue #174 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1618 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-03 06:50:17 +00:00
fiddlosopher
683b8e10b5
Set utf-8 encoding in texinfo headers.
...
Resolves Issue #153 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1617 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-01 02:48:20 +00:00
fiddlosopher
313d2e40b8
Changed heuristic in compactify.
...
compactify has to decide whether a Para that ends a list is a Para
intentionally, or just because of the blank lines at the end of
every list. In the latter case the Para is turned to a Plain.
The old heuristic was: change final Para to Plain iff the other
items all end in Plain. This produces bad results when, for example,
an item contains just a Plain and an HTML comment, as it
- a
<!--
- b
-->
-c
The new heuristic: change final Para to Plain iff the other items
don't contain a Para.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1616 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-01 02:38:18 +00:00
fiddlosopher
eb2e560d86
Properly handle commented-out list items in markdown.
...
Example:
- a
<!--
- b
-->
- c
Resolves Issue #142 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1615 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-01 02:38:15 +00:00
fiddlosopher
a4a5d41441
Don't build Haskell wrappers in Makefile.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1614 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-31 21:09:30 +00:00
fiddlosopher
10e0f03e02
Added link to pandoc-mode for emacs to website.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1613 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-31 19:26:04 +00:00
fiddlosopher
75f31c9440
Added % as an rst underline character.
...
Resolves Issue #173 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1612 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-29 05:52:17 +00:00
fiddlosopher
2d47831f9a
Updated COPYRIGHT file.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1611 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-24 19:34:31 +00:00
fiddlosopher
9ae05c1a06
Updated HCAR report.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1610 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-14 20:00:58 +00:00
fiddlosopher
7163a044a4
Fix inline math parser so that \$ is allowed in math.
...
Resolves Issue #169 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1609 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-12 03:40:47 +00:00
fiddlosopher
74ac66a0cb
Added haddock comments warning that readers assume \n line endings.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1608 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-04 22:09:23 +00:00
fiddlosopher
6191a1fa74
Fixed markdown2pdf.hs to accept --longopt=val options.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1607 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-08-22 02:26:51 +00:00
fiddlosopher
69a84f7b14
Changed EXECSBASE so it doesn't pull in hsmarkdown & markdown2pdf.
...
Otherwise strip tries to strip shell scripts when you install
using 'make'.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1606 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-08-13 20:07:44 +00:00
fiddlosopher
1fe28483bd
Fixed bug in HTML comment parser.
...
Resolves Issue #157 . ('try' in the wrong place.)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1605 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-21 08:02:03 +00:00
fiddlosopher
adabf14a5f
Better installation instructions on website.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1604 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-19 07:07:53 +00:00
fiddlosopher
84fabda2f6
Website changes for 1.2.1 release.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1603 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-19 00:17:38 +00:00
fiddlosopher
ed71ef9820
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1601 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-18 19:19:45 +00:00
fiddlosopher
f9ec6797bd
Changed escapes in markdown writer.
...
- >, not <, is escapable in standard markdown.!
- also # is now escaped
- Partiall resolves Issue #96 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1600 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-18 19:15:42 +00:00
fiddlosopher
d84c678cdc
Bump version in pandoc-setup.iss and make license path relative.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1599 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-15 17:52:17 +00:00
fiddlosopher
abb0c17777
Updated release checklist with new windows makefile.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1598 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-15 07:08:38 +00:00
fiddlosopher
27ebda48c2
Added makefile for Inno Setup prep work.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1597 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-15 07:06:45 +00:00
fiddlosopher
fc77908692
Added note about blank lines around delimited code blocks.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1596 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-13 03:46:09 +00:00
fiddlosopher
ffe7a473c8
README: Indicate options that imply --standalone
.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1595 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-11 01:19:02 +00:00
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