Commit graph

9722 commits

Author SHA1 Message Date
John MacFarlane
1f393f1a8b
Merge pull request #4001 from labdsf/fb2-tests
Add new style FB2 tests
2017-11-01 00:37:29 -04:00
John MacFarlane
0b283252a5 Update changelog. 2017-10-31 21:36:36 -07:00
John MacFarlane
a25843238c Updated date on manual and regenerated man page. 2017-10-31 21:29:31 -07:00
John MacFarlane
8e55bdcaa3 Version to 2.0.1. 2017-10-31 21:28:43 -07:00
John MacFarlane
32f6938605 Properly pass through author metadata in JATS writer.
Closes #4020.
2017-10-31 21:27:08 -07:00
John MacFarlane
fb6e5812bc Fixed regression in parsing of HTML comments in markdown...
and other non-HTML formats (`Text.Pandoc.Readers.HTML.htmlTag`).
The parser stopped at the first `>` character, even if it wasn't
the end of the comment.

Closes #4019.
2017-10-31 21:14:38 -07:00
John MacFarlane
fd7e3cb18f
Merge pull request #4018 from swilde/creole-fixes
Creole Reader: fix lists with triling white space
2017-11-01 00:04:36 -04:00
Sascha Wilde
534e625ace Creole reader: fixed some minor typos and formatting. 2017-10-31 22:33:58 +01:00
Sascha Wilde
03361f0a68 Creole reader: additional test on nowiki-block after para. 2017-10-31 22:26:35 +01:00
John MacFarlane
0e57b8b85d Add Millimeter constructor to Dimension in ImageSize.
Minor API change.

Now sizes given in 'mm' are no longer converted to 'cm'.

Closes #4012.
2017-10-31 11:58:43 -07:00
John MacFarlane
5f9f458df3 LaTeX reader: handle % comment right after command.
For example

    \emph%
    {hi}
2017-10-31 11:31:35 -07:00
Andrew Dunning
b90a0fe3dc Revise documentation of small caps syntax. (#4013) 2017-10-31 14:19:30 -04:00
Andrew Dunning
13e438ec9f Fix broken reference links in manual. (#4014) 2017-10-31 14:18:47 -04:00
John MacFarlane
2a81ff3245 LaTeX/Beamer writer: support "blocks" inside columns and other Divs.
Example:

```

<div class="columns">
<div class="column" width="40%">
- Item
</div>
<div class="column" width="60%">
- Item
</div>
</div>
```

Closes #4016.
2017-10-31 11:07:39 -07:00
John MacFarlane
556c6c2c6d Markdown reader: make sure fenced div closers work in lists.
Previously the following failed:

    ::: {.class}
    1. one
    2. two
    :::

and you needed a blank line before the closing `:::`.
2017-10-31 10:57:20 -07:00
John MacFarlane
81610144f9 Make fenced_divs affect the Markdown writer.
If `fenced_divs` is enabled, fenced divs will be used.
2017-10-31 10:57:20 -07:00
John MacFarlane
1d208babe4 Fixed example of slide columns structure in changelog.
Also documented this feature in MANUAL.txt.

Closes #4015.
2017-10-31 10:57:20 -07:00
Sascha Wilde
fa67d6e86f Creole reader: fixed lists with trailing white space. 2017-10-31 18:55:27 +01:00
Alexander Krotov
a496979c6d FB2 writer: write blocks outside of <p> in definitions 2017-10-31 20:19:00 +03:00
John MacFarlane
3eaa6ff329 Add -linux suffix to linux tarball. 2017-10-30 23:02:45 -07:00
John MacFarlane
a57c7e0fb3 Update changelog. 2017-10-30 22:04:07 -07:00
John MacFarlane
685e952dc6 Bump to 2.0.0.1. 2017-10-30 22:00:57 -07:00
John MacFarlane
c0e51c5710 EPUB writer: fixed filepaths for nonstandard epub-subdirectory values. 2017-10-30 17:43:08 -07:00
John MacFarlane
599d4aa032 EPUB writer fixes:
- Ensure that epub2 is recognized as a non-text format,
  so that a template is used.

- Don't include "prefix" attribute for ibooks for epub2.
  It doesn't validate.

- Fix stylesheet paths; previously we had an incorrect
  stylesheet path for the cover page and nav page.
2017-10-30 17:25:15 -07:00
John MacFarlane
bcf982c083 Linux package build: ensure that pandoc-citeproc is statically linked. 2017-10-30 14:28:21 -07:00
John MacFarlane
cc7f321592 trypandoc: add native. 2017-10-30 14:20:12 -07:00
John MacFarlane
50510c7dc8 Remove hftf from list of authors.
hftf == Ophir Lifshitz
2017-10-30 14:18:28 -07:00
John MacFarlane
90597fe292 LaTeX reader: insert space when needed in macro expansion.
Sometimes we need to insert a space after a control sequence
to prevent it merging with a following letter.

Closes #4007.
2017-10-30 11:51:49 -07:00
John MacFarlane
272b833ad5 Allow unbraced arguments for macros.
See #4007.
2017-10-30 11:35:40 -07:00
John MacFarlane
244b42dbaf Added failing command test for #4007. 2017-10-30 11:04:40 -07:00
John MacFarlane
601a28fd36 Allow body of macro definition to be unbraced.
e.g.

    \newcommand\arrow\to

See #4007.
2017-10-30 10:59:52 -07:00
John MacFarlane
562e92954c Add ms to trypandoc output formats. 2017-10-29 18:31:30 -07:00
John MacFarlane
69df271050 Improved menus for trypandoc. 2017-10-29 17:05:06 -07:00
John MacFarlane
a9adf54b34 Regen man page. 2017-10-29 16:30:48 -07:00
John MacFarlane
4b9c33b50e Makefile: fix version detection. 2017-10-29 16:30:09 -07:00
John MacFarlane
2f5729ddda Changelog format fixes. 2017-10-29 15:33:36 -07:00
John MacFarlane
1e1a7a9b83 Fixed warnings. 2017-10-29 15:19:49 -07:00
John MacFarlane
6a1476e7e2 Export all of Text.Pandoc.Class from Text.Pandoc. 2017-10-29 15:00:49 -07:00
John MacFarlane
e87085016f INSTALL - removed "building the whole pandoc ecosystem."
This is irrelevant now with stack allowing us to depend
on arbitrary git commits.
2017-10-29 14:59:04 -07:00
John MacFarlane
95ccbdaac2 Removed useless notes state in DokuWiki writer. 2017-10-29 14:55:22 -07:00
John MacFarlane
d095b59f70 changelog formatting fix. 2017-10-29 14:54:14 -07:00
John MacFarlane
82d69ddc23 Changelog formatting fix. 2017-10-29 14:50:37 -07:00
John MacFarlane
52ee19a825 Source code reformatting. 2017-10-29 14:29:32 -07:00
John MacFarlane
f270dd9b18 hlint suggestions. 2017-10-29 14:18:06 -07:00
John MacFarlane
e45f2d1e9f Added creole reader test files to pandoc.cabal. 2017-10-29 14:01:39 -07:00
John MacFarlane
271e1fe2f1 More hlint. 2017-10-29 13:19:15 -07:00
John MacFarlane
218d212f30 Makefile: make SOURCEFILES overridable for make lint, make format. 2017-10-29 13:15:09 -07:00
John MacFarlane
80df36350b Add .hlint.yaml 2017-10-29 13:08:22 -07:00
John MacFarlane
9ef4ad2e20 Small reformat. 2017-10-29 13:01:04 -07:00
John MacFarlane
b18dbfe792 Use uncurry. 2017-10-29 12:58:41 -07:00