Commit graph

7699 commits

Author SHA1 Message Date
Albert Krewinkel
4ca420e937
Org reader: accept org-ref citations followed by commas
Bugfix for an issue which, whenever the citation was immediately followed by a
comma, prevented correct parsing of org-ref citations.
2017-01-06 18:22:19 +01:00
Albert Krewinkel
21e6ca1976 Org reader: ensure emphasis markup can be nested
Nested emphasis markup (e.g. `/*strong and emphasized*/`) was
interpreted incorrectly in that the inner markup was not recognized.
2017-01-05 23:30:46 +01:00
tgkokk
f2e3e756f8 MediaWiki reader: Fix quotation mark parsing (#3336)
Change MediaWiki reader's behavior when the smart option is parsed to
match other readers' behavior.

Fix #2012.
2017-01-05 21:24:33 +01:00
John MacFarlane
2d8d735bb7 LaTeX template: allow passing microtypeoptions to microtype.
Thanks to Vaclav Haisman.
2017-01-03 21:04:50 -08:00
John MacFarlane
66fc644ddb Allow aeson 1.1. 2017-01-02 12:13:35 -08:00
Bheesham Persaud
6c1afc0412 Indent code on the installation page. (#3335)
Previously, not all code on the installation page was
highlighted/wrapped in code blocks due to incorrect indentation.
2017-01-01 22:40:43 -07:00
John Muccigrosso
0865168e5a Add '@*' usage (#3333)
* Add '@*' usage

Added to nocite section to add the wildcard functionality.

* Restoring accented characters.

Removed trailing whitespace in new text too.

* Removing unneeded single quotes.
2016-12-31 12:47:28 -07:00
John MacFarlane
dccdd6b7f1 Updated docbook5 writer test for new template. 2016-12-30 23:36:12 -07:00
John MacFarlane
d1e957775a Travis: fix false positives and speed up dist build by avoiding tests. 2016-12-30 21:18:47 -07:00
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