bugLaTeX semantic checker - Bugs: bug #57784, Suggestion: disable W36 inside...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57784: Suggestion: disable W36 inside \texttt

Submitter:  Martin Pépin <kerl>
Submitted:  Mon 10 Feb 2020 05:37:37 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  gvol
Open/Closed:  Closed

Sat 02 Oct 2021 09:59:33 AM UTC, comment #2: 

Hey, sorry for my very late answer.

I added \texttt:{} to WipeArg in my .chktexrc file. I was not aware of the existence of that file at the time of posting the original answer, thanks for mentioning it. I should have checked the docs…

And I buy your point: disabling W36 in \texttt makes sense for my personal use but not necessarily for everyone. +1

Martin Pépin <kerl>
Fri 19 Mar 2021 02:23:52 AM UTC, comment #1: 

This is interesting.  I suppose you could add it to WipeArg so that no checking is done inside.  If you use it for code then you wouldn't want any checking done, so that's probably okay.  In my opinion, there's nothing abaout \texttt that indicates it is code and shouldn't be checked, so I don't want to put it WipeArg by default.

Ivan Andrus <gvol>
Group administrator
Mon 10 Feb 2020 05:37:37 PM UTC, original submission:  

Hi,

If I understand correctly, the W36 warning ("You should put a space in front of parenthesis") is there to prevent typos(just like this one!) in "normal" text, which is very nice.

However its seems to me that it would make sense to disable this feature inside \texttt{} where the user might want to control the spacing themselves, typically when writing short snippets of code.

I least for my use-case it does make sense, but I might be missing other scenarios for which keeping W36 is better. What do you think?

Best

Martin Pépin <kerl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gvol (Posted a comment)
  • -email is unavailable- added by kerl (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-17 gvol Open/ClosedOpen Closed
    2021-03-19 gvol StatusNone Wont Fix
        Assigned toNone gvol

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code