Re: Re: use {gmeometric} in Lyx?

2008-08-24 Thread Joanne Demmler
There still seems to be some kind of package clash. (kpsewhich shows 
that the sty files are installed correctly). I even tried it with all 
packages that gmeometric is based on. Now it seems to have a problem 
with itemize and still says that geometry is only allowed in the 
preamble. Never mind. I might sort out something eventually.


In the meantime I have been exploring alternative scenarios, i.e. have 
the page in landscape A4 and just print it off in A3. Sounds easy, one 
might think...


example 1
\usepackage{lscape} or \usepackage{pdflscape} (they are supposedly 
different, but in my case they came up exactly the same in LYX)


\begin{landscape}
*** content on a landscape page ***
\end{landscape}

This rotates very nicely the page, but the  headers stay on the top (as 
they should, because in the normal page you just want to turn your 
document). However as I want this page to be in A3 later on the header 
has to be on the long site.


example2
\usepackage{portland} should in theory turn the whole thing including 
headers, but refuses to do so when I try it!


\landscape
*** content on a landscape page ***
\portrait

Well, outcome just as in lscape, no rotation of the headers.

example 3
keep pages empty and replace them later over the command line using pdftk.

Possibly ok if you don't have fancy headers with section titles in them 
and if you have endless time to replace all single pages with the right 
page numbers.

-

So if anyone has an idea how to rotate the headers, it would be very 
much appreciated!


Joanne


Re: Re: use {gmeometric} in Lyx?

2008-08-24 Thread Joanne Demmler
There still seems to be some kind of package clash. (kpsewhich shows 
that the sty files are installed correctly). I even tried it with all 
packages that gmeometric is based on. Now it seems to have a problem 
with itemize and still says that geometry is only allowed in the 
preamble. Never mind. I might sort out something eventually.


In the meantime I have been exploring alternative scenarios, i.e. have 
the page in landscape A4 and just print it off in A3. Sounds easy, one 
might think...


example 1
\usepackage{lscape} or \usepackage{pdflscape} (they are supposedly 
different, but in my case they came up exactly the same in LYX)


\begin{landscape}
*** content on a landscape page ***
\end{landscape}

This rotates very nicely the page, but the  headers stay on the top (as 
they should, because in the normal page you just want to turn your 
document). However as I want this page to be in A3 later on the header 
has to be on the long site.


example2
\usepackage{portland} should in theory turn the whole thing including 
headers, but refuses to do so when I try it!


\landscape
*** content on a landscape page ***
\portrait

Well, outcome just as in lscape, no rotation of the headers.

example 3
keep pages empty and replace them later over the command line using pdftk.

Possibly ok if you don't have fancy headers with section titles in them 
and if you have endless time to replace all single pages with the right 
page numbers.

-

So if anyone has an idea how to rotate the headers, it would be very 
much appreciated!


Joanne


Re: Re: use {gmeometric} in Lyx?

2008-08-24 Thread Joanne Demmler
There still seems to be some kind of package clash. (kpsewhich shows 
that the sty files are installed correctly). I even tried it with all 
packages that gmeometric is based on. Now it seems to have a problem 
with "itemize" and still says that "geometry is only allowed in the 
preamble". Never mind. I might sort out something eventually.


In the meantime I have been exploring alternative scenarios, i.e. have 
the page in landscape A4 and just print it off in A3. Sounds easy, one 
might think...


example 1
\usepackage{lscape} or \usepackage{pdflscape} (they are supposedly 
different, but in my case they came up exactly the same in LYX)


\begin{landscape}
*** content on a landscape page ***
\end{landscape}

This rotates very nicely the page, but the  headers stay on the top (as 
they should, because in the normal page you just want to turn your 
document). However as I want this page to be in A3 later on the header 
has to be on the long site.


example2
\usepackage{portland} should in theory turn the whole thing including 
headers, but refuses to do so when I try it!


\landscape
*** content on a landscape page ***
\portrait

Well, outcome just as in "lscape", no rotation of the headers.

example 3
keep pages empty and replace them later over the command line using "pdftk".

Possibly ok if you don't have fancy headers with section titles in them 
and if you have endless time to replace all single pages with the right 
page numbers.

-

So if anyone has an idea how to rotate the headers, it would be very 
much appreciated!


Joanne


Re: use {gmeometric} in Lyx?

2008-08-22 Thread rgheck

Joanne Demmler wrote:

Hello everyone,

has anyone ever tried to insert an A3 page within an A4 document?

I found it mentioned on a LaTex site, where they suggest to use 
\usepackage{gmeometric}. This theoretically enables to use the 
\geometry command within the document. Apparently it needs another 
package called gmutils as well.


Anyway, I saved the style files somewhere under 
/usr/share/texmf/tex/latex and got Lyx to recognize them (they appear 
under Tools  TEX information). Then I added the corresponding 
\usepackage commands in the preamble.


However, when I try to run it now I get the following error message:

LaTeX Error: File `gmutils.sty' not found.

\usepackage
 {gmeometric}^^M
*** (cannot \read from terminal in nonstop modes)

Does anyone know how to resolve this?

Not immediately, but I'll give you my standard advice: Export to LaTeX 
and compile the document manually. You may get a bit more information 
that way. It's also possible that there's something about the order in 
which these packages must be loaded that you are (or LyX is) not getting 
right.


Also, try kpsewhich gmutils.sty from a terminal, and make sure LaTeX 
sees it. If it doesn't, you may need to run texhash again.


Also, from the installation instructions for gmutils:

3. Installation

Unpack the gmutils-tds.zip archive in some texmf directory or put the
gmutils.sty somewhere in the texmf/tex/latex branch on your
own. (Creating a /texmf/tex/latex/gm directory may be advisable if you
consider using other packages written by me.)

Then you should refresh your TeX distribution's files'
database most probably.


It may be that something expects this file to be in /texmf/tex/latex/gm/.

rh



Re: use {gmeometric} in Lyx?

2008-08-22 Thread rgheck

Joanne Demmler wrote:

Hello everyone,

has anyone ever tried to insert an A3 page within an A4 document?

I found it mentioned on a LaTex site, where they suggest to use 
\usepackage{gmeometric}. This theoretically enables to use the 
\geometry command within the document. Apparently it needs another 
package called gmutils as well.


Anyway, I saved the style files somewhere under 
/usr/share/texmf/tex/latex and got Lyx to recognize them (they appear 
under Tools  TEX information). Then I added the corresponding 
\usepackage commands in the preamble.


However, when I try to run it now I get the following error message:

LaTeX Error: File `gmutils.sty' not found.

\usepackage
 {gmeometric}^^M
*** (cannot \read from terminal in nonstop modes)

Does anyone know how to resolve this?

Not immediately, but I'll give you my standard advice: Export to LaTeX 
and compile the document manually. You may get a bit more information 
that way. It's also possible that there's something about the order in 
which these packages must be loaded that you are (or LyX is) not getting 
right.


Also, try kpsewhich gmutils.sty from a terminal, and make sure LaTeX 
sees it. If it doesn't, you may need to run texhash again.


Also, from the installation instructions for gmutils:

3. Installation

Unpack the gmutils-tds.zip archive in some texmf directory or put the
gmutils.sty somewhere in the texmf/tex/latex branch on your
own. (Creating a /texmf/tex/latex/gm directory may be advisable if you
consider using other packages written by me.)

Then you should refresh your TeX distribution's files'
database most probably.


It may be that something expects this file to be in /texmf/tex/latex/gm/.

rh



Re: use {gmeometric} in Lyx?

2008-08-22 Thread rgheck

Joanne Demmler wrote:

Hello everyone,

has anyone ever tried to insert an A3 page within an A4 document?

I found it mentioned on a LaTex site, where they suggest to use 
\usepackage{gmeometric}. This theoretically enables to use the 
\geometry command within the document. Apparently it needs another 
package called "gmutils" as well.


Anyway, I saved the style files somewhere under 
/usr/share/texmf/tex/latex and got Lyx to recognize them (they appear 
under Tools > TEX information). Then I added the corresponding 
\usepackage commands in the preamble.


However, when I try to run it now I get the following error message:

LaTeX Error: File `gmutils.sty' not found.

\usepackage
 {gmeometric}^^M
*** (cannot \read from terminal in nonstop modes)

Does anyone know how to resolve this?

Not immediately, but I'll give you my standard advice: Export to LaTeX 
and compile the document manually. You may get a bit more information 
that way. It's also possible that there's something about the order in 
which these packages must be loaded that you are (or LyX is) not getting 
right.


Also, try "kpsewhich gmutils.sty" from a terminal, and make sure LaTeX 
sees it. If it doesn't, you may need to run texhash again.


Also, from the installation instructions for gmutils:

3. Installation

Unpack the gmutils-tds.zip archive in some texmf directory or put the
gmutils.sty somewhere in the texmf/tex/latex branch on your
own. (Creating a /texmf/tex/latex/gm directory may be advisable if you
consider using other packages written by me.)

Then you should refresh your TeX distribution's files'
database most probably.


It may be that something expects this file to be in /texmf/tex/latex/gm/.

rh