Skip to content

fix: resolve chktex warnings in tex files#74

Open
pasrom wants to merge 1 commit into
mainfrom
fix/chktex-warnings
Open

fix: resolve chktex warnings in tex files#74
pasrom wants to merge 1 commit into
mainfrom
fix/chktex-warnings

Conversation

@pasrom

@pasrom pasrom commented Apr 6, 2026

Copy link
Copy Markdown
Owner

What

Fixes 23 chktex warnings (types 1, 2, 24) in tex/Examples.tex and tex/Anhang.tex.

Why

Prepares for the chktex lint CI step (PR #73). These are the most common and easiest to fix warnings:

  • W1 (10x): Command terminated with space. Fixed by adding %
  • W24 (9x): Space before \label can break page references. Fixed by adding % after \unterschrift/\caption
  • W2 (4x): Non-breaking space before \ref/\cite. Fixed by using ~

How tested

  • chktex -q tex/*.tex shows zero warnings for types 1, 2, 24
  • FHVMODE=2 and FHVMODE=5 build successfully

- Add % after commands to prevent "command terminated with space" (W1)
- Use non-breaking space ~ before \ref and \cite (W2)
- Add % after \unterschrift/\caption before \label to fix page refs (W24)
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.

1 participant