Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Add info on debugging Lua filters.
|
|
Closes #6727.
|
|
This means that `--accept` can be used to update expected output.
|
|
|
|
|
|
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).
|
|
|
|
|
|
We're having the build fail with
```
windows\ghc-8.6.5\mingw\bin\strip.exe: unable to rename 'C:\sr\snapshots\c886f694\bin\happy.exe'; reason: File exists
```
|
|
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*.
|
|
Using `--color`, which is equivalent to `--color=always`, causes
problems when used in situations where colors are not supported, e.g.,
in combination with Emacs. Detection of color-supporting environments
seems reliable, so no adverse effects are expected from this change.
|
|
Update chicago-fullnute-bibliography test, which is now correct.
|
|
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.
|
|
|
|
To implement Syntax highlighting for OpenDocument, inlineToOpenDocument in OpenDocument Writer is updated based on Docx Writer.
This commit is only for inline Code because update of CodeBlock needs structual change of output document.
Currently, styles are not generated automatically in styles.xml. To implement it, additional commit for ODT Writer is needed.
Although styles are not included in styles.xml, output file can be shown in LibreOffice(7.0.0.3) like normal characters.
|
|
|
|
|
|
|
|
Co-authored-by: Mauro Bieg <mb21@users.noreply.github.com>
|
|
|
|
|
|
We were getting null short-titles generated, and that
was creating wrong citations in some cases.
Close #6702.
|
|
|
|
rather than creating a surrounding Div.
Closes #6699.
|
|
|
|
|
|
|
|
|
|
We now add a space only if there isn't already one.
(Some styles add a space at the end of the left-margin
div.)
|
|
if they come before csl-right-inline. This ensures that
the citation number or label will be separated from the
rest by a space, even in formats (like plain) that don't yet have
special handling for the display spans.
|
|
Unit tests only verify column spans at this point.
Co-authored-by: Nils Carlson <nils.carlson@ludd.ltu.se>
|
|
To support `--toc-depth` option for ODT, writer and template are
updated. Closes #6696.
|
|
|