Re: Problem with geometry package (urgent)

2008-11-10 Thread a e
Hi Everybody:


I've just found the workaround by myself. The problem seemed to be that I 
loaded a lot of packages on the preamble and the order was not the correct one.
In fact, I was using the "fancyhdr" package. When I changed the order of both 
packages, everuthyng worked fine. I had load "geometry" package first, and then 
the "fancyhdr".

Thank you anyway.


  

Re: Problem with geometry package (urgent)

2008-11-05 Thread Les Denham
On Wednesday 05 November 2008, a e wrote:
> Thank you for answering. Here I post a minimal document

Looks right to me when I generate a PDF.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Problem with geometry package (urgent)

2008-11-05 Thread Paul A. Rubin

a e wrote:

Hi Les:

Thank you for answering. Here I post a minimal document

Options (book). Font: 12pt, Two sided:
Preamble:

\usepackage[a4paper,twoside,includeall,outer= 2.5 cm,inner= 0.75 cm,
vmarginratio=4:5,textheight= 25 cm,ignoremp,bindingoffset= 0.5
cm,pdftex]{geometry}

LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a 
graphical interface. This results in world-class support for creation of 
mathematical content (via a fully integrated equation editor) and structured 
documents like academic articles, theses, and books. In addition, staples of 
scientific authoring such as reference list and index creation come standard. 
But you can also use LyX to create a letter or a novel or a theatre play or 
film script. A broad array of ready, well-designed document layouts are built 
in. LyX is for people who want their writing to look great, right out of the 
box. No more endless tinkering with formatting details, “finger painting” font 
attributes or futzing around with page boundaries. You just write. On screen, 
LyX looks like any word processor; its printed output — or richly 
cross-referenced PDF, just as readily produced — looks like nothing else. LyX 
is released under a Free Software / Open
 Source license, runs on Linux/Unix, Windows, and Mac OS X, and is available in 
several languages

With this, the final pdf corresponds (logically) to an odd page, and the final 
margins are:

leftside = 2 cm != inner+bindingoffset = 1.25cm
rightside = 3 cm != outer = 2.5 cm


  


If you compile the attached document in LyX, do you get the correct 
margins?  It looks correct here.


Incidentally, is there any reason why you put the geometry options in 
the preamble rather than using the document properties dialog?


/Paul


a4test.lyx
Description: application/lyx


Re: Problem with geometry package (urgent)

2008-11-05 Thread a e
Hi Les:

Thank you for answering. Here I post a minimal document

Options (book). Font: 12pt, Two sided:
Preamble:

\usepackage[a4paper,twoside,includeall,outer= 2.5 cm,inner= 0.75 cm,
vmarginratio=4:5,textheight= 25 cm,ignoremp,bindingoffset= 0.5
cm,pdftex]{geometry}

LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a 
graphical interface. This results in world-class support for creation of 
mathematical content (via a fully integrated equation editor) and structured 
documents like academic articles, theses, and books. In addition, staples of 
scientific authoring such as reference list and index creation come standard. 
But you can also use LyX to create a letter or a novel or a theatre play or 
film script. A broad array of ready, well-designed document layouts are built 
in. LyX is for people who want their writing to look great, right out of the 
box. No more endless tinkering with formatting details, “finger painting” font 
attributes or futzing around with page boundaries. You just write. On screen, 
LyX looks like any word processor; its printed output — or richly 
cross-referenced PDF, just as readily produced — looks like nothing else. LyX 
is released under a Free Software / Open
 Source license, runs on Linux/Unix, Windows, and Mac OS X, and is available in 
several languages

With this, the final pdf corresponds (logically) to an odd page, and the final 
margins are:

leftside = 2 cm != inner+bindingoffset = 1.25cm
rightside = 3 cm != outer = 2.5 cm


  

Re: Problem with geometry package (urgent)

2008-11-04 Thread Les Denham
On Tuesday 04 November 2008, a e wrote:
> Sorry if this has an stupid answer but I'm burned out triying to set up the
> correct margins for my document. I'm using Lyx 1.5.5 working with  two
> sided document (Document->Page layout-> two sided) (book class) and using
> "geometry" package with the following options.
>
> \usepackage[a4paper,twoside,includeall,outer= 2.5 cm,inner= 0.75 cm,
>  vmarginratio=4:5,textheight= 25 cm,ignoremp,bindingoffset= 0.5
> cm,pdftex]{geometry}

I tried using these options myself on a test document, and I get the correct 
margins.  I'm using LyX 1.5.4.  Can you post a minimal document which has the 
problem?

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Problem with geometry package (urgent)

2008-11-04 Thread a e
Hi everybody:

Sorry if this has an stupid answer but I'm burned out triying to set up the 
correct margins for my document. I'm using Lyx 1.5.5 working with  two sided 
document (Document->Page layout-> two sided) (book class) and using "geometry" 
package with the following options.

\usepackage[a4paper,twoside,includeall,outer= 2.5 cm,inner= 0.75 cm,  
vmarginratio=4:5,textheight= 25 cm,ignoremp,bindingoffset= 0.5 
cm,pdftex]{geometry}

However when I generate the pdf file. I get 

even pages

3.2 cm as outer margin
5.8 cm as inner margin

odd pages

2.0 cm as inner margin
7.0 cm as outer margin

When it should be (at least is what I want):

even pages

2.5 cm as outer margin
1.25 cm as inner margin

odd pages

1.25 cm as inner margin
2.5 cm as outer margin

In such way I should get a book document with the same central spacing as the 
outer margins. 

[0.75 + 0.5 (binding) ] x 2 = 2.5 cm = outer margin

I've checked that the pagenumber is correct, so the even pages are the even 
ones and odd the odd.
Any idea about what I'm doing wrong? I've tried so many things... 

Thank you for advance


  

Re: \usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
On Mon, Nov 07, 2005 at  6:22:51PM -0500, Paul A. Rubin wrote:
> Fortunately, options can be set with \geometry{}, and invocations
> of that macro are cumulative.  So try \geometry{dvips} in your
> preamble and see if that works. 

It does indeed.

Thanks, Paul!

Jim


Re: \usepackage[dvips]{geometry}: How?

2005-11-07 Thread Paul A. Rubin

Jim Osborn wrote:

I'd like to take advantage of xdvik's ability to sense the paper size
from the dvi file, as recommended in the xdvi man page, by putting
the subject line in the latex source.  It works fine in a custom
class file, but when I put that line in the Preamble of an ordinary
Article class I get this error:

  -
  LaTeX Error: Option clash for package geometry.

  The package geometry has already been loaded with options:
[]
  There has now been an attempt to load it with options
[dvips]
  Adding the global options:
,dvips
  to your \documentclass declaration may fix this...
  -

I can't find any mention of geometry in the teTeX-3.0 article.cls file,
nor in any of the other searching I've done.

LyX 1.3.5 seems to imply that geometry gets invoked for certain paper
sizes, but I can't find any place either in the Layout->Document or
the Edit->Preferences dialogs to set this particular option.

How can I put "\usepackage[dvips]{geometry}" in an article?

TIA,

Jim



Certain document settings, such as custom paper sizes or margins (I 
think), cause LyX to load the geometry package and pass it necessary 
options.  If you View->LaTeX your document, you'll see in the preamble 
where LyX loaded the geometry package.


Fortunately, options can be set with \geometry{}, and invocations of 
that macro are cumulative.  So try \geometry{dvips} in your preamble and 
see if that works.


Paul



\usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
I'd like to take advantage of xdvik's ability to sense the paper size
from the dvi file, as recommended in the xdvi man page, by putting
the subject line in the latex source.  It works fine in a custom
class file, but when I put that line in the Preamble of an ordinary
Article class I get this error:

  -
  LaTeX Error: Option clash for package geometry.

  The package geometry has already been loaded with options:
[]
  There has now been an attempt to load it with options
[dvips]
  Adding the global options:
,dvips
  to your \documentclass declaration may fix this...
  -

I can't find any mention of geometry in the teTeX-3.0 article.cls file,
nor in any of the other searching I've done.

LyX 1.3.5 seems to imply that geometry gets invoked for certain paper
sizes, but I can't find any place either in the Layout->Document or
the Edit->Preferences dialogs to set this particular option.

How can I put "\usepackage[dvips]{geometry}" in an article?

TIA,

Jim


Re: changing the margin in text with \geometry

2004-11-03 Thread Herbert Voss
Robert Neumann wrote:
I am writing a text using the package geometry. for the 4th and 5th chapter 
the topmargin should be changed. but I get the error message that 
\geometry{tmargin=10mm} can only be used in the preamble.
using \topmargin is not easy because the tmargin of the geometry package and 
\topmargin are totally different
ist there a way to use \geoemtry- commands in the text and not only in the 
preamble?
attached an example
Herbert


--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
\newlength\chapOffset\global\chapOffset=50\p@
\edef\changeTopMargin#1{\global\chapOffset=#1}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
  \vspace*{\chapOffset}%
  {\parindent \z@ \raggedright \normalfont
\ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED]
  [EMAIL PROTECTED]
\huge\bfseries [EMAIL PROTECTED] \thechapter
\par\nobreak
\vskip 20\p@
  \fi
\fi
[EMAIL PROTECTED]
\Huge \bfseries #1\par\nobreak
\vskip 40\p@
  }}
\end_preamble
\options openany
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Title

Title
\layout Author

Herert Voß
\layout Chapter

First One
\layout Standard

bla blah laber fasel bla blah laber fasel bla blah laber blah laber fasel
 Rekombinationsstrategie This is the deafult danger box.
 You get it with
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
changeTopMargin{-3cm}
\end_inset 


\layout Chapter

First two
\layout Standard

bla blah laber fasel bla blah laber fasel bla blah laber blah laber fasel
 Rekombinationsstrategie This is the deafult danger box.
 You get it with 
\layout Chapter

First Three
\layout Standard

bla blah laber fasel bla blah laber fasel bla blah laber blah laber fasel
 Rekombinationsstrategie This is the deafult danger box.
 You get it with 
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
resetTopMargin
\end_inset 


\layout Chapter

First Four
\layout Standard

bla blah laber fasel bla blah laber fasel bla blah laber blah laber fasel
 Rekombinationsstrategie This is the deafult danger box.
 You get it with 
\the_end


changing the margin in text with \geometry

2004-11-02 Thread Robert Neumann
Hello,
I am writing a text using the package geometry. for the 4th and 5th chapter 
the topmargin should be changed. but I get the error message that 
\geometry{tmargin=10mm} can only be used in the preamble.
using \topmargin is not easy because the tmargin of the geometry package and 
\topmargin are totally different
ist there a way to use \geoemtry- commands in the text and not only in the 
preamble?
thanks
robert


Re: geometry package not working...

2004-08-30 Thread Raymond Ouellette
Hem, :-( I didn't check my preambule...

I had letterpaper as an option for package hyperref, so invoking legal size in the 
paper size box was a bad mixture!

LyX was'nt wrong!

Raymond

-- 

Édité et transmis avec des logiciels libres sous Linux !


geometry package not working...

2004-08-28 Thread Raymond Ouellette
Same behavior on two systems:
Mandrake 10.0 Official + LyX 1.3.4Qt
Slackware 10 + LyX1.3.4Qt

I joined a gzip lyx file to this post to show the problem. Package geometry doesn't 
seem to work at all, margins are not respected and if I use legal paper then the text 
overlap towards the bottom  or start too far down on the page.

What am I doing wrong ? The look is a little better when I choose letter size but the 
margins are not respected.

Raymond

-- 

Édité et transmis avec des logiciels libres sous Linux !


legal.lyx.gz
Description: Binary data


Re: seminar bug, geometry and a4paper

2003-12-12 Thread Herbert Voß
Günter Milde wrote:

seminar.cls has a bug that prevents proper working with the "a4paper"
option. (Option "a4" works).
the seminar and prosper packages are still buggy.

The bug prevents use of seminar as doctype from LyX together with the
geometry package and a4 option, as LyX inserts:
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=1cm,bmargin=1cm,lmargin=2cm,rmargin=2cm}
and subsequentely, LaTeX reports an "! Undefined control sequence." error

I wonder, whether the prosper package built on seminar is affected too...

As seminar.cls is no longer maintained by the author, fixing it upstream
is nontrivial. I filed a bug to the the Debian maintainer of tetex-extra
Frank Küster and got a prompt response inclusive improved patch:
I do not think that this is the right way to create a special
package for LyX. You also can insert these lines into the
preamble without doing it from inside LyX.
\usepackage{geometry}
\geometry{verbose,a4,tmargin=1cm,bmargin=1cm,lmargin=2cm,rmargin=2cm}
Herbert




Re: Specifying LyX startup geometry

2003-12-11 Thread Paul A. Rubin
[posted and mailed]

Jim Osborn <[EMAIL PROTECTED]> wrote in news:20031211214006.GB11246
@eskimo.com:

> The Customization help for LyX 1.3.2 says, "3.9: There are many other
> configuration options... Please ask on the mailing lists if you need 
> some more information..."
> 
> So, is there a line I can put in my lyxrc file to tell LyX to
> start in the upper left corner of the screen, with size 800x860,
> that is, --geometry "800x860+0+0"?  I tried the obvious:
> 
> \screen_geometry "800x860+0+0"
> 
> but it had no effect, nor did it produce an error message.
> I'm using Qt, fwiw.
> 
> TIA,
> 
> Jim
> 
> 

Try -geometry 800x860+0+0 as an argument to the lyx command (note the 
single dash).

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Specifying LyX startup geometry

2003-12-11 Thread Jim Osborn
The Customization help for LyX 1.3.2 says, "3.9: There are many other
configuration options... Please ask on the mailing lists if you need 
some more information..."

So, is there a line I can put in my lyxrc file to tell LyX to
start in the upper left corner of the screen, with size 800x860,
that is, --geometry "800x860+0+0"?  I tried the obvious:

\screen_geometry "800x860+0+0"

but it had no effect, nor did it produce an error message.
I'm using Qt, fwiw.

TIA,

Jim


seminar bug, geometry and a4paper

2003-12-11 Thread Günter Milde
Dear lyx-users,

seminar.cls has a bug that prevents proper working with the "a4paper"
option. (Option "a4" works).

The bug prevents use of seminar as doctype from LyX together with the
geometry package and a4 option, as LyX inserts:

\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=1cm,bmargin=1cm,lmargin=2cm,rmargin=2cm}

and subsequentely, LaTeX reports an "! Undefined control sequence." error

I wonder, whether the prosper package built on seminar is affected too...

As seminar.cls is no longer maintained by the author, fixing it upstream
is nontrivial. I filed a bug to the the Debian maintainer of tetex-extra
Frank Küster and got a prompt response inclusive improved patch:

--- tetex-base-2.0.2/texmf/tex/latex/seminar/seminar.cls.orig   Wed Dec 10
+14:58:57 2003
+++ tetex-base-2.0.2/texmf/tex/latex/seminar/seminar.clsWed Dec 10
+15:03:13 2003
@@ -79,7 +79,7 @@
   \paperheight 297mm
   \slidewidth 222mm
   \slideheight 152mm\relax}
[EMAIL PROTECTED]
+\DeclareOption{a4paper}{\csname [EMAIL PROTECTED]
 \DeclareOption{semrot}{\AtEndOfClass{\input{semrot.sty}}}
 \DeclareOption{semhelv}{\AtEndOfClass{\input{semhelv.sty}}}
 \DeclareOption{semcolor}{\AtEndOfClass{\input{semcolor.sty}}}


Günter


-- 
G.Milde at web.de


Re: geometry in LyX-1.2.1

2002-11-21 Thread Ronald Florence
My thanks to those who kindly pointed out that the geometry package is 
still alive and well in LyX-1.2.1.   Regards,
--

Ronald Florencewww.18james.com





Re: geometry in LyX-1.2.1

2002-11-21 Thread Jean-Marc Lasgouttes
>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Ronald Florence wrote:
>> Am I missing something, or is the geometry input not in LyX-1.2.1?
>> I remember from earlier versions that it was possible to select
>> margins from the Layout -> Page menu. With LyX-1.2.1 I ended up
>> putting some geometry parameters in the Preamble.

Juergen> It is still there, but more hidden. It is the "custom
Juergen> margins" checkbox in Layout-> Paper.

This should be Layout>Document, and then the 'Paper' tab, of course.

JMarc



Re: geometry in LyX-1.2.1

2002-11-20 Thread Juergen Spitzmueller
Ronald Florence wrote:
> Am I missing something, or is the geometry input not in LyX-1.2.1?  I
> remember from earlier versions that it was possible to select margins
> from the Layout -> Page menu.  With LyX-1.2.1 I ended up putting some
> geometry parameters in the Preamble.

It is still there, but more hidden. It is the "custom margins" checkbox in 
Layout->Paper.

Regards,
Jürgen.



geometry in LyX-1.2.1

2002-11-20 Thread Ronald Florence
Am I missing something, or is the geometry input not in LyX-1.2.1?  I 
remember from earlier versions that it was possible to select margins 
from the Layout -> Page menu.  With LyX-1.2.1 I ended up putting some 
geometry parameters in the Preamble.
--

Ronald Florence			www.18james.com



Re: lyx -geometry ?

2002-09-03 Thread Ronald Florence

Peter Suetterlin wrote:

> Hm, lyx -geometry 750x750+0+88 does work for me.
> 
> However, I'm not able to resize the lyx window to something smaller than
> the starting size. 
> 
> 
>>How do I get the geometry parameters, including position on the screen, 
>>to work.  Thanks,
> 
> 
> What Windowmanager/DTE do you use?

The window-manager is OroborOSX, used with XDarwin, which is the MacOSX 
version of Xfree86.

Ronald Florence www.18james.com






Re: lyx -geometry ?

2002-09-03 Thread Peter Suetterlin

Ronald Florence wrote:
> I thought I read in the documentation that newer versions of LyX (I'm 
> using Lyx-1.2.1) recognized the -geometry command-line argument and the 
> Lyx*geometry entry in ./.Xdefaults.  Mine seems not to, unless I've 
> gotten the syntax wrong.  When I put
> 
>Lyx*geometry: 720x900+283-15
> 
> in .Xdefaults, Lyx opens in the center of the screen with a window that 
> is about 720x450.
> 
> If I put lyx.height and lyx.width parameters in .Xdefaults, LyX seems to 
> follow them.

Hm, lyx -geometry 750x750+0+88 does work for me.

However, I'm not able to resize the lyx window to something smaller than
the starting size. 

> How do I get the geometry parameters, including position on the screen, 
> to work.  Thanks,

What Windowmanager/DTE do you use?

  Pit

-- 
Peter "Pit" Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



lyx -geometry ?

2002-09-03 Thread Ronald Florence

I thought I read in the documentation that newer versions of LyX (I'm 
using Lyx-1.2.1) recognized the -geometry command-line argument and the 
Lyx*geometry entry in ./.Xdefaults.  Mine seems not to, unless I've 
gotten the syntax wrong.  When I put

   Lyx*geometry: 720x900+283-15

in .Xdefaults, Lyx opens in the center of the screen with a window that 
is about 720x450.

If I put lyx.height and lyx.width parameters in .Xdefaults, LyX seems to 
follow them.

How do I get the geometry parameters, including position on the screen, 
to work.  Thanks,

Ronald Florence






Re: 1.2.0: -geometry option does not work

2002-05-29 Thread John Levon

On Wed, May 29, 2002 at 10:37:15AM +0100, Andreas Busch wrote:

> > What exactly goes wrong for you ?
> 
> Well, it just ignores the -geometry command line parameter. I 
> compiled it --with-version-suffix, so I have a $HOME/.lyx and a 
> $HOME/.lyx-1.2.0 directory. But that shouldn't be a problem, should 
> it?

What window manager are you using ? Can you try a different one ?

I don't know why this would fail

john
-- 
"Time is a great teacher, but unfortunately it kills all its pupils."
- Hector Louis Berlioz 



Re: 1.2.0: -geometry option does not work

2002-05-29 Thread Andreas Busch

On Tue, 28 May 2002 19:00:27 BST,  John Levon <[EMAIL PROTECTED]>  wrote: 

>> I compiled and installed LyX 1.2.0 yesterday and discovered that my 
>> usual way of starting it with the -geometry option no longer works.
>> Is this a bug or a feature? (and in the latter case, what is the 
>> advantage?)
>
> Works fine for me. Try removing your $HOME/.lyx (after backing it up
> of course) to see if that helps.
>
> What exactly goes wrong for you ?

Well, it just ignores the -geometry command line parameter. I 
compiled it --with-version-suffix, so I have a $HOME/.lyx and a 
$HOME/.lyx-1.2.0 directory. But that shouldn't be a problem, should 
it?

Thanks for your reply,

Andreas
-- 
Dr. Andreas Busch
Centre for European Politics,   [EMAIL PROTECTED]
Economics and Society   Web: http://users.ox.ac.uk/~busch
University of OxfordTel. (+44)-1865-278 704
3 George Street MewsFax. (+44)-1865-278 725
Oxford OX1 2AA, United Kingdom





Re: 1.2.0: -geometry option does not work

2002-05-28 Thread John Levon

On Tue, May 28, 2002 at 06:00:40PM +0100, Andreas Busch wrote:

> I compiled and installed LyX 1.2.0 yesterday and discovered that my 
> usual way of starting it with the -geometry option no longer works.
> Is this a bug or a feature? (and in the latter case, what is the 
> advantage?)

Works fine for me. Try removing your $HOME/.lyx (after backing it up of
course) to see if that helps.

What exactly goes wrong for you ?

regards
john

-- 
"Time is a great teacher, but unfortunately it kills all its pupils."
- Hector Louis Berlioz 



1.2.0: -geometry option does not work

2002-05-28 Thread Andreas Busch

Hi,

I compiled and installed LyX 1.2.0 yesterday and discovered that my 
usual way of starting it with the -geometry option no longer works.
Is this a bug or a feature? (and in the latter case, what is the 
advantage?)

Hoping that someone will enlighten me,

cheers and thanks for another update of my favourite textprocessor

Andreas
-- 
Dr. Andreas Busch
Centre for European Politics,   [EMAIL PROTECTED]
Economics and Society   Web: http://users.ox.ac.uk/~busch
University of OxfordTel. (+44)-1865-278 704
3 George Street MewsFax. (+44)-1865-278 725
Oxford OX1 2AA, United Kingdom





Re: Geometry package

2002-01-28 Thread Rich Shepard

On Mon, 28 Jan 2002, Yannick Patois wrote:

> Dont put any space between the number and the unit (it wont work, I think
> from my TeX experience).

  Works in fix3 if there's a space between the digit and the unit (e.g.,
"1.5 in").

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED]
 http://www.appl-ecosys.com




Re: Geometry package

2002-01-28 Thread Rachel Collins

On Mon, 2002-01-28 at 08:40, Yannick Patois wrote:
> If you put:
> Top: 2
> This wont work
> But it will work with:
> Top: 2mm
> Top: 2cm
> Top: 2em

Thank you very much. It was the units that I was missing. Works
beautifully. =)




Re: Geometry package

2002-01-28 Thread Yannick Patois

Hi,

On 28 Jan 2002, Rachel Collins wrote:

> can't do it. I am unable to change the margins in any of my documents.
> I've gone to the document layout screen, and I can check 'Use Geometry
> Package', but as soon as I put a number into any of the fields (like Top
> Margin), the OK and Apply buttons are greyed out.

Well, that's not very explicit for someone who dont know latex, but you
have to put a unit with your number.
If you put:
Top: 2
This wont work
But it will work with:
Top: 2mm
Top: 2cm
Top: 2em

Etc... (I guess any valid TeX unit can be used).
Dont put any space between the number and the unit (it wont work, I think
from my TeX experience).

I dont think that you need to activate the 'geometry' package to have this
working.

Hope it helps

Yannick

PS: A long time ago, I read that this part of the interface was about to
be rewritten with an explicit pop-up menue for units... Did I dreamed ?




Geometry package

2002-01-28 Thread Rachel Collins

Before I ask my question, I have to say that I'm a newbie when it comes
to Lyx, and I know *nothing* about LaTeX and TeX (a type of condom and a
guy from TeXaS, right?).

That being said, I started using LyX recently and I love it, but I have
this annoying little problem that's turned into a quest mostly because I
can't do it. I am unable to change the margins in any of my documents.
I've gone to the document layout screen, and I can check 'Use Geometry
Package', but as soon as I put a number into any of the fields (like Top
Margin), the OK and Apply buttons are greyed out.

Based on my research, I have the geometry package installed (I found
geometry.cfg and geometry.sty on my drive). I looked through the
archives for this mailing list and found several references to the line
'\use_geometry 1', but I get errors when I put that line into my Latex
preamble, and I'm not sure where else I can put it.

Can anyone point me in the right direction or suggest some relevant
reading material? Thanks in advance...




Re: Re[2]: Lyx*geometry not understood by 1.1.6fix1

2001-04-26 Thread Tuukka Toivonen

On Thu, 26 Apr 2001, Guenter Milde wrote:

> - Changes in .Xdefaults will be in effect only after a restart of the
>   X-server. 

Or, after you issue 
xrdb -merge ~/.Xdefaults




Re[2]: Lyx*geometry not understood by 1.1.6fix1

2001-04-26 Thread Guenter Milde

On Wed, 25 Apr 2001 18:21:21 +0300 wrote Dekel Tsur <[EMAIL PROTECTED]>:

> On Wed, Apr 25, 2001 at 03:17:03PM +0200,  wrote:
> > since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> > ~.Xdefault setting. I had two lines telling
> > 
> > LyX*width: 720
> > LyX*height:670
> > 
> > and with 1.1.5 this worked well. After looking in the man page, I changed
> > this to
> > 
> > LyX*geometry 720x670
> > 
> > but still no effect.
> 
> I use LyX*geometry with no problem.
> Looking at the line above, it seems you forgot to put ':', namely the line
> should be
> LyX*geometry: 720x670

That was it!

I learned a lot:

- LyX does read .Xdefaults (Also version 1.1.6)!

- Since 1.1.6 LyX no longer understands "width" and "height" arguments.

- The colon is important: 

  "-some_option value" becomes "LyX*some_option: value" in .Xdefaults
  
- Changes in .Xdefaults will be in effect only after a restart of the
  X-server. 


Thanks a lot

Guenter

--
[EMAIL PROTECTED]




Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 03:17:03PM +0200,  wrote:
> since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> ~.Xdefault setting. I had two lines telling
> 
> LyX*width: 720
> LyX*height:670
> 
> and with 1.1.5 this worked well. After looking in the man page, I changed
> this to
> 
> LyX*geometry 720x670
> 
> but still no effect. However, starting LyX from a terminal with

I use LyX*geometry with no problem.
Looking at the line above, it seems you forgot to put ':', namely the line
should be
LyX*geometry: 720x670



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Robin Turner

On Wednesday 25 April 2001 16:25, Andre Poenitz wrote:
> > since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> > ~.Xdefault setting. I had two lines telling
> >
> > LyX*width: 720
> > LyX*height:670
>
> As far as I know LyX does not check any .X* settings.


So what, if anything, does it read?  Is there any way to get round those dull 
grey menus and toolbars?

Robin



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Ralph L. Meyer

Hi Guenter...
I had the same problem.  The only way I found around it was to include
the command line command in a start button on the Enlightenment start
bar.  LyX does not seem to want to respond to the .Xdefaults file at
all.  Also, since I'm using a hi-res screen, I couldn't use the straignt
numbers of pixels I wanted the LyX window to open to.  I had to multiply
the -geometry figures by a third to a half again to get LyX to the size
I wanted it to open as.

The command line in the Enlightenment start-bar button is in the same
form as the one you used to start LyX the way you want it from a
terminal:

lyx -geometry NNNxNNN

I couldn't find anything else that worked.  Developers?  Any answers?
Best,
Ralph


begin:vcard 
n:Meyer;Ralph L.
tel;fax:(609) 258-1087
tel;home:(732) 251-0331
tel;work:(609) 258-4228
x-mozilla-html:TRUE
org:Princeton University;East Asian Studies Department
adr;quoted-printable:;;211 Jones Hall=0D=0APrinceton University;Princeton;New Jersey;08544;USA
adr:;;39 Nelson Avenue;Monroe Twp.;New Jersey;08831-8708;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Publications Manager EAS Dept.
note;quoted-printable:Also: Owner/Consultant of=0D=0AR and R Computing Services
x-mozilla-cpt:;-13024
fn:Ralph L. Meyer
end:vcard



Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread





Hi,

since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
~.Xdefault setting. I had two lines telling

LyX*width: 720
LyX*height:670

and with 1.1.5 this worked well. After looking in the man page, I changed
this to

LyX*geometry 720x670

but still no effect. However, starting LyX from a terminal with

lyx -geometry 720x670

works as desired.

Anyone else had this problem? 
(I know, I could make an alias, still I wonder
whether there is another solution.)

Guenter

--
[EMAIL PROTECTED]




Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Andre Poenitz

> since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> ~.Xdefault setting. I had two lines telling
> 
> LyX*width: 720
> LyX*height:670

As far as I know LyX does not check any .X* settings.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: v.1.1.4 fix 3 geometry

2000-12-04 Thread Jean-Marc Lasgouttes

>>>>> "john" == john gennard <[EMAIL PROTECTED]> writes:

john> I've just installed the above and want to start the learning
john> process. However, on launching Lyx I'm faced with a window which
john> is to large for my screen and I dislike using a virtual desktop.
john> So far I've been unable to locate the file which contains the
john> default geometry setting, so cannot make changes.

With LyX 1.1.4fox3, you can use the option -width to set the width of
the window. With lyx 1.1.5, this is -geometry. All is documented in
the man page.

JMarc



Re: v.1.1.4 fix 3 geometry

2000-12-03 Thread Herbert Voss

john gennard wrote:
> 
> I've just installed the above and want to start the learning
> process. However, on launching Lyx I'm faced with a window
> which is to large for my screen and I dislike using a virtual
> desktop. So far I've been unable to locate the file which
> contains the default geometry setting, so cannot make changes.

try to start it with

lyx -width 950 -height 800

for width and height choose any size you like

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



v.1.1.4 fix 3 geometry

2000-12-03 Thread john gennard

I've just installed the above and want to start the learning
process. However, on launching Lyx I'm faced with a window
which is to large for my screen and I dislike using a virtual
desktop. So far I've been unable to locate the file which
contains the default geometry setting, so cannot make changes.

Can someone please let me know how to permanently alter
the window size.   Thanks, John.




1.1.6.pre2 package geometry

2000-11-30 Thread Herbert Voss

in lyx 1.1.5 i could toggle the "use package geometry"-button,
with or without any values in the four fields for the margins.
in 1.1.6.pre2 you have to clear all four fields, otherwise
you can't change the use of the geometry package.

is there any sense for this new behaviour?

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: geometry

2000-09-21 Thread Shawn Koons

Hello,

I know it is bad form to answer your own post, but I wanted to tell you that I
figured out why the message "permission denied" came up. I was logged in with my user
name. To correct the problem I merely logged off and logged in as windows equivilant
to "root." (I hesitate to use that term with regard to Win98, but don't know what
else to call it.)

After I did that, all maintinence programs ran fine and I can now use the geometry
package (although I have only tested changing margins so far)

Thank you, everyone for your responces and extreme patience. I have learned a lot the
past two days. Maybe when I need to add things to my setup, it will be a little
easier.

Shawn Koons wrote:

> Claus:
>
> Sorry about the last post. After I hit send, I discovered the file in the start
> menu you were refering to. Sometimes it is hard to remember the basics of any
> endevour.
>
> The refresh filename program gets stuck on the line:
>
> initexmf: C:\localtexmf\miktex\config\texmf0.fnb: Permission denied
>
> I do not have a file named "localtexmf" , the closest filename is texmf (which is
> where texfiles are located on my machine). Any suggestions?
>
> Again, thank you for your patience.
>
> Shawn Koons







Re: geometry

2000-09-21 Thread Shawn Koons

Claus:

Sorry about the last post. After I hit send, I discovered the file in the start
menu you were refering to. Sometimes it is hard to remember the basics of any
endevour.

The refresh filename program gets stuck on the line:

initexmf: C:\localtexmf\miktex\config\texmf0.fnb: Permission denied

I do not have a file named "localtexmf" , the closest filename is texmf (which is
where texfiles are located on my machine). Any suggestions?

Again, thank you for your patience.

Shawn Koons




Re: lyx -xpos -ypos etc. -> -geometry ?

2000-07-01 Thread Lars Gullik Bjønnes

"R. Lahaye" <[EMAIL PROTECTED]> writes:

| Wouldn't it be more consistent to use the general
| geometry options as defined by X11 Window System:
| 
|   -geometry  WIDTHxHEIGHT+XOFF+YOFF

Sure, just send a patch :-)

Lgb




lyx -xpos -ypos etc. -> -geometry ?

2000-07-01 Thread R. Lahaye


Hello,

I just found out that lyx has commandline options as well.
What surprises me is the xpos/ypos/width/height option.

Wouldn't it be more consistent to use the general
geometry options as defined by X11 Window System:

  -geometry  WIDTHxHEIGHT+XOFF+YOFF

Regards,

Rob.