Newspaper Package

2011-03-16 Thread Dean Chandler

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

ERROR 1
 \begin{window}{

[}2,r,\includegraphics[width=1in]{0_home_engineer_tex_ne...
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

ERROR 2
 \begin{window}{[}

2,r,\includegraphics[width=1in]{0_home_engineer_tex_ne...
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

ERROR 3
 more space. \end{window}
  \closearticle
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.



Re: Newspaper Package

2011-03-16 Thread Julien Rioux

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



Newspaper Package

2011-03-16 Thread Dean Chandler

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

ERROR 1
 \begin{window}{

[}2,r,\includegraphics[width=1in]{0_home_engineer_tex_ne...
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

ERROR 2
 \begin{window}{[}

2,r,\includegraphics[width=1in]{0_home_engineer_tex_ne...
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

ERROR 3
 more space. \end{window}
  \closearticle
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.



Re: Newspaper Package

2011-03-16 Thread Julien Rioux

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



Newspaper Package

2011-03-16 Thread Dean Chandler

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

ERROR 1
 \begin{window}{

[}2,r,\includegraphics[width=1in]{0_home_engineer_tex_ne...
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

ERROR 2
 \begin{window}{[}

2,r,\includegraphics[width=1in]{0_home_engineer_tex_ne...
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

ERROR 3
 more space. \end{window}
  \closearticle
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.



Re: Newspaper Package

2011-03-16 Thread Julien Rioux

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