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
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