Commit Graph
3801 Commits
Author SHA1 Message Date
John MacFarlane 07e8cedf2b Make implicit_header_references work with explicit header ids.
(Markdown reader.)
2013-02-21 19:53:35 -08:00
John MacFarlane 7a97369d01 LaTeX reader: Don't emit empty paragraph.
See #761.
2013-02-20 13:01:50 -08:00
John MacFarlane 3f2dd98f45 LaTeX reader: Parse \section*, etc. as unnumbered sections. 2013-02-20 09:59:31 -08:00
John MacFarlane 5aaead0afa Small spacing change in context template. 2013-02-20 09:59:16 -08:00
John MacFarlane bd0a188cc8 ConTeXt template: Use \placecontent for toc.
Configure it for toc depth.  Thanks to Aditya Mahajan.
2013-02-20 06:38:37 -08:00
John MacFarlane 25988ea3f0 ConTeXt writer: Removed \placecontent.
This produced a duplicate toc, in conjunction with `\placelist`.
2013-02-19 21:57:08 -08:00
John MacFarlane 9453995cbf Allow compilation with blaze-html 0.6. 2013-02-19 18:45:41 -08:00
John MacFarlane 83521c18e9 ConTeXt writer: now sensitive to 'unnumbered' class in headers.
In this case \title, \subject are used instead of \chapter,
\section.
2013-02-18 10:55:08 -08:00
John MacFarlane f9e6433d24 LaTeX template: set secnumdepth to 5 if --number-sections specified.
This yields behavior equivalent to the other writers, numbering
level 4 and 5 headers too.

Closes #753.
2013-02-18 08:50:25 -08:00
John MacFarlane 5e9145bb62 Textile reader: Handle attributes on headers.
Includes `[lang]`, `(class #id)`, `{color:red}` styles.
2013-02-16 18:29:12 -08:00
John MacFarlane 8dd00b93e2 LaTeX writer: Omit lists with no items.
Otherwise we get LaTeX errors.
2013-02-16 17:47:45 -08:00
John MacFarlane eca8c6043b EPUB writer: Fix section numbering.
Previously the numbering restarted from 1 in each chapter
(with `--number-sections`), though the numbers in the table
of contents were correct.

Note that this fix is a bit hackish and possibly fragile:
if the rendering of section numbers in HTML changes in the
future, it may break.  But it works, without needing
changes in other modules.
2013-02-16 17:36:39 -08:00
John MacFarlane 14b64ed46c HTML reader: Preserve all header attributes. 2013-02-16 17:01:44 -08:00
John MacFarlane cc410a71b5 Allow & in emails (for entities).
Added tests for entities in titles and links.
Closes #723.
2013-02-15 23:02:17 -08:00
John MacFarlane 59764fa388 Parsing: uri, email: resolve entities.
A markdown link `<http://g&ouml;ogle.com>` should
be a link to http://göogle.com.
2013-02-15 22:39:49 -08:00
John MacFarlane 5491adbfdb Markdown reader: litChar now includes entities.
We no longer need to use fromEntities on titles.
2013-02-15 20:27:29 -08:00
John MacFarlane 11f7407445 LaTeX writer: Include unnumbered sections in TOC. 2013-02-15 19:23:51 -08:00
John MacFarlane 0d1fa0a763 Implemented "unnumbered" headers in LaTeX writer.
Starred variants of section commands used when header
has "unnumbered" class.
2013-02-14 19:50:11 -08:00
John MacFarlane 90f0dd15b6 HTML writer: Support header attributes.
Note:  The attributes go on the enclosing section or div
if `--section-divs` is specified.

Also fixed a regression (only now noticed) in html+lhs output.
Previously the bird tracks were being omitted.
2013-02-14 19:35:58 -08:00
John MacFarlane cdee226586 hierarchicalize: Do not number section with class "unnumbered".
Unnumbered sections get [] for their section number.
So far only the HTML writer has been adjusted to be sensitive
to this.

If we keep this change, all the writers will need to be changed
either (a) to directly check for the "unnumbered" class, if they
do section numbering themselves, or (b) to check for a null section
number, if they use hierarchicalize.
2013-02-13 08:49:48 -08:00
John MacFarlane 1a22709ff9 Increased upper bound for Diff. 2013-02-13 08:20:02 -08:00
John MacFarlane a50b83266c HTML writer: Refactored adding attributes to html element. 2013-02-12 21:29:17 -08:00
John MacFarlane 6d95984626 Version bump to 1.11, Text.Pandoc.Parsing no longer exposed. 2013-02-12 20:14:43 -08:00
John MacFarlane 5330e63421 Shared: Changed type of Element.
Sec now includes a field for Attr rather than just String
(the identifier).

Note, this is an API change.
2013-02-12 20:13:23 -08:00
John MacFarlane a49ecc9fe7 Markdown reader: Fix title block parsing.
Now if mmd_title_blocks is specified, pandoc will parse a
MMD title block if it sees one, even if pandoc_title_blocks is enabled.
2013-02-12 19:55:37 -08:00
John MacFarlane 86dd9f1576 Merge pull request #748 from sheremetyev/wix-peruser
Install Pandoc per-user on Windows
2013-02-12 19:27:18 -08:00
Fyodor Sheremetyev 7fa4fc1503 WiX: extract upgrade code into a define to avoid duplication. 2013-02-13 00:34:45 +04:00
Fyodor Sheremetyev 6315161ac2 WiX: uninstall any previously installed version. 2013-02-13 00:32:09 +04:00
Fyodor Sheremetyev a65740f776 WiX: add product URL to the installation package metadata. 2013-02-13 00:24:31 +04:00
Fyodor Sheremetyev bf9819585f WiX: remove unused reference to Desktop. 2013-02-13 00:22:15 +04:00
Fyodor Sheremetyev fec852e181 Disable WiX warning LGHT1076 ICE91.
It’s harmless. http://msdn.microsoft.com/en-us/library/aa369053(VS.85).aspx
2013-02-13 00:21:09 +04:00
Fyodor Sheremetyev 1d9d8a6a90 Install Pandoc per-user on Windows. 2013-02-13 00:19:35 +04:00
John MacFarlane 35cc1d99ca Markdown reader: Make backslash escape work in attributes. 2013-02-12 11:27:42 -08:00
John MacFarlane ea9b7a4a52 Markdown reader: Fixed bug parsing key/value attributes.
Parsing failed if you had an unquoted attribute immediately
before the final '}'.
2013-02-12 11:20:36 -08:00
John MacFarlane 0e03962615 LaTeX reader: Parse \hrule as HorizontalRule.
Closes #746.
2013-02-11 17:39:52 -08:00
John MacFarlane 18d490bd38 Added markdown_github as input format. 2013-02-11 17:27:06 -08:00
John MacFarlane e20e8ba4df Updated changelog. 2013-02-10 16:38:00 -08:00
John MacFarlane f4429e4de6 Windows installer improvements.
* Handle upgrades better:  the old version will be removed
  automatically.
* Detect version in batch file, so pandoc.wxs need not be modified
  when the version number changes.
* Create pandoc-VERSION.msi.
2013-02-10 16:25:58 -08:00
John MacFarlane 038af8a1b9 COPYING: Fixed sublist indentation. 2013-02-10 14:09:38 -08:00
John MacFarlane 295486fb71 COPYING - use setext style headers. 2013-02-10 13:59:50 -08:00
John MacFarlane a7470dd1fb Use rtf version of license in osx package. 2013-02-10 13:56:24 -08:00
John MacFarlane 68e7ae101c windows installer: Add start menu entry with link to documentation. 2013-02-10 11:45:43 -08:00
John MacFarlane b86bdb90f7 windows installer: UI with license, etc. 2013-02-09 23:19:55 -08:00
John MacFarlane b0c0ccdb0f Converted COPYING to markdown. 2013-02-09 23:19:06 -08:00
John MacFarlane eb6e8b5c88 Fixed make-windows-installer to use double quotes for path. 2013-02-09 23:01:21 -08:00
John MacFarlane bbfba90980 Removed Inno setup config files. 2013-02-09 21:55:40 -08:00
John MacFarlane 1cb12d42a5 make-windows-installer.bat: Use WiX instead of Inno. 2013-02-09 21:54:29 -08:00
John MacFarlane ddc4287d27 Added pandoc.wxs: definition file for WiX msi generator. 2013-02-09 21:49:50 -08:00
John MacFarlane c6f9d00be2 make_osx_package.sh: Added step to check validity of signature. 2013-02-09 19:35:12 -08:00
John MacFarlane df58bc8212 Added needed sudo to osx package signing. 2013-02-09 19:22:58 -08:00