Skip to content

Add a LaTeX formatting style file#971

Merged
strub merged 2 commits intomainfrom
latex-format
Apr 10, 2026
Merged

Add a LaTeX formatting style file#971
strub merged 2 commits intomainfrom
latex-format

Conversation

@namasikanam
Copy link
Copy Markdown
Collaborator

Add a LaTeX formatting style file for EasyCrypt, which is on top of listings. Note the existence in readme.

@strub
Copy link
Copy Markdown
Member

strub commented Apr 9, 2026

@namasikanam Are the keyword lists up to date? (You can use scripts/srctx/keywords < src/ecLexer.mll to extract the list)

@MM45
Copy link
Copy Markdown
Contributor

MM45 commented Apr 10, 2026

Also, since this is now a sty file, I think the \makeatletter and \makeatother can be removed?

@namasikanam
Copy link
Copy Markdown
Collaborator Author

namasikanam commented Apr 10, 2026

@namasikanam Are the keyword lists up to date? (You can use scripts/srctx/keywords < src/ecLexer.mll to extract the list)

@strub Updated to the latest keywords list now. BTW, for and match appear twice in the lexer.

Also, since this is now a sty file, I think the \makeatletter and \makeatother can be removed?

@MM45 I was not aware that these are unnecessary in .sty file. They're removed.

@strub strub enabled auto-merge April 10, 2026 17:04
@strub strub added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit 5a50911 Apr 10, 2026
16 checks passed
@strub strub deleted the latex-format branch April 10, 2026 17:38
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.

3 participants