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
John MacFarlane
2b89aaf04d
Make internal links work in ODT/OpenDocument.
...
This adds proper bookmarks to the headers with non-null IDs.
Closes #4358 .
2018-05-14 10:37:46 -07:00
John MacFarlane
933aa3ee84
Require texmath >= 0.11.
...
Although pandoc compiles with 0.10, the tests assume texmath 0.11.
Closes #4651 .
2018-05-14 10:07:13 -07:00
John MacFarlane
f240adfc13
EPUB writer: properly escape pagetitle.
...
Previously we weren't escaping `&` and other XML characters
in the pagetitle, so a title containing a `&` would be invalid.
2018-05-12 09:31:15 -07:00
Yan Pas
b0b41cbbe6
Merge branch 'master' into groff_reader
2018-05-12 11:42:39 +03:00
John MacFarlane
a00ca6f0d8
Removed inadvertently added .orig files from repository.
...
These were added by
96d10c72cc
Closes #4648 .
2018-05-11 17:10:32 -07:00
John MacFarlane
9b92993a0a
Dockerfile fixes.
...
Note that stack no longer provides a static binary, so we
use an older one from their GitHub releases.
2018-05-11 11:46:39 -07:00
John MacFarlane
6eec21e8cb
Update changelog.
2018-05-10 21:48:38 -07:00
John MacFarlane
3016a9f9df
Update version on man page.
2018-05-10 21:46:24 -07:00
John MacFarlane
ebb60075f5
Bump version to 2.2.1.
2018-05-10 21:45:29 -07:00
John MacFarlane
32ef6f91fd
Update manual date and man page.
2018-05-10 21:44:32 -07:00
John MacFarlane
37d2a75b05
Update changelog.
2018-05-10 21:35:32 -07:00
John MacFarlane
c3d2572c5f
Use texmath-0.11.
2018-05-10 12:10:35 -07:00
Mauro Bieg
b502056104
MANUAL: clarify pipe table width calculation ( #4630 )
...
closes #4520
2018-05-09 21:05:23 -07:00
Albert Krewinkel
d30fbc2879
Org reader: fix image filename recognition
...
Use a function from the *filepath* library to check whether a string is
a valid file name. The custom validity checker that was used before gave
wrong results, e.g. for absolute file paths on
Windows (kawabata/ox-pandoc#52 ).
2018-05-09 23:08:53 +02:00
John MacFarlane
0eee6368d3
Update changelog.
2018-05-09 11:46:47 -07:00
John MacFarlane
b7356d3ddf
Restored and undeprecated gladtex for HTML math.
...
- Added `GladTeX` constructor to `Text.Pandoc.Options.HTMLMathMethod`
[API change, reverts removal in v2.2]
- Restored and undeprecated `--gladtex` option, removed in v2.2.
Closes #4607 .
2018-05-09 11:29:20 -07:00
Yan Pas
ad19166bc3
fix build and tests
2018-05-09 20:40:37 +03:00
John MacFarlane
d3be567a73
Fix regression with tex math environments in HTML + MathJax.
...
Closes #4639 .
2018-05-09 10:37:04 -07:00
John MacFarlane
81881ce470
Parsing: Lookahead for non-whitespace after single/double quote start.
...
Closes #4637 .
2018-05-09 10:00:34 -07:00
Yan Pashkovsky
a337685fe0
Merge branch 'master' into groff_reader
2018-05-09 19:48:34 +03:00
Yan Pas
8e9973b9f7
remove debug code
2018-05-09 19:32:50 +03:00
Yan Pas
34f9ac9dbf
codeblock handling
2018-05-09 19:25:24 +03:00
Yan Pas
83902ffdb2
links, paragraphs, codeblocks
2018-05-09 17:12:59 +03:00
John MacFarlane
5f33d2e0cd
Another try at test-pandoc-utils.lua on windows.
2018-05-08 22:32:44 -07:00
John MacFarlane
691f38f3d6
test-pandoc-utils.lua - add diagnostic for windows test.
2018-05-08 22:08:23 -07:00
Yan Pas
c1617565fc
basic manfile parsing
2018-05-09 03:24:45 +03:00
John MacFarlane
9f2af30c06
More adjustments to test-pandoc-utils.lua.
...
We need to find something that will work on windows.
2018-05-08 12:28:12 -07:00