Skip to content

Add project type support (article, presentation, poster) #2

@prudhomm

Description

@prudhomm

Summary

Extend article-cli to support different LaTeX project types beyond articles, including Beamer presentations and posters.

Motivation

The tool is currently article-centric. Many academic workflows require presentations (Beamer) and posters alongside articles. Supporting these as first-class project types enables:

  • Appropriate default templates per project type
  • Correct compilation settings (e.g., XeLaTeX for presentations with custom fonts)
  • Type-specific GitHub Actions workflows

Requirements

  • Add project_type configuration option: article, presentation, poster
  • Store project type in pyproject.toml under [tool.article-cli]
  • Update init command with --type option
  • Create template generation based on project type
  • Add [tool.article-cli.presentation] config section for presentation-specific options:
    • theme: Beamer theme name (e.g., numpex, metropolis)
    • aspect_ratio: 169, 43, 1610
    • font_theme: Optional font theme
    • color_theme: Optional color theme
  • Add [tool.article-cli.poster] config section for poster-specific options

Configuration Example

[tool.article-cli]
project_type = "presentation"

[tool.article-cli.presentation]
theme = "numpex"
aspect_ratio = "169"

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