465b2d7Merged branches/context: addition of a ConTeXt writer <http://www.pragma-ade.nl/>. + Text.Pandoc.Writers.ConTeXt added. + Text.Pandoc modified to export the basic ConTeXt writer. + Main.hs modified to recognize 'context' as a writer. + ConTeXtHeader added to headers + DefaultHeaders.hs template modified to include ConTeXt header + Tests added (writer.context, tables.context), and runtests.pl modified to run them + pandoc.cabal updated to include Text.Pandoc.Writers.ConTeXt.fiddlosopher
30375bbChanged encodeUTF8 to toUTF8, decodeUTF8 to fromUTF8, for clarity.fiddlosopher
ba6efb0Main: use Text.Pandoc to simplify list of imported modules.fiddlosopher
a9f894cIf writer == "s5", don't set table of contents option. (The TOC would have to be put on a slide, but in most cases it won't fit anyway.)fiddlosopher
2bca833Changed order of options, for aesthetic reasons.fiddlosopher
aa1c8acRecognize output filenames with any single-digit extension as man format.fiddlosopher
a414ec9Adjusted copyright notices to 2006-7; use real email address instead of lamely attempting to obfuscate.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
a669f64Modified Main.hs and Pandoc.cabal to add man page writer.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
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
31c030eAdded --inline-links option to force links in HTML to be parsed as inline links, rather than reference links. (Addresses Issue #4.)fiddlosopher
59065c1Modified HTML writer to use the Text.XHtml library. This results in cleaner, faster code, and it makes it easier to use Pandoc in other projects, like wikis, that use Text.XHtml. Two functions are now provided, writeHtml and writeHtmlString: the former outputs an Html structure, the latter a rendered string. The S5 writer is also changed, in parallel ways (writeS5, writeS5String). The Html header is now written programmatically, so it has been removed from the 'headers' directory. The S5 header is still needed, but the doctype and some of the meta declarations have been removed, since they are written programatically. The INSTALL file and cabalize have been updated to reflect the new dependency on the xhtml package.fiddlosopher
f7fcbf5Use "gaps" in copyrightMessage string for cleaner code formatting.fiddlosopher
60989d0Added support for tables in markdown reader and in LaTeX, DocBook, and HTML writers. The syntax is documented in README. Tests have been added to the test suite.fiddlosopher
a428c9fMoved up processing of --dump-args so that output file won't be created first!fiddlosopher
9eafa97Have pandoc return exit code 2 whenever a usage message is produced, even if it's because a bad option was specified.fiddlosopher
5dda65bChanges to Pandoc's options to facilitate wrapper scripts: + removed -d/--debug option + added --dump-args option, which prints the name of the output file (or '-' for STDOUT) and all the command-line arguments (excluding Pandoc options and their arguments), one per line, then exits. Note that special wrapper options will be treated as arguments if they follow '--' at the end of the command line. Thus, pandoc --dump-args -o foo.html foo.txt -- -e latin1 will print the following to STDOUT: foo.html foo.txt -e latin1 + added --ignore-args option, which causes Pandoc to ignore all (non-option) arguments, including any special options that occur after '--' at the end of the command line. + '-' now means STDIN as the name of an input file, STDOUT as the name of an output file. So, pandoc -o - - will take input from STDIN and print output to STDOUT. Note that if multiple '-o' options are specified on the same line, the last one takes precedence. So, in a script, pandoc "$@" -o - will guarantee output to STDOUT, even if the '-o' option was used. + documented these changes in man pages, README, and changelog.fiddlosopher
7ecac6dAllow '-S' option to be specified together with '--strict', if desired. Thus 'pandoc -S --strict -r markdown -w html' can replace the Markdown.pl/Smartypants combination.fiddlosopher
bb8478eMerged changes from 'quotes' branch since r431. Smart typography is now handled in the Markdown and LaTeX readers, rather than in the writers. The HTML writer has been rewritten to use the prettyprinting library.fiddlosopher
b9eeba9Modified main 'pandoc' program so that if it is called with program name = 'hsmarkdown' (e.g. through a symlink, on a system with real symbolic links), it will translate markdown to HTML in strict mode and interpret all command-line options as arguments, like Markdown.pl.fiddlosopher
d445453Change 'HtmlEntities' module to 'Entities'. Adjusted calling code accordingly.fiddlosopher
a9e3250Merged changes from docbook branch since r363.fiddlosopher
6812230Changed usage message so that it is more compact (and slightly less informative). It's important that it be able to fit on one screen.fiddlosopher
4ea1b2bMerged 'strict' branch from r324. This adds a '--strict' option to pandoc, which forces it to stay as close as possible to official Markdown syntax.fiddlosopher
a1a30d6+ Removed the convenience symlinks (which don't work on Windows under Cygwin, due to Windows' lack of true symbolic links). + Modified the wrappers to use 'pandoc' instead of the symlinks. + Modified the Makefile to remove all references to the symlinks. + Removed code from Main.hs that made pandoc's behavior depend on the name of the calling program. + Added code to Main.hs that sets default reader and writer based on extensions of input and output filenames (if provided). (Thanks to roktas for the idea.) + Modified README and man pages accordingly. + Removed WINDOWS-README target from Makefile. It is no longer needed now that we don't have the symlinks.fiddlosopher
d829c48Merged changes from branches/wrappers since r177. Summary of main changes: + Added -o/--output and -d/--debug options to pandoc. + Modified pandoc to behave differently depending on the name of the program. For example, if the program name is 'html2latex', the default reader will be html and the default writer latex. + Removed most of the old wrappers, replacing them with symlinks to pandoc. + Rewrote markdown2pdf and created a new wrapper web2markdown, with the functionality of the old html2markdown script. These new scripts exploit pandoc's -d option to avoid having to do complex command-line parsing. + Revised man pages and documentation appropriately.fiddlosopher
11cd6e9Added license text to top of source files.fiddlosopher
70d2910Changed 'stability' from 'provisional' to 'alpha'.fiddlosopher
1fded40Changed 'status' in comment headers from 'unstable' to 'provisional' (which seems to be the term that is used in this context).fiddlosopher
dc9c645+ Added module data for haddock. + Reformatted code consistently.fiddlosopher
a8bbd95Changed '--smartypants' to '--smart' and adjusted documentation and symbols accordingly.fiddlosopher
fe66a90Changed 'putStrLn' to 'putStr' in Main.hs, and modified some of the readers to make spacing at end of output more consistent. Modified tests accordingly.fiddlosopher
61ec2c0Bumped version to 0.3 after tagging 0.22.fiddlosopher
f6235d8Changed version to 0.22 for tag creation.fiddlosopher
dd297ddChanged version numbers to 0.3.fiddlosopher
df7b682initial importfiddlosopher
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list