Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lexer] Add support for \ProvidesExpl(Class|File) #3577

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

Sirraide
Copy link
Contributor

@Sirraide Sirraide commented Jun 8, 2024

Summary of additions and changes

In addition to \ProvidesExplPackage, LaTeX3 also introduces \ProvidesExplClass
and \ProvidesExplFile, which also have the effect of enabling LaTeX3 syntax. This
pr adds support for the latter two.

See the LaTeX 3 interfaces manual, § 2.1 ‘Using the LaTeX3 modules’.

How to test this pull request

\NeedsTeXFormat{LaTeX2e}
\ProvidesExplClass{myclass}{2024/06/08}{v1.0}{A class implemented in LaTeX3}
\cs_new:Npn \__my_internal_class_command:n #1 { Hello, ~ #1 ! }
  • Updated the documentation, or no update necessary
  • Added tests, or no tests necessary

(Ticked the second box on the grounds that there were no tests for \ProvidesExplPackage either...)

In addition to `\ProvidesExplPackage`, LaTeX3 also introduces `\ProvidesExplClass` and `\ProvidesExplFile`, which also have the effect of enabling LaTeX3 syntax.

See the LaTeX 3 interfaces manual, § 2.1 ‘Using the LATEX3 modules’.
Copy link
Collaborator

@PHPirates PHPirates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@PHPirates PHPirates merged commit 3a74375 into Hannah-Sten:master Jun 9, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants