git.iko.soy/typeable/pandoc
on 2bca833 help sign in
2bca833Changed order of options, for aesthetic reasons.fiddlosopher 6acc727Further tweaks to website css.fiddlosopher b7f32fdSmall css tweaks for website. (Smaller sans-serif font, larger monospace for balance.)fiddlosopher 7bbb381Changes to website: + Makefile: rebuild examples if 'demos' changes + New syntax for docbook2odf example + New --toc examples for HTML and RSTfiddlosopher dfdcec7Use smartquotes and table of contents in generating README.html.fiddlosopher d809c66Small changes to website.fiddlosopher ec8a53aUpdated features.txt in website.fiddlosopher b106e51README: Documented man page writer, special title-line conventions for man pages.fiddlosopher 1ec47d3Use "Pandoc User Manuals" as bottom-left footer in man pages.fiddlosopher aa1c8acRecognize output filenames with any single-digit extension as man format.fiddlosopher 17caba2Added a test case with an inline link containing bracketed text.fiddlosopher 5b2868aMinor cosmetic changes to runtests.pl ("passed" in lowercase, to distinguish more clearly from "FAILED").fiddlosopher 1780228Markdown reader: Parse bracketed text in inline footnotes. Previously, "test^[my [note] contains brackets]" would yield a note with contents "my [note". Now it yields a note with contents "my [note] contains brackets". New function: inlinesInBrackets.fiddlosopher d58dca5RST reader: Allow hyperlink target URIs to be split over multiple lines, and to start on the line after the reference. Resolves Issue 7.fiddlosopher 655363dMoved Text.ParserCombinators.Pandoc -> Text.Pandoc.ParserCombinators. This way, all the Pandoc modules are in one place.fiddlosopher 622d4e5Added type declaration for hsepBlocks in Text.Pandoc.Blocks.fiddlosopher 8bbd11b+ Cleaned up runtests.pl. Incorporated table tests in loop with main writer tests. + Renamed tables.tex to tables.latex, tables.db to tables.docbook, for consistency with the writer tests.fiddlosopher 69072efText.Pandoc.Blocks: + Fixed a bug in hPad, which previously padded the rightmost cell. This is fixed by introducing a case for a singleton list. + Fixed Markdown writer so that the space after a table is not nested two spaces. + Adjusted Markdown table tests accordingly.fiddlosopher 0ceb538Markdown writer: Fixed a small problem with lengths of dashed lines in tables.fiddlosopher ad7bb70Added --toc support to Markdown writer.fiddlosopher 56efd61Added support for --toc to RTF writer.fiddlosopher 489a2bbMoved isHeaderBlock from Text.Pandoc.Writers.HTML to Text.Pandoc.Shared.fiddlosopher 2d4a22dRegularized the scheme for unique header identifiers in HTML writer: - punctuation is now all removed (except -) - spaces are turned into - - all lowercase This scheme should be fairly predictable. Updated tests accordingly.fiddlosopher 497a1b7Changes to tests to accommodate r653.fiddlosopher 7f56388HTML writer changes: + change in scheme for construction of unique identifiers for headers: - all lowercase - spaces turn into -, not _ + TOC items now have their own identifiers, starting with TOC- + when there is a TOC, headers link back to the corresponding TOC items, rather than the top of the TOC.fiddlosopher c3fb1ddAdded --toc support to RST writer.fiddlosopher 369a57eModified markdown2pdf to run pdflatex a second time if --toc was specified; otherwise the table of contents won't appear.fiddlosopher 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