Commit graph

285 commits

Author SHA1 Message Date
John MacFarlane
40ac87808b Merge pull request #6 from adityam/master
Set mainlanguage for ConTeXt
2012-03-07 10:02:22 -08:00
John MacFarlane
d709b6709b Fix list labels in beamer.
This code (from the latex template) was causing bullets
and list numbers to extend beyond the left edge of the slide
in beamer.

Removing it seems to fix things.
2012-03-07 09:58:44 -08:00
Aditya Mahajan
917c3e6188 Set mainlanguage for ConTeXt 2012-03-05 19:36:07 -05:00
John MacFarlane
49d45a23dc LaTeX template: use mainlang variable in \setmainlanguage. 2012-03-05 08:37:04 -08:00
John MacFarlane
d8fc051068 LaTeX commands to deal with \euro command with every engine. 2012-03-04 18:52:20 -08:00
John MacFarlane
49e113d0d1 Better language defaults in LaTeX template.
Thansk to Francois Gannaz.  The lang variable is now included, if set,
in documentclass options.  polyglossia is used instead of babel if
xetex.
2012-03-04 18:42:42 -08:00
John MacFarlane
5aaa69eda5 Slight change in context template to avoid double spacing. 2012-03-03 08:37:17 -08:00
John MacFarlane
cc0e845c18 Default q:quote style for HTML5 template. 2012-03-03 08:27:22 -08:00
John MacFarlane
aab8c3a9b3 Merge pull request #5 from adityam/master
Better support for unnumbered sections in ConTeXt
2012-02-29 22:28:04 -08:00
Aditya Mahajan
3c7f5f8f1e Better support for unnumbered sections
In ConTeXt, the canonical method to get unumbered sections is to use

    \title   {Unnumbered chapter}
    \subject {Unnumbered section}
    \subsubject {Unnumbered subsection}

etc. However, pandoc generates \section {...} tags irrespective of whether
`number-sections` is active or not. Personally I think that the default pandoc
output is better than generating `\title`, `\subject`, etc. in the output.

The current patch sets `number=no` for first four level of section heads when
`number-sections` is not set.
2012-02-28 19:37:05 -05:00
John MacFarlane
4594c7eeae Added style tags around highlighting css in html5 template. 2012-02-11 11:48:25 -08:00
John MacFarlane
633da96f98 Docbook: Alternate doctype if mathml is used. 2012-01-31 10:32:22 -08:00
John MacFarlane
f26a6351b2 Split off default.beamer from default.latex. 2012-01-30 11:25:39 -08:00
John MacFarlane
b8385d84d7 LaTeX: Don't include \maxwidth in beamer.
It causes an error when you include an image.
2012-01-30 09:17:09 -08:00
John MacFarlane
438c5c3ea8 Use dcterms.date for html5 metadata. 2012-01-28 16:12:10 -08:00
John MacFarlane
0d174a6198 dzslides: Center title page. 2012-01-28 12:45:46 -08:00
John MacFarlane
c6ffb2602f latex: use ignorenonframetext on beamer, and make proper title slide. 2012-01-25 17:49:11 -08:00
John MacFarlane
dc936548c2 Added style tags around highlighting-css.
This is needed because of change from h-k 0.4 to 0.5.
2012-01-25 11:16:36 -08:00
John MacFarlane
83f2fdd9e2 LaTeX template: code for section title slides in beamer. 2012-01-25 10:39:54 -08:00
John MacFarlane
63d2575c22 Revert titleslide change in dzslides.
It is no longer needed because of changes in HTML writer.
2012-01-24 10:50:22 -08:00
John MacFarlane
7f774d6e30 Dzslides: tweaked titleslide css since header can now be any level. 2012-01-24 10:32:43 -08:00
John MacFarlane
2d647cfb00 s5: Removed now-unused s5includes variable. 2012-01-24 10:23:59 -08:00
John MacFarlane
d0663a5ccc slidy: Removed now-unused slidy-css and slidy-js variables. 2012-01-24 10:22:58 -08:00
John MacFarlane
9fb1606145 dzslides template: Fixed css for new highlighting-kate. 2012-01-24 10:17:08 -08:00
John MacFarlane
727772183d Split html template into html, html5 templates. 2012-01-11 12:52:37 -08:00
John MacFarlane
8884a9d74b Removed openxml template. 2012-01-08 22:33:05 -08:00
John MacFarlane
3b8f22903c openxml: More namespaces. 2012-01-08 15:56:22 -08:00
John MacFarlane
17d06ab6af openxml: Added additional schemas to document tag. 2012-01-08 10:26:51 -08:00
John MacFarlane
75b0d77e82 openxml: Added xmlns for relationships. 2012-01-07 20:50:06 -08:00
John MacFarlane
1003f88e61 Added math xmlns to openxml template. 2012-01-04 17:12:29 -08:00
John MacFarlane
aaaaf8e94e Added openxml template (writer still not implemented). 2012-01-03 12:09:31 -08:00
John MacFarlane
04e35de2de LaTeX template: color links blue. 2011-12-30 14:29:37 -08:00
John MacFarlane
5dcdf3738f ConTeXt: Made setuphead sensitive to number-sections variable. 2011-12-30 11:41:26 -08:00
John MacFarlane
88ec026064 Replaced dzslides-core code with dzslides-core variable. 2011-12-29 17:40:43 -08:00
John MacFarlane
9f199556ef LaTeX template: Changes to allow beamer output. 2011-12-29 13:25:36 -08:00
John MacFarlane
078a3d3afa Changed highlighting-css because of changes in highlighting-kate.
This is now an entire <style> section, not just its contents.
2011-12-27 18:06:59 -08:00
John MacFarlane
0d116481c0 LateX: Instead of having multiple imports of listings, combine to one. 2011-12-23 18:24:04 -08:00
John MacFarlane
ac3ddfed96 Add highlighting macros to default latex template. 2011-12-23 17:51:07 -08:00
John MacFarlane
28b99e57c7 s5 : Add titleslide class to title slide. 2011-12-20 11:34:32 -08:00
John MacFarlane
15fb6a91bb Added templates for epub coverimage, titlepage, regular page.
This allows even more user customization.
2011-12-18 12:26:21 -08:00
John MacFarlane
e2e8191e90 default.rst: Added empty comment after directives.
This prevents a subsequent indented paragraph from being captured
by the directive.  Closes pandoc#321.
2011-12-04 22:54:18 -08:00
John MacFarlane
cdfe1966da Revert "LaTeX: Use \date{} if no date in metadata."
This reverts commit 9ebdb944b6.
2011-12-01 19:03:39 -08:00
John MacFarlane
9ebdb944b6 LaTeX: Use \date{} if no date in metadata.
Thanks to Daron Wilson for the suggestion.
2011-12-01 19:01:53 -08:00
John MacFarlane
9fd00ca239 Slidy, HTML: Use h2 for author, h3 for date.
Previously, title was h1, author h3, date h4.  There was
no real reason for skipping h2.
2011-12-01 18:51:22 -08:00
John MacFarlane
5facbc552d HTML-based templates: use separate variables for meta-date, meta-author. 2011-11-29 13:30:41 -08:00
John MacFarlane
6c48030dcd LaTeX template: if 'lang' is set, load babel.
Thanks to Magnus Therning for the suggestion.
2011-11-27 20:36:37 -08:00
John MacFarlane
279110eb7c Improved author/date in asciidoc template. 2011-11-17 00:52:26 -08:00
John MacFarlane
8b89d7c975 Added asciidoc template. 2011-11-16 19:17:03 -08:00
John MacFarlane
f632b1cdb9 Added Content-Style-Type to s5, slidy templates. 2011-11-08 11:34:41 -08:00
John MacFarlane
7afe52cca9 Added Content-Style-Type meta tag for XHTML compliance.
Closes pandoc#337.
2011-11-08 11:28:56 -08:00