Age | Commit message (Collapse) | Author | Files | Lines |
|
E.g.
- foo
- bar
- baz
Previously a spurious blank line was included before the last item.
Closes #1050.
|
|
This is reported to be necessary to avoid an error from recent
versions of Libre Office when files contain more than one image.
Closes #1069.
Thanks to wmanley for reporting and diagnosing the problem.
|
|
Instead, let this be set in the template, using `\setupfloat`.
Thanks to Aditya Mahajan for the suggestion.
|
|
|
|
|
|
* Metadata may now be included in YAML blocks in a markdown document.
For example,
---
title:
- type: main
text: My Book
- type: subtitle
text: An investigation of metadata
creator:
- role: author
text: John Smith
- role: editor
text: Sarah Jones
identifier:
- scheme: DOI
text: doi:10.234234.234/33
publisher: My Press
rights: (c) 2007 John Smith, CC BY-NC
...
* Metadata may still be provided using `--epub-metadata`; it will
be merged with the metadata in YAML blocks.
* meta tags are used instead of opf attributes for EPUB3.
|
|
|
|
|
|
|
|
|
|
If dc:identifier is given in metadata, we use that; otherwise
we use a random uuid.
Closes #1044.
|
|
Instead of adding 'nunumber' every time we place a figure...
Closes #1067.
|
|
|
|
Previously headers just disappeared from block-level metadata
when it was used in templates.
Now we apply the 'hierarchicalize' transformation.
Note that a block headed by a level-2 header will turn into
a `<sect1>` element.
|
|
Avoiding an unnecessary list concatenation.
Fixes an issue with calibre http://calibre-ebook.com/ putting the
cover at the end of the book if the spine has linear="no".
Apparently this is best practice for other converters as well.
http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
|
|
Fixes an issue with calibre http://calibre-ebook.com/ putting the
cover at the end of the book if the spine has linear="no".
Apparently this is best practice for other converters as well.
http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
|
|
Previously it was erroneously included as verbatim text.
Closes #1035.
|
|
Closes #1059.
|
|
This allows better control of formatting, since the `<a>`
tags have a distinguishing class.
Closes #1049.
|
|
- Don't create empty date nodes if no date given.
- Don't create multiple dc:creator nodes; instead separate by
semicolons.
Closes #1046.
|
|
Partially addresses #1046.
|
|
|
|
Deprecate readTeXMath, and use readTeXMath' in all the writers.
Require texmath >= 0.6.5.
|
|
A space was omitted before key-value attributes, leading
to invalid HTML.
|
|
This fix puts braces around a term that contains an internal
link, to avoid problems with square brackets.
|
|
The old version caused a pause to be inserted before the first
material on a slide. This has been fixed.
|
|
Otherwise we can get compile errors and other bugs when
compiled with pdflatex. Closes #1007.
Thanks to begemotv2718 for the fix.
|
|
Closes #1025.
|
|
It allows fragments identifiers.
|
|
Currently beamer goes to `\note{}`, revealjs to `<aside class="notes">`,
and the notes are simply suppressed in other formats.
Closes #925.
|
|
Closes #966.
|
|
Otherwise we get indentation problems, and part of the next
paragraph may be rendered as part of the math.
|
|
Closes #1012. Reopens #966. A better solution for #966 will just
affect slideous, not the other slide writers.
|
|
|
|
|
|
|
|
|
|
Closes #990.
|
|
|
|
|
|
|
|
|
|
This seems to be needed for some formats (e.g. slideous) and won't
hurt in others.
Closes #966.
|
|
Write id for code block to label attr in latex when listing is used
|
|
Going forward we'll use pandoc-citeproc, as an external filter.
The `--bibliography`, `--csl`, and `--citation-abbreviation` fields
have been removed. Instead one must include `bibliography`, `csl`,
or `csl-abbrevs` fields in the document's YAML metadata. The filter
can then be used as follows:
pandoc --filter pandoc-citeproc
The `Text.Pandoc.Biblio` module has been removed. Henceforth,
`Text.CSL.Pandoc` from pandoc-citations can be used by library users.
The Markdown and LaTeX readers now longer format bibliographies and
citations. That must be done using `processCites` or `processCites'`
from Text.CSL.Pandoc.
All bibliography-related fields have been removed from `ReaderOptions`
and `WriterOptions`: `writerBiblioFiles`, `readerReferences`,
`readerCitationStyle`.
API change.
|
|
The code:
~~~{#test}
asdf
~~~
gets compiled to html:
<pre id="test">
asdf
</pre>
So it is possible to link to the identifier `test`
But this doesn't happen on latex
When using the listings package (`--listings`) it is possible to set the
identifier using the `label=test` property:
\begin{lstlisting}[label=id]
hi
\end{lstlisting}
And this is exactly what this patch is doing.
Modified LaTeX Reader/Writer and added tests for this.
|
|
|
|
* Add ??? as fallback text for non-resolved citations.
* Biblio: Put references (including a header at the end of
the document, if one exists) inside a Div with class "references".
This gives some control over styling of references, and allows
scripts to manipulate them.
* Markdown writer: Print markdown citation codes, and disable
printing of references, if `citations` extension is enabled.
NOTE: It would be good to improve what citeproc-hs does for
a nonexistent key.
|
|
|
|
Textile, MediaWiki, Markdown, Org, RST will emit raw HTML div tags for divs.
Otherwise Div and Span are "transparent" block containers.
|