Skip to content

Remove the obsolete Windows and MiKTeX build path - #18

Merged
Traap merged 1 commit into
masterfrom
issue/14-remove-windows-miktex-path
Dec 1, 2026
Merged

Traap merged 1 commit into
masterfrom
issue/14-remove-windows-miktex-path

Conversation

@Traap

@Traap Traap commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Closes #14

Principle: Subtract Before You Add - delete the Windows glossary branch instead of replacing it with another special case.

The PDF rule was calling makeglossaries and running latexmk again only when RbConfig reported a Windows host. That branch existed for MiKTeX. Both are obsolete, so the rule is one latexmk invocation on every system.

Verification

ruby test/deploy_test.rb passes. The stub records one latexmk call for my docs/note.texx, and the PDF is published under _build.

DOCBLD_REAL_LATEX=1 ruby test/deploy_test.rb --name test_real_latexmk_compiles_a_document compiled a real article with the system latexmk and published a non-empty PDF.

GitHub Actions runs the stub suite on this pull request.

Compile each PDF with one latexmk call. Windows and MiKTeX no
longer need a second pass or makeglossaries.

Add a fixture test that deploys a temporary .texx file, and run it
from GitHub Actions.
@Traap
Traap merged commit 262f97e into master Dec 1, 2026
1 check passed
@Traap
Traap deleted the issue/14-remove-windows-miktex-path branch December 1, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the obsolete Windows and MiKTeX build path

1 participant