git.iko.soy/typeable/pandoc
on 2deea09 help sign in
2deea09Pandoc package didn't contain 'pandoc' executable. This is because we're using "Simply expanded variables" and PROGS expands before EXECS. Put PROGS after EXECS to fix this bug. As an alternative solution, we could make PROGS -and possibly others- "recursively expanded" variables, but I tend to avoid using that flavour of variables.roktas c113b24Fix the version of Debian packages, it should be "0.3" now.roktas 7fe2018Lintian complains as follows:roktas 54a7700Changed osx-pkg target in Makefile to refer to COPYRIGHT instead of (obsolete) LICENSE.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 cfaf0c1Removed README-WINDOWS. Instead, we'll have the Makefile tailor README to Windows (removing references to the wrappers, for example).fiddlosopher 16708b1Added README-WINDOWS with instructions to be included with the binary distribution of Pandoc. Still to be completed. Perhaps this should also be hidden in a subdirectory eventually.fiddlosopher aa3853fRemoved some stray characters (form feeds?) from COPYING.fiddlosopher 129f259Added to COPYRIGHT a note that the source code is available from the website, and a link. This is necessary for GPL compliance in binary distributions (as far as I can see).fiddlosopher aac442eRemoved TODO. ToDo list now maintained on the Wiki at pandoc's Google Code site. (Also in the repository: wiki/ToDo.wiki.)fiddlosopher d2105f6+ Added regression tests with footnotes in quote blocks and lists. + This uncovered an existing bug in the RTF writer, which got indentation wrong on footnotes occuring in indented blocks like lists. Fixed this bug.fiddlosopher 48b8267Fixed a serious bug in the Markdown reader (also affecting LaTeX and RST readers). The problem: these readers ran 'runParser' on processed chunks of text to handle embedded block lists in lists and quotation blocks. But then any changes made to the parser state in these chunks was lost, as the state is local to the parser. So, for example, footnotes didn't work in quotes or list items.fiddlosopher 862471eFixed two small haddock bugs.fiddlosopher 11cd6e9Added license text to top of source files.fiddlosopher 70d2910Changed 'stability' from 'provisional' to 'alpha'.fiddlosopher 99ffb97Added some extra fields to Pandoc.cabal.in.fiddlosopher 1fded40Changed 'status' in comment headers from 'unstable' to 'provisional' (which seems to be the term that is used in this context).fiddlosopher b98edf2Made javascript obfuscation of emails even more obfuscatory, by combining it with entity obfuscation.fiddlosopher 19a81cbPut notice about the GPL on web page.fiddlosopher dc9c645+ Added module data for haddock. + Reformatted code consistently.fiddlosopher 42d2983Obscured email addresses in documents that will be web-accessible.fiddlosopher 62e2ee1Modified debian/copyright, and made COPYRIGHT in top level a symlink to it, to avoid duplication.fiddlosopher cda0a6dRemoved LICENSE, replacing it with COPYING (text of GPL) and COPYRIGHT (including copyright information and licenses for other packages used). Modified Pandoc.cabal.in and README accordingly.fiddlosopher 48f64f6Cleaned up TODO file.fiddlosopher 5cf769bModified the HTML writer to add invisible anchors to each section heading. The anchors are derived form the text of the section heading as described in README. This makes it easy to insert links that jump from one part of a document to another: for example, '[back to the Introduction](#Introduction)'.fiddlosopher c1ebe94+ Replaced 'comparing' combinator in markdown reader with 'compare'. 'comparing' is from Data.Ord, which is not available in GHC 6.4. + Added line break after </li> in HTML footnote output, for easier inspection of the source.fiddlosopher 34bb7a1Fixed a minor mistake introduced in resolving conflicts from the merge.fiddlosopher 661c7e7Merged changes to footnotes branch r219-r240.fiddlosopher 66da30cAdded 'clean' target to src/templates/Makefile, main Makefile's 'clean' calls it to clean out template-generated files.fiddlosopher 31a956bChanges to build process relating to r234. + Corrected dependencies in Makefiles to ensure that templates get filled when the relevant files are modified. + Changed template placeholders to @xxx@ instead of <xxx>, for consistency with our practice with the Cabal template. + Changed default font for RTF writer (this had been changed earlier, but in the target rather than the template!)fiddlosopher 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