Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Headers.
We might also want to do this elsewhere (for pars, for example).
|
|
|
|
These can be set to get `\listoftables` and `\listoffigures`.
Closes #1407.
At this point we won't add a command line argument, because
this only affects one writer. But the variables can be set
at the command line with
-Vlof -Vlot
or in YAML metadata.
|
|
They are supposed to be only "advisory" in HTML5, but apparently
kindlegen needs them.
|
|
|
|
|
|
In this first version, all dokuwiki files are straight copies of the
media wiki counterparts.
|
|
This ensures that straight quotes appear as straight, rather than
being treated as curly. See #889.
|
|
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.
|
|
* Depend on pandoc 1.12.
* Added yaml dependency.
* `Text.Pandoc.XML`: Removed `stripTags`. (API change.)
* `Text.Pandoc.Shared`: Added `metaToJSON`.
This will be used in writers to create a JSON object for use
in the templates from the pandoc metadata.
* Revised readers and writers to use the new Meta type.
* `Text.Pandoc.Options`: Added `Ext_yaml_title_block`.
* Markdown reader: Added support for YAML metadata block.
Note that it must come at the beginning of the document.
* `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`,
`stateAuthors`, `stateDate` with `stateMeta`.
* RST reader: Improved metadata.
Treat initial field list as metadata when standalone specified.
Previously ALL fields "title", "author", "date" in field lists
were treated as metadata, even if not at the beginning.
Use `subtitle` metadata field for subtitle.
* `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string
instead of a compiled template..
* OPML template: Use 'for' loop for authors.
* Org template: '#+TITLE:' is inserted before the title.
Previously the writer did this.
|
|
|
|
Now it can be used with options, if needed.
Thanks to Bernhard Weichel.
|
|
|
|
|
|
We need the mathspec library, not just fontspec, for this.
We also need to set options for setmathfont. Closes #734.
|
|
|
|
Reason: some browsers have trouble with the gzipped js file,
at least on the local file system.
Closes #795.
|
|
|
|
|
|
|
|
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.
|
|
Minor fixes to OPML writer.
Improved OPML reader tests.
|
|
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.
|
|
Microtype needs to know what fonts are being used.
Thanks to dfc for the patch.
|
|
|
|
Configure it for toc depth. Thanks to Aditya Mahajan.
|
|
This produced a duplicate toc, in conjunction with `\placelist`.
|
|
This yields behavior equivalent to the other writers, numbering
level 4 and 5 headers too.
Closes #753.
|
|
Thanks to Joost Kremers.
|
|
|
|
Use upquote package if it exists.
|
|
* RTF writer: Export writeRTFWithEmbeddedImages instead of
rtfEmbedImage.
* Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF.
* Moved code for embedding images in RTF out of pandoc.hs.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to Dirk Laurie.
|
|
|
|
Templates are now in templates/.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1758 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1680 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1677 788f1e2b-df1e-0410-8736-df70ead52e1b
|