git.iko.soy/typeable/pandoc
on 206c59a help sign in
206c59aRemoved three files from the repository. These are generated from templates in src/templates, and so should not be in the repository.fiddlosopher 3a6296aChanged footnote syntax to conform to the de facto standard for markdown footnotes. References are now like this[^1] rather than like this^(1). There are corresponding changes in the footnotes themselves. See the updated README for more details.fiddlosopher a8bbd95Changed '--smartypants' to '--smart' and adjusted documentation and symbols accordingly.fiddlosopher cd4a035+ BUGS now contains a link to pandoc's issue tracker at Google Code. + Modified TODO.fiddlosopher 75dbe32Removed a / in a comment that was causing haddock to fail.fiddlosopher 7c319e5Modified markdown reader to allow ordered list items to begin with (single) letters, as well as numbers. The list item marker may now be terminated either by '.' or by ')'. These extensions to standard markdown are documented in README.fiddlosopher 4ab3eb3+ Small changes to Makefile for better handling of Windows executable. + Added windows executable to the website target.fiddlosopher 19bad82Improvements to smart-quote regexs. Now we can better handle cases where latex commands or HTML entity references appear after quotes.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 ba16d6aMakefile now checks to see if we're running Cygwin/Windows; if we are, '.exe' extension is added to each executable in EXECS.fiddlosopher 00fff7dReverted addition of .exe to Windows executables in cabalize. It seems that Cabal does not expect these extensions. Better to handle this in the Makefile.fiddlosopher cc26d7cIn cabalize, add '.exe' extension to executables if we're on Windows/Cygwin.fiddlosopher 1fdafb5Extract version number from src/Main.hs in cabalize and Makefile. The authoritative version number is now in src/Main.hs, with no duplication. (This seems a better solution than building Main.hs from a template.)fiddlosopher 2d653dcMinor change: 'test 4' to 'test 3' in testwrapper.in.fiddlosopher 2b9af0b+ Documented website target in changelog. + Added list of ideas/projects to TODO.fiddlosopher 36a3bb7Revised changelog to reflect changes since r105.fiddlosopher 426cbadMerge changes in branches/wrappers into trunk.roktas 6411ea7In HTML writer, include <title></title> even if title is null.fiddlosopher 6536e64Minor improvements to LaTeX reader: + added nullBlock to preamble parsing, so we can handle unusual things like pure TeX + modified escapedChar to allow a \ at the end of line to count as escaped whitespace + treat "thanks" commands as footnotesfiddlosopher 7384774Refactored LaTeX reader for clarity (added isArg function).fiddlosopher 986c1f9Pandoc bug fixes: + LaTeX reader did not parse metadata correctly. Now the title, author, and date are parsed correctly, and everything else in the preamble is skipped. + Simplified parsing of LaTeX command arguments and options. The function commandArgs now returns a list of arguments OR options (in whatever order they appear). The brackets are included, and a new stripFirstAndLast function is provided to strip them off when needed. This fixes a problem in dealing with \newcommand, etc. + Added a "try" before "parser" in definition of notFollowedBy' combinator. Adjusted the code using this combinator accordingly. + Changed handling of code blocks. Previously, some readers allowed trailing newlines, while others stripped them. Now, all readers strip trailing newlines in code blocks; writers insert a newline at the end of code blocks as needed. + Changed test suite to reflect these changes.fiddlosopher e417ceaModified INSTALL instructions to emphasize that GNU make is required, and that it goes by the name 'gmake' on some systems.fiddlosopher 8307734Using hardcoded executable paths in Makefile doesn't work. While GHC 6.6 Cabal builds executables in dist/build/$executable, older Cabal versions use dist/build/src. To cope with this situation: + Revert to old code which determines executable paths dynamically. + Create symlinks to the compiled executables in top directory. Make sure to not touch symlinks once they've been created. + As PROGS variable can now contain symlinks, determine the actual file during installation. + Replace EXECNAMES with EXECS, as the former became a redundant name due to these changes.roktas d5d81b0Modified markdown2pdf to check that input file exists and is readable, and error exit if not.fiddlosopher 8c888eaFixed bug with 'shift' in html2markdown and markdown2pdf.fiddlosopher 79fdbceRemove ' -- ' prefix instead of '--' in passed-through options.fiddlosopher 6fc88e9Changes to man files documenting the ' -- ' option.fiddlosopher ae2a1c2Minor documentation changes (README).fiddlosopher 66676b8Better error messages in markdown2pdf: print only the latex errors, not the whole log file.fiddlosopher 19486ee* Add PANDOC_OPTS support to 'markdown2pdf'.roktas 5a66fa0README changes: + Added documentation for '-- ' in shell scripts. + Added section on ucs.sty and LaTeX.fiddlosopher 574290cModified wrapper scripts to pass all command-line options after -- to pandoc. These options override the environment variable PANDOC_OPTS, if it is set. (Note: these changes don't include changes to the documentation or man pages, or to markdown2pdf.)fiddlosopher 2763382Replace which(1) in all wrappers with 'pathfind', a POSIX-compliant shell function. Expand tabs to four spaces.roktas 8e5f3e6Fix a bug in 'uninstall-exec' target.roktas 3ed8fc8Portability fixes and various cleanups in wrapper scripts: + Fix the tests at the header of wrappers. which(1) doesn't behave as expected on some systems. We should only assume that it's pretty widely available (for example, it's a builtin in csh) and we should only rely on its exit code by ignoring its output. + Replace 'echo -n' with 'printf' as the latter is recommended. + In markdown2pdf script, '--suffix' and '--backup' options of mv(1) appear to be GNU-ism. Apply a workaround. + Wrap some long lines to fit in an 80-column screen. + Remove spaces at the line ends.roktas 69e23afMade wrapper scripts sensitive to PANDOC_OPTS environment variable, which may contain command-line options to be passed to pandoc. + Changed the scripts themselves, including $PANDOC_OPTS after 'pandoc' + Added ENVIRONMENT to man pages for wrappers + Formatting changes to man files + Added description of PANDOC_OPTS to READMEfiddlosopher 668a485Changes to OSX packaging: + Use $(NAME) instead of hard-coded 'Pandoc' for package and dmg names + Create dmg in .. (like debs) + Modified website target to get dmg from ..fiddlosopher fa645eeUse compiled executables directly from their build directory, without copying them to the top directory.roktas caf7e1cFix a serious bug in Makefile. 'make' should recompile when a source file has been modified.roktas 82d7190Fixed two small Haddock comment bugs in Shared.hs.fiddlosopher 3081471Changed first two paragraphs of index.txt to match README.fiddlosopher 05c2566Remove signatures (and emails!) from changelog on web page.fiddlosopher 30734c8+ Changes to osx/Welcome: - removed hardcoded references to /usr/local - added title + Minor changes to website build process.fiddlosopher 30405f3Revisions to website target: + added link for OSX package + minor fixesfiddlosopher 6c87b87Put all website commands into a subshell jail. If any command failed, we would end up with web_dest directory which would have to be removed manually for further attempts. If this looked ugly; as an alternative solution we could change 'website' target as follows:roktas cc14b53Changes for 'website': + Execute $(MAIN) in './' otherwise this would fail if $(MAIN) is not available in PATH. + Make echo off during file checking. + Copy $(deb_main) from parent directory.roktas da1cf6aChanged install.html to INSTALL.html in website; replaced a reference to README.html to INSTALL.html.fiddlosopher 1c9c3acAdded target for creation of website. 'web' directory contains source files for website, which is created in 'web/pandoc'.fiddlosopher