Commit graph

149 commits

Author SHA1 Message Date
Aditya Mahajan
e5d22ce91a Canonical way to set TOC depth
Use `\placecontent` instead of `\placelist` as `\placecontent` is easier to
configure.
2013-02-20 02:44:42 -05:00
John MacFarlane
ad3af80a4f ConTeXt writer: Removed \placecontent.
This produced a duplicate toc, in conjunction with `\placelist`.
2013-02-19 21:56:21 -08:00
John MacFarlane
eb7dfde58b LaTeX template: set secnumdepth to 5 if --number-sections specified.
This yields behavior equivalent to the other writers, numbering
level 4 and 5 headers too.
2013-02-18 08:49:37 -08:00
John MacFarlane
bc561191b2 beamer: added lines to fix table captions with longtable.
Thanks to Joost Kremers.
2013-02-03 10:41:02 -08:00
John MacFarlane
5ed01e0e8e LaTeX template: Don't use monospace font for URLs. 2013-01-21 11:42:42 -08:00
John MacFarlane
3474aecee9 Added conditional import of upquote package.
This fixes straight quotes in verbatim.
2013-01-19 09:40:26 -08:00
John MacFarlane
25386101d5 HTML5 template: Made quote styles fit on one line. 2013-01-15 18:50:15 -08:00
John MacFarlane
40ef433abb HTML template: Add quotes styles if 'quotes'. 2013-01-15 18:38:37 -08:00
John MacFarlane
b49608bf92 Added missing toc variable to default.rtf. 2013-01-05 18:23:37 -08:00
John MacFarlane
f0347e7af0 Added \placelist to context writer.
This selects TOC depth.
2013-01-05 18:15:14 -08:00
John MacFarlane
25ad173f00 toc-level -> toc-depth. 2013-01-05 11:58:09 -08:00
John MacFarlane
9575f4f56f Added toc and toc-level to rst template. 2013-01-05 11:55:18 -08:00
John MacFarlane
d541256441 Added tocdepth to latex template. 2013-01-05 11:49:10 -08:00
John MacFarlane
9601cc5026 Added css to preserve space in <code> tags.
Thanks to Dirk Laurie.
2013-01-04 23:01:14 -08:00
John MacFarlane
4c1f840c39 EPUB templates: UTF-8, lang variable, meta tags. 2012-11-04 21:40:03 -08:00
John MacFarlane
ba97adf746 Split epub-page.html into default.epub and default.epub3. 2012-11-04 21:11:31 -08:00
John MacFarlane
1709949ce5 Incorporated titlepage stuff into epub-page.html. 2012-11-04 21:08:24 -08:00
John MacFarlane
3aab241c32 Removed epub-titlepage.html. 2012-11-04 21:00:39 -08:00
John MacFarlane
cd898b1d2f Removed epub-coverimage.html template.
Also removed TOC stuff from epub-titlepage.html.
2012-11-04 20:52:34 -08:00
John MacFarlane
9fae8b31dd EPUB templates: Added css, highlighting-css, quotes variables.
Removed hardcoded link to stylesheet.css.  Instead, the EPUB writer
now sets the css variable to stylesheet.css.
2012-11-04 18:57:40 -08:00
John MacFarlane
0b394e7ccd EPUB page template: Add epub (ops) namespace. 2012-11-04 10:37:26 -08:00
John MacFarlane
8aad144189 EPUB templates: Use html5 doctype if epub3. 2012-11-02 20:52:43 -07:00
John MacFarlane
2e0841bf8e Use pagetitle in title element for epub templates. 2012-11-02 19:51:13 -07:00
John MacFarlane
d99073f1be Removed unnecessary if around pagetitle. 2012-11-02 19:45:52 -07:00
John MacFarlane
1e32f28208 epub-page template: removed separate h1 $title$.
The title is now presumed to be the h1 that begins the body
(if there is one).
2012-10-11 09:04:31 -07:00
John MacFarlane
3bbb793e41 LaTeX, beamer templates: Don't require 'float' package.
AS far as I can see, it isn't needed by anything pandoc does.
2012-09-16 22:26:16 -07:00
John MacFarlane
6d4f0a78a0 Beamer, LaTeX templates: removed enumerate package. 2012-09-16 22:23:02 -07:00
John MacFarlane
22628ea9aa LaTeX, beamer: Use longtable instead of ctable. 2012-09-15 17:40:49 -04:00
John MacFarlane
48ae9dae8d Merge pull request #16 from adityam/master
papersize variable for ConTeXt template
2012-09-08 11:42:05 -07:00
John MacFarlane
b672f66eb2 Merge pull request #15 from akerbos/patch-1
papersize variable in the LaTeX template
2012-09-08 11:41:23 -07:00
Aditya Mahajan
b0e32b5db6 papersize variable for ConTeXt template
Controls the `papersize` in ConTeXt template. Any valid argument of
`\setuppapersize[...]` descirbed on the [ConTeXt wiki][wiki] works.

[wiki]: http://wiki.contextgarden.net/PaperSetup
2012-09-05 18:36:00 -04:00
Raphael
254bc55c65 papersize variable in the LaTeX template
Adds a variable `papersize` in the LaTeX template which controls, surprise, paper size. Possible values are those the chosen `documentclass` allows.
2012-09-04 08:48:07 +03:00
John MacFarlane
150f3ce9c6 Beamer template: In section pages, don't print "Section" and number.
Similarly for parts and subsections.
Reason:  this is not properly internationalized, and for consistency
with other slide formats.

Closes #566.
2012-08-25 21:52:34 -07:00
John MacFarlane
c08ed3f61a Fixed titleblock in markdown, plain templates.
Now it is just a single string. Previously separate
title, author, and date variables were used, but this didn't
allow different kinds of title blocks.
2012-08-12 19:31:20 -07:00
chrisersen
fbe8354599 Resize pictures that are wider than \linewidth solution from: http://tex.stackexchange.com/a/6077 2012-07-22 10:56:50 -07:00
John MacFarlane
4b27abf404 LaTeX template: Separate urlcolor and linkcolor variables. 2012-06-08 10:56:57 -07:00
John MacFarlane
ba5f9741a1 LaTeX template: use ifxetex, ifluatex instead of iftex.
iftex is not in debian.
2012-06-05 22:21:41 -07:00
John MacFarlane
8806382b9a Removed extra blank line. 2012-06-05 11:49:37 -07:00
John MacFarlane
b5d67647dc LaTeX: Use blank \date{} if no date specified.
This way we don't get a date unless a date is explicitly specified.
2012-06-05 11:41:06 -07:00
John MacFarlane
b9d2a1595d Use iftex instead of ifluatex, ifxetex. Simplified template. 2012-06-05 11:35:17 -07:00
John MacFarlane
aa67d0c69f LaTeX: Use fontenc [T1] and lmodern fonts.
This gives better behavior for accented characters.
2012-06-05 11:35:03 -07:00
John MacFarlane
cb68b11fb4 LaTeX: Make TOC links black. 2012-06-05 10:04:42 -07:00
John MacFarlane
242daf3377 Added links-as-notes variable to print links as footnotes 2012-06-05 10:04:36 -07:00
John MacFarlane
02120505d6 LaTeX: added linkcolor variable 2012-06-05 10:04:15 -07:00
John MacFarlane
3bc667281e LaTeX template: Use black for internal links.
This ensures that the table of contents will not be colored.

Also added commented-out code to use footnotes for internal
links (for print purposes).
2012-06-03 10:57:58 -07:00
John MacFarlane
0fdef55bae Merge pull request #11 from jonassmedegaard/master
This goes together with my pull request to pandoc...
2012-05-30 18:20:46 -07:00
Jonas Smedegaard
8d799ca9d8 Add Slideous template. 2012-05-24 10:47:17 +02:00
Jonas Smedegaard
559d562f15 Support variable lang in Slidy, enabling its multi-lingual support. 2012-05-24 10:23:38 +02:00
Paul Vorbach
bdf9629138 Add option urlcolor=blue to package hyperref 2012-04-26 10:04:28 +03:00
John MacFarlane
c819cf2149 LaTeX and Beamer: Use fixltx2e package for \textsubscript. 2012-04-21 09:59:21 -07:00