Commit graph

  • 458bb40989 Fixed docbook writer test -- removed named entities. fiddlosopher 2007-01-09 05:45:06 +0000
  • 19123a540e Don't use named entities in docbook writer. Instead, use numerical entities, for portability across stylesheets. fiddlosopher 2007-01-09 05:40:40 +0000
  • acb4dab5eb Added comment relevant to last revision. fiddlosopher 2007-01-09 04:28:29 +0000
  • 35a06b9028 Replaced diff --strip-trailing-cr with something more portable in runtests.pl. (This is a GNU option.) fiddlosopher 2007-01-09 04:27:07 +0000
  • 4c59d89303 Removed "Extra-source-files" from Pandoc.cabal.in, since it seems to cause problems on GHC 6.4.1! fiddlosopher 2007-01-09 04:23:05 +0000
  • be157f353d Changes 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 2007-01-09 04:10:24 +0000
  • 4814b0ae02 Minor cleanups in markdown2pdf.in. fiddlosopher 2007-01-09 02:07:48 +0000
  • 11f1e77402 Change to Makefile to add features page to website. fiddlosopher 2007-01-09 02:07:20 +0000
  • 8c98a36b33 Improvements in website: + Descriptions on examples. + New "features" page highlighting Pandoc's features. + Small other improvements. fiddlosopher 2007-01-09 02:06:57 +0000
  • a428c9fadc Moved up processing of --dump-args so that output file won't be created first! fiddlosopher 2007-01-09 01:43:23 +0000
  • 80224229fc Added notice about pandoc-announce list to web page. fiddlosopher 2007-01-09 00:40:48 +0000
  • 9af97d16d2 Small css change on website. fiddlosopher 2007-01-09 00:12:32 +0000
  • 3ae8476db0 Formatting changes in debian/changelog, and added note about backslash escaping changes. fiddlosopher 2007-01-09 00:03:31 +0000
  • d83b70f3a0 + 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 2007-01-08 23:54:15 +0000
  • 3d0ee324f3 + Export TEXINPUTS variable. roktas 2007-01-08 21:54:10 +0000
  • 8b98ef22da Various fixes in markdown2pdf. roktas 2007-01-08 21:50:58 +0000
  • 965f80a6cf Removed unneeded "export" statements. fiddlosopher 2007-01-08 21:24:31 +0000
  • 9a37ee459c Documentation changes corresponding to r456. fiddlosopher 2007-01-08 21:16:18 +0000
  • 58697ebe78 Modified shell scripts to use new Pandoc --dump-args and --ignore-args features. This allows a simpler, cleaner design. fiddlosopher 2007-01-08 19:55:34 +0000
  • 9eafa97156 Have pandoc return exit code 2 whenever a usage message is produced, even if it's because a bad option was specified. fiddlosopher 2007-01-08 16:29:29 +0000
  • 5dda65b5dc Changes 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 2007-01-08 08:11:08 +0000
  • d47ce5b1f4 Added [breaklinks=true] to latex writer test case. fiddlosopher 2007-01-07 05:28:36 +0000
  • 856db32b85 Simplify regex. roktas 2007-01-07 05:12:56 +0000
  • 52666e2301 + 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 2007-01-07 05:09:07 +0000
  • 900e352f1c + Fix a nasty bug in markdown2pdf. It used to send the log file to /dev/null! roktas 2007-01-07 03:17:40 +0000
  • 6f76111e92 Added [breaklinks=true] to hyperref package in LaTeX header. This produces nicer-looking output by default. fiddlosopher 2007-01-07 02:37:36 +0000
  • 15ea29b223 Small improvements to indentSpaces. (Allow combinations of spaces and tabs.) fiddlosopher 2007-01-07 01:44:24 +0000
  • f2c2494b66 Modified HTML output for Image elements, to conform to Markdown.pl: + title attribute comes after alt attribute + title is included even if null fiddlosopher 2007-01-07 01:06:34 +0000
  • 1bc585837c Fixed 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 2007-01-07 00:48:46 +0000
  • 233148f963 Fixed 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 2007-01-06 20:47:00 +0000
  • 58dcef0625 Added support for hexadecimal entities: e.g. ꂫ fiddlosopher 2007-01-06 19:47:05 +0000
  • cbfe29f205 Fixed formatting in pandoc man page. fiddlosopher 2007-01-06 18:48:07 +0000
  • 7ecac6d216 Allow '-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 2007-01-06 18:46:32 +0000
  • 1645fb65e4 Fixed 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 2007-01-06 18:41:01 +0000
  • bb8478e4e2 Merged 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 2007-01-06 09:54:58 +0000
  • 06e6107f53 Fix 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 2007-01-05 10:16:15 +0000
  • 46f0c05150 Change 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 2007-01-05 07:54:29 +0000
  • 74ef307c0b Update signature in debian/changelog. roktas 2007-01-05 07:42:25 +0000
  • c9f72f4c39 Setup executable permissions on some files. roktas 2007-01-05 07:39:32 +0000
  • 35683e4a3b Remove executable permission of hsmarkdown.in. roktas 2007-01-05 07:28:36 +0000
  • 2040434489 Fix the wrapper usage instruction in INSTALL. roktas 2007-01-05 07:25:50 +0000
  • d4370154ff Nicer informational message in test-markdown target. fiddlosopher 2007-01-05 01:20:18 +0000
  • 39eb8cbad8 Changed 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 2007-01-05 00:55:38 +0000
  • a5e3c09fc7 Fixed small bug in consolidateList: added case for (Str a):Space:Space:rest. fiddlosopher 2007-01-04 22:58:28 +0000
  • 030d94e1c3 Refactored 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 2007-01-04 22:52:16 +0000
  • 24f3710e09 Fixed bug in encodeEntities (characters less than 128, not 127, should be encoded). fiddlosopher 2007-01-04 17:51:46 +0000
  • 9e199dc1a3 Small README changes documenting differences from standard markdown. fiddlosopher 2007-01-04 17:44:09 +0000
  • b6663c7e16 Changed 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 2007-01-04 17:23:30 +0000
  • b770a9f009 Removed unneeded 'options' parameter from 'indentedInTags' function in Docbook writer. fiddlosopher 2007-01-04 08:40:22 +0000
  • c85980dd0e Added some instructions to INSTALL about setting the PATH for trying out pandoc and the shell scripts from the build directory. fiddlosopher 2007-01-04 01:23:07 +0000
  • 99959b68e9 + Improved text wrapping algorithm in markdown, docbook, and RST writers. LineBreaks no longer cause ugly wrapping in Markdown output. + Replaced splitBySpace with the more general, polymorphic function splitBy (in Text/Pandoc/Shared). fiddlosopher 2007-01-04 01:04:56 +0000
  • e4880319e6 Modified HTML reader to skip a newline following a <br> tag. Otherwise the newline will be treated as a space at the beginning of the next line. fiddlosopher 2007-01-03 20:52:12 +0000
  • ec1be2bdc9 Removed unneeded WRAPPER_ARGS and WRAPPEE_ARGS variables from src/wrappers/common.sh. fiddlosopher 2007-01-03 18:46:30 +0000
  • a8a0dd8766 Cleaned up and improved Makefile target for wrappers. fiddlosopher 2007-01-03 17:22:55 +0000
  • d262d163ed Improved Makefile 'wrappers' target. (Previously, it would build all wrappers corresponding to src/wrappers/*.in. Now, it will only build wrappers in WRAPPERS. This might be useful if we decide to have 'hsmarkdown' be a wrapper on Windows and a symlink on unix.) fiddlosopher 2007-01-03 17:10:26 +0000
  • bd31474d98 Improved test-markdown target in Makefile: + Use 'hsmarkdown' instead of building 'pandoc-strict' (which was a hack, and didn't work on Windows machines, anyway, due to the line ending problem) + Put top-level directory in path before running the test script, so that hsmarkdown can find 'pandoc' even if it hasn't been installed. fiddlosopher 2007-01-02 21:30:07 +0000
  • b9eeba9aa2 Modified 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 2007-01-02 07:37:42 +0000
  • 17be8bc257 CSS changes for website. fiddlosopher 2007-01-02 06:43:16 +0000
  • bcc608f3fd Fixed a bug in website generation, which only worked if 'pandoc' and the wrappers had been installed. fiddlosopher 2007-01-02 05:02:01 +0000
  • 339fcbbb46 Added fuller package descriptions to debian/control. fiddlosopher 2007-01-02 04:23:39 +0000
  • f4713cfc3e Moved hsmarkdown to src/wrappers/hsmarkdown.in, so it works with our existing build process. There's no harm in having it be a template, even though there's nothing to fill it. fiddlosopher 2007-01-02 03:02:27 +0000
  • 5387ebd8db Added 'hsmarkdown' wrapper, designed to be used as a drop-in replacement for Markdown.pl. It calls pandoc with the options '--from markdown --to html --strict' and disallows other options. (Any command-line options will be interpreted as arguments.) fiddlosopher 2007-01-02 02:58:54 +0000
  • 89f2468f38 Added package URL to Pandoc.cabal.in. fiddlosopher 2007-01-02 01:43:41 +0000
  • b4160380d8 Documented change of 'HtmlEntities' to 'Entities' in changelog. fiddlosopher 2007-01-02 00:41:41 +0000
  • d4454536f0 Change 'HtmlEntities' module to 'Entities'. Adjusted calling code accordingly. fiddlosopher 2007-01-02 00:40:12 +0000
  • 4e5745134a Use entities for all characters above 127 in docbook output. Though XML tools should support unicode, some people will be using SGML tools, and these do not. Using entities makes the docbook files more portable. fiddlosopher 2007-01-02 00:29:22 +0000
  • 2716943855 Changed representation of code blocks to use <screen> and escaped characters rather than <programlisting> and CDATA. Reason: XML source more easily editable and readable. fiddlosopher 2007-01-01 22:07:19 +0000
  • ae869a092a Changed description in debian/control to include docbook writer. fiddlosopher 2007-01-01 21:49:52 +0000
  • b9a348338b Inserted a needed slash in the Makefile, after $(osx_pkg_name), which is the name of a directory! fiddlosopher 2007-01-01 21:34:50 +0000
  • c27d8adc78 Modified changelog to bring up to date. fiddlosopher 2007-01-01 21:20:55 +0000
  • a734aaf2ae Removed a line that was causing a compiler warning in docbook writer. The line isn't necessary, since we have a case for every kind of block element. fiddlosopher 2007-01-01 21:11:47 +0000
  • 2f764a25f8 Added docbook writer to list of exposed modules in Pandoc.cabal.in. fiddlosopher 2007-01-01 21:09:38 +0000
  • a9e32505de Merged changes from docbook branch since r363. fiddlosopher 2007-01-01 21:08:12 +0000
  • 0c6c5d528b Refactored fillTemplates.pl. fiddlosopher 2007-01-01 01:35:29 +0000
  • e9abe72a27 Added a note to pandoc(1) man page about the differences between standard markdown and Pandoc's markdown-variant. fiddlosopher 2006-12-31 19:41:44 +0000
  • 0d182772f9 Revised inline code parsing in Markdown reader to conform to Markdown.pl. Now any number of 's can begin inline code, which will end with the same number of 's. For example, to have two backticks as code, write `` `` fiddlosopher 2006-12-31 19:22:02 +0000
  • 7f7b456d96 Documented makefile targets in INSTALL. fiddlosopher 2006-12-31 19:12:53 +0000
  • 8b3ac98171 Simplified list parsing code in RST reader. fiddlosopher 2006-12-31 18:14:51 +0000
  • df980b899d Added instructions for using the GHC profiler. fiddlosopher 2006-12-31 17:53:44 +0000
  • 3f5194b3bf Cleaned up some code in RST reader. fiddlosopher 2006-12-31 17:34:26 +0000
  • 0b6dc98a0a Changed Markdown reader so that the first pass, in which a list of reference keys is made, is much faster. This gets us a big performance boost. fiddlosopher 2006-12-31 17:34:06 +0000
  • 83cddbc682 Removed unneeded 'do' block from 'parseBlocks' definition in Markdown reader. fiddlosopher 2006-12-31 16:46:48 +0000
  • 68122303c0 Changed 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 2006-12-31 01:12:01 +0000
  • cf53a18bc1 Documented the "blank line before header and block quote" discrepancy between standard markdown and pandoc. fiddlosopher 2006-12-30 23:19:14 +0000
  • c3bad6e89e Updates to changelog for --strict option and other changes from the last revision. fiddlosopher 2006-12-30 22:57:40 +0000
  • 4ea1b2bdc0 Merged '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 2006-12-30 22:51:49 +0000
  • 7cd9db048b Slight changes in website target: + history.html -> changelog.html + demo.html -> examples.html + Added title to changelog.html + Removed header div on html pages + Changed widths in css fiddlosopher 2006-12-29 22:51:05 +0000
  • 08fa385d80 Changed date on README. fiddlosopher 2006-12-29 21:49:31 +0000
  • 787140069b Print command-line to stderr when making demo page. fiddlosopher 2006-12-29 21:48:56 +0000
  • 369b99513d Make wrappers executable in the top-level directory, in case people want to try them in place without installing. fiddlosopher 2006-12-29 21:41:09 +0000
  • 3c9fd01ad8 + Renamed web/demos.sh to mkdemos.sh + Added parameter for directory containing executables + Changed arithmetic statement for portability. + Modified Makefile accordingly. fiddlosopher 2006-12-29 21:25:13 +0000
  • 96c614083e Minor changes to changelog. fiddlosopher 2006-12-29 20:25:54 +0000
  • cd54d015bf Modified changelog to bring up to date. fiddlosopher 2006-12-29 19:45:59 +0000
  • c6bdfe8485 Revised uninstall-pandoc with new wrapper names. fiddlosopher 2006-12-29 19:32:54 +0000
  • 3491420b53 + Changed 'web2markdown' to 'html2markdown'. fiddlosopher 2006-12-29 18:50:13 +0000
  • eea359203a Reversed changes from r246: + Removed invisible anchors in front of header tags in HTML output. Reason: no way to prevent duplicate ID attributes (which is invalid HTML), since there might be duplicate header titles. See http://six.pairlist.net/pipermail/markdown-discuss/2005-January/000975.html. fiddlosopher 2006-12-29 08:04:39 +0000
  • 17837b343b Added two more demo cases to website. Put a footnote in README for demonstration purposes. fiddlosopher 2006-12-28 07:22:41 +0000
  • 2d253cadd3 Added a latex -> markdown case to demos. fiddlosopher 2006-12-28 06:58:04 +0000
  • 2933f9f5e7 Added another demo case, with header and footer and css. fiddlosopher 2006-12-28 06:48:16 +0000
  • 5468e76a7e Added "Demos" page to the website. fiddlosopher 2006-12-28 06:40:21 +0000