bugLaTeX semantic checker - Bugs: bug #21731, Environments vs. commands

 
 

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

bug #21731: Environments vs. commands

Submitted by:  Yang Zhang <yzhang>
Submitted on:  Wed 05 Dec 2007 09:08:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ivan Andrus <gvol>
Open/Closed: Closed

Mon 23 Apr 2012 08:28:42 PM UTC, comment #2:

Changes are now in svn. I'll release a new version after I have used it for a while longer to help ensure that there are no bugs.

Ivan Andrus <gvol>
Project AdministratorIn charge of this item.
Wed 28 Mar 2012 05:15:05 PM UTC, comment #1:

Adding \ensuremath to MathEnvir doesn't help. Support for \ensuremath and \text and so on is a feature I'm hoping to implement soon.

Ivan Andrus <gvol>
Project AdministratorIn charge of this item.
Wed 05 Dec 2007 09:08:30 PM UTC, original submission:

ChkTeX complains about spaces following commands in a math environment. I'm not sure if ensuremath is something I can add to the MathEnvir group, since it's a command and not an environment.

For example, see just the last error below:

$ cat test.tex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
x = y ( 5 - z )
\end{align*}
\ensuremath{ \theta }
\end{document}

yang@yang-xps410 ~/tmp/chktex
$ chktex test.tex
ChkTeX v1.6.3 - Copyright 1995-96 Jens T. Berger Thielemann.

Warning 37 in test.tex line 5: You should avoid spaces after parenthesis.
x = y ( 5 - z )
^
Warning 8 in test.tex line 5: Wrong length of dash may have been used.
x = y ( 5 - z )
^
Warning 37 in test.tex line 5: You should avoid spaces in front of parenthesis.
x = y ( 5 - z )
^
Warning 1 in test.tex line 7: Command terminated with space.
\ensuremath{ \theta }
^
No errors printed; 4 warnings printed; No user suppressed warnings printed.

Yang Zhang <yzhang>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Apr 2012 08:31:14 PM UTCgvolStatusConfirmed=>Fixed
    Mon 23 Apr 2012 08:28:42 PM UTCgvolOpen/ClosedOpen=>Closed
    Sat 07 Apr 2012 08:16:39 PM UTCgvolStatusNone=>Confirmed
    Wed 28 Mar 2012 05:15:05 PM UTCgvolAssigned toNone=>gvol

    Back to the top


    Powered by Savane 3.1-cleanup1