| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Closes #1012. Reopens #966. A better solution for #966 will just
affect slideous, not the other slide writers.
|
|
|
|
|
| |
This is needed for accurate conversion of bibtex titles,
since we need to know what was protected from titlecase conversions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #990.
|
|
|
|
|
|
| |
The Div container around references messed up the procedure
for carving a document into slides. So we now remove the surrounding
Div in prepSlides.
|
|
|
|
|
|
|
| |
Not ???.
Reason: Less surprising, especially for people using @ as
in twitter.
|
| |
|
| |
|
| |
|
|
|
|
| |
An `@` after an alphanumeric is probably an email address.
|
| |
|
|
|
|
|
|
|
|
| |
When `foo` is not a list, `$for(foo)$...$endfor$` should behave like
$if(foo)$...$endif$. So if `foo` resolves to "", no output should
be produced.
See pandoc-templates#39.
|
|
|
|
| |
paragraph.
|
|
|
|
| |
Closes #975.
|
|
|
|
|
|
|
|
| |
* `:<math>` for display math
* `\(..\)` for inline math
* `\[..\]` for display math
We omit the `$` forms as the heuristics are harder.
|
|
|
|
|
|
|
|
| |
* Added `Ext_lists_without_preceding_blankline` to
`Extension` in `Options`. Added this option to
`githubMarkdownExtensions`.
* Made markdown reader sensitive to this.
* Closes #972.
|
| |
|
|
|
|
| |
Closes #971.
|
|
|
|
| |
Closes #937.
|
|
|
|
|
|
|
| |
This seems to be needed for some formats (e.g. slideous) and won't
hurt in others.
Closes #966.
|
|
|
|
|
|
|
| |
This produces automatic header identifiers, unless `auto_identifiers`
extension is disabled.
Closes #967.
|
|
|
|
|
| |
This will give automatic unique identifiers, unless
`-auto_identifiers` is specified.
|
|
|
|
|
| |
Text.Pandoc.Parsing now exports registerHeader, which can be
used in other readers.
|
|
|
|
| |
E.g. `{ l r c }`.
|
| |
|
|
|
|
| |
accent now returns [Char], not Char.
|
|\ |
|
| |\
| | |
| | | |
Write id for code block to label attr in latex when listing is used
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/ |
|
|/ |
|
|\
| |
| | |
Processing some additional cedilla accents while reading LaTeX
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| |
| |
| |
| | |
Assuming markdown_in_html extension is set.
|
| | |
|
| |
| |
| |
| | |
Also documented this in README.
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 19591df739a6c50a3d0a9af55ba90b883264b21d.
This change didn't work; query has already written the contents
of the note by the time it gets to Note.
|
| |
| |
| |
| | |
That is usually the right thing to do for section labels, etc.
|
| |
| |
| |
| |
| | |
Closes #940.
Added test case.
|