Commit graph

1313 commits

Author SHA1 Message Date
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
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