Dear Lyxers,
after moving a few lines of latex code that frames comments in a grayed box
from the preamble to its own module I get the following error each time the
module is loaded:
The module Comment-in-box requires a package that is
not available in your LaTeX installation. LaTeX output
may not be possible.
However the module works fine and the pdf it produces is correct and the two
Latex packages the code uses are available in my installation. I suppose I
made a mistake in the module itself. Can anyone tell me what I did wrong? I
append the full module code below.
Thanks,
S.
#\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}
#DescriptionBegin
# Shows comments in a gray box
#
#DescriptionEnd
# Author: stefano Franchi
Format 11
AddToPreamble
% The next bit shows the comment environment inside a grey box
\renewenvironment{comment}
{% replaces \begin{comment}
\noindent
\tabularx{\textwidth}{|>{\columncolor[gray]{0.9}}X|}
\hline
\emph{\textbf{Comment:}}
}
{% replaces \end{comment}
\endtabularx\hrule
}
EndPreamble
______________________________________________________________
Stefano Franchi
Department of Philosophy Ph: (979) 862-2211
Texas A&M University Fax: (979) 845-0458
305B Bolton Hall [email protected]
College Station, TX 77843-4237