Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Previously YAML metadata would sometimes not get recognized if a
field ended with a newline followed by spaces. Closes #6823.
|
|
|
|
* Remove unused LANGUAGE pragmata
* Apply HLint suggestions
* Configure HLint to ignore some warnings
* Lint code when committing to master
|
|
|
|
|
|
Previously this confused the table parser. Closes #6811.
|
|
Previously in-text note citations inside a footnote
would sometimes have the final period stripped, even
if it was needed (e.g. on the end of 'ibid').
See #6813.
|
|
...and improve whitespace. Closes #6807.
|
|
instead of deprecated source, for highlighted code.
Also support `startFrom` attribute and `numberLines`.
Closes #6810.
|
|
|
|
(LaTeX reader)
Closes #6802.
|
|
If `\cL` is defined as `\mathcal{L}`, and `\til` as `\tilde{#1}`,
then `\til\cL` should expand to `\tilde{\mathcal{L}}`, but pandoc
was expanding it to `\tilde\mathcal{L}`. This is fixed by
parsing the arguments in "verbatim mode" when the macro expands
arguments at the point of use.
Closes #6796.
|
|
The map-based YAML representation of filters expects `type` and `path`
fields. The path field had to be present for all filter types, but is
not used for citeproc filters. The field can now be omitted when type
is "citeproc", as described in the MANUAL.
|
|
When an author-in-text citation like `@foo` occurs in a footnote,
we now render it with: `AUTHOR NAME + COMMA + SPACE + REST`.
Previously we rendered: `AUTHOR NAME + SPACE + "(" + REST + ")"`.
This gives better results. Note that normal citations are still
rendered in parentheses.
|
|
|
|
|
|
|
|
|
|
We now have LaTeX do the calculation, using `\tabcolsep`.
So we should now have accurate relative column widths no
matter what the text width.
The default template has been modified to load the calc
package if tables are used.
|
|
|
|
This is used with the JATS writer, so this fixes a regression
in pandoc 2.11 with JATS output and citeproc.
Closes #6783.
|
|
This ensures that bibliography parsing errors generate messages
that include the bibliography file name -- otherwise it can be
quite mysterious where it is coming from.
[API change] New PandocBibliographyError constructor on
PandocError type.
|
|
Also add unit test to ensure the behavior stays consistent.
|
|
See #6770.
|
|
...unless `raw_html` is set in the reader (in which case
the svg is passed through as raw HTML).
Closes #6770.
|
|
Starting with 2.10.1, fenced divs no longer render with
HTML div tags in commonmark output. This is a regression
due to our transition from cmark-gfm. This commit fixes it.
Closes #6768.
|
|
...in citations inside notes in note-based styles.
These citations are put in parentheses, but the final
period must be removed.
See jgm/citeproc#20
|
|
Add ipynb version. Put user data directory on same line as
heading "User data directory" (dropping "default").
|
|
This change will avoid mixed paths like this one when
`--extract-media` is used with a Word file:
`![](C:\Git\TIJ4\Markdown/media/image30.wmf)`
Instead we'll get
`![](C:\Git\TIJ4\Markdown`media`image30.wmf)`.
Closes #6761.
|
|
Use space more efficiently and report the citeproc version along
with skylighting, texmath, and pandoc-types.
|
|
Also do some minor refactoring - bibliodiv without
a title no longer results in an empty Header.
|
|
Closes #6752.
|
|
While reading the docs I found a couple of small typos.
|
|
Typos reported by
https://fossies.org/linux/test/pandoc-master.tar.gz/codespell.html
See: #6738
|
|
|
|
`\acl`, `\aclp`, and capitalized versions of already
supported commands.
Closes #6746.
|
|
Closes #6742.
|
|
For polyglossia we now use
`\setmainlanguage[variant=brazilian]{portuguese}`
and for babel
`\usepackage[shorthands=off,main=brazilian]{babel}`.
Closes #2953.
|
|
Otherwise we get bad results for non-table, non-paragraph
lines containing pipe characters.
Closes #6739.
See also jgm/commonmark-hs#52.
|
|
Previously, autolinks rendered as raw HTML, due to the
`class="uri"` added by pandoc's markdown reader.
Closes #6740.
|
|
|
|
(#6600)
Closes #6599
c.f. https://docs.mathjax.org/en/latest/web/components/combined.html
Note that while this use the full variant of the js, this drops the mathml support.
That should be okay, because pandoc renders math in HTML as TeX when using
mathjax.
This change reduces latency.
|
|
look locally, and only do an HTTP request if it's not
found locally.
|
|
Previously we were just treating it as a string and
ignoring accents and formatting. See #6734.
|
|
|
|
Instead, include it after the emphasis. Closes #6719.
Same fix was made for other inline elements, e.g. strikethrough.
|
|
|
|
|
|
We need quotes if `[` or `{` or `'` is at the beginning of
the line, but not otherwise.
|