Commit graph

739 commits

Author SHA1 Message Date
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
fiddlosopher
cc0460f952 Code cleanup in Markdown reader.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@877 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20 19:21:18 +00:00
fiddlosopher
84aa875bdb Changes to Markdown reader for better conformity to the
Markdown test suite under --strict:
+ Removed check for a following setext header in endline.
  A full test is too inefficient (doubles benchmark time), and
  the substitute we had before is not 100% accurate.
+ Don't use Code elements for autolinks if --strict specified.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@876 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20 18:52:49 +00:00
fiddlosopher
57d52c39ec If --strict and not --toc, don't include identifiers in headers.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@875 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20 18:42:09 +00:00
fiddlosopher
da518d36c8 Formatting changes to freebsd Makefile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@874 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-20 16:21:37 +00:00
roktas
b5d225c7a6 + debian/control: add XS-Vcs-{Svn,Browser} fields
+ debian/changelog: adjust the author line for the package upload


git-svn-id: https://pandoc.googlecode.com/svn/trunk@871 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 20:40:50 +00:00
fiddlosopher
8b026fe911 Changes to freebsd port for 0.41.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@870 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 16:54:43 +00:00
fiddlosopher
b0bf5e5bab Revised website for 0.41.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@869 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 16:40:38 +00:00
fiddlosopher
56e2200378 Bump version to 0.41.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@867 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 16:07:57 +00:00
fiddlosopher
0d5f40fc85 Added signature on changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@866 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 16:04:03 +00:00
fiddlosopher
fca9a9f1ac Modified debian/changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@865 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 15:59:21 +00:00
fiddlosopher
81eba062f2 Refactor RST and Markdown readers using parseFromString.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@864 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 00:18:46 +00:00
fiddlosopher
4e149f898a Added a necessary "try" in definition of "para"
(HTML reader).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@863 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-19 00:06:03 +00:00
fiddlosopher
4399db4fd2 Bug fixes in readers:
+ LaTeX reader:  skip anything after \end{document}
+ HTML reader: fixed bug skipping material after </html> -- previously,
  stuff at the end was skipped even if no </html> was present, which
  meant only part of the file would be parsed and no error issued
+ HTML reader: added new constant eitherBlockOrInline with elements that
  may count either as block-level or inline
+ Modified isInline and isBlock to take this into account
+ modified rawHtmlBlock to accept any tag (even an inline tag);
  this is innocuous, because rawHtmlBlock is tried only if a regular
  inline element can't be parsed.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@862 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-18 23:44:26 +00:00
fiddlosopher
e48f046aa0 + Fixed bug in markdown ordered list parsing. The problem was
that anyOrderedListStart did not check for a space following the
  ordered list marker. So, 'A.B. 2007' would be parsed as a list item,
  then fail because of the lack of space after 'A.' (required by
  orderedListStart). Resolves Issue #22.
+ Fixed a similar problem in RST reader.
+ Added regression test.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@861 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-18 15:26:29 +00:00
fiddlosopher
fcda8d191b Added highlight.css to website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@860 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-18 14:20:07 +00:00
fiddlosopher
a6f3dd3755 Fixed block quote output in markdown writer: previously,
block quotes in notes would be indented only in the first line.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@859 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-17 18:48:16 +00:00
fiddlosopher
4b852dfd96 Put note in INSTALL about the extra xmlns attribute inserted by
later versions of the xhtml library (which causes some tests
to fail).  Thanks to Leif LeBaron for pointing this out.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@858 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-16 19:27:56 +00:00
fiddlosopher
e775273011 Changed date on README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@856 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 23:49:25 +00:00
fiddlosopher
80c1656b38 Small website tweak: README.txt, not README-WINDOWS.txt.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@855 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 22:39:55 +00:00
fiddlosopher
2915612943 Small changes to website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@854 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 22:38:15 +00:00
fiddlosopher
c3b27348cc Simplified Makefile install-all and uninstall-all targets.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@853 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 21:51:38 +00:00
fiddlosopher
77f13e23da Minor tweaks on website (deb description).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@852 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 21:20:25 +00:00
fiddlosopher
3904078e39 Cosmetic changes.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@851 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 21:20:02 +00:00
fiddlosopher
2892335680 Fixed bug in tarball target in Makefile (should be RELNAME instead
of fullname).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@850 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 17:49:10 +00:00
fiddlosopher
3389945e06 Added note that deb will work on Ubuntu to website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@849 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-15 17:45:19 +00:00