git.iko.soy/typeable/pandoc
on bd7f5f3 help sign in
bd7f5f3Fixed bug in LaTeX reader (pointed out by Mark Eli Kalderon): needed a "try" before "string" in parser for \[ math blocks.fiddlosopher 466b75dRemove a duplicate comment line.roktas 8a057e7Modified build procedure to allow compilation with GHC 6.8: + pandoc.cabal now uses Cabal configurations and requires Cabal >=1.2. + An alternative pandoc.cabal.ghc66 is provided for those who have older versions of Cabal. + Debian build process has been modified to use pandoc.cabal.ghc66, as a temporary measure until GHC 6.8 gets into debian unstable. + INSTALL instructions have been updated. + Makefile has been updated to accommodate changes in pandoc.cabal. + pandoc.cabal.ghc68 has been removed, since the default version now works with GHC 6.8.fiddlosopher 8d86397Added a version of pandoc.cabal that works with GHC 6.8.1.fiddlosopher fe68476Reverted back to state as of r1062. The template haskell changes are more trouble than they're worth.fiddlosopher 4a841bfUse template haskell to avoid the need for templates: + Added library Text.Pandoc.Include, with a template haskell function $(includeStrFrom fname) to include a file as a string constant at compile time. + This removes the need for the 'templates' directory or Makefile target. These have been removed. + The base source directory has been changed from src to . + A new 'data' directory has been added, containing the ASCIIMathML.js script, writer headers, and S5 files. + The src/wrappers directory has been moved to 'wrappers'. + The Text.Pandoc.ASCIIMathML library is no longer needed, since Text.Pandoc.Writers.HTML can use includeStrFrom to include the ASCIIMathML.js code directly. It has been removed.fiddlosopher 3116d30Updated changelog in light of last change.fiddlosopher 40fa017Cleaned up LaTeX footnotes: + Footnotes start on a separate line. A comment % is used at the end of the previous line to prevent unwanted spaces. This makes footnotes easier to see, delete, and move around. + The final } now only appears on a separate line if it needs to (i.e. if the note ends with a Verbatim environment).fiddlosopher d5adbcbFixed bug in parsing files that begin with blank lines. + In Text.Pandoc.Shared: rewrote lineClump to parse EITHER a string of blank lines OR a string of nonblanks. Removed code for parsing eof. + In Markdown and RST readers, use 'manyTill (... <|> lineClump) eof' instead of many, since lineClump no longer parses eof.fiddlosopher 63dfc3aModified specialChar in LaTeX reader so that '"' characters are parsed and do not cause an error.fiddlosopher 27ea29aUpdated changelog to reflect change to fromUTF8.fiddlosopher 65a5db2Modified fromUTF8 to strip out the BOM (byte order marker) wherever it is present. See http://en.wikipedia.org/wiki/Byte_Order_Mark and http://six.pairlist.net/pipermail/markdown-discuss/2007-October/000874.html.fiddlosopher 447b99e'--no-wrap' option now prevents the addition of structural whitespace in HTML output, minimizing the file size.fiddlosopher a81613dRemoved 'version' constant from Main.hs; added 'pandocVersion' to Text.Pandoc. This way all programs that use pandoc libraries will have access to the version number.fiddlosopher d6d49dbUpdated changelog.fiddlosopher 8144c54Improvements to RST reader: + Allow field lists to be indented. + Parse the contents of field lists instead of treating them as raw strings. + Represent field lists as definition lists rather than blockquotes. + Fixed bug in which metadata would be overridden if the document contained more than one field list. + Parse fields associated with ..image: blocks, and use the 'alt' field, if present, for image alt text and title.fiddlosopher 11e7ad2Save and restore position in parseFromString, so that it doesn't mess up accurate error location reporting.fiddlosopher 403f5f4Undid last change: instead of blocking the internal links in the writers, it makes more sense to block them in the HTML reader.fiddlosopher 4928045Man writer: Don't print link source for internal links (#...).fiddlosopher ad96032Fixed bug in RST reader: previously, code blocks had to be indented a full tabstop, but RST allows any amount of indentation. Resolves Issue #27.fiddlosopher 175ddc3Makefile:roktas ea0d566Changes in debian/changelog:roktas 068f94aChanges in Makefile:roktas 1ea1665Updated debian/changelog.fiddlosopher 5e4a0c8New MacPorts Portfile template. Installs pandoc programs and libraries. Note that 'make install-all' cannot be used to install the libraries, because registration must be done after the files are copied out of the destroot. So a custom install procedure is included in the Portfile.fiddlosopher 3fef30cAdded libghc6-network-dev, libghc6-xhtml-dev, and libghc6-mtl-dev as dependencies for libghc6-pandoc-dev. Addresses Debian Bug #445235.fiddlosopher a1ad3b4Modified html2markdown. Previously html2markdown piped all input through html tidy before passing it to pandoc. This causes problems on certain sites (e.g. daringfireball.com/markdown) which have well-formed xhtml that causes tidy to choke. Solution is to try pandoc on the original HTML, and run it through tidy only if that fails.fiddlosopher 5f64258Add default value for URL in html2x.txt.fiddlosopher 6e2bc67Added link to /pandoc/try on web page.fiddlosopher 27d3657Fixed bug in markdown writer: If an ordered list item began with a marker greater than 3 characters in width, and the item took more than one line, it would appear on the line after the list marker, e.g.:fiddlosopher 7a32ad7Documented '--no-wrap' option in README and man pages.fiddlosopher 5b888e8Added a writer option for wrapped text and a command-line option '--no-wrap', which disables text wrapping. (Resolves Issue #26.)fiddlosopher fa45b97Changed ref to MacPorts to point to the MacPorts DB entry for pandoc.fiddlosopher 4f98140Fixed a bug in the Markdown writer: incorrect line wrapping in paragraphs including hard line breaks. Resolves Issue #25.fiddlosopher b0ef5b5Updated html2x.txt to reflect new location of script (in /cgi-bin instead of /pandoc).fiddlosopher 47f847eRemoved html2x.pl -- it belongs in its own repository.fiddlosopher d9dedf0RST writer: If label for a link reference contains a colon, surround by ` signs so the colon won't be interpreted as the end of the link label.fiddlosopher 2b429e9Fixed macports Portfile: + 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.fiddlosopher 87fb10aMain (tabFilter): Treat '\r' at end of line as newline (in addition to '\r\n' and '\n').fiddlosopher f8eac5bMarkdown writer: Don't print title attribute if title is empty. (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.fiddlosopher fbb0482Markdown reader: require space before title in links and references. This fixes a bug in parsing URLs like http://silly/url(withparen).fiddlosopher 78ff2d2Modified html2x.pl URL validation regex: + allow port number in URL + allow : in URL pathfiddlosopher 65047e3Remove just one leading and one trailing newline from contents of <pre>...</pre> in codeBlock parser.fiddlosopher 6f16d52Changed parsing of code blocks in HTML reader: + <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.fiddlosopher 2094534Modified html2x webpage.fiddlosopher e00b892Added Google analytics tracking to website.fiddlosopher 9ed11f4Fixed URL regex in html2x.pl, and added a command to the pipe to truncate input pages to 100K.fiddlosopher bf100f8Added security measures to html2x.pl.fiddlosopher b5819b8Added html2x demo to the website.fiddlosopher d5b7257Simplified HTML attribute parsing (HTML reader).fiddlosopher