aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-09-25Fixed a bug in the Markdown writer: incorrect line wrapping in fiddlosopher1-2/+11
paragraphs including hard line breaks. Resolves Issue #25. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1032 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-19Updated html2x.txt to reflect new location of script (in /cgi-binfiddlosopher1-9/+9
instead of /pandoc). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1031 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-19Removed html2x.pl -- it belongs in its own repository.fiddlosopher1-40/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1030 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-19RST writer: If label for a link reference contains a colon,fiddlosopher1-1/+4
surround by ` signs so the colon won't be interpreted as the end of the link label. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1029 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-18Fixed macports Portfile:fiddlosopher1-1/+29
+ Do installation manually rather than using Makefile's install-all. (There appears to be a problem with the Makefile's handling of DESTDIR.) + Note that the library must be registered in the activate phase, after the library files have been copied out of the destroot. Cabal generates a 'register.sh' script that will do this. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1028 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-18Main (tabFilter):fiddlosopher1-1/+2
Treat '\r' at end of line as newline (in addition to '\r\n' and '\n'). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1027 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-18Markdown writer: Don't print title attribute if title is empty.fiddlosopher2-2/+5
(This differs from the behavior of Markdown.pl, and agrees with PHP Markdown. But John Gruber has indicated that he prefers this behavior.) Adjusted test suite accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1026 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-18Markdown reader: require space before title in links and references.fiddlosopher1-5/+2
This fixes a bug in parsing URLs like http://silly/url(withparen). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1025 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-17Modified html2x.pl URL validation regex:fiddlosopher1-1/+1
+ allow port number in URL + allow : in URL path git-svn-id: https://pandoc.googlecode.com/svn/trunk@1024 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-17Remove just one leading and one trailing newlinefiddlosopher1-3/+11
from contents of <pre>...</pre> in codeBlock parser. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1023 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-17Changed parsing of code blocks in HTML reader:fiddlosopher1-7/+8
+ <code> tag is no longer needed. <pre> suffices. + all HTML tags in the code block (e.g. for syntax highlighting) are skipped, because they are not portable to other output formats. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1022 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-16Modified html2x webpage.fiddlosopher1-12/+17
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1021 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-16Added Google analytics tracking to website.fiddlosopher2-7/+15
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1020 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-15Fixed URL regex in html2x.pl, and added a command to the pipefiddlosopher1-2/+4
to truncate input pages to 100K. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1019 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-15Added security measures to html2x.pl.fiddlosopher1-24/+28
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1018 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-15Added html2x demo to the website.fiddlosopher4-2/+89
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1017 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-15Simplified HTML attribute parsing (HTML reader).fiddlosopher1-10/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1016 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-14Fixed two bugs in HTML reader:fiddlosopher1-11/+4
+ <code>...</code> not surrounded by <pre> should count as inline HTML, not code block. + parser for minimized attributes should not swallow trailing spaces git-svn-id: https://pandoc.googlecode.com/svn/trunk@1015 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-13Changed pandoc home page to http://johnmacfarlane.net/pandoc/.fiddlosopher10-12/+12
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1014 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-10+ Fixed bug in RST writer's handling of ordered lists. Previously,fiddlosopher2-75/+75
list items with multiple lines would not always line up with single-line list items. Now, list items are nested the length of the list marker + 1. This looks better and ensures that list items all line up. (Note that list markers are padded to the length of the longest list marker in the series.) + Use 3-space indent for unordered lists. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1013 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-05Simplified parsing of reference keys and notes in markdown and RSTfiddlosopher3-57/+54
readers: + The Reference data structure from Text.Pandoc.Shared is no longer needed, since + referenceKey and noteBlock parses return strings (as many blank lines as are occuried by the key or note) and update state themselves. + getPosition and setPosition are now used to ensure that error messages will give the correct line number. + This yields cleaner (and slightly faster) code, with more accurate parsing error messages. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1012 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-05HTML writer: Don't produce HTML for table of contents iffiddlosopher1-0/+1
there are no headers. (This would be an empty list, which is invalid XHTML.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1011 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-05Bumped version to 0.45.fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1010 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-03Updated website with news of 0.43.fiddlosopher1-0/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1008 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-03Updated debian/changelog.fiddlosopher1-0/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1007 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-03No need to add $(BUILDDIR) and $(BUILDCONF) to cleanup_files,fiddlosopher1-1/+1
because they are removed automatically by '$(BUILDCMD) clean'. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1006 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-03* The previous fix was wrong. Apply a proper fix and cross the fingers. :-)roktas3-5/+6
+ On configure, compile 'Setup.hs' to 'setup' and use 'setup' as the build command instead of 'runhaskell', which, on some platforms (such as s390, alpha, m68k), throws the following error: runhaskell Setup.hs configure --prefix=/usr ghc-6.6.1: not built for interactive use This causes a serious FTBFS bug. Closes: #440668 (from Debian BTS). + Setup.hs: revert changes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1005 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-03* Urgent fix to address the following issue:roktas3-1/+16
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440668 The below link of a similar bug explains things a bit more: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431843#22 git-svn-id: https://pandoc.googlecode.com/svn/trunk@1004 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-03Added xmlns attribute to html element in html writer tests.fiddlosopher4-4/+4
This attribute is added by more recent versions of the xhtml library, including the one that comes with GHC 6.6.1. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1003 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Changed link to Arch PKGBUILD script on website.fiddlosopher1-4/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1002 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Bump version numbers to 0.44, which will be the nextfiddlosopher2-2/+2
bug-fix release (when enough bug fixes have accumulated). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1001 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02HTML writer: put anchors around contents of headers, not aroundfiddlosopher1-11/+11
the header tags themselves, when producing backlinks to TOC. Resolves Issue #23. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1000 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Fixed CSS for website so headers linked back to TOCfiddlosopher1-0/+4
don't have lines under them. git-svn-id: https://pandoc.googlecode.com/svn/trunk@999 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Added note about Arch linux PKGBUILD script.fiddlosopher1-1/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@998 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Small changes in website.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@996 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Removed files no longer needed in website:fiddlosopher2-20/+0
+ pandocwiki tarball + highlight.css git-svn-id: https://pandoc.googlecode.com/svn/trunk@995 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Fixed formatting mistakes in 0.43 news on website.fiddlosopher1-2/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@994 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Added link to google code svn repository for pandocwiki, instead offiddlosopher1-1/+1
tarball. git-svn-id: https://pandoc.googlecode.com/svn/trunk@993 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Added '-font monospace' to highlight command, so wretchedfiddlosopher1-2/+2
courier new won't be used in highlighted HTML and LaTeX in demos. git-svn-id: https://pandoc.googlecode.com/svn/trunk@992 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02* debian/changelog: add signatureroktas1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@991 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Updated website with news of 0.43...fiddlosopher1-2/+19
git-svn-id: https://pandoc.googlecode.com/svn/trunk@990 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Updated debian/changelog.fiddlosopher1-0/+136
git-svn-id: https://pandoc.googlecode.com/svn/trunk@989 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02Markdown writer: escape paragraphs that begin with ordered listfiddlosopher1-1/+23
markers, so they don't get interpreted as ordered lists. git-svn-id: https://pandoc.googlecode.com/svn/trunk@988 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-02LaTeX command and environment names can't contain numbers.fiddlosopher1-4/+4
LaTeX reader updated accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@987 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-01Added separate latex reader and native reader tests;fiddlosopher3-10/+1214
removed round-trip tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@986 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-01Skip notes parsing if running in strict mode. (This yields a nicefiddlosopher1-14/+16
speed improvement in strict mode.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@983 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-01Simplify autolink parsing code, using Network.URI to test forfiddlosopher3-27/+26
URIs. Added dependency on network library to debian/control and pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@982 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-01More perspicuous definition of nonindentSpaces.fiddlosopher1-1/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@981 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-01Removed unneeded 'try' in 'rawLine'.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@979 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-01Combined linebreak and whitespace into a new whitespacefiddlosopher1-7/+6
parser, to avoid unnecessary reparsing of space characters. git-svn-id: https://pandoc.googlecode.com/svn/trunk@978 788f1e2b-df1e-0410-8736-df70ead52e1b