Janusz Borkowski wrote:
Hello !
If I begin a paragraph in List environment with a math formula containing square brackets, e.g. a[1], LyX complains showing a number of errors. E.g. :
---
Extra }, or forgotten $. \item [$a[1]
$]rest of paragraph
---
and
---
LaTeX Error: Something's wrong--perhaps a missing \item.
\end{lyxlist}
---
It seems, that square brackets confuse LyX in this context. Using \left[ \right] does not help.
Does anyone know how to overcome this problem??
this is wrong LaTeX code, write {$a[1]$}, otherwise the closing
bracket is taken as a closing item.
Herbert