Skip to content

Update latex-l2tabu.cwl and a bit more - #4680

Merged
sunderme merged 2 commits into
texstudio-org:masterfrom
muzimuzhi:cwl/l2tabu-updates
Oct 4, 2026
Merged

sunderme merged 2 commits into
texstudio-org:masterfrom
muzimuzhi:cwl/l2tabu-updates

Conversation

@muzimuzhi

Copy link
Copy Markdown
Contributor

Follow-up to #4676.

  • update latex-l2tabu.cwl
    • remove \fussy, not mentioned in l2tabu.pdf v2.4 (2016-02-03)
    • remove \begin{fussypar} env, non-existing and not-mentioned
    • add a comment for \begin{appendix} env
  • update latex-document.cwl
    • mark \begin{sloppypar} as unusual (#*), following \sloppy#*

- remove `\fussy`, not mentioned in l2tabu.pdf v2.4 (2016-02-03)
- remove `\begin{fussypar}` env, non-existing and not-mentioned
- add a comment for `\begin{appendix}` env
@muzimuzhi

Copy link
Copy Markdown
Contributor Author

With this PR, all entries in latex-l2tabu.cwl but \centerline are recorded in latex-document.cwl.

Current state of \centerline in cwl files:

$ rg -F '\centerline' completion
completion/plaintex.cwl
114:\centerline{text}

completion/tex.cwl
462:# \centerline, in "latex-l2tabu.cwl"

completion/latex-l2tabu.cwl
15:\centerline{text}

@sunderme
sunderme merged commit ca84b4e into texstudio-org:master Oct 4, 2026
8 checks passed
@muzimuzhi
muzimuzhi deleted the cwl/l2tabu-updates branch October 4, 2026 17:51
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