| Age | Commit message (Collapse) | Author |
|
Follow up on https://github.com/jgm/pandoc/pull/10622 that fix typo in other file
|
|
Closes #11375.
|
|
Previously we included it unconditionally, even if this
meant giving it an empty value. This seems at best redundant,
since the empty value is the default. At worst, it adds clutter
and according to some sources may prevent the use of browser defaults.
I believe that the justification for including these attributes
even with empty values is not a good one; see commit 07d51d9
for the original change. On my reading, the HTML spec does not
require the presence of the attribute on the html element; it
only says that if the attribute is present, it must have an
empty string or valid BCP 47 language tag as its value.
See also #11324.
|
|
Previously the template turned any `keywords` defined in Pandoc metadata
into empty objects due to a misnomer in a loop variable. This in turn
was rejected by the Typst compiler as invalid syntax, making document
generation with keywords impossible.
|
|
* Add revealjs `scroll` view option to HTML writer
* Add `scrollSnap` option into default.revealjs
Closes #10052
|
|
`bbcode` is now supported as an output format, as well as variants
`bbcode_fluxbb` (FluxBB), `bbcode_phpbb` (phpBB), `bbcode_steam` (Hubzilla),
`bbcode_hubzilla` (Hubzilla), and `bbcode_xenforo` (xenForo).
[API change]
Adds a new module Text.Pandoc.Writers.BBCode, exporting a number of functions.
Also exports `writeBBCode`, `writeBBCodeSteam`, `writeBBCodeFluxBB`,
`writeBBCodePhpBB`, `writeBBCodeHubzilla`, `writeBBCodeXenforo` from
Text.Pandoc.Writers.
|
|
This is a regression since 3.8.
Closes #11259.
|
|
Typst 0.14 doesn't permit an empty array for `font`.
Closes #11238.
|
|
Previously the syntax was wrong when multiple bibliography files were
specified. Typst expects an array.
|
|
Closes #11221.
|
|
This improves on commit e13aa5c0157744de262ac512cc95a76a4562e37b,
which worked only for recent versions of longtable.
For older versions, we need to define a dummy counter `none`.
Closes #11201. Thanks to @priiduonu for the solution.
|
|
A template change in 3.8 added a show rule for links which
causes them to disappear except in special cases.
This change fixes the problem.
Closes #11194.
|
|
This was causing links in iOS books app not to be distinguished in
any way (since underlining is not used there).
Closes #11174.
|
|
beamer uses pdfstring for the pdfinfo which can't handle soul strikeouts.
Therefore, the title, subtitle and author contents need to be put inside
texorpdfstring to deal with both the pdfinfo as well as the formatting.
Fixes #11168.
|
|
See #11171. Previously the native typst highlighting was
always used, regardless of the setting of `--syntax-highlighting`.
With this change, `--syntax-highlighting=none` and
`--syntax-highlighting=<style name>` (with skylighting) will work.
Completes #10525.
|
|
If true, pandoc will allow language-specific shorthands
when loading babel.
Closes #11160.
|
|
Support for vimdoc, documentation format used by vim in its help pages.
Relies heavily on definition lists and precise text alignment to generate tags.
|
|
|
|
Closes #11098.
|
|
New template variables supported: `thanks`, `abstract-title`, `linestretch`, `mathfont`,
`codefont`, `linkcolor`, `filecolor`, `citecolor`.
Closes #9956, #11076.
(This is a new version of f000fa168bd122fee6e67f5a67bdd6d42d173261 which
was reverted.)
|
|
That is, only if there is math that contains `\cancel`,
`\bcancel`, or `\xcancel`.
|
|
|
|
This reverts commit f000fa168bd122fee6e67f5a67bdd6d42d173261.
|
|
The default template now adds `#+options` lines if non-default settings
are used for the `smart_quotes` and `special_strings` extensions.
|
|
The `SOURCE_DATE_EPOCH` environment variable is used to trigger
reproducible PDF compilation, i.e., PDFs that are identical down to the
byte level for repeated runs.
Closes: #6539
|
|
See #11019. Previously, centering tables in `reference.docx` would leave
the header row left-aligned. Why the OOXML 'standard' would allow table
elements to be aligned differently from the rest of the table in the
first place is anyone's guess.
|
|
The `nocite` metadata field can now be used to supply additional
citations that don't appear in the text, just as with citeproc and
LaTeX's bibtex and natbib.
Closes: #10680
|
|
Closes #8819
|
|
This implements the changes suggested in #9956, with the exception of
the filecolor/urlcolor one. These would require adding some regex to
guess the link types. This is theoretically possible to do, but it
wasn't clear to me that this is a good thing to put in a default
template. Happy to adjust if you have thoughts on this.
Closes #9956.
Some things to note:
I'm converting colors by passing them as content, as I was seeing pandoc
escape # if that was included.
I set the default fonts for math and code ("raw") to fonts that are
bundled with Typst. These need not be those fonts if there are more
familiar pandoc preferences.
|
|
Closes: #9724
|
|
from the latest chicago-author-date.csl. (Note that this goes
from the 17th to the 18th edition.)
Update tests.
|
|
|
|
|
|
...on the most recent context versions.
See #10846.
|
|
As before, the `tagging` extension must be enabled.
We now add the command that tells ConTeXt to start tagging.
Closes #10846.
|
|
|
|
The line breaks are interpreted as whitespace, resulting in extra leading and trailing spaces in the reference file.
|
|
Don't inculde them if `pdf-engine` isn't set.
|
|
This is more reliable; see #10738.
|
|
This reverts commit 3f1f58e96e4eae82af44f1610806aa7c637a59d6.
The reason for reverting this change is that it led to an
undesirable behavior change. Documents with no explicit date
specified now have a date printed, because the default
title block will include a date if no `\date` command is used.
The empty `\date{}`, by contrast, suppressed the date, which
is the desirable behavior.
PR #10687 was motivated by the desire to include a custom `\date`
in the frontmatter via header-includes. I think that aim can
be achieved more simply by simply setting the `date` variable.
In markdown you can even use `date:` in metadata and put some
raw LaTeX there.
|
|
This allows one, for example, to set a custom \date in the
header-includes of the rmarkdown yaml frontmatter. Without this
conditional, the custom \date in the frontmatter would be overridden by
a (potentially empty) date from this template later.
|
|
Just a typo for author prefix that was causing authors to have the suffix as
prefix and suffix in the XML.
|
|
This has been fixed now in Babel for some time. So we can now
get rid of the ugly code that disabled language-specific shorthands
(see e26d31d).
Closes #6817.
|
|
We now specify the language as a global option again, so we
no longer need to specify it when invoking selnolig.
See #9863.
|
|
Previously we used the `.ini` files for every language, but
for European languages these tend to provide inferior results
to the `.ldf` files used by classic Babel. Currently Babel
documentation recommends using the classic system for European
languages written in Latin and Cyrillic scripts and Vietnamese.
So the LaTeX writer and template now follow this guidance.
Main languages in the list of languages with good "classic" support
are added to global documentclass options and will be automatically
handled by Babel using the `.ldf` files.
If the main language is not in this list, the `babeloptions` variable
will be set to `provide=*`, which will cause support to be loaded from
the `.ini` file rather than an `.ldf`. So, for example, setting
`-V babeloptions=''` with a polytonic Greek document will cause the
`.ldf` support to be used instead of the `.ini`.
The default setting of this variable can be overwritten, but in most
cases the default should give good results.
Closes #8283.
|
|
Enable annotating author roles using the Contribution Role Taxonomy
(CRediT) and export this information in conformant JATS
Closes #10152.
Co-Authored-By: Jez Cope <[email protected]>
|
|
Obsoletes #7025.
See #8283.
|
|
Previously we were only carrying over the reference doc's sectPr
at the end of the document, so it wouldn't affect the intermediate
sections that are now added if `--top-level-division` is `chapter`
or `part`. This could lead to bad results (e.g. page numbering
starting only on the last chapter).
Closes #10577.
|
|
Base Author and Date styles on Title; remove condensed spacing.
|
|
Fixed conditional indentation so that the *output* is
indented properly.
|