git.iko.soy/typeable/pandoc
on 5fbe057 help sign in
5fbe057Man pages are now generated from markdown templates, using pandoc's man page writer. Removed man pages from repository, added (.md) templates. Modified Makefile to generate man pages as part of the build process.fiddlosopher e6f67fcModified escaping in Man writer. Also changed format of footnote references and authors list.fiddlosopher a669f64Modified Main.hs and Pandoc.cabal to add man page writer.fiddlosopher c726e83Added groff man writer.fiddlosopher 3c46f8aMakefile changes: + Include files built from templates in the distribution tarball, so it can be built using Cabal and included in Hackage. + Remove unnecessary 'cabalize' step. We no longer build Pandoc.cabal from a template.fiddlosopher c841becInclude Pandoc.cabal in repository; do not generate it from Pandoc.cabal.in using cabalize. Removed cabalize and Pandoc.cabal.in, which are no longer needed. Reason: We want Pandoc to be buildable using Cabal without preprocessing, so it can go into the Hackage repository of Haskell libraries.fiddlosopher 28a9970Changed documentation to indicate that GHC 6.6 is required. We will no longer support GHC 6.4.fiddlosopher 4bf464cMinor documentation changes to ASCIIMathML.hs template.fiddlosopher cfd9ff7Adjust Debian package dependencies: + add libghc6-mtl-dev + remove version condition from libghc6-xhtml-devroktas aedc209Added RTF table writer tests.fiddlosopher 61024d9Require blankspace (but not multiple lines) between URL and title in links and reference keys. (Markdown reader.)fiddlosopher f2c1777Fixed bug with indented blocks occurring in definition lists.fiddlosopher 5660e6bUpdated test suite with new tests for definition lists.fiddlosopher f973110Improved prettyprinting of definition lists.fiddlosopher 5454c84Added support for definition lists in Docbook writer.fiddlosopher 71cf0a1+ Use new alignment parameter in title/author/date, instead of hardcoded \qc. + Adjusted test suite to account for changes in RTF writer.fiddlosopher c6323b2Changes to RTF writer: + Added support for definition lists. + Removed extra '\cell' in table output, which caused a blank column to the left. + Added support for captions in tables. + Added an 'alignment' parameter to RTF block writers. + Added support for column alignments in tables.fiddlosopher 09fa7e6Added support for definition lists to RST writer.fiddlosopher 292d2bdAdded support for definition lists to markdown writer.fiddlosopher 23841bdAdd -asxhtml flag to tidy in html2markdown. This will perhaps help the parser.fiddlosopher cf08143Changed definition list syntax in markdown reader and simplified the parsing code. A colon is now required before every block in a definition. This fixes a problem with the old syntax, in which the last block in the following was ambiguous between a regular paragraph in the definition and a code block following the definition list:fiddlosopher 485fa81Resolved issue #10: instead of adding "\n\n" to the end of strings in Main, do it in readMarkdown and readRST. (Note: the point of this is to ensure that a block at the end of the file gets treated as if it has blank space after it, which is generally what is wanted.)fiddlosopher 726685aFixed bug in anyLine parser. Previously anyLine would parse an empty string "". But it should fail on an empty string, or we get an error from its use inside "many" combinators.fiddlosopher 7742301Support for definition lists in LaTeX writer.fiddlosopher ffd7248Fixed export declarations; removed unneeded import of Pandoc.Shared.fiddlosopher e15fd3bMoved escape and nullBlock parsers from ParserCombinators/Pandoc to Pandoc/Shared. Reason: ParserCombinators/Pandoc is for general-purpose parsers that don't require Pandoc.Definition. Also removed some unnecessary imports from Pandoc/Shared.fiddlosopher 24ee5f1Updated test suite to reflect new prettyprinted native Table format.fiddlosopher 944740cAdded Table to prettyBlock in Shared.hs.fiddlosopher 92845a9Added Text.Pandoc module that exports basic readers, writers, definitions, and utility functions.fiddlosopher 23df0edExtensive changes stemming from a rethinking of the Pandoc data structure. Key and Note blocks have been removed. Link and image URLs are now stored directly in Link and Image inlines, and note blocks are stored in Note inlines. This requires changes in both parsers and writers. Markdown and RST parsers need to extract data from key and note blocks and insert them into the relevant inline elements. Other parsers can be simplified, since there is no longer any need to construct separate key and note blocks. Markdown, RST, and HTML writers need to construct lists of notes; Markdown and RST writers need to construct lists of link references (when the --reference-links option is specified); and the RST writer needs to construct a list of image substitution references. All writers have been rewritten to use the State monad when state is required. This rewrite yields a small speed boost and considerably cleaner code.fiddlosopher 74e7497Fixed bug in email obfuscation (issue #15). If the text to be obfuscated contains an entity, this needs to be decoded before obfuscation. Thanks to thsutton for the patch.fiddlosopher 571c3b4Removed Blank block element as unnecessary.fiddlosopher 9b3d5d8Consolidated 'text', 'special', and 'inline' into 'inline'.fiddlosopher cdf7c78Added trys to two list start routines. Reason: <|> only parses second parser when first hasn't consumed input.fiddlosopher 0d2e5eaAdded clauses for DefinitionList and Table to replaceReferenceLinks in Text/Pandoc/Shared.hs. This ensures that reference-style links inside tables and definition lists will be handled properly.fiddlosopher d55346cSimplified keyTable, using assumption that key blocks are not inside other block elements (an assumption that the Markdown reader uses in making its initial pass anyway).fiddlosopher 7bf7abaChanges to Markdown reader relating to definition lists: + fixed bug in indentSpaces (which didn't properly handle cases with mixed spaces and tabs) + rewrote definition list code to conform to new syntax + include definition lists in list block + failIfStrict on definition listsfiddlosopher aca0467Added support for DefinitionList blocks to HTML writer. Cleaned up bullet and ordered list code by using ordList and unordList instead of raw olist and ulist.fiddlosopher 44cec96New syntax documentation for definition lists. Now we require a ':' at the beginning of the definition; otherwise, too many false positives for definition lists.fiddlosopher 2e794fdFixed bug in HTML email obfuscation using --strict mode. The problem is that the "href" function escapes &, so (href "&#108;") is 'href="&amp;#108;"'. Fixed by using primHtml for the whole link. Resolves issue 9.fiddlosopher 115cad8Changed syntax of definition lists in Markdown parser: + definition blocks must be indented throughout (not just in first line) + compact lists can be formed by leaving no blank line between a definition and the next termfiddlosopher d277baeAdded documentation for definition lists.fiddlosopher 5ec31ccAdded parser for definition lists, derived from reStructuredText syntax:fiddlosopher 0ce965fModified prettyPandoc to handle DefinitionList elements.fiddlosopher 68cd976Added definition for DefinitionList block element.fiddlosopher d5f9b1dChange in ordered lists in Markdown reader: + Lists may begin with lowercase letters only, and only 'a' through 'n'. Otherwise first initials and page references (e.g., p. 400) are too easily parsed as lists. + Numbers beginning list items must end with '.' (not ')', which is now allowed only after letters). NOTE: This change may cause documents to be parsed differently. Users should take care in upgrading.fiddlosopher f1191f0More smart quote adjustments: + remove support for all-caps contractions (too much potential for conflict with things like 'M. Mitterand') + add support for 'm as a contractionfiddlosopher 42ade05Smart quote parsing in Markdown reader: treat ' followed by ll, re, ve, then a non-letter, as a contraction. (e.g. I've, you're, he'll)fiddlosopher 402016dFixed bug in noscript part of email obfuscation: & instead of &amp;fiddlosopher 21ba6b0Made image parsing in HTML reader sensitive to the --inline-links option.fiddlosopher