git.iko.soy/typeable/pandoc
on dfcae80 help sign in
dfcae80Man writer: Don't print .\" t at beginning unless we're in --standalone mode.fiddlosopher e58a55eLaTeX writer: + Leave extra blank line after \maketitle + Insert \tableofcontents if --toc option was selectedfiddlosopher 608b22eHTML writer: Slight change in code for generating unique identifiers. The numbers used after duplicate identifiers are now separated from them by a hyphen: Duplicate-1 rather than Duplicate1.fiddlosopher 5b68993Added tests for man writer to runtests.pl.fiddlosopher e252fa3Fixed bug in Notes ($$ instead of <>), which caused note blocks to be indented.fiddlosopher 4e81ef2Added version of test suite for man page.fiddlosopher 595f6bfMan page templates: Escaped --'s in option list headers, so they won't be parsed as Em dashes when -S mode is used.fiddlosopher dc7102eUse -S option in building man pages.fiddlosopher 3f3c29fAdded test suites for RST, markdown, and man tables.fiddlosopher 766dbb9Updated tests to account for changes in HTML writer (identifiers).fiddlosopher a414ec9Adjusted copyright notices to 2006-7; use real email address instead of lamely attempting to obfuscate.fiddlosopher 8e1f484Added table tests for all writers.fiddlosopher 956deedHaddock documentation for Text.Pandoc.Blocks.fiddlosopher 3e61847Man writer: Use integral n measures instead of fractional i measures. Calculate on basis of a 70 character line, since the default is 78 but the table will appear indented 8 spaces in standard man output.fiddlosopher f82b1f8Added Maintainer and Copyright fields to pandoc.cabal.fiddlosopher 6f4017bPut table of contents in its own div (id="toc").fiddlosopher 54a0e4cHTML writer modifications: + Added code to HTML Writer to generate a table of contents if the writerTableOfContents option is specified. This is an unordered list with links to the headers. It is constructed hierarchically, based on the order of the headers and their levels. + If a TOC is used, the headers become links back to the TOC. + Removed Toc from WriterState; instead, the TOC is generated at the top level, by the function tableOfContents. + Fixed a bug in uniqueIdentifiers which prevented it from handling more than one duplicate.fiddlosopher f2b16c2+ Introduced writerIgnoreNotes option in WriterOptions. This is needed for processing header blocks for a table of contents, since notes on headers should not appear in the TOC. Set default in Main.hs. + Moved Element, headerAtLeast, and hierarchicalize from Docbook writer to Text.Pandoc.Shared. This is because HTML writer now uses these in constructing a table of contents.fiddlosopher fdf31cdAdded writerTableOfContents to WriterOptions, and added a --table-of-contents/--toc command-line option to Main.hs.fiddlosopher 98372eaRenamed Pandoc.cabal -> pandoc.cabal, for better compatibility with HackageDB, which likes the cabal file to have the same name as the tarball. Modified references to Pandoc.cabal in INSTALL and Makefile.fiddlosopher 5a0ce1bChanges to HTML writer to incorporate automatic identifiers for headers and table of contents: + WriterState now includes a list of header identifiers and a table of contents in addition to notes. + The function uniqueIdentifiers creates a list of unique identifiers from a list of inline lists (e.g. headers). + This list is part of WriterState and gets consumed by blockToHtml each time a header is encountered. + Headers are now printed with unique identifiers based on their names, e.g. Shell_scripts for "# Shell scripts". Fancy stuff like links, italics, etc. gets ignored. A numerical index is added to the end if there is already an identifier by the same name, e.g. "Shell_scripts1". + Provision has been made for a table-of-contents block element, but this has not yet been added.fiddlosopher 0a250edMinor comment change.fiddlosopher ad2c642Pandoc.hs: Export all definitions in Text.Pandoc.Definition, rather than exporting the module.fiddlosopher f8ce411README: Documented the fact that if pandoc is called as 'hsmarkdown', it runs in strict markdown compatibility mode. This can be achieved using a symbolic link.fiddlosopher 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