Commit graph

597 commits

Author SHA1 Message Date
John MacFarlane
b49ab06e96 Merge pull request #2458 from mb21/lang-inlines
LaTeX and ConTeXt writers: support lang attribute on divs and spans
2015-10-19 23:02:08 -07:00
mb21
9328f4cd3d LaTeX and ConTeXt writers: support lang attribute on divs and spans
For LaTeX, also collect lang and dir attributes on spans and divs to set the lang,
otherlangs and dir variables if they aren’t set already. See #895.
2015-10-18 17:01:37 +02:00
Benoit Schweblin
5f25cf7c9b Fixed auto_identifiers examples 2015-10-18 11:40:49 +01:00
John MacFarlane
504bf3f8e7 Support all frame attributes in Beamer. 2015-10-15 15:11:07 -07:00
Andrew Dunning
f472515a93 Update slides variables in README.
This reflects the inclusion of all reveal.js variables in <https://github.com/jgm/pandoc-templates/pull/134>.
2015-10-14 18:26:53 -04:00
Andrew Dunning
ffbe3a37b0 Add new LaTeX variables to README. 2015-10-14 13:49:38 -04:00
John MacFarlane
3cce552ff3 reveal.js template: add controls, progress variables.
Thanks to Grégoire Pineau.
2015-10-10 14:06:30 -07:00
John MacFarlane
3e4713c2de Merge pull request #2441 from mb21/polyglossia-lang
Change variable to polyglossia-lang.name and .options
2015-10-10 13:52:36 -07:00
John MacFarlane
ce07f1bd68 Man template improvements:
- Added comment stating that the page is autogenerated by
  pandoc, giving version.
- Added `adjusting` and `hyphenate` variables.
- Documented new variables.
2015-10-10 13:15:58 -07:00
Andrew Dunning
7a97ef75ec Correct setspace package usage in README.
Template configured to set `setstretch` directly rather than package options.
2015-10-08 16:27:26 -04:00
Andrew Dunning
5c803252fc Improve CSL documentation in README. 2015-10-08 13:37:26 -04:00
Andrew Dunning
32964ef860 Improve links and cross-references in README. 2015-10-08 12:04:17 -04:00
mb21
80b851a4cf Change variable to polyglossia-lang.name and .options
closes #2437
2015-10-07 22:53:09 +02:00
John MacFarlane
398547bb51 Minor change in README: and -> or.
We never need both polyglossia and babel.
2015-10-05 22:22:45 -07:00
Andrew Dunning
317a5441a8 Revise variables discussion in README. 2015-10-05 18:47:58 -04:00
John MacFarlane
6d0e586b2d Template updates.
Beamer:  added `innertheme`, `outertheme` variables.

LaTeX:  added `mainfontoptions`, `sansfontoptions`,
`monofontoptions`, `mathfontoptions`, `fontfamilyoptions`.
2015-10-03 17:01:01 -07:00
John MacFarlane
fdfc961284 Merge pull request #2419 from mb21/bidi
Support bidirectional text output with XeLaTeX, ConTeXt and HTML
2015-09-26 17:06:56 -07:00
John MacFarlane
72bade01f5 Slightly improved description of citation locators in README. 2015-09-26 16:18:32 -07:00
mb21
7b0c1e0d37 Support bidirectional text output with XeLaTeX, ConTeXt and HTML
closes #2191
2015-09-26 22:22:24 +02:00
nickbart1980
d2bffb098e Give details of locator terms 2015-09-26 17:59:26 +00:00
John MacFarlane
f232a0a720 Merge pull request #2369 from mb21/language-variables
`lang` variable is now in BCP47 format
2015-09-22 22:21:06 -07:00
John MacFarlane
546201cb46 Removed obsolete reference to default.csl.
Closes #2372.

@cinaeco as the pandoc-citeproc man page describes, the current
behavior if no style is specified is to look in
`~/.csl/chicago-author-date.csl`, and if nothing is found there,
to use a default version of chicago-author-date.csl.

You may want to open a separate issue on jgm/pandoc-citeproc
suggesting the use of `default.csl` rather than
`chicago-author-date.csl`.  I agree that this would make sense.
2015-08-25 13:35:21 -07:00
mb21
622df7034c lang variable is now in BCP47 format
strings are converted for LaTeX and ConTeXt output, closes #1614
2015-08-20 23:17:47 +02:00
John MacFarlane
73824908aa Added --bash-completion option.
This generates a bash completion script.

To use:

     eval "$(pandoc --bash-completion)"
2015-08-13 15:27:47 -07:00
John MacFarlane
f78b5a4a5a Clarified what is "out of scope" in README and CONTRIBUTING.md. 2015-08-08 15:18:31 -07:00
John MacFarlane
3e8590d8a4 Clarify docs on block quotes.
The space after `>` is optional.

Closes #2346.
2015-08-06 10:30:22 -07:00
John MacFarlane
2a4dbc3dce README: Added space after backslash in image example.
See #2329.
2015-07-26 14:44:31 -07:00
John MacFarlane
defcb5b6b1 Merge pull request #1689 from kuribas/master
Use '=' instead of '#' for atx-style headers in markdown+lhs.
2015-07-25 10:21:02 -07:00
John MacFarlane
2b68f7af15 Updated README and cabal description for ODT reader. 2015-07-23 15:54:18 -07:00
Chris Black
1c4481daa8 List all styles in manual for --reference-docx 2015-07-21 17:54:16 -05:00
John MacFarlane
225f7f1658 Fixed some internal links in README.
Closes #2309.
2015-07-21 10:24:30 -07:00
John MacFarlane
1cfe9354ca Updated date on README. 2015-07-15 09:04:48 -07:00
John MacFarlane
ed3e540955 Improved documentation of options to print system default files.
`--print-default-data-file` and `--print-default-template`.
Closes #2298.
2015-07-13 21:51:46 -07:00
John MacFarlane
fb58015b9a Added to Contributors list. 2015-07-09 22:37:05 -07:00
John MacFarlane
12d573db66 Clarified that templates go in templates subdirectory of user data dir.
Closes #2272.
2015-07-04 09:29:57 -07:00
John MacFarlane
fbc5384ef8 Bump date on README 2015-07-02 21:37:22 -07:00
John MacFarlane
a04c15a422 New method for building man pages.
+ Removed `--man1`, `--man5` options (breaking change).
+ Removed `Text.Pandoc.ManPages` module (breaking API change).
+ Version bump to 1.15 because of the breaking changes, even
  though they involve features that have only been in pandoc
  for a day.
+ Makefile target for `man/man1/pandoc.1`.  This uses pandoc to
  create the man page from README using a custom template and filters.
+ Added `man/` directory with template and filters needed to build
  man page.
+ We no longer have two man pages: pandoc.1 and pandoc_markdown.5.
  Now there is just pandoc.1, which has all the content from README.
  This change was needed because of the extensive cross-references
  between parts of the README.
+ Removed old `data/pandoc.1.template` and
  `data/pandoc_markdown.5.template`.
2015-07-01 11:27:15 -07:00
John MacFarlane
32a1c78d64 README: Added Lars-Dominik Braun as contributor 2015-06-29 22:52:22 -07:00
John MacFarlane
fe625e053d New method for producing man pages.
This change adds `--man1` and `--man5` options to pandoc, so
pandoc can generate its own man pages.

It removes the old overly complex method of building a separate
executable (but not installing it) just to create the man pages.

The man pages are no longer automatically created in the build
process.

The man/ directory has been removed.  The man page templates
have been moved to data/.

New unexported module:  Text.Pandoc.ManPages.

Text.Pandoc.Data now exports readmeFile, and `readDataFile`
knows how to find README.

Closes #2190.
2015-06-28 14:39:17 -07:00
John MacFarlane
320228777d Document CJKmainfont. 2015-06-13 09:37:03 -07:00
John MacFarlane
05d238cd39 Adjust date on README. 2015-05-27 18:14:12 -07:00
John MacFarlane
9b86eec612 Documented toccolor variable. 2015-05-27 10:42:15 -07:00
John MacFarlane
8c99bc8357 README: Better documentation of syntax highlighting.
See #1318.
2015-05-26 12:00:35 -07:00
John MacFarlane
2fb5709915 Updated contributors and copyright dates in README.
Closes #2153.
2015-05-14 14:57:58 -07:00
John MacFarlane
28d2cd033e README: document which formats have shortcut_reference_links. 2015-05-13 23:18:38 -07:00
John MacFarlane
24ee1ab4f7 Markdown reader: Made implicit header references case-insensitive.
Added `stateHeaderKeys` to `ParserState`; this is a `KeyTable`
like `stateKeys`, but it only gets consulted if we don't find
a match in `stateKeys`, and if `Ext_implicit_header_references`
is enabled.

Closes #1606.
2015-05-13 23:12:58 -07:00
John MacFarlane
75cfa7b462 Beamer: mark slide as [fragile] if header has fragile class.
Closes #2119.
2015-05-13 20:10:54 -07:00
Nikolay Yakimov
cab3c04dd2 README: bibliography updates 2015-05-12 08:09:10 +03:00
John MacFarlane
c6debff1f8 Removed references to biblio-files in pandoc.hs and README. 2015-05-11 21:19:15 -07:00
John MacFarlane
c90764196a Fixed misleading example in README. 2015-05-11 20:23:29 -07:00