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

Reenable eagerCache in tests for plain LuaTeX #530

Merged
merged 4 commits into from
Dec 16, 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
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## 3.9.1

Fixes:

- Make option `eagerCache` safe to use with plain LuaTeX.
(#530, witiko/lt3luabridge#29)

Continuous Integration:

- Use explcheck to check expl3 code in the continuous integration.
Expand All @@ -14,6 +19,14 @@ Distribution:

[tex-live-2024-12-050952]: https://tug.org/pipermail/tex-live/2024-December/050952.html

Tests:

- Reenable `eagerCache` in tests for plain LuaTeX. (#530, witiko/lt3luabridge#29)

Docker:

- Install the current package lt3luabridge in `Dockerfile`. (#530)

## 3.9.0 (2024-11-21)

Development:
Expand Down
25 changes: 24 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ARG DEPENDENCIES="\
ca-certificates \
curl \
gawk \
git \
graphviz \
m4 \
moreutils \
Expand Down Expand Up @@ -104,6 +105,9 @@ rm -rfv ${PREINSTALLED_DIR}/tex/latex/markdown/
rm -rfv ${PREINSTALLED_DIR}/tex/context/third/markdown/
rm -fv ${BINARY_DIR}/markdown-cli

# Uninstall the distribution lt3luabridge package
rm -rfv ${PREINSTALLED_DIR}/tex/generic/lt3luabridge/

# Install the current Markdown package
make -C ${BUILD_DIR} implode
make -C ${BUILD_DIR} base
Expand All @@ -126,6 +130,16 @@ cp ${BUILD_DIR}/t-markdownthemewitiko_markdown_defaults.tex ${INSTALL_DIR}/tex/
# Make the markdown-cli script executable
ln -s ${INSTALL_DIR}/scripts/markdown/markdown-cli.lua ${BINARY_DIR}/markdown-cli

# Install the current lt3luabridge package
git clone https://github.com/witiko/lt3luabridge.git
cd lt3luabridge
luatex lt3luabridge.ins

mkdir -p ${INSTALL_DIR}/tex/generic/lt3luabridge/
cp lt3luabridge.tex ${INSTALL_DIR}/tex/generic/lt3luabridge/
cp lt3luabridge.sty ${INSTALL_DIR}/tex/generic/lt3luabridge/
cp t-lt3luabridge.tex ${INSTALL_DIR}/tex/generic/lt3luabridge/

# Generate the ConTeXt file database
if test ${DEV_IMAGE} != true
then
Expand All @@ -140,6 +154,12 @@ make -C ${BUILD_DIR} dist NO_DOCUMENTATION=${DEV_IMAGE}
mkdir ${BUILD_DIR}/dist
unzip ${BUILD_DIR}/markdown.tds.zip -d ${BUILD_DIR}/dist

# Include the current lt3luabridge package in the distribution directory
mkdir -p ${BUILD_DIR}/dist/tex/generic/lt3luabridge/
cp lt3luabridge.tex ${BUILD_DIR}/dist/tex/generic/lt3luabridge/
cp lt3luabridge.sty ${BUILD_DIR}/dist/tex/generic/lt3luabridge/
cp t-lt3luabridge.tex ${BUILD_DIR}/dist/tex/generic/lt3luabridge/

EOF


Expand Down Expand Up @@ -208,9 +228,12 @@ rm -rfv ${PREINSTALLED_DIR}/tex/latex/markdown/
rm -rfv ${PREINSTALLED_DIR}/tex/context/third/markdown/
rm -fv ${BINARY_DIR}/markdown-cli

# Uninstall the distribution lt3luabridge package
rm -rfv ${PREINSTALLED_DIR}/tex/generic/lt3luabridge/

EOF

# Install the Markdown package
# Install the Markdown package and the current lt3luabridge package
COPY --from=build ${BUILD_DIR}/dist ${INSTALL_DIR}/

RUN <<EOF
Expand Down
1 change: 0 additions & 1 deletion tests/templates/plain/input/head.tex.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

% Load the support files.
\markdownSetup {
eagerCache = false,
outputDir = OUTPUT_DIRECTORY,
import = {
witiko/markdown/test = snippet as testSnippet,
Expand Down
1 change: 0 additions & 1 deletion tests/templates/plain/verbatim/head.tex.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

% Load the support files.
\markdownSetup {
eagerCache = false,
outputDir = OUTPUT_DIRECTORY,
import = {
witiko/markdown/test = snippet as testSnippet,
Expand Down
Loading