git.iko.soy/typeable/pandoc
on 242ee99 help sign in
242ee99Minor wording changes in README.fiddlosopher f9c988eFixed bug in Markdown reader: links in footnotes were not being processed. Solution: three-stage parse. First, get all the reference keys and add information to state. Next, get all the notes and add information to state. (Reference keys may be needed at this stage.) Finally, parse everything else.fiddlosopher 1ca8a73Added table support to RST writer.fiddlosopher 09f0247Added table support to markdown writer.fiddlosopher 8d776e1Improvements/bug fixes to Text.Pandoc.Blocks library.fiddlosopher 948ea86Include Text.Pandoc.Blocks in Pandoc.cabal's file list.fiddlosopher 1a8b32aAdded Text.Pandoc.Blocks module for prettyprinting of text tables.fiddlosopher 4fe56a8Man writer: - Added scheme for specifying manual section and additional headers: % PROGNAM | 1 | User Manual | Version 4.0 - Modified man page sources to include section 1fiddlosopher d5c47c3Added table support to man writer (using the tbl preprocessor). The writer state now includes a list of "preprocessor" codes. If the document contains a table, "t" (for "tbl") is added to the list. If this list is nonempty, the man page starts with .\" <list> which instructs man to run the file through the appropriate preprocessor before processing with groff.fiddlosopher cd08eabChanges to website: - Added groff man to list of output formats in index.txt - Added a demo of man page creation to demos pagefiddlosopher cc67d17FreeBSD Makefile - bump version to 0.4, and require GHC 6.6 or higher.fiddlosopher 681ce02Documented man output in pandoc.1.md man page.fiddlosopher bd5f387Man writer: don't change - to \- (minus sign). Leave them as hyphens.fiddlosopher 2cb22a1Man writer: better output for line break: .PD 0 # set interparagraph space to 0 .P # new paragraph .PD # reset interparagraph space to default.fiddlosopher f5a3d44Minor changes in Man writer: - escape ' as \[aq], because ' can trigger groff commands. - remove unneeded line breaks. - use CR font in code blocks. - use .P 0 for line breaks.fiddlosopher 6d6fafdDon't use -S option in processing man pages, since the '--' in options will be read as an En-dash.fiddlosopher b412492Minor changes in man page sources.fiddlosopher 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