John MacFarlane
f34ccf900f
DocBook template: Use DocBook 4.5 doctype.
2013-04-15 19:41:45 -07:00
John MacFarlane
942b7b8f9c
Slidy: Use slidy.js rather than slidy.js.gz.
...
Reason: some browsers have trouble with the gzipped js file,
at least on the local file system.
Closes #795 .
2013-03-25 19:48:42 -07:00
John MacFarlane
f2f3c3301f
revealjs template: include pdf stylesheet by default.
2013-03-24 19:57:53 -07:00
John MacFarlane
388acaa5f1
New revealjs template.
2013-03-23 21:46:09 -04:00
John MacFarlane
df78a9935d
Updated templates to include reveal.js.
2013-03-22 01:17:28 -04:00
Jamie F. Olson
6b53a905c4
Added basic support for reveal.js.
...
Support unordered and ordered lists with "fragment" elements.
Modified by JGM to remove the --reveal_js-url command-line option.
Instead use -V reveal_js-url=... as with slidy and the other slide
formats. Also cleaned up the list code in the HTML writer.
2013-03-21 14:54:17 -07:00
John MacFarlane
5b4d239b85
Added OPML template, tests.
...
Minor fixes to OPML writer.
Improved OPML reader tests.
2013-03-20 10:17:59 -07:00
John MacFarlane
b2b38a6c0f
beamer template: Provide \Oldincludegraphics
as in LaTeX template.
...
The template redefines `\includegraphics` to give special treatment
for too-wide images. But this causes problems for literal uses
of `\includegraphics`. This change allows authors to use
`\Oldincludegraphics`, as in the latex template.
2013-03-03 17:20:03 -08:00
John MacFarlane
1a09a0b921
LaTeX template: Load microtype after fonts.
...
Microtype needs to know what fonts are being used.
Thanks to dfc for the patch.
2013-02-27 09:52:26 -08:00
John MacFarlane
5aaead0afa
Small spacing change in context template.
2013-02-20 09:59:16 -08:00
John MacFarlane
bd0a188cc8
ConTeXt template: Use \placecontent
for toc.
...
Configure it for toc depth. Thanks to Aditya Mahajan.
2013-02-20 06:38:37 -08:00
John MacFarlane
25988ea3f0
ConTeXt writer: Removed \placecontent
.
...
This produced a duplicate toc, in conjunction with `\placelist`.
2013-02-19 21:57:08 -08:00
John MacFarlane
f9e6433d24
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.
Closes #753 .
2013-02-18 08:50:25 -08:00
John MacFarlane
111ce7ec87
Beamer template: Lines to fix captions with longtable.
...
Thanks to Joost Kremers.
2013-02-03 10:42:52 -08:00
John MacFarlane
f468db9277
LaTeX template: Use \urlstyle{same}
to avoid monospace URLs.
2013-01-21 11:52:00 -08:00
John MacFarlane
83a4e50f76
Updated templates.
...
Use upquote package if it exists.
2013-01-19 09:40:46 -08:00
John MacFarlane
8eab759a9c
RTF writer: Added writeRTFWithEmbeddedImages.
...
* RTF writer: Export writeRTFWithEmbeddedImages instead of
rtfEmbedImage.
* Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF.
* Moved code for embedding images in RTF out of pandoc.hs.
2013-01-18 10:33:37 -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
4343f0dbcd
Implemented --toc-depth (and --toc!) for RTF writer.
2013-01-05 18:23:51 -08:00
John MacFarlane
65d01857fb
Support --toc-depth in context writer.
2013-01-05 18:15:34 -08:00
John MacFarlane
c45ae571cc
Changed --toc-level to --toc-depth.
2013-01-05 12:03:05 -08:00
John MacFarlane
2e0894554c
Implemented --toc-level for rst.
2013-01-05 11:55:29 -08:00
John MacFarlane
123b94ad81
Implemented --toc-level in LaTeX writer.
2013-01-05 11:49:42 -08:00
John MacFarlane
0f9e2c2320
Added css to preserve spaces in <code> tags.
...
Thanks to Dirk Laurie.
2013-01-04 23:02:22 -08:00
John MacFarlane
2f984b6074
Moved all data files and templates to data/.
2012-12-29 18:14:29 -08:00
fiddlosopher
07fe1aedd0
Removed old data/templates directory.
...
Templates are now in templates/.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1758 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31 21:18:26 +00:00
fiddlosopher
4b0e39fd02
Add legacy-header to LaTeX template.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1680 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31 01:09:43 +00:00
fiddlosopher
ca97f1482d
Renamed headers -> templates.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1677 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31 01:09:20 +00:00