Age | Commit message (Collapse) | Author | Files | Lines |
|
This way explicitly specified fields not overridden.
Fixes a problem e.g. with specifying a documentclass via
the command line using -V.
|
|
`defField` is like `setField`, but does nothing if the
field already has a value.
|
|
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.
|
|
Closes #892.
|
|
This caused problems with array environments. Closes #891.
|
|
Semicolons separate different authors.
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
Currently the library is set up with a shim for association
lists, for compatibility, but this can change when the writers
are changed.
New export: `varListToJSON`.
Removed `Empty`.
Simplified template type to a newtype.
|
|
|
|
(And skip them. This might speed things up in some cases.)
|
|
Closes #882.
|
|
|
|
The input
[*infile*] [*outfile*]
was getting improperly parsed: "infile" was emphasized, but
"*outfile*" was literal. This was due to failure to parse the
"fallback" in the reference link parser.
Closes #883.
|
|
rst2html doesn't add `<p>` tags to list items (even when they are
separated by blank lines) unless there are multiple paragraphs in the
list. This commit changes the RST reader to conform more closely to
what docutils does.
Closes #880.
|
|
|
|
|
|
Previously the labels were only created when there were links to
the section in the document.
Closes #871.
|
|
([[]]) on headers
|
|
For 'import Prelude hiding (catch)'. catch is no longer in
Prelude starting with base 4.6.
|
|
|
|
And some code cleanup.
|
|
This allows you to use `--webtex` in creating EPUBs.
|
|
|
|
Previously we just crashed if rows had attributes, now we
ignore them.
|
|
Closes #856.
|
|
|
|
Closes #850.
|
|
Now one gets "Fetching [URL]..." for each URL fetched, but not
the full header.
|
|
Uses surrogate pairs. Thanks to Hiromi Ishii for the patch.
|
|
|
|
Even though these are legal, Network.URI doesn't regard them
as legal in URLs. So we escape them first.
Closes #535.
|
|
Reason: the path to the system temp directory may contain tildes,
which causes problems in LaTeX when the username is more than
eight characters.
Closes #777.
|
|
Closes #839.
|
|
Closes #807.
|
|
This will force `Ext_auto_identifiers` to use ASCII only.
Set as default for github markdown.
Note: API change.
|
|
This has functions to create ascii-only versions of identifiers.
|
|
Closes #835.
|
|
|
|
This reverts commit e80116c813ecfc8cde094cddd36a3b083c108fd8.
|
|
|
|
This fixes bugs in `--self-contained` on pandoc compiled with
`embed_data_files`. The bugs affect (a) paths containing `..`, (b)
Windows, where `\` is path separator.
Closes #833.
|
|
|
|
This fixes a bug wherein notes were numbered incorrectly
in tables. Closes #827.
Now that we are using longtable, we can just use regular
`\footnote` commands for notes, which simplifies the code
considerably.
|
|
This fixes a regression and closes #830.
$ echo '<a href="x">x</a>' | pandoc -f html -t markdown
<x>
|
|
- Correctly handle ghci sessions.
- Fixed spacing issues.
- Simplified code.
|
|
pandoc -t data/sample.lua
will load the script sample.lua and use it as a custom writer.
data/sample.lua is provided as an example.
Added `--print-custom-lua-writer` option to print the sample
script.
|