Commit graph

190 commits

Author SHA1 Message Date
Jesse Rosenthal
10238f059b Revert "MANUAL.txt: add information about paragraph insertion/deletion."
This reverts commit 09e132726d.
2018-01-02 11:52:03 -05:00
Jesse Rosenthal
09e132726d MANUAL.txt: add information about paragraph insertion/deletion. 2018-01-02 11:32:48 -05:00
John MacFarlane
0d968c4bbb Small MANUAL tweaks. 2017-12-29 08:41:54 -08:00
mb21
579e32408c MANUAL.txt move fenced_divs down to bracketed_spans 2017-12-29 15:55:08 +01:00
mb21
9cba3d22c4 MANUAL.txt simplify and add more structure 2017-12-29 10:37:14 +01:00
John MacFarlane
346b10392f Update docs on filters. 2017-12-28 16:39:52 -08:00
Richard Edwards
eabb47335a
clarify default html output for --section-divs
In Pandoc v2 using --section-divs and -t html results in <section>s, not <div>s, by default, as was the case for v1.9.
This change to the Manual emphasizes that you must use -t html4 if you want divs, otherwise you get sections.
2017-12-28 15:27:16 -08:00
John MacFarlane
e10864d9d5 Changed format of --list-extensions.
Now the + or - occurs first.
2017-12-28 12:12:22 -08:00
John MacFarlane
cc9e3a9172 Allow --list-extensions to take an optional FORMAT argument.
This lists the extensions set by default for the selected
FORMAT.
2017-12-27 12:25:48 -08:00
John MacFarlane
eb7f65305d Update manual date and man page. 2017-12-27 09:53:16 -08:00
mb21
44e504853f MANUAL.txt introduce dedicated extensions section 2017-12-27 17:11:23 +01:00
John MacFarlane
28b736bf95 latex_macros extension changes.
Don't pass through macro definitions themselves when `latex_macros`
is set.  The macros have already been applied.

If `latex_macros` is enabled, then `rawLaTeXBlock` in
Text.Pandoc.Readers.LaTeX will succeed in parsing a macro definition,
and will update pandoc's internal macro map accordingly, but the
empty string will be returned.

Together with earlier changes, this closes #4179.
2017-12-22 18:03:51 -08:00
John MacFarlane
a848d3e031 Mention JATS output (and input) in MANUAL, README, cabal description. 2017-12-21 22:20:38 -08:00
Mauro Bieg
6ec7e39b4c MANUAL.txt use native syntax for custom-style (#4174) 2017-12-21 12:56:20 -07:00
John MacFarlane
a831a4f469 MANUAL: add note on what formats have +smart by default. 2017-12-14 12:54:37 -08:00
John MacFarlane
d9cdce4281 Markdown reader: always use four space rule for example lists.
It would be awkward to indent example list contents to the
first non-space character after the label, since example
list labels are often long.

Thanks to Bernhard Fisseni for the suggestion.
2017-12-13 10:20:57 -08:00
John MacFarlane
e86c337356 Pipe tables: use full text width for tables with wrapping cells.
Previously we computed the column sizes based on the ratio
between the header lines and the text width (as set by `--columns`).
This meant that tables with very short header lines would be
very narrow. With this change, pipe tables with wrapping cells will
always take up the whole text width. The relative column widths
will still be determined by the ratio of header lines, but they
will be normalized to add up to 1.0.
2017-12-12 15:16:16 -08:00
Thomas Hodgson
166561cc8d Added support for LaTeX pagestyle variable (#4135)
* Add pagestyle support

* Add pagestyle option to MANUAL.txt

* Moved mention of pagestyle to the section on variables
2017-12-11 22:26:16 -07:00
Jesse Rosenthal
1a5e494cb5 Add PowerPoint info to MANUAL and README. 2017-12-11 07:00:17 -05:00
John MacFarlane
ae60e0196c Add empty_paragraphs extension.
* Deprecate `--strip-empty-paragraphs` option.  Instead we now
  use an `empty_paragraphs` extension that can be enabled on
  the reader or writer.  By default, disabled.

* Add `Ext_empty_paragraphs` constructor to `Extension`.

* Revert "Docx reader: don't strip out empty paragraphs."
  This reverts commit d6c58eb836.

* Implement `empty_paragraphs` extension in docx reader and writer,
  opendocument writer, html reader and writer.

* Add tests for `empty_paragraphs` extension.
2017-12-04 14:56:57 -08:00
John MacFarlane
c58ecde937 MANUAL: note on extensions in gfm. 2017-12-04 10:29:27 -08:00
John MacFarlane
3ee85960cb Update man page and MANUAL date. 2017-12-02 18:56:45 -08:00
John MacFarlane
7b8c2b6691 Add --strip-empty-paragraphs option.
This works for any input format.
2017-12-02 15:21:59 -08:00
John MacFarlane
845b6c8670 Added --print-highlight-style option.
This generates a JSON version of a highlighting style, which can be
saved as a .theme file, modified, and used with `--highlight-style`.

Closes #4106.
Closes #4096.
2017-11-28 13:35:49 -08:00
John MacFarlane
90ee678ea6 Update MANUAL date 2017-11-20 16:52:22 -08:00
John MacFarlane
9916f421dc MANUAL: clarify that math extensions work with HTML.
Clarify that `tex_math_dollars` and `tex_math_single_backslash`
will work with HTML as well as Markdown.
2017-11-18 13:58:40 -08:00
John MacFarlane
84907fef15 MANUAL: update date. 2017-11-11 10:26:56 -05:00
Albert Krewinkel
725500bc58
MANUAL: fix header level of "Extension: emoji"
The level of the "Extension: `emoji`" heading is reduced from 5 to 4 to
conform with the other extension headings.
2017-11-09 09:46:54 +01:00
John MacFarlane
5a4c0d6a8c Deprecated ancient HTML math methods.
`--latexmathml`,
`--gladtex`,
`--mimetex`,
`--jsmath`
2017-11-07 13:05:06 -08:00
Mauro Bieg
f0182e1cb5 MANUAL: consolidate math documentation (#4049) 2017-11-07 15:43:36 -05:00
Alexander Krotov
dd2455cb0d s/suppport/support/ 2017-11-06 09:53:10 +03:00
John MacFarlane
4a98b86a78 Update MANUAL date and man page. 2017-11-04 15:52:05 -07:00
John MacFarlane
d31a04dfb2 Clarify that --setext-headers doesn't affect gfm output.
Closes #4035.
2017-11-04 10:35:26 -07:00
John MacFarlane
8a216b00ef Revise clarification on fenced_divs.
(#4039)
2017-11-04 10:30:32 -07:00
Tristano Ajmone
e9c9bf10e2 Manual: Edit "Extension: fenced_divs" (#4039)
Add paragraph at end of `Extension: fenced_divs` section to clarify that the actual number of colons in fences is irrelevant. (See issue #4037).
2017-11-04 13:27:03 -04:00
John MacFarlane
5dfe131ee0 Support lineAnchors (or line-anchors) in code blocks, for HTML. 2017-11-02 16:38:06 -07:00
John MacFarlane
faa1b364e2 Removed reference to default.beamer in docs.
Also added mention of other templates affecting PDF output
with different settings.

Closes #4024.
2017-11-01 17:46:57 -07:00
John MacFarlane
a25843238c Updated date on manual and regenerated man page. 2017-10-31 21:29:31 -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
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
John MacFarlane
e38d8fbec0 Update date on MANUAL.txt 2017-10-27 23:19:37 -07:00
John MacFarlane
d039f231cb Improved documentation about markdown and gfm extensions. 2017-10-27 16:24:08 -07:00
Kolen Cheung
3f0ceaf6ee Use CamelCase for JavaScript for uniformity
other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
2017-10-26 22:43:19 -07:00
John MacFarlane
70288a4e39 Fixed filters doc link 2017-10-26 16:59:16 -07:00
John MacFarlane
7d60e9e0eb Bring MANUAL, README, and pandoc.cabal description in sync. 2017-10-26 16:30:37 -07:00
John MacFarlane
e43408f74e Add creole support to manual. 2017-10-26 16:23:00 -07:00
John MacFarlane
513b16a71b Fenced divs: ensure that paragraph at end doesn't become Plain.
Added test case.
2017-10-24 09:53:29 -07:00
John MacFarlane
fda0c0119f Implemented fenced Divs.
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown).
+ Document fenced_divs extension in manual.
+ Implemented fenced code divs in Markdown reader.
+ Added test.

Closes #168.
2017-10-23 22:45:28 -07:00
John MacFarlane
dc92c34827 Use doctemplates 0.2.1: allows $-- line comments in templates.
Closes #3806.
2017-10-20 22:44:49 -07:00