On 16/03/2011 8:43 AM, Dean Chandler wrote:
I use Lyx 1.6.5 under Ubuntu Linux version 10.04.

Has anyone used the Newspaper Package with Lyx?
I believe I have all the required packages, because everything works
very well with the Texworks and Texmaker Latex programs.
However, after importing the example tex file into Lyx, I received three
errors making the dvi output. These are listed below.

I don't know enough about the innards of Lyx to know if it is even
possible to use the Newspaper Package. I would appreciate any advice.

Dean


Hi there,

The bad news is: LyX does not support arbitrarily all latex packages out there. Obviously it does not have out of the box support for yours.

There is some hope though: You can customize LyX in many ways, including the support of new packages through modules. See the LyX customization manual that you find in the help menu. More on this below...

ERROR 2
\begin{window}{[}


All your errors relate to the same: "window" is not a latex environment that LyX knows about. You will need to instruct LyX how to handle this by use of a module. It looks as though the latex should have the form

\begin{window}[some instruction]

and I can't remember if LyX supports such syntax. Right now you see "{[}" instead of just "[" in the source because LyX is trying to be too clever. As a workaround you might want to put "[" and "]" in ERT (Insert > TeX code). This will prevent LyX from adding the surrounding braces.

--
Julien

Reply via email to