Skip to content

Add classoption support for LaTeX document class options #169

@lex57ukr

Description

@lex57ukr

Goal

Add classoption support to the CLI so users can configure LaTeX document class options (e.g. twocolumn, landscape) through interactive prompts or command flags.

Scope

  • Expose classoption as a configurable field during project setup or via a dedicated command
  • Write the value as a YAML list into pandoc.yaml
  • Validate entries against known common values (twocolumn, landscape, draft, oneside) while allowing arbitrary pass-through

Outcome

Users can set LaTeX class options through the CLI without hand-editing pandoc.yaml.

Notes

Upstream: knight-owl-dev/keystone#168 adds classoption to the shared pandoc.yaml template with documentation and a blank default value. The property is a standard Pandoc template variable guarded by $if(classoption)$ in the default LaTeX template — a null/empty value is a safe no-op.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions