bugLaTeX semantic checker - Bugs: bug #47231, Warning 24 in figure environment

 
 

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

bug #47231: Warning 24 in figure environment

Submitted by:  Hershal Bhave <hershal>
Submitted on:  Mon 22 Feb 2016 11:54:25 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Duplicate
Privacy: PublicAssigned to: Ivan Andrus <gvol>
Open/Closed: Closed

Wed 30 Mar 2016 04:04:33 AM UTC, comment #1:

This is a duplicate of #45980, and has been fixed. At the same time, however, I also improved it to recognize that the return after

\includegraphics{img.png}

is the space that you need to worry about. Thus you'll have to change it to

\includegraphics{img.png}%

to avoid the warning. This is correct behavior as far as I know.

This change is available in 1.7.5. If not, then please reopen this bug (or file another).

Ivan Andrus <gvol>
Project AdministratorIn charge of this item.
Mon 22 Feb 2016 11:54:25 PM UTC, original submission:

Hello,

I get a "Delete this space to maintain correct pagereferences" with the following code:

\begin{figure}
\centering
\includegraphics{img.png}
\label{fig:img}
\caption{An Image}
\end{figure}

The syntax error only disappears if I unindent the label tag (as follows):

\begin{figure}
\centering
\includegraphics{img.png}
\label{fig:img}
\caption{An Image}
\end{figure}

Is this an expected behavior?

Hershal Bhave <hershal>

 

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 hershal (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Mar 2016 04:04:33 AM UTCgvolStatusNone=>Duplicate
      Assigned toNone=>gvol
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1