Commit graph

1713 commits

Author SHA1 Message Date
John MacFarlane
7d8c8c7880 Removed 'library' Cabal flag.
Reason: starting with Cabal 1.8, installing pandoc with '-library
+executable' did not work, since the build-depends in the Library
stanza were ignored. The problem could be solved by repeating the
build-depends in the Executable stanza, but this seems non-ideal
(and might lead to errors later on).  The '-library' option isn't
so useful anyway, since to compile pandoc in the first place, you
need a large number of Haskell libraries installed, and in this
case, why balk at another? It was chiefly intended for packagers,
but packagers will need to use a chroot environment anyway, and
they can then simply copy the executable and not the library.

Thanks to Jim Pryor for calling the problem to my attention
in connection with an arch linux package.
2010-04-10 11:16:48 -07:00
Max Bolingbroke
e365c5950b Give LaTeX images a maximum width using the prelude only 2010-04-10 12:01:35 +08:00
John MacFarlane
15c3297ba9 Updated HCAR entry. 2010-04-09 15:40:19 -07:00
John MacFarlane
5a60bfd645 Removed markdown2pdf from list of data-files. 2010-04-06 23:00:42 -07:00
John MacFarlane
be1e542e3b Updated version in windows setup file. 2010-03-29 07:31:42 -07:00
John MacFarlane
41bc23709c Bumped version to 1.5.1.1, updated changelog. 2010-03-29 07:15:28 -07:00
John MacFarlane
c5c4e19c99 Shared: Fixed uniqueIdent so it behaves as described in README.
Previously some characters that are illegal in HTML identifiers,
such as '<', were being allowed in header identifiers.  The logic
has now been fixed. Thanks to Xyne for reporting.
2010-03-28 22:29:31 -07:00
John MacFarlane
6972c0b5b0 Implemented @ for sequentially numbered examples.
Also implemented (@label) for example labels and references.
2010-03-27 10:24:18 -07:00
John MacFarlane
db31e06693 Removed unneeded single quotes in README. 2010-03-27 10:22:55 -07:00
John MacFarlane
be832b3676 Updated RELEASE-CHECKLIST. 2010-03-23 17:22:24 -07:00
John MacFarlane
3ed1018c94 Updated changelog. 2010-03-23 16:04:04 -07:00
John MacFarlane
14e7cb362a Markdown, RST writers: unescape URI in links, to make them readable.
(Since they aren't required to be escaped in these formats.)
2010-03-23 15:35:19 -07:00
John MacFarlane
8504055360 Shared: Export unescapeURI. 2010-03-23 15:34:53 -07:00
John MacFarlane
c87d52223a Properly escape URIs in all readers. 2010-03-23 15:07:48 -07:00
John MacFarlane
c3384bb3f1 Added multilingual URL tests for markdown reader. 2010-03-23 15:07:17 -07:00
John MacFarlane
85ca50d623 Shared: Rewrote uri and emailAddress to return original text + escaped URI. 2010-03-23 15:06:18 -07:00
John MacFarlane
921d0f3081 Shared: enamed stringToURI -> escapeURI. 2010-03-23 15:05:33 -07:00
John MacFarlane
09ca37bd62 Don't escape URIs in HTML writer.
This should be done in the readers instead.
2010-03-23 14:02:37 -07:00
John MacFarlane
9e65867300 Better definition of stringToURI.
Now it escapes all characters that aren't allowed in a URI.
%, ?, /, and other characters that are allowed in a URI are
left alone.  Unicode high characters are UTF-8 encoded.
2010-03-23 13:51:52 -07:00
John MacFarlane
4fbacd5d5b Removed refs to hsmarkdown, html2markdown from pandoc man page. 2010-03-23 13:38:41 -07:00
John MacFarlane
10459627e8 Updated COPYRIGHT file. 2010-03-23 13:36:36 -07:00
John MacFarlane
1aeb7d23ad Updated copyright notices. 2010-03-23 13:31:09 -07:00
John MacFarlane
c1fe6c820a Updated changelog. 2010-03-23 00:51:16 -07:00
John MacFarlane
666a51b7fc Version bump to 1.5.1. 2010-03-23 00:46:54 -07:00
John MacFarlane
71eac37ac5 Fixed treatment of unicode characters in URIs.
* Added stringToURI to Shared.  This is used in the HTML
  writer for all URIs.  It properly URI-encodes high
  characters (> 127), leaving everything else (including
  symbols and spaces) the same.

* Modified unsanitaryURI to allow UTF8 characters in a URI.
  (First, we convert the URI to URI-encoded octets, then we
  pass through parseURIReference.)
  This resolves gitit Issue #99. Previously
  '[abc](http://gitit.net/测试)' would not be rendered as
  a link when --sanitize was selected.
2010-03-23 00:33:50 -07:00
John MacFarlane
7689cacb5d Setup.hs: Don't assume that the build directory is "dist."
Instead, get it from localBuildInfo.
2010-03-22 18:43:38 -07:00
John MacFarlane
1b1ba25432 OpenDocument writer: Use a Map for stTextStyleAttr.
This avoids duplicates (and invalid xml).
2010-03-22 09:46:55 -07:00
John MacFarlane
f7d896b07f Bump version in windows setup file. 2010-03-21 23:24:26 -07:00
John MacFarlane
17b4478d4e Whitespace fix in changelog. 2010-03-21 23:13:23 -07:00
John MacFarlane
0e6bb176f9 Updated changelog and bumped version to 1.5.0.1. 2010-03-21 22:51:04 -07:00
John MacFarlane
483a591eba HTML writer: fixed error in Math writer that caused infinite loop. 2010-03-21 22:48:47 -07:00
John MacFarlane
9cc54751ec Added to acknowledgements. 2010-03-20 15:59:49 -07:00
John MacFarlane
6e498fc727 cabal: included several missing test files. 2010-03-20 14:47:57 -07:00
John MacFarlane
53a109c83b Updated RELEASE-CHECKLIST - git, not svn. 2010-03-20 14:47:31 -07:00
John MacFarlane
5a24e1371d Removed 'plugins' directory. 2010-03-20 14:35:14 -07:00
fiddlosopher
b5e58b2a5f Removed web directory (empty).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1928 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 20:22:36 +00:00
fiddlosopher
8ed6865a8a Removed web directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1927 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 20:21:56 +00:00
fiddlosopher
56f08b5f80 Removed unneeded things from web directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1926 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 20:00:40 +00:00
fiddlosopher
fcc25a388c Improved contributor list.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1925 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 18:07:44 +00:00
fiddlosopher
83797bc1c9 Fixed indent in README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1924 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 18:02:32 +00:00
fiddlosopher
4cc6b71bc0 Updated changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1923 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 17:15:15 +00:00
fiddlosopher
1547728d7e HTML writer: Don't include TOC div if table of contents is empty.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1922 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 17:14:18 +00:00
fiddlosopher
bdd5ec37ae Updated date on README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1921 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:22:08 +00:00
fiddlosopher
cfd47dbc3e More fixes to web Makefile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1920 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:18:46 +00:00
fiddlosopher
e8f56d4c79 Tweaks to web page.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1919 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:16:36 +00:00
fiddlosopher
340f626aa9 Updated web Makefile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1918 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:13:42 +00:00
fiddlosopher
35be1e2777 Updated web demos to include --mathml.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1917 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:12:04 +00:00
fiddlosopher
2250ca701d Updated web page.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1916 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:11:58 +00:00
fiddlosopher
b9f5f983db Tweaked changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1915 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:11:52 +00:00
fiddlosopher
485e503ba6 Changed copyright date range for -v.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1914 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 15:12:15 +00:00