-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Summary
Extend the generated GitHub Actions workflow to support Beamer presentations with XeLaTeX compilation and multiple document outputs.
Motivation
The current workflow template in repository_setup.py is article-focused with pdflatex compilation. Presentation projects need:
- XeLaTeX compilation for custom fonts
- Output directory support (
build/) - Multiple document compilation (presentation + poster)
- Font setup in CI environment
Requirements
Workflow Updates
- Add XeLaTeX compilation path in workflow template
- Support
build/output directory - Add font installation step when fonts are configured
- Support compiling multiple documents (configurable list)
- Update artifact paths for output directory
Configuration-Driven Workflow
- Read project type from
pyproject.tomlto determine compilation settings - Support
documentslist in config for multi-document projects:[tool.article-cli] project_type = "presentation" [tool.article-cli.documents] main = "presentation.tex" additional = ["poster.tex"]
Example Workflow Changes
- name: Compile LaTeX document
run: |
latexmk -shell-escape -xelatex -outdir=build presentation.tex
- name: Compile Poster (if configured)
run: |
latexmk -shell-escape -xelatex -outdir=build poster.texRelease Artifact Updates
- Include all compiled PDFs in release
- Support configurable artifact inclusion patterns
Related
- Depends on Add XeLaTeX and LuaLaTeX engine support #1 (XeLaTeX support)
- Depends on Add project type support (article, presentation, poster) #2 (project type)
- Part of Beamer presentation support initiative
Metadata
Metadata
Assignees
Labels
No labels