git.iko.soy/typeable/pandoc
on 458bb40 help sign in
458bb40Fixed docbook writer test -- removed named entities.fiddlosopher 19123a5Don't use named entities in docbook writer. Instead, use numerical entities, for portability across stylesheets.fiddlosopher acb4dabAdded comment relevant to last revision.fiddlosopher 35a06b9Replaced diff --strip-trailing-cr with something more portable in runtests.pl. (This is a GNU option.)fiddlosopher 4c59d89Removed "Extra-source-files" from Pandoc.cabal.in, since it seems to cause problems on GHC 6.4.1!fiddlosopher be157f3Changes to markdown2pdf.in: + Exit if pandoc fails (second time through) -- no need to store the log for this. + Run pdflatex up to three times, if needed to resolve references. Also run bibtex as needed. + Minor reformatting.fiddlosopher 4814b0aMinor cleanups in markdown2pdf.in.fiddlosopher 11f1e77Change to Makefile to add features page to website.fiddlosopher 8c98a36Improvements in website: + Descriptions on examples. + New "features" page highlighting Pandoc's features. + Small other improvements.fiddlosopher a428c9fMoved up processing of --dump-args so that output file won't be created first!fiddlosopher 8022422Added notice about pandoc-announce list to web page.fiddlosopher 9af97d1Small css change on website.fiddlosopher 3ae8476Formatting changes in debian/changelog, and added note about backslash escaping changes.fiddlosopher d83b70f+ Changed 'escapedChar' in Markdown reader so that only the characters Markdown escapes are escaped in strict mode. When not in strict mode, Pandoc allows all non-alphanumeric characters to be escaped. + Added documentation of backslash escapes to README.fiddlosopher 3d0ee32+ Export TEXINPUTS variable.roktas 8b98ef2Various fixes in markdown2pdf.roktas 965f80aRemoved unneeded "export" statements.fiddlosopher 9a37ee4Documentation changes corresponding to r456.fiddlosopher 58697ebModified shell scripts to use new Pandoc --dump-args and --ignore-args features. This allows a simpler, cleaner design.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 d47ce5bAdded [breaklinks=true] to latex writer test case.fiddlosopher 856db32Simplify regex.roktas 52666e2+ Revert previous commit which is wrong and insufficient on some parts. + Improve sed filter to extract the following error contexts: 1. From a line starting with ! to the next blank line. 2. From a line beginning "LaTeX Warning:" to the next blank line. 3. From a line beginning "Error:" to the next blank line, or EOF. + Improve the error message headers (perhaps needs a proof reading). Prepend the wrapper name to the error headers for easy spotting.roktas 900e352+ Fix a nasty bug in markdown2pdf. It used to send the log file to /dev/null!roktas 6f76111Added [breaklinks=true] to hyperref package in LaTeX header. This produces nicer-looking output by default.fiddlosopher 15ea29bSmall improvements to indentSpaces. (Allow combinations of spaces and tabs.)fiddlosopher f2c2494Modified HTML output for Image elements, to conform to Markdown.pl: + title attribute comes after alt attribute + title is included even if nullfiddlosopher 1bc5858Fixed performance problems with '--strict' option: + Replaced skipEndline with "option ' ' newline" where possible. + Replaced "notFollowedBy' header" in definition of endline with a faster but equally accurate test for a folliwng header. + Removed check at the beginning of 'reference' for a noteStart: This is not needed, because note comes before referenceKey in the definition of block. + Replaced check for a following anyHtmlBlockTag in autoLink with a check for anyHtmlTag or anyHtmlEndTag. + Other small code cleanups.fiddlosopher 233148fFixed bug in Markdown reader's handling of underscores and other inline formatting markers inside reference labels: for example, in '[A_B]: /url/a_b', the material between underscores was being parsed as emphasized inlines.fiddlosopher 58dcef0Added support for hexadecimal entities: e.g. ꂫfiddlosopher cbfe29fFixed formatting in pandoc man page.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 1645fb6Fixed serious performance problems with new Markdown reader: Instead of using lookahead to determine whether a single quote is an apostrophe, we now use state. Inside single quotes, a ' character won't be recognized as the beginning of a single quote. 'stateQuoteContext' has been added to keep track of this.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 06e6107Fix the bug in 'install-all' target which does not install the wrappers. (This target is somewhat special as it should handle installing and _registering_ the library in generic installations.) We can't rely on 'install-exec' to fix this bug (but we should depend on 'build-exec' nevertheless), since the 'install-all' target already installs pandoc along with the library files. Therefore we should install wrappers separately by using a helper function which was specifically created to avoid code duplication ('install-exec' target was also updated so as to use this function).roktas 46f0c05Change the author order in debian/changelog to reflect the order of importance. Changes in pandoc itself are more important than those in the build system.roktas 74ef307Update signature in debian/changelog.roktas c9f72f4Setup executable permissions on some files.roktas 35683e4Remove executable permission of hsmarkdown.in.roktas 2040434Fix the wrapper usage instruction in INSTALL.roktas d437015Nicer informational message in test-markdown target.fiddlosopher 39eb8cbChanged Markdown writer so that it does not use the single-bracket style of implicit reference link. It now uses [this style][], not [this style]. Reason: only newer, beta versions of Markdown allow the single-bracket style.fiddlosopher a5e3c09Fixed small bug in consolidateList: added case for (Str a):Space:Space:rest.fiddlosopher 030d94eRefactored SGML escaping functions and "in tag" functions to Text/Shared/Pandoc. (escapeSGML, stringToSGML, inTag, inTagSimple, inTagIndented, selfClosingTag) These can be used by both the HTML and Docbook writers.fiddlosopher 24f3710Fixed bug in encodeEntities (characters less than 128, not 127, should be encoded).fiddlosopher 9e199dcSmall README changes documenting differences from standard markdown.fiddlosopher b6663c7Changed test-markdown target in Makefile: Now it will find any markdown test suites in the 'test' directory (subdirectories beginning with 'MarkdownTest_') and run them all. This allows us to have multiple test suites, e.g. for 1.0 and for a beta version.fiddlosopher b770a9fRemoved unneeded 'options' parameter from 'indentedInTags' function in Docbook writer.fiddlosopher c85980dAdded some instructions to INSTALL about setting the PATH for trying out pandoc and the shell scripts from the build directory.fiddlosopher