John MacFarlane
0868e088be
Trypandoc: add man input format.
2018-11-04 09:56:44 -08:00
John MacFarlane
3af988a671
linux/Dockerfile - use resolver lts-12.12.
2018-11-03 21:08:12 -07:00
John MacFarlane
bf17af65a7
Fix bug in linux/Dockerfile.
2018-11-03 20:56:39 -07:00
John MacFarlane
23cd1c77a6
Fix bug in linux/Dockerfile.
2018-11-03 20:55:17 -07:00
John MacFarlane
20c27b6967
Update man/pandoc.1.
2018-11-03 20:55:03 -07:00
John MacFarlane
b8573aab29
Update AUTHORS.md.
2018-11-03 12:48:06 -07:00
John MacFarlane
78c983c5ab
Update changelog.
2018-11-03 12:44:19 -07:00
John MacFarlane
db8ff174e5
Document romanfont, romanfontoptions.
2018-11-03 12:42:36 -07:00
John MacFarlane
0a0da14f35
Update changelog.
2018-11-03 12:41:52 -07:00
OvidiusCicero
6beb1fc28d
LaTeX template: add variable romanfont ( #4665 )
...
This opens up the possibility of setting the romanfont in xelatex/lualatex.
Note that mainfont actually oversets sansfont in headings
2018-11-03 12:41:47 -07:00
John MacFarlane
9d0937180a
Update README.md.
2018-11-03 12:38:03 -07:00
John MacFarlane
be24147d3c
Update man page.
2018-11-03 12:37:30 -07:00
John MacFarlane
c970040c30
Update changelog.
2018-11-03 12:37:15 -07:00
John MacFarlane
7ac9c39996
AsciiDoc writer: prevent illegal nestings.
...
In asciidoc you can only have level n+1 headers directly under
level n headers.
2018-11-03 12:22:01 -07:00
John MacFarlane
2f65263851
AsciiDoc writer: use single-line section headers.
...
The underline style is now deprecated.
Previously `--atx-headers` would enable the single-line
style; now the single-line style is always used.
Closes #5038 .
2018-11-03 12:03:05 -07:00
Alexander Krotov
9a004b86c9
Vimwiki reader: parse Text without converting to [Char]
2018-11-03 10:17:32 -07:00
Alexander Krotov
5686bdfc97
Creole reader: parse Text without converting to [Char]
2018-11-03 10:17:32 -07:00
Alexander Krotov
e5cc24fb61
Make readWithM accept Text input as well as String (API change)
2018-11-03 10:17:32 -07:00
Alexander Krotov
95eccb94b0
Add Text.Pandoc.Shared.ToString typeclass (API change)
2018-11-03 10:16:47 -07:00
Albert Krewinkel
418bd42df8
App: extract output settings into module
2018-11-03 10:07:47 -07:00
Albert Krewinkel
fd3c8cd8c7
App: extract command line options to separate module
2018-11-03 10:07:47 -07:00
John MacFarlane
b826fe7086
Update changelog.
2018-11-03 10:05:54 -07:00
John MacFarlane
2f6e4ba84a
Man reader: table improvements.
2018-11-02 23:38:49 -07:00
John MacFarlane
2843ee960f
Man reader: allow .SS to have blank contents.
2018-11-02 23:38:39 -07:00
John MacFarlane
bcfc66092a
Roff reader: Don't require global table options.
2018-11-02 23:18:08 -07:00
John MacFarlane
30dbd6a981
Roff reader: tbl improvements.
2018-11-02 23:06:50 -07:00
John MacFarlane
9719b0c74c
Roff reader: Handle 'H' modifier after '.TS'.
2018-11-02 22:58:25 -07:00
John MacFarlane
d18d9623b1
Roff reader: conditionals: allow .\} to end group.
2018-11-02 22:50:18 -07:00
John MacFarlane
65129f33fd
Roff reader: reinstate column check for macros.
...
If .TS occurs in a table cell, this shouldn't
start a table.
We make an exception for the line after .if or .ie.
2018-11-02 22:42:58 -07:00
Yan Pashkovsky
43a0734f62
table tests
2018-11-02 22:42:51 -07:00
John MacFarlane
165e3bfffc
Roff reader: another fix for conditionals.
2018-11-02 21:55:22 -07:00
John MacFarlane
8ee69c230b
Roff reader: fixed small issue with conditionals.
2018-11-02 21:43:02 -07:00
John MacFarlane
805b9f8a12
Roff reader: Improved handling of custom strings as arguments.
...
Added test.
2018-11-02 21:35:49 -07:00
John MacFarlane
e95aeeafb8
Roff reader: expand strings in font commands.
...
Closes #5039 .
2018-11-02 21:25:52 -07:00
John MacFarlane
aca87bb379
Revert "Revert "Revert "Roff reader: custom Stream type."""
...
This reverts commit 9a0333e489
.
2018-11-02 20:43:13 -07:00
John MacFarlane
6b7a7adcbf
Fix readWithM with Stream.
2018-11-02 20:26:36 -07:00
John MacFarlane
9a0333e489
Revert "Revert "Roff reader: custom Stream type.""
...
This reverts commit a64063af62
.
2018-11-02 19:48:42 -07:00
John MacFarlane
a64063af62
Revert "Roff reader: custom Stream type."
...
This reverts commit 211f7ffc78
.
We were getting stack overflows. Not sure why.
2018-11-02 18:47:45 -07:00
John MacFarlane
211f7ffc78
Roff reader: custom Stream type.
...
So far, this is just a shell. But it will allow us to
expand macro strings while getting tokens, when we add
a custom uncons instance.
2018-11-02 18:47:27 -07:00
John MacFarlane
c721d28c33
T.P.Parsing: Generalize readWithM to any Char Stream.
...
[API change]
2018-11-02 18:23:46 -07:00
John MacFarlane
9e369e9016
Roff reader: improve lexing of conditionals.
...
Partially addreses #5039 .
2018-11-02 17:23:11 -07:00
John MacFarlane
e01ca77313
grofftest.sh - set resource path more appropriately.
2018-11-02 17:22:56 -07:00
John MacFarlane
c71fbb18e1
Improve test/grofftest.sh.
...
Use --resource-path.
Use iconv for latin1 man pages.
Recurse into subdirectories.
2018-11-02 10:59:38 -07:00
John MacFarlane
c0e0ef12cf
Update manual date and man page.
2018-11-01 21:56:41 -07:00
John MacFarlane
563b1011b5
Text.Pandoc.App: improved detection of format based on extension.
...
We now ensure that if someone tries to convert a file
for a format that has a pandoc writer but not a reader,
it won't just default to markdown.
2018-11-01 21:24:57 -07:00
John MacFarlane
e10d5b3d5b
Change 'groff' -> 'roff'.
...
These formats (man, ms) are not groff-specific.
2018-11-01 16:46:43 -07:00
John MacFarlane
26341c1632
Implement --ascii for Markdown writer.
2018-11-01 16:31:04 -07:00
John MacFarlane
f379edc4ad
HTML writer: use character entities references when possible for HTML5.
2018-11-01 16:08:27 -07:00
John MacFarlane
5350ce26b4
Text.Pandoc.XML: add toHtml5Entities.
...
[API change]
2018-11-01 15:59:59 -07:00
Mauro Bieg
614b1c0c61
MANUAL: clarify LaTeX image dimensions output
2018-11-01 14:15:09 -07:00