@@ -14,44 +14,69 @@ pandoc (0.3) unstable; urgency=low
1414
1515 * Refactored template processing (fillTemplates.pl).
1616
17− * Modified wrapper scripts to make them more robust.
18−
1917 * Modified wrapper scripts to make them more robust and portable.
2018 To avoid code duplication and ensure consistency, wrappers are
2119 generated via a templating system from templates in src/wrappers.
22− + New command line convention allows options to be passed to
23− pandoc, as follows:
24− 1st form: input files specified
25− <wrapper> [wrapper_arg...] input_files... [pandoc_option...]
26− 2nd form: using STDIN, no input file is specified
27− <wrapper> [wrapper_arg...] -- [pandoc_option...]
28− 3rd form: input files specified, optional '--'
29− <wrapper> [wrapper_arg...] input_files... -- [pandoc_option...]
30− + All wrappers except 'html2markdown' and 'latex2markdown' now
31− accept multiple filenames.
32− + getopts shell builtin is used for portable option parsing.
20+ + Wrappers now accept multiple filenames, when appropriate.
3321 + Spaces and tabs allowed in filenames.
22+ + getopts shell builtin is used for portable option parsing.
3423 + Improved html2markdown's web grabber code, making it more robust,
35− configurable and verbose. Added '-e', '-n', '-g' options.
24+ configurable and verbose. Added '-e', '-g' options.
3625 Possible use case:
37− # Use wget by setting timeout to 10 seconds and limit retries
38− to 2. html2markdown -g 'wget --timeout=10 --tries=2'
39− + Added tests for wrappers' processing of command line arguments.
40−
41− * Added '-o' option to markdown2pdf.
26+ # Use wget by setting timeout to 10 seconds and limit retries to 2.
27+ html2markdown -g 'wget --timeout=10 --tries=2'
4228
4329 [ John MacFarlane ]
4430
45− * Revised RTF writer:
46− + Default font is now Helvetica.
47− + An \f0 is added to each \pard, so that font resizing works correctly.
31+ * Changes in pandoc options:
32+ + Allow options to follow or precede arguments.
33+ + Changed '--smartypants' to '--smart' and adjusted symbols accordingly.
34+ + Added '-o/--output' option to send output to a file.
35+ + Added '-d/--debug' option:
36+ - Prints OUTPUT= followed by output filename (or blank) to stderr.
37+ - Prints INPUT= followed by input filename, for each input file (if any).
38+ - Sends output to STDOUT, even if output file was specified.
39+ - This is intended mainly to make it easier to write wrappers.
40+ + Modified '-v' and '-h' output to go to STDERR, not STDOUT, and return
41+ error condition (2). This is helpful for writing wrappers.
42+ + Reformatted usage message so that it doesn't wrap illegibly.
43+ + Removed extra blanks after '-h' and '-D' output.
44+ + Added copyright message to '-v' output, modeled after FSF messages.
45+
46+ * Added implicit setting of input and output format based on input
47+ and output filename extensions. This is documented in pandoc(1)
48+ man page and README.
49+
50+ * Extensions to markdown reader:
51+ + Allow ordered list items to begin with (single) letters, as well
52+ as numbers. The list item marker may now be terminated either by
53+ '.' or by ')'. These extensions to standard markdown are documented
54+ in README.
55+ + Added supportfor footnotes in markdown reader. (See README for
56+ details on syntax. Both reference and inline footnotes are
57+ supported.)
58+
59+ * Bug fixes:
60+ + Fixed a serious bug in the markdown reader (also affecting LaTeX
61+ and RST readers). These readers ran 'runParser' on processed chunks
62+ of text to handle embedded block lists in lists and quotation blocks.
63+ But then any changes made to the parser state in these chunks
64+ was lost, as the state is local to the parser. So, for example,
65+ footnotes didn't work in quotes or list items. The fix: instead of
66+ calling runParser on some raw text, use setInput to make it the input,
67+ then parse it, then use setInput to restore the input to what it was
68+ before. This is shorter and more elegant, and it fixes the problem.
69+ + Fixed bug in notFollowedBy' combinator (adding 'try' before 'parser').
70+ Adjusted code that uses this combinator accordingly.
71+ + Fixed bug in RTF writer that caused improper indentation on
72+ footnotes occurring in indented blocks like lists.
4873
49− * Fixed handling of dashes in LaTeX writer:
50− + Recognize a double hyphen as an Em-dash, even when it occurs next
51− to punctuation (e.g. a quotation mark).
52− + Collapse space around Em-dashes.
53− + Process quotes before dashes. This way (foo -- 'bar') will turn into
54− (foo---`bar') instead of (foo---'bar').
74+ * Made handling of code blocks more consistent. Previously, some
75+ readers allowed trailing newlines, while others stripped them.
76+ Now, all readers strip trailing newlines in code blocks. Writers
77+ insert a newline at the end of code blocks as needed.
78+
79+ * Modified readers to make spacing at the end of output more consistent.
5580
5681 * Minor improvements to LaTeX reader:
5782 + Fixed parsing of metadata. Now the title, author, and date
@@ -66,43 +91,81 @@ pandoc (0.3) unstable; urgency=low
6691 when needed. This fixes a problem in dealing with \newcommand
6792 and \newenvironment.
6893
69− * Fixed bug in notFollowedBy' combinator (adding 'try' before 'parser').
70− Adjusted code that uses this combinator accordingly.
71−
72− * Made handling of code blocks more consistent. Previously, some
73− readers allowed trailing newlines, while others stripped them.
74− Now, all readers strip trailing newlines in code blocks. Writers
75− insert a newline at the end of code blocks as needed.
94+ * Revised RTF writer:
95+ + Default font is now Helvetica.
96+ + An \f0 is added to each \pard, so that font resizing works correctly.
7697
77− * Changed HTML writer to include title block in header even
78− when title is null.
98+ * Improved handling of smart quotes in HTML and LaTeX writers, to
99+ handle cases where latex commands or HTML entity references appear
100+ after quotes.
79101
80− * Revised pandoc wrapper scripts to pipe output (as well as input)
81− through iconv.
102+ * Fixed handling of dashes in LaTeX writer:
103+ + Recognize a double hyphen as an Em-dash, even when it occurs next
104+ to punctuation (e.g. a quotation mark).
105+ + Collapse space around Em-dashes.
106+ + Process quotes before dashes. This way (foo -- 'bar') will turn into
107+ (foo---`bar') instead of (foo---'bar').
82108
83− * Added osx-pkg and osx-dmg targets to Makefile:
84− + osx-pkg creates a Mac OS X package (directory); osx-dmg creates a
85− compressed disk image containing the package.
109+ * Changes in HTML writer:
110+ + Include title block in header even when title is null.
111+ + Add line break after </li> in HTML footnote output, for easier
112+ inspection of the source.
113+ + Made javascript obfuscation of emails even more obfuscatory,
114+ by combining it with entity obfuscation.
115+
116+ * Changed default ASCIIMathML text color to black.
117+
118+ * Test suite:
119+ + Added --strip-trailing-cr option to diff in runtests.pl, for
120+ compatibility with Windows.
121+ + Added regression tests with footnotes in quote blocks and lists.
122+
123+ * Makefile changes:
124+ + osx-pkg target creates a Mac OS X package (directory)
125+ + osx-dmg target creates a compressed disk image containing the package.
86126 + New osx directory contains files needed for construction
87127 of the package.
128+ + win-pkg target creates Windows binary package.
129+ + tarball target creates distribution source tarball.
130+ + website target generates pandoc's website automatically, including
131+ demos.
132+ + Makefile checks to see if we're running Windows/Cygwin; if so,
133+ a '.exe' extension is added to each executable in EXECS.
88134
89− * Added website target to generate pandoc's website automatically.
135+ * Removed all wrappers except markdown2pdf and html2markdown.
90136
91137 * Added code to html2markdown that tries to determine the character
92138 encoding of an HTML file, by parsing the "Content-type" meta tag.
93139 + If the encoding can't be determined, then if the content is local,
94140 the local encoding is used; if it comes from a URL, UTF-8 is used
95141 by default.
142+ + If input is from STDIN, don't try to determine character encoding.
96143 + Encoding can be specified explicitly using '-e' option.
97144
98− * Improved warning messages:
145+ * Improved warning messages in wrappers:
99146 + Print warning if iconv not available
100147 + More user-friendly error messages in markdown2pdf, when
101148 pdflatex fails.
102149
150+ * Code cleanup:
151+ + Removed 'BlockQuoteContext' from ParserContext, as it isn't
152+ used anywhere.
153+ + Refactored LaTeX reader for clarity (added isArg function).
154+ + Converted some CR's to LF's in src/ui/default/print.css.
155+ + Added license text to top of source files.
156+ + Added module data for haddock to source files.
157+ + Reformatted code for consistency.
158+
103159 * Rewrote documentation and man pages. Split README into INSTALL
104160 and README.
105161
162+ * Split LICENSE into COPYING and COPYRIGHT.
163+
164+ * Removed TODO, since we now maintain ToDo on the wiki.
165+
166+ * Made COPYRIGHT in top level a symlink to debian/copyright, to avoid
167+ duplication.
168+
106169 -- Recai Oktaş <roktas@debian.org> Tue, 12 Dec 2006 07:48:30 +0300
107170
108171pandoc (0.2) unstable; urgency=low