Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
|
|
Closes #6727.
|
|
|
|
|
|
Closes #6730.
Previously the command would succeed, returning empty metadata,
with no errors or warnings.
API changes:
- Remove now unused CouldNotParseYamlMetadata constructor for
LogMessage (T.P.Logging).
- Add 'Maybe FilePath' parameter to yamlToMeta in T.P.Readers.Markdown.
|
|
|
|
Update chicago-fullnote-bibliography.csl and adjust tests.
Closes #6723.
|
|
Better solution to the problem of entities in CSL JSON output.
|
|
The renderCslJson function escapes `<`, `>`, and `&` as entities.
This is appropriate when generating HTML, but in CSL JSON
these are supposed to appear unescaped.
Closes jgm/citeproc#17.
|
|
For security reasons, some legal firms delete the date from comments and
tracked changes.
* Make date optional (Maybe) in tracked changes and comments datatypes
* Add tests
|
|
...into linked DOI, and similarly for other URLs linked in the
bibliography. We want to avoid having a URL in which only the latter
part is linked. Closes #6723.
|
|
Short DOIs begin 10/abcd and should be links to
`https://doi.org/abcd` (omitting the `10/`).
|
|
Parsing of YAML bibliographies was broken; this fixes it.
|
|
This isn't really necessary; we do filtering at other points now.
|
|
T.P.Readers.Markdown now exports yamlToRefs. [API change]
T.P.Readers.Metadata exports yamlBsToRefs. [API change]
These allow specifying an id filter so we parse only references
that are used in the document. Improves timing with a 3M
yaml references file from 36s to 17s.
|
|
...and CSL abbreviation files. Use resource path to search
in both USERDATADIR/csl and USERDATADIR/csl/dependent.
Also, add .csl or .json extension as needed, so you can just
do --csl zoology.
|
|
This speeds up parsing of external yaml bibliographies considerably
(in one test 36s -> 17s).
|
|
|
|
Languages appear to be sorted by their long name, which leads to
unexpected results: e.g., the long name of *m4* is *GNU m4*, so it is
listed between *gnuassembler* and *go*.
|
|
If the first element of a bulleted or ordered list is another list,
then that first item will disappear if the target format is docx. This
changes the docx writer so that it prepends an empty string for those
cases. With this, no items will disappear.
Closes #5948.
|