Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
Closes #940.
Added test case.
|
|
|
|
See #939. We leave the nonconforming contextual-spacing attribute,
which is provided by LibreOffice itself and seems to be supported.
|
|
Previously we used to store the directory of the first input file,
even if it was local, and used this as a base directory for
finding images in ODT, EPUB, Docx, and PDF.
This has been confusing to many users. It seems better to look for
images relative to the current working directory, even if the first
file argument is in another directory.
writerSourceURL is set to 'Just url' when the first command-line
argument is an absolute URL. (So, relative links will be resolved
in relation to the first page.) Otherwise, 'Nothing'.
The ODT, EPUB, Docx, and PDF writers have been modified accordingly.
Note that this change may break some existing workflows. If you
have been assuming that relative links will be interpreted relative
to the directory of the first file argument, you'll need to
make that the current directory before running pandoc.
Closes #942.
|
|
They are significantly faster.
|
|
|
|
|
|
Currently these are "transparent" containers, except in HTML,
where they produce div and span elements with attributes.
|
|
This allows pandoc to compile with base < 4.5, where Data.Monoid
doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
|