Module error message?

2009-12-03 Thread Stefano Franchi
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 AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Module error message?

2009-12-03 Thread rgheck

On 12/03/2009 02:02 PM, Stefano Franchi wrote:

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.

   

This is bug 6361, which was just fixed. Short-term change this:


#\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}

   

to :

#\DeclareLyXModule{Comments-in-box}


rh



Re: Module error message?

2009-12-03 Thread Stefano Franchi
On 12/03/09, rgheck rgh...@bobjweil.com wrote:
On 12/03/2009 02:02 PM, Stefano Franchi wrote:
 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.

This is bug 6361, which was just fixed. Short-term change this:
 #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}

to :

#\DeclareLyXModule{Comments-in-box}


Thanks Richard. 

I am glad to hear I had the module syntax right, for once. Indeed, the change 
you suggested fixes the problem.

Cheers,

S.




rh

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Module error message?

2009-12-03 Thread Stefano Franchi
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 AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Module error message?

2009-12-03 Thread rgheck

On 12/03/2009 02:02 PM, Stefano Franchi wrote:

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.

   

This is bug 6361, which was just fixed. Short-term change this:


#\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}

   

to :

#\DeclareLyXModule{Comments-in-box}


rh



Re: Module error message?

2009-12-03 Thread Stefano Franchi
On 12/03/09, rgheck rgh...@bobjweil.com wrote:
On 12/03/2009 02:02 PM, Stefano Franchi wrote:
 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.

This is bug 6361, which was just fixed. Short-term change this:
 #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}

to :

#\DeclareLyXModule{Comments-in-box}


Thanks Richard. 

I am glad to hear I had the module syntax right, for once. Indeed, the change 
you suggested fixes the problem.

Cheers,

S.




rh

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Module error message?

2009-12-03 Thread Stefano Franchi
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 University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Module error message?

2009-12-03 Thread rgheck

On 12/03/2009 02:02 PM, Stefano Franchi wrote:

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.

   

This is bug 6361, which was just fixed. Short-term change this:


#\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}

   

to :

#\DeclareLyXModule{Comments-in-box}


rh



Re: Module error message?

2009-12-03 Thread Stefano Franchi
On 12/03/09, rgheck  wrote:
>On 12/03/2009 02:02 PM, Stefano Franchi wrote:
>> 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.
>
>This is bug 6361, which was just fixed. Short-term change this:
>> #\DeclareLyXModule[colortbl,tabularx]{Comments-in-box}
>
>to :
>
>#\DeclareLyXModule{Comments-in-box}
>
>
Thanks Richard. 

I am glad to hear I had the module syntax right, for once. Indeed, the change 
you suggested fixes the problem.

Cheers,

S.




>rh
>
__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237