Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement versioned themes #521

Merged
merged 17 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,29 @@

## 3.8.0

Development:

- Add support for versioned themes and add new Lua option `experimental`.
(#466, #512, #514, [matrix.org][matrix-514] reviewed by @TeXhackse, #521)

The option `experimental` enables experimental features that are planned to
be the new default in the next major release of the Markdown package.

At the moment, this just means that the version `experimental` of the theme
`witiko/markdown/defaults` will be loaded and warnings for hard-deprecated
features will become errors. However, the effects may extend to other areas
in the future as well.

[matrix-514]: https://matrix.to/#/!UeAwznpYwwsinVTetR:matrix.org/$TTc-m7B5NSdsLBNNyIuFWQ-u2nOZ03lJ5js88hnyFiU?via=matrix.org&via=im.f3l.de

Documentation:

- Document LaTeX hooks. (#464, #507)

Defaults:

- Improve the compatibility of the default LaTeX packages with PDF tagging:
(#466, #512, reported and consulted by @u-fischer)
(#466, #512, #514, #521, reported and consulted by @u-fischer)

- In TeX engines other than LuaTeX, use the package soul instead of the
package soulutf8 in TeX Live ≥ 2023.
Expand All @@ -18,8 +33,14 @@ Defaults:
prototypes instead of the package soul.

- Use the package enumitem for tight and fancy lists instead of the package
paralist. If you wish to keep using the package paralist, load it before
the Markdown package to force the old behavior.
paralist.

This is a breaking change that is marked as experimental. To enable it,
either use the package option `experimental` or specify any test phase in
the document metadata:

1. `\usepackage[experimental]{markdown}`
2. `\DocumentMetadata{testphase=phase-III}`

Continuous Integration:

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ EXAMPLES_SOURCES=examples/context-mkiv.tex \
examples/optex.tex
EXAMPLES=examples/context-mkiv.pdf \
examples/latex-pdftex.pdf examples/latex-xetex.pdf examples/latex-luatex.pdf \
examples/latex-tex4ht.html examples/latex-tex4ht.css \
examples/optex.pdf
# examples/latex-tex4ht.html examples/latex-tex4ht.css
TESTS=tests/test.sh tests/test.py tests/requirements.txt tests/support/*.tex \
tests/templates/*/*/head.tex.m4 tests/templates/*/*/body.tex.m4 \
tests/templates/*/*/foot.tex.m4 tests/templates/*/COMMANDS.m4 tests/testfiles/*/*/*.test
Expand Down
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ LUACLI_OPTIONS=\
OUTPUT=\
context-mkiv.pdf \
latex-pdftex.pdf latex-xetex.pdf latex-luatex.pdf \
latex-tex4ht.html latex-tex4ht.css \
optex.pdf
# latex-tex4ht.html latex-tex4ht.css

# This is the default pseudo-target.
all: $(OUTPUT)
Expand Down
Loading