Commit graph

7590 commits

Author SHA1 Message Date
John MacFarlane
0c201c407c docbook5template: fix namespace declarations (Mauro Bieg). 2016-12-30 20:06:59 -07:00
Mauro Bieg
32cbb8f46d DocBook5 writer: make id attribute xml:id, fixes #3329 (#3330) 2016-12-30 20:03:43 -07:00
Mauro Bieg
9b29a55d9b HTML writer: don't process pars with empty RawInline, fixes #1040 (#3327) 2016-12-24 14:41:54 -07:00
John MacFarlane
8f09a2b010 Travis: add path to happy to path. 2016-12-24 14:41:13 -07:00
Mauro Bieg
0159956f7f markdown reader: disallow space between inline code and attributes (#3326)
closes #3323
2016-12-24 07:34:07 -07:00
John MacFarlane
b872765765 Added happy to travis deb pkgs. 2016-12-23 21:16:17 -07:00
John MacFarlane
9e67e1dedc Updated windows stack.yaml. 2016-12-23 18:10:18 -07:00
John MacFarlane
9d781b1454 Updates to use skylighting rather than highlighting-kate.
So far this just reproduces capacity.

Later we'll be able to add features like warning
messages, dynamic loading of xml syntax definitions,
and dynamic loading of themes.
2016-12-23 18:07:49 -07:00
John MacFarlane
bfb6b61084 Allow directory 1.3. Closes #3325. 2016-12-23 14:14:10 -07:00
Albert Krewinkel
d27188ad30
Org writer: prefix footnote numbers with fn:
Unprefixed numbers where used by older org-mode versions, but are no
longer supported.
2016-12-21 23:51:15 +01:00
ickc
b5ce9635ca MANUAL/README: Fixed broken links (#3316)
MANUAL/README: "groff man" links to groff_man rather than groff

MANUAL/README: Word docx link to wikipedia
2016-12-16 22:03:00 +01:00
John MacFarlane
ee03272883 LaTeX writer: allow tables with empty cells to count as "plain."
This addresses a problem of too-wide tables when empty cells
are used.

Thanks to Joost Kremers for reporting the issue.
2016-12-16 14:03:58 +01:00
John MacFarlane
e8ebc540a3 MANUAL: note that --wrap=auto does not work in HTML output. 2016-12-16 09:13:02 +01:00
John MacFarlane
bbdc0e7542 MANUAL: Default --columns width is 72, not 80. 2016-12-16 09:11:14 +01:00
Albert Krewinkel
69f2734504
CONTRIBUTING: Describe labels currently used in issue tracker
The labels have changed over time, the list of labels is updated to
reflect the current set of labels used in the issue tracker.
2016-12-14 22:11:27 +01:00
hubertp-lshift
a840e41fad Test case for issue #3223 (#3308) 2016-12-13 17:20:10 +01:00
hubertp-lshift
46fa347471 Test case for bug 2752 (#3306) 2016-12-13 14:20:21 +01:00
ickc
3354f5a0ca Speed up Travis (#3304)
* travis: fast_finish

* travis: cabal use `-j` whenever appropriate

* travis: remove stack nightly in osx build to speed up
2016-12-13 14:19:25 +01:00
Jesse Rosenthal
60004cd518 Docx reader: Empty header should be list of lists.
In the past, the docx reader wrote an empty header as an empty list. It
should have the same width as a row (and be filled with empty cells).

(Note that I've reordered the code here slightly to get rid of a call to
`head`. It wasn't unsafe because it tested for null, but it was a bit of
a smell.)
2016-12-13 07:04:40 -05:00
John MacFarlane
7caaa5b2b6 Fix display math with --webtex in markdown output.
Closes #3298.
2016-12-11 17:00:58 +01:00
John MacFarlane
0c029e8258 Moved make_osx_package.sh to osx/ directory. 2016-12-10 22:58:05 +01:00
John MacFarlane
35ff12a569 Updated MANUAL date and man page. 2016-12-10 11:29:58 +01:00
John MacFarlane
abc874be2a Updated changelog. 2016-12-10 11:29:53 +01:00
John MacFarlane
00e83be0cf Version to 1.19.1 2016-12-10 11:29:48 +01:00
John MacFarlane
9b9ec99ee8 We no longer need the MathMLInHTML.js shim from 2004! 2016-12-09 21:18:02 +01:00
Jesse Rosenthal
8ced8cbc6e Docx reader: Ensure one-row tables don't have header.
Tables in MS Word are set by default to have special first-row
formatting, which pandoc uses to determine whether or not they have a
header. This means that one-row tables will, by default, have only a
header -- which we imagine is not what people want. This change
ensures that a one-row table is not understood to be a header only.

Note that this means that it is impossible to produce a header-only
table from docx, even though it is legal pandoc. But we believe that
in nearly all cases, it will be an accidental (and unwelcome) result

Closes #3285.
2016-12-08 07:01:01 -05:00
John MacFarlane
a09f60180f Small tweaks to release checklist. 2016-12-08 12:08:41 +01:00
John MacFarlane
f3cb472f31 Makefile: use stack. 2016-12-08 11:46:40 +01:00
John MacFarlane
1fde7a340b Set PANDOC_VERSION environment variable for filters.
Closes #2640.
2016-12-08 11:09:40 +01:00
John MacFarlane
6708c6a7fc Removed debug trace from HTML reader. 2016-12-08 11:06:50 +01:00
John MacFarlane
afa675b71e Really fixed bash completion this time!
Closes #2749.
2016-12-07 21:18:44 +01:00
John MacFarlane
d5bfa27035 Improved bash-completion for filenames with spaces. 2016-12-07 19:28:24 +01:00
John MacFarlane
b0733190b0 Fixed bash completion for filenames with spaces.
Closes #2749.
2016-12-07 17:37:27 +01:00
John MacFarlane
a197341252 MANUAL: better docs on how to create a custom reference.docx. 2016-12-07 15:39:06 +01:00
John MacFarlane
7ce622475c HTML reader: Understand style=width: as well as width in col.
Closes #3286.
2016-12-07 15:21:01 +01:00
John MacFarlane
65c0e527f8 Fixed tests with dynamic linking.
Closes #2709.
2016-12-07 15:05:30 +01:00
John MacFarlane
0e9c96d28a RST reader: print warnings when keys, substitition, notes not found.
Previously the parsers failed and we got raw text.
Now we get a link with an empty URL, or empty inlines in
the case of a note or substitution.
2016-12-07 13:03:56 +01:00
John MacFarlane
7fbfcb03d8 RST reader: fix hyperlink aliases.
`link <google_>`_

    .. _google: https://google.com

is really a reference link.

Closes #3283.
2016-12-07 12:54:25 +01:00
John MacFarlane
97274c9991 Fixed some bad regressions in HTML table parser.
This regression leads to the introduction of empty rows
in some circumstances.

Closes #3280.
2016-12-06 23:20:28 +01:00
John MacFarlane
41627ed62c Man writer: Ensure that periods are escaped at beginning of line.
Closes #3270.
2016-12-05 00:50:17 +01:00
John MacFarlane
33b4bc8371 Pretty: Added afterBreak.
This makes it possible to insert escape codes for content
that needs escaping at the beginning of a line.
2016-12-05 00:49:53 +01:00
Albert Krewinkel
bfa734c402
LaTeX writer: Fix unnumbered headers when used with --top-level
Fix interaction of top-level divisions `part` or `chapter` with
unnumbered headers when emitting LaTeX.  Headers are ensured to be
written using stared commands (like `\subsection*{}`).

Fixes: #3272
2016-12-04 21:15:52 +01:00
John MacFarlane
85e8afe942 LaTeX template: use correct separator for pdfkeywords.
Needs a comma not a semicolon.

Thanks to Wandmalfarbe.
2016-12-04 21:09:58 +01:00
John MacFarlane
7ace7dd66b Markdown writer: Fixed incorrect word wrapping.
Previously pandoc would sometimes wrap lines too early
due to this bug.

Closes #3277.
2016-12-04 17:13:06 +01:00
Anthony Geoghegan
733b1f3ae2 Minor spelling typos in the manual (#3273)
* Fix spelling typos:

 * hightlight
 * respecitively
 * codeblock – inconsistent with rest of document using “code block”

* Use consistent case for proper nouns.

For example: “ASCII”, “Unicode”, “Latin”, “JavaScript”, “CSS”.
2016-12-03 21:17:27 +01:00
John MacFarlane
3dacf5b5e7 More cosmetic changes to changelog. 2016-12-01 01:07:05 +01:00
John MacFarlane
ddb5a0a68a Reformatting changelog. 2016-12-01 01:00:25 +01:00
John MacFarlane
4e6edd2d0d Update date in manual and man page. 2016-11-30 21:03:17 +01:00
John MacFarlane
e8a9de3f68 Updated changelog. 2016-11-30 17:07:59 +01:00
John MacFarlane
aedd604842 Use pandoc-citeproc 0.10.3 release in stack.yamls for binary pkgs. 2016-11-30 17:03:37 +01:00