git.iko.soy/typeable/pandoc
on fb07803 help sign in
fb07803+ Changed \useurl to \useURL in ConTeXt output. + Changed links from red to blue in ConTeXt output.fiddlosopher f7b705bImplemented implicit reference-style links to section headers in markdown. For example, if you have a header '# Supported architectures', you can link to it with '[Supported architectures]'. If there are multiple headers with this label, the link will point to the first of them. Implicit references are always overridden by explicitly specified references. Addresses Issue #20.fiddlosopher 8d334b8Fixed some haddock documentation bugs in Shared.hs.fiddlosopher f4a1fa4More improvements to ConTeXt writer: + writer options are now in state, so they don't have to be passed as a parameter + state also keeps track of ordered list level, so the right default numbering scheme can be used + extra blank line after \stopitemize + removed definitions of ltxenum and ltxitem from the preamble + both kinds of lists are now generated using \start-stopitemize, with appropriate options + in the case of bulleted lists, no options need be specified, because defaults are given in the preamble + test suite updated accordinglyfiddlosopher 5fa7869ConTeXt writer: + Don't use \(sub)+subject if header level > 5. + Modified tests to conform to new treatment of level 4 and 5 headers.fiddlosopher 4c9a85bModified ConTeXt writer to use \subsubsubsubsection etc., since these are supported (up to at least sub x 5).fiddlosopher 5b5d9bcUse $(GHC) instead of ghc and make them user configurable through environment to support unusual ghc installations, for example:roktas 09b57fcAdjusted formatting of LaTeX and ConTeXt footnotes: - in ConTeXt, % is not needed at end of line before note, since space is gobbled. - beginning of footnote indented four spaces. - this required an additional parameter in wrappedTeX and wrapTeXIfNeeded, in Text.Pandoc.Shared.fiddlosopher 780b77cConTeXt writer: Use itemize options, not sym{}, to produce ordered lists with custom numbering styles.fiddlosopher 13d8a75New, "official" definition of blockquote environment in ConTeXt header. Also, use blank line after \startblockquote to balance blank line at the end.fiddlosopher 87d6d0dFixed logic in markdown smart quote parsing: + Added some needed 'try' statements. + Unicode right single-quote can double as apostrophe, so treat it as a quote-end only when not followed by an alphanumeric character.fiddlosopher ccb5fbbFixed smart quote parsing in markdown reader so that unicode characters 8216 and 8217 are recognized as single quotes, and 8220 and 8221 as double quotes.fiddlosopher 506bf38Updated documentation to reflect the fact that LaTeX and ConTeXt writers now wrap text by default.fiddlosopher a487bbbUpdated tests for changes in LaTeX and ConTeXt writers.fiddlosopher ea5e945Changes to ConTeXt writer: + PrettyPrint module now used for output. + Text wrapping now provided, using wrapTeXIfNeeded. + Better treatment of footnotes: footnotes are always on lines by themselves. + Use \subject, \subsubject, ... or \section, \subsection, ... for headings, depending on whether --number-sections option is selected.fiddlosopher 851c04dImproved footnote handling in LaTeX writer: + use wrapTeXIfNeeded instead of wrapIfNeeded + make sure footnotes occur on lines by themselves, with a % at the end of the preceding line to prevent unwanted spaces + added writer options to state, so it can be accessed by wrapTeXIfNeededfiddlosopher e73c3d3Added wrappedTeX and wrapTeXIfNeeded functions to Text.Pandoc.Shared. These ensure that footnotes occur on lines by themselves (to make them easier to move around), and that they don't screw up text wrapping.fiddlosopher 1ba0c8fModified debian/changelog -- include last bugfix.fiddlosopher 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