@@ -14,44 +14,69 @@ pandoc (0.3) unstable; urgency=low
15 * Refactored template processing (fillTemplates.pl).
15 * Refactored template processing (fillTemplates.pl).
17− * Modified wrapper scripts to make them more robust.
19 * Modified wrapper scripts to make them more robust and portable.
17 * Modified wrapper scripts to make them more robust and portable.
20 To avoid code duplication and ensure consistency, wrappers are
18 To avoid code duplication and ensure consistency, wrappers are
21 generated via a templating system from templates in src/wrappers.
19 generated via a templating system from templates in src/wrappers.
22− + New command line convention allows options to be passed to
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.
20+ + Wrappers now accept multiple filenames, when appropriate.
32− + getopts shell builtin is used for portable option parsing.
33 + Spaces and tabs allowed in filenames.
21 + Spaces and tabs allowed in filenames.
22+ + getopts shell builtin is used for portable option parsing.
34 + Improved html2markdown's web grabber code, making it more robust,
23 + 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.
36 Possible use case:
25 Possible use case:
37− # Use wget by setting timeout to 10 seconds and limit retries
26+ # Use wget by setting timeout to 10 seconds and limit retries to 2.
38− to 2. html2markdown -g 'wget --timeout=10 --tries=2'
27+ html2markdown -g 'wget --timeout=10 --tries=2'
39− + Added tests for wrappers' processing of command line arguments.
41− * Added '-o' option to markdown2pdf.
43 [ John MacFarlane ]
29 [ John MacFarlane ]
45− * Revised RTF writer:
31+ * Changes in pandoc options:
46− + Default font is now Helvetica.
32+ + Allow options to follow or precede arguments.
47− + An \f0 is added to each \pard, so that font resizing works correctly.
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.
46+ * Added implicit setting of input and output format based on input
47+ and output filename extensions. This is documented in pandoc(1)
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
55+ + Added supportfor footnotes in markdown reader. (See README for
56+ details on syntax. Both reference and inline footnotes are
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.
49− * Fixed handling of dashes in LaTeX writer:
74+ * Made handling of code blocks more consistent. Previously, some
50− + Recognize a double hyphen as an Em-dash, even when it occurs next
75+ readers allowed trailing newlines, while others stripped them.
51− to punctuation (e.g. a quotation mark).
76+ Now, all readers strip trailing newlines in code blocks. Writers
52− + Collapse space around Em-dashes.
77+ insert a newline at the end of code blocks as needed.
53− + Process quotes before dashes. This way (foo -- 'bar') will turn into
78+
54− (foo---`bar') instead of (foo---'bar').
79+ * Modified readers to make spacing at the end of output more consistent.
56 * Minor improvements to LaTeX reader:
81 * Minor improvements to LaTeX reader:
57 + Fixed parsing of metadata. Now the title, author, and date
82 + Fixed parsing of metadata. Now the title, author, and date
@@ -66,43 +91,81 @@ pandoc (0.3) unstable; urgency=low
66 when needed. This fixes a problem in dealing with \newcommand
91 when needed. This fixes a problem in dealing with \newcommand
67 and \newenvironment.
92 and \newenvironment.
69− * Fixed bug in notFollowedBy' combinator (adding 'try' before 'parser').
94+ * Revised RTF writer:
70− Adjusted code that uses this combinator accordingly.
95+ + Default font is now Helvetica.
71−
96+ + An \f0 is added to each \pard, so that font resizing works correctly.
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.
77− * Changed HTML writer to include title block in header even
98+ * Improved handling of smart quotes in HTML and LaTeX writers, to
78− when title is null.
99+ handle cases where latex commands or HTML entity references appear
80− * Revised pandoc wrapper scripts to pipe output (as well as input)
102+ * Fixed handling of dashes in LaTeX writer:
81− through iconv.
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').
83− * Added osx-pkg and osx-dmg targets to Makefile:
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.
116+ * Changed default ASCIIMathML text color to black.
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.
84− + osx-pkg creates a Mac OS X package (directory); osx-dmg creates a
124+ + osx-pkg target creates a Mac OS X package (directory)
85− compressed disk image containing the package.
125+ + osx-dmg target creates a compressed disk image containing the package.
86 + New osx directory contains files needed for construction
126 + New osx directory contains files needed for construction
87 of the package.
127 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
132+ + Makefile checks to see if we're running Windows/Cygwin; if so,
133+ a '.exe' extension is added to each executable in EXECS.
89− * Added website target to generate pandoc's website automatically.
135+ * Removed all wrappers except markdown2pdf and html2markdown.
91 * Added code to html2markdown that tries to determine the character
137 * Added code to html2markdown that tries to determine the character
92 encoding of an HTML file, by parsing the "Content-type" meta tag.
138 encoding of an HTML file, by parsing the "Content-type" meta tag.
93 + If the encoding can't be determined, then if the content is local,
139 + If the encoding can't be determined, then if the content is local,
94 the local encoding is used; if it comes from a URL, UTF-8 is used
140 the local encoding is used; if it comes from a URL, UTF-8 is used
95 by default.
141 by default.
142+ + If input is from STDIN, don't try to determine character encoding.
96 + Encoding can be specified explicitly using '-e' option.
143 + Encoding can be specified explicitly using '-e' option.
98− * Improved warning messages:
145+ * Improved warning messages in wrappers:
99 + Print warning if iconv not available
146 + Print warning if iconv not available
100 + More user-friendly error messages in markdown2pdf, when
147 + More user-friendly error messages in markdown2pdf, when
101 pdflatex fails.
148 pdflatex fails.
151+ + Removed 'BlockQuoteContext' from ParserContext, as it isn't
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.
103 * Rewrote documentation and man pages. Split README into INSTALL
159 * Rewrote documentation and man pages. Split README into INSTALL
104 and README.
160 and README.
162+ * Split LICENSE into COPYING and COPYRIGHT.
164+ * Removed TODO, since we now maintain ToDo on the wiki.
166+ * Made COPYRIGHT in top level a symlink to debian/copyright, to avoid
106 -- Recai Oktaş <roktas@debian.org> Tue, 12 Dec 2006 07:48:30 +0300
169 -- Recai Oktaş <roktas@debian.org> Tue, 12 Dec 2006 07:48:30 +0300
108pandoc (0.2) unstable; urgency=low
171pandoc (0.2) unstable; urgency=low