[EMAIL PROTECTED] wrote:
Sorry if this is obvious, but I've been searching for quite a while without luck. Basically I would like to use Lyx and edit pseudocode using packages algorithm/algorithmic/algpseudocode. Preferably the notation using arrows for assignment, as demonstrated in the .tex file. This .tex file works fine using LaTeX but when importing the file into LyX, and creating a pdf preview, LyX complains:----------------------------------------------------- LaTeX Error: Something's wrong--perhaps a missing item. ...uclid} \begin{algorithmic}{[}1] \Procedure {Euclid}{$a,b$}\Comment{The Try typing <return> to proceed. If that doesn't work, type X <return> to quit. ----------------------------------------------------- The link that might offer help in this similar issue is broken.http://www.mail-archive.com/[email protected]/msg06574.htmlCan anyone help and show how to do this within LyX? Thanks, Erwin
Works fine for me here (LyX 1.5.3, Win XP). I tried both DVI and PDF and did not get the error message you quoted. My LyX file is attached.
algorithmic.lyx
Description: application/lyx
