[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#100505: algorithmic environment does not allow a line with only a comment



Package: tetex-extra
Version: 1.0-10
Severity: normal

The following lines gives "ERROR: LaTeX Error: Something's wrong--perhaps a
missing \item.":

\begin{algorithmic}
  \COMMENT{line with error}
\end{algorithmic}

The doc algorithms.dvi.gz (section 2.9) says only that comments are not
allowed at the end of the first line of constructs (if, while etc.)

Workaround: put in the beginning of the line an empty \STATE:
  \STATE \COMMENT{...}

Eugen

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux eminescu 2.2.19 #1 Sat Jun 9 13:04:06 EST 2001 i686

Versions of packages tetex-extra depends on:
ii  dpkg-perl                     0.1-3.0    Perl interface modules for dpkg   
ii  tetex-base                    1.0-10     basic teTeX library files         
ii  tetex-bin                     1.0.6-7    teTeX binary files                




Reply to: