Commit graph

415 commits

Author SHA1 Message Date
John MacFarlane
a97f39c12e Beamer: add allowframebreaks to slide if set in header classes.
It's recommended that your bibliography slide have this
attribute:

    # References {.allowframebreaks}

This causes multiple slides to be created if necessary, depending
on the length of the bibliography.
2013-07-26 12:40:56 -07:00
John MacFarlane
2e5edbb278 Revert "Added --filter option."
This reverts commit 85dacbb282.
2013-07-23 23:17:07 -07:00
John MacFarlane
85dacbb282 Added --filter option.
This makes it easier to use JSON filters.  Instead of
doing

    pandoc -t json | ./filter | pandoc -f json

you can just do

    pandoc --filter ./filter
2013-07-23 23:02:47 -07:00
John MacFarlane
a5df042e28 LaTeX template: Added biblio-style variable.
Closes #920.
2013-07-20 10:53:11 -07:00
David Röthlisberger
df3546068e README: Fix minor typo 2013-07-20 13:02:35 +01:00
John MacFarlane
6c2e76ac61 Added ignore_line_breaks markdown extension.
This causes intra-paragraph line breaks to be ignored,
rather than being treated as hard line breaks or spaces.
This is useful for some East Asian languages, where spaces
aren't used between words, but text is separated into lines
for readability.
2013-07-17 15:38:56 -07:00
John MacFarlane
7d75b913bd LaTeX/Beamer template: Added classoption variable.
This is intended for class options like `oneside`; it may
be repeated with different options.  Thanks to Oliver Matthews.
2013-07-17 15:06:43 -07:00
John MacFarlane
595149a9bc Fixed YAML code block in README. 2013-07-15 19:32:08 -07:00
John MacFarlane
22699a979d Updated authors in README. 2013-07-14 16:12:06 -07:00
John MacFarlane
1de55ecbbd --toc-level no longer implies --toc.
Reason: EPUB users who don't want a visible TOC may still want
to set the TOC level for in the book navigation.
2013-07-03 12:47:35 -07:00
John MacFarlane
3deab5d8e3 Document YAML metadata blocks. 2013-07-02 22:54:36 -07:00
John MacFarlane
3cd62d7c35 Rename Ext_yaml_title_block -> Ext_yaml_metadata_block. 2013-07-02 20:54:30 -07:00
John MacFarlane
dd96213c05 Man writer: give more fine-grained control in template.
Now the `title`, `section`, `header`, and `footer` can all be set
individually in metadata.  The `description` variable has been
removed.

Quotes have been added so that spaces are allowed in the title.

If you have a title that begins

    COMMAND(1) footer here | header here

pandoc will parse it as before into a title, section, header, and
footer.  But you can also specify these elements explicitly.

Closes #885.
2013-06-27 19:32:28 -07:00
Aaron Wolen
1364fb3f00 Documented citecolor variable 2013-06-24 17:49:06 -03:00
John MacFarlane
768ddc3d56 README: Note that --atx-headers affects asciidoc as well as markdown. 2013-05-30 17:01:34 -07:00
John MacFarlane
68272fad66 README: Noted that --self-contained doesn't work with --mathjax. 2013-04-25 19:30:09 -07:00
John MacFarlane
fd36acf439 README: Documented markdown variants (which extensions they have). 2013-04-23 20:41:25 -07:00
John MacFarlane
d0ab30f632 README: Documented ascii_identifiers extension 2013-04-23 20:41:10 -07:00
John MacFarlane
4fa2a94759 Added Text.Pandoc.Writers.Custom, --print-custom-lua-writer.
pandoc -t data/sample.lua

will load the script sample.lua and use it as a custom writer.
data/sample.lua is provided as an example.

Added `--print-custom-lua-writer` option to print the sample
script.
2013-04-14 00:31:39 -05:00
John MacFarlane
72020f1773 Docx writer: Use Compact style for Plain block elements.
This differentiates between tight and loose lists.
Closes #775.
2013-03-30 22:11:00 -07:00
John MacFarlane
05bc6a5af1 Documented haddock reader in README. 2013-03-28 15:31:33 -07:00
John MacFarlane
7286ef1fc3 Fixed typo. Closes #798. 2013-03-24 21:13:02 -07:00
John MacFarlane
134f478e04 Added note on nesting of section levels in revealjs. 2013-03-24 21:07:17 -07:00
John MacFarlane
6217623d0a Added syntax for "pauses" in beamer or reaveljs slide shows.
This gives

    . . .

    a pause.
2013-03-24 21:03:04 -07:00
John MacFarlane
572457f8a9 Documented revealjs in README and pandoc.cabal description. 2013-03-23 21:48:39 -04:00
John MacFarlane
366c20a425 Documented OPML writer in README. 2013-03-20 09:04:41 -07:00
John MacFarlane
74d53f4347 Added Text.Pandoc.Readers.OPML, exporting readOPML.
The _note attribute is supported.  This is unofficial, but
used e.g. in OmniOutliner and supported by multimarkdown.
We treat the contents as markdown blocks under a section
header.

Added to documentation and tests.
2013-03-19 20:22:14 -07:00
John MacFarlane
2a707b8171 README: Documented 'unnumbered' class and '-' shortcut. 2013-03-02 21:12:00 -08:00
John MacFarlane
a19971d358 Updated README on docx styles. 2013-02-27 18:58:26 -08:00
Douglas F. Calvert
a4f31b102a Fix example header identifier. Very minor. 2013-02-26 23:48:56 -05:00
John MacFarlane
ec2a51e40b Updated copyright year in README 2013-02-25 19:04:05 -08:00
John MacFarlane
5afe5218b7 Added examples in README for --number-offset. 2013-02-23 18:39:21 -08:00
John MacFarlane
756c8d492a --number-from -> --number-offset
Also `writerNumberFrom` -> `writeNumberOffset`.
The offset is a list of numbers (0 by default).
These are added to the section, subsection, etc.
numbers that would have been generated automatically.
2013-02-23 18:11:05 -08:00
John MacFarlane
4d54c6368b Clarify that --number-from only works in HTML. 2013-02-22 20:03:48 -08:00
John MacFarlane
4c106993b5 Documented --number-from. 2013-02-22 19:42:22 -08:00
John MacFarlane
ec5dc431de Changes to --version.
Print default user data directory.
Put language names in lowercase and omit 'alert' and 'alert_indent'.
2013-02-07 20:06:30 -08:00
John MacFarlane
7f6eff3b3b README: List proper default data directory for Windows 7. 2013-02-07 19:48:23 -08:00
John MacFarlane
8dfbe3bbe8 Implement --default-image-extension for LaTeX reader. 2013-02-06 08:36:29 -08:00
John MacFarlane
c5f1a8ad2d Added --default-image-extension and readerDefaultImageExtension.
Note: Currently this only affects the markdown reader.
2013-02-05 20:08:00 -08:00
John MacFarlane
8448b8a386 README: Split up documentation of table extensions. 2013-01-22 19:31:03 -08:00
John MacFarlane
ddfbcae782 Corrected name of blank_before_blockquote in README.
Closes #718.
2013-01-22 07:53:32 -08:00
John MacFarlane
d9c996d37a Change date on README. 2013-01-19 11:11:24 -08:00
John MacFarlane
efcf19e5a4 Slight modification of lhs instructions. 2013-01-17 11:24:21 -08:00
John MacFarlane
19aa163904 Updated extensions in README. 2013-01-16 19:07:21 -08:00
John MacFarlane
517c4b5f31 README clarification. 2013-01-16 09:25:12 -08:00
John MacFarlane
a3381331f8 README on docx styles: Image Caption, not Picture Caption. 2013-01-15 20:17:43 -08:00
John MacFarlane
eebed6bc48 Added writerHtmlQTags and --html-q-tags option.
The previous default was to use `<q>` tags in HTML5.
But `<q>` tags are also valid HTML4, and they are not very
robust in HTML5.  Some user agents don't support them,
and some CSS resets prevent pandoc's quotes CSS from working
properly (e.g. bootstrap).  It seems a better default just
to insert quote characters, but the option is provided  for
those who have gotten used to using `<q>` tags.
2013-01-15 18:50:36 -08:00
John MacFarlane
93b373d4eb Added Brent Yorgey to Authors. 2013-01-15 13:43:36 -08:00
John MacFarlane
ffbe7cc10d Added Denis Laxalde to Authors. 2013-01-15 13:32:23 -08:00
John MacFarlane
011c1cf4c9 ADded Arlo O'Keeffe to Authors. 2013-01-15 13:04:54 -08:00