Skip to content

Conversation

TomPlanche
Copy link
Contributor

I am submitting

  • a new package
  • an update for a package

Description

This update adds custom outline support to the clean-cnam-template package, giving users full control over the table of contents displayed on the title page.

What Changed

New Feature: Customizable Outline

  • Added outline-code parameter to clean-cnam-template() function
  • Users can now:
    • Use default outline (pass none or omit parameter)
    • Disable outline completely (pass false)
    • Provide custom outline configuration (e.g., outline(title: "Table des matières", depth: 2))

Documentation Updates

  • Added comprehensive "Custom Outline" section to README.md with examples
  • Fixed function name in README.md from conf to clean-cnam-template for consistency
  • Added inline documentation comments in main.typ demonstrating usage

Why This Is Useful

This enhancement provides greater flexibility for users who need to:

  • Customize the outline title (e.g., different languages)
  • Control outline depth for large documents
  • Disable the outline for documents where it's not needed
  • Apply custom styling or formatting to the outline

The change is fully backward compatible—existing documents continue to work without modification.

@typst-package-check typst-package-check bot changed the title Clean cnam template 1.1.0 clean-cnam-template:1.1.0 Oct 13, 2025
@typst-package-check typst-package-check bot added the update A package update. label Oct 13, 2025
Explicit code group for non typst code
Fixed version
Fixed import
@elegaanz elegaanz self-assigned this Oct 14, 2025
@TomPlanche
Copy link
Contributor Author

@elegaanz done, thanks !

@TomPlanche TomPlanche requested a review from elegaanz October 14, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants