Skip to content

Update GitHub Actions workflow templates for presentations #5

@prudhomm

Description

@prudhomm

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.toml to determine compilation settings
  • Support documents list 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.tex

Release Artifact Updates

  • Include all compiled PDFs in release
  • Support configurable artifact inclusion patterns

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions