Commit graph

714 commits

Author SHA1 Message Date
fiddlosopher
f10ac4359c Removed unneeded 'try' in 'parseFromString'.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@928 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 06:02:12 +00:00
fiddlosopher
da9271c258 Removed unneeded 'try' from stringAnyCase. (Now it behaves
like 'string'.)


git-svn-id: https://pandoc.googlecode.com/svn/trunk@927 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 06:00:51 +00:00
fiddlosopher
f04df62db1 Changed definition of 'enclosed' in Text.Pandoc.Shared so that
'try' is not automatically applied to the 'end' parser.
Added 'try' in calls to 'enclosed' where needed.  Slight speed
increase.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@926 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 05:58:21 +00:00
fiddlosopher
a6da87f484 Minor code cleanup in Text.Pandoc.Shared.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@925 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 03:06:05 +00:00
fiddlosopher
1d8fe2653a Performance improvements:
+ Rearranged parsers in definition of 'inline' so that the most
frequently used would (by and large) be tried first.
+ Removed some unneeded 'try's.
+ Removed tabchar parser, as whitespace handles tabs anyway.
+ All in all, these changes, together with the last two commits,
  cut almost in half the time it takes pandoc to parse a large test file.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@924 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 02:33:53 +00:00
fiddlosopher
08fbfa37cc Removed unnecessary 'try' in 'anyLine' (Text.Pandoc.Shared).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@923 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 02:31:17 +00:00
fiddlosopher
583536a138 Refactored Text.Pandoc.CharacterReferences.
Removed unnecessary 'try's for a speed improvement.
Removed unnecessary '&' and ';' from the entity table.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@922 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-28 02:30:38 +00:00
fiddlosopher
1ca8887a90 Added template item for md5 sum in Portfile.in.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@921 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-27 22:25:30 +00:00
fiddlosopher
76f918ad9f Updated Portfile.in to match the version in the MacPorts repository
(r28278 in MacPorts).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@920 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-27 22:24:25 +00:00
fiddlosopher
6bf82d8f29 Removed local references to Portfile, since pandoc is now in the
MacPorts repository.  Updated INSTALL instructions and website.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@919 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-27 22:18:36 +00:00
fiddlosopher
51c6c0a800 Changed link to README to README.html.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@918 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-27 01:15:00 +00:00
roktas
f08af7723f * changelog: make sure to close pandoc's ITP bug.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@917 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 19:49:31 +00:00
fiddlosopher
72bdf7a171 Added note that Text.Pandoc.ASCIIMathML was exposed to
0.42 "News".


git-svn-id: https://pandoc.googlecode.com/svn/trunk@916 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 18:23:20 +00:00
fiddlosopher
1a0c9d53a2 Don't try to generate distinfo in Makefile. Make this using
'make makesum' in freebsd instead.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@915 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 17:56:44 +00:00
fiddlosopher
b51bea1540 Added note about 'yourusername' in MacPorts section.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@914 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 17:27:55 +00:00
fiddlosopher
0fb91489e1 Small change to website -> "Installation instructions"
not "installing from source."


git-svn-id: https://pandoc.googlecode.com/svn/trunk@913 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 17:25:39 +00:00
fiddlosopher
19a51a2c6f Make freeebsd and macports targets depend on tarball.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@911 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 16:50:38 +00:00
fiddlosopher
ede773a493 Added News for 0.42 release to website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@910 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 16:23:52 +00:00
fiddlosopher
e28fd72762 Added Cabal installation method to INSTALL.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@909 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 16:13:05 +00:00
fiddlosopher
b8d1b2bd6b Added pandocwiki demo to website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@908 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 16:05:24 +00:00
fiddlosopher
52cef7f795 Updated changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@907 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 16:04:58 +00:00
fiddlosopher
71b70418f6 Removed osx-package specific files, and references to them
in Makefiles.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@906 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 15:46:44 +00:00
fiddlosopher
bdb55edd18 Removed osx package targets in Makefile, and documentation for
them in INSTALL.  osx packaging was not working well, because of
the binary's dependency on a dynamic library GMP.  A MacPorts port
will be provided instead.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@905 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 15:43:44 +00:00
fiddlosopher
3462d2d1b6 Changes to website for new installation instructions.
Removed OSX package.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@904 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 15:41:45 +00:00
fiddlosopher
3bdce3cfb8 Updated INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@903 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 15:34:56 +00:00
fiddlosopher
670ea953d5 Updated debian/changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@902 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 05:57:57 +00:00
fiddlosopher
15e063ba13 Re-exposed Text.Pandoc.ASCIIMathML. We need it in Text.Pandoc.Readers.HTML.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@901 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 03:59:27 +00:00
fiddlosopher
1163e622ab Don't count
p. 27
at the beginning of a line as an ordered list start, since
it's most likely a page number.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@900 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 03:17:40 +00:00
fiddlosopher
b46bedaf39 Changed macport target to use 'openssl md5' instead of
'md5sum', which isn't found on OSX.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@899 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 20:28:46 +00:00
fiddlosopher
021f152289 Separated $(web_dest) and website targets.
Fixed a bug in index.txt.in.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@898 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 18:39:06 +00:00
fiddlosopher
f609755cb6 Fixed bug in LaTeX writer. When a footnote ends with a Verbatim
environment, the close } of the footnote needs to occur on the same
line or an error occurs.  Fixed by adding a newline before the close }
in every footnote.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@897 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 18:17:01 +00:00
fiddlosopher
ab23086b1b Build web index from a template (including version number).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@896 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 18:05:07 +00:00
fiddlosopher
d98dcfbb94 Minor formatting change in README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@895 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 18:04:17 +00:00
fiddlosopher
e925261c27 Made index.txt in web a template (with @VERSION@).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@894 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:52:16 +00:00
fiddlosopher
06a6c5431e Minor change in INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@893 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:49:41 +00:00
fiddlosopher
4e252b18fc Updated Makefile for macports instead of macport.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@892 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:47:10 +00:00
fiddlosopher
7b31540c73 Moved macport -> macports.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@891 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:46:30 +00:00
fiddlosopher
42a595d0bd Removed macports.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@890 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:42:57 +00:00
fiddlosopher
4eb0295b7c Added macport directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@889 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:41:17 +00:00
fiddlosopher
ca0b8e97ca Removed macports (renamed as macport).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@888 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:40:53 +00:00
fiddlosopher
64306faf7d Modifications in freebsd packaging:
+ Added freebsd target to Makefile, which creates Makefile from
  Makefile.in and creates distinfo.
+ Removed Makefile and distinfo from the repository.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@887 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:35:53 +00:00
fiddlosopher
631d3930af Added macport target to Makefile; Portfile is now built from
a template.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@886 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 16:52:42 +00:00
fiddlosopher
cedc181c97 Make Portfile into a template.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@885 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 16:42:14 +00:00
fiddlosopher
4f3e0d327e Added macports Portfile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@884 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-24 16:53:11 +00:00
fiddlosopher
0c8ecceb97 Added note about installation of GMP.framework to Mac OSX
package.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@883 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-24 04:35:30 +00:00
fiddlosopher
3de1f19b43 Removed incorrect "{}" around style information in
HTML tables.  Adjusted test suite accordingly.  Column
widths now work properly in HTML.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@882 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-23 23:20:54 +00:00
fiddlosopher
7bf966f934 Bumped version numbers to 0.42 in anticipation of next
bugfix release.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@881 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-23 04:26:37 +00:00
fiddlosopher
f11360f50e Added new rule for enhanced markdown ordered lists: if the list marker
is a capital letter followed by a period (including a single-letter
capital roman numeral), then it must be followed by at least two spaces.
The point of this is to avoid accidentally treating people's initials as
list markers: a paragraph may begin:

    B. Russell was an English philosopher.

and this shouldn't be treated as a list.

Modified Markdown reader and README documentation.
Added a test case.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@880 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-23 04:25:09 +00:00
fiddlosopher
e29e5c5944 Use UTF8 conversion on the extra files loaded in Main.hs
(header, before, after).  This fixes problems with unicode
characters in these files.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@879 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-23 02:16:10 +00:00
fiddlosopher
4a0e02dab7 Added a needed 'try' to listItem in Markdown reader.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@878 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-22 20:19:37 +00:00