John MacFarlane
1e45bb0041
LaTeX reader: allow spaces around \graphicspath
arguments.
...
Closes #4698 .
2018-06-12 09:25:42 -07:00
Alexander Krotov
b6305a63cd
FB2 writer: convert Plain to Para in annotation
...
Address #2424
2018-06-12 15:32:30 +03:00
Alexander Krotov
54d16545c9
FB2 writer: fix order of items in title-info
...
Address issue #2424
2018-06-12 14:48:52 +03:00
John MacFarlane
8b4728e284
Use latest pandoc-types (1.17.5).
2018-06-11 11:05:48 -07:00
John MacFarlane
a41222db3e
Adjust command test not to use echo.
...
This is fraught on Windows.
2018-06-11 10:53:56 -07:00
John MacFarlane
158344d26d
Allow aeson-1.4.
2018-06-10 10:24:12 -07:00
John MacFarlane
edcfbccf5d
Use skylighting 0.7.2. Adjust tests.
...
This should fix commercialhaskell/stackage#3719 , once
a new release is made.
2018-06-09 13:34:21 -07:00
Felix Yan
9b3d14b6ef
pandoc.lua: fix a typo ( #4692 )
2018-06-08 15:15:36 -07:00
John MacFarlane
c1ae8d00ee
LaTeX writer: properly handle footnotes in table captions.
...
Refactored code from figure captions to use in both places.
Closes #4683 .
2018-06-07 21:30:14 -07:00
Mauro Bieg
905dee6ee3
beamer output: fix single digit column percentage ( #4691 )
...
fixes #4690
2018-06-07 10:50:14 -07:00
Adrian Sieber
9536eb7c79
Add missing re-export of "breezeDark" style ( #4687 )
2018-06-05 09:50:34 -07:00
Felix Yan
cf2d695061
Allow tasty 1.1 ( #4685 )
...
All tests pass with tasty 1.1.0.1 here.
2018-06-03 13:59:47 -07:00
Mauro Bieg
764bf86177
Regression: make --pdf-engine work with full paths ( #4682 )
...
Fixes #4681 .
2018-06-03 13:59:11 -07:00
John MacFarlane
6ea706256d
Support --number-sections in RST output...
...
via the "section-numbering" directive in standalone output.
2018-06-02 21:37:15 -07:00
John MacFarlane
d32e866449
LaTeX reader: handle includes without surrounding blanklines.
...
In addition, `\input` can now be used in an inline context,
e.g. to provide part of a paragraph, as it can in LaTeX.
Closes #4553 .
2018-06-01 09:25:10 -07:00
mb21
0fc7d38544
Muse reader: get rid of non-exhaustive pattern match warning
2018-06-01 15:36:36 +02:00
Alexander Krotov
5fbc981fc2
Muse reader: add support for floating images
2018-05-31 23:31:27 +03:00
John MacFarlane
3181023ca1
Add version bound in custom-setup for Cabal.
2018-05-30 15:12:42 -07:00
Alexander Krotov
1f78efff3b
Muse reader: add support for images with specified width
2018-05-31 01:07:51 +03:00
John MacFarlane
f4b71d94f7
Travis: Added /opt/cabal/bin to path.
2018-05-30 14:30:55 -07:00
kaizhang91
5a0e21b992
Clarify how Ext_east_asian_line_breaks extension works (API docs).
...
Note that it will not take effect when readers/writers are called as libraries (#4674 ).
2018-05-30 13:43:58 -07:00
John MacFarlane
a8e1966857
Fixed cabal versions in travis.
2018-05-30 13:32:51 -07:00
John MacFarlane
efe3575796
Use cabal 2.0 in travis.
2018-05-30 13:17:05 -07:00
John MacFarlane
1e4255ced6
Require cabal-version >= 2.0. This is needed for haddock-library.
2018-05-30 13:16:16 -07:00
John MacFarlane
aff401745c
Revert "ALlow compilation with haddock-library 1.4 and above."
...
This reverts commit 50c71b5bc5
.
This was a bad idea, since tests depend on recent haddock-library.
We'd be able to build but fail tests.
2018-05-30 13:13:57 -07:00
John MacFarlane
50c71b5bc5
ALlow compilation with haddock-library 1.4 and above.
...
haddock-library-1.6 requires Cabal >= 2.0. This change allows
systems with older Cabal versions to build pandoc.
2018-05-30 13:06:44 -07:00
John MacFarlane
7119715a6a
LaTeX reader rawLaTeXBlock
: handle macros that resolve to a...
...
...`\begin` or `\end`.
Fixes #4667 .
2018-05-30 12:49:01 -07:00
John MacFarlane
0dbbf16c3a
LaTeX reader: tighten up reading of beamer overlay specifications.
...
Ideally we'd turn these on only when reading beamer, but currently
beamer is not distinguished from latex as an input format.
This commit also activates parsing of overlay specifications
after commands in general (e.g. `\item`), since they can occur
in many contexts in beamer.
Closes #4669 .
2018-05-30 10:08:51 -07:00
John MacFarlane
252ab9b773
Markdown writer: preserve implicit_figures
with attributes...
...
...even if `implicit_attributes` is not set, by rendering in
raw HTML.
Fixes #4677 .
2018-05-30 09:24:52 -07:00
Alexander Krotov
1100bfc0e6
Muse reader: parse image URLs without "guard" and "takeExtension"
2018-05-30 02:29:43 +03:00
Alexander Krotov
bdf8c01f2c
Muse reader: split link and image parsing into separate functions
2018-05-28 01:24:09 +03:00
Alexander Krotov
91aceeeff3
Muse reader: parse links starting with "URL:" explicitly
...
instead of trying to strip "URL:" prefix after parsing.
2018-05-27 23:58:02 +03:00
Alexander Krotov
6907985e82
Muse reader: test image with space in filename
2018-05-27 22:22:04 +03:00
Yan Pas
c2ae72aa6c
custom ordered lists
2018-05-27 14:09:34 +03:00
Yan Pas
9030c5ae46
nested lists
2018-05-26 23:29:36 +03:00
Yan Pas
1d7c71189a
escape chars in macros
2018-05-26 20:12:41 +03:00
Yan Pas
1ce067fc2a
tests, parsing fixes
2018-05-23 00:20:30 +03:00
Ian
d7164e5c66
Correct the macOS homebrew note ( #4664 )
...
By default for all versions of macOS > 10.10 (released in 2015), homebrew does install binary packages, it does not use source to build. So update note to mention a source build is only an issue for old versions of the OS.
2018-05-20 21:21:55 -07:00
John MacFarlane
81ed7948da
Use haddock-library 1.6.0.
2018-05-20 17:05:23 -07:00
Yan Pas
7f7e1c21e2
lists
2018-05-20 16:47:58 +03:00
Yan Pas
a00323cbbe
links, specialchars
2018-05-20 15:37:15 +03:00
Yan Pas
9e3eba64fd
rename compile to parse, parse to lex
2018-05-20 13:13:06 +03:00
Yan Pas
d8c51ad788
states, code block compiling
2018-05-20 02:54:24 +03:00
John MacFarlane
41b205f4b0
Clarify macos install in INSTALL.md.
...
Make the binary package installer the recommended method, and
note that homebrew installs from source and takes a lot of
disk space.
Closes #4661 .
2018-05-19 16:54:05 -07:00
Yan Pas
533d450507
compiling paragraphs
2018-05-20 01:51:53 +03:00
Yan Pas
6f793b5a63
tokenisation
2018-05-19 23:26:11 +03:00
John MacFarlane
884aef31c5
LaTeX reader: parse more siunitx unit commands.
...
Improves on earlier fix for #4296 .
2018-05-16 15:50:26 -07:00
Albert Krewinkel
48ba3e815f
Custom writer: fix error message on script failure
...
Error messages produced by Lua were not displayed by Pandoc. The writer
was using the bottom-most stack element, while the error message is the
top-most element. This lead to the writer to always show "Lua 5.3" as
error message, disregarding the actual message.
2018-05-16 22:41:54 +02:00
John MacFarlane
58447bba98
rawLaTeXBlock: don't expand macros in macro definitions!
...
Closes #4653 . Note that this only affected LaTeX in markdown.
Added regression test.
2018-05-15 09:19:13 -07:00
John MacFarlane
2936967fa1
Docx writer: be sensitive to toc
in YAML metadata.
...
Closes #4645 .
2018-05-14 11:10:36 -07:00