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

False positive on \newenvironment #879

Open
paaguti opened this issue Apr 12, 2023 · 0 comments
Open

False positive on \newenvironment #879

paaguti opened this issue Apr 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@paaguti
Copy link

paaguti commented Apr 12, 2023

This LaTeX fragment flags an errir

\newcounter{milestone}
\newenvironment{milestone}[1][]{%
  \refstepcounter{milestone}\par\medskip
  \setlength\parindent{-18pt}
  \textbf{\sffamily \mstext~\themilestone:}\label{ms:ms\themilestone} #1
}{\medskip\setlength\parindent{0pt}%
}

with a missing }' on \themilestone and an unexpected {`on the line afterwards.

@pfoerster pfoerster added the bug Something isn't working label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants