Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Georg Baum
Am Samstag, 3. Februar 2007 13:49 schrieb Nick Hopton:
 I've just installed Python 2.5, reconfigured everything and tried again, 
 with the following results:
 
 =TERMINAL WINDOW OUTPUT=
 Traceback (most recent call last):
File C:/Program Files/LyX 
 1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx, lin
 e 91, in module
  sys.exit(main(sys.argv))
File C:/Program Files/LyX 
 1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx, lin
 e 84, in main
  file.convert()
File C:\Program Files\LyX 
 1.5svn-01-02-2007\Resources\lyx2lyx\LyX.py, line 3
 80, in convert
  steps = getattr(__import__(lyx_ + step), mode)
File C:\Program Files\LyX 
 1.5svn-01-02-2007\Resources\lyx2lyx\lyx_1_5.py, li
 ne 23, in module
  import unicodedata
 ImportError: No module named unicodedata

This module is part of python since many years. If lyx2lyx cannot find it 
then there is still someting wrong with your installation. Maybe LyX still 
uses the old one?


Georg



Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], 
Georg Baum [EMAIL PROTECTED] wrote.


[...]

ImportError: No module named unicodedata


This module is part of python since many years. If lyx2lyx cannot find it
then there is still someting wrong with your installation. Maybe LyX still
uses the old one?

[...]

This is very odd, Georg, I did an absolutely standard installation of 
Python25, using all of the defaults. I have the following two files 
installed, if this is any help:


C:\Python25\DLLs\unicodedata.pyd
C:\Python25\libs\unicodedata.lib

Oh, I ought to mention that I had similar errors using Python24.

Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



[Fwd: Re: LyXTextClassList::Read: no textclasses found!]

2007-02-04 Thread Nicolás

 Original Message 
Subject: Re: LyXTextClassList::Read: no textclasses found!
Date: Sat, 3 Feb 2007 12:52:26 -0800
From: Ian Ralston [EMAIL PROTECTED]

Hi

I am new to Lyx and got this error message on a new install of Lyx and all
components. Windows XP. I did permit auto update during install, and all
installed OK (except GSView failed).

However, I read your helpful thread at lyx users and while doing so realized
that what I had done was not wait long enough (ie about 10-15 mins despite a
fast computer and high speed internet) for lyx to start up after
installation was complete, and had clicked on the program shortcut to start
it up...

I noticed that latex was accessing the internet during start up.

So, maybe what is needed is just to go for a quick cup of tea

As I dont know how to post to the list,perhaps you could post this for me in
case it is helpful.

--
Best regards

Ian
-
Ian Ralston
TRAX Developments Ltd.



Done! :-)

Cheers,
Nicolás


Re: cannot reqd an old lyx file

2007-02-04 Thread christian . ridderstrom

On Sun, 4 Feb 2007, Georg Baum wrote:


Am Samstag, 3. Februar 2007 21:18 schrieb Uwe Stöhr:

 You use the LyX 1.5svn build. This is an alpha state and not ready

for

 production use!

 Maybe it should have alpha in its name then? Not everybody knows

what

 svn is. (Or they think it's short for _stable _versio_n... ;-)

Why do I have this disclaimer in every announcement mail when nobody

reads it?:

Well, people who get the link directly from berlios don't see this 
disclaimer. IMHO putting alpha (and possibly snapshot - since this no 
release) in the name would not be a bad idea.


Why not. We could even add a suffix like

...alpha-snapshot_Not_For_Serious_Work.zip

to be extremely clear :-)

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Georg Baum
Am Sonntag, 4. Februar 2007 12:35 schrieb Nick Hopton:
 This is very odd, Georg, I did an absolutely standard installation of 
 Python25, using all of the defaults. I have the following two files 
 installed, if this is any help:
 
 C:\Python25\DLLs\unicodedata.pyd
 C:\Python25\libs\unicodedata.lib

I am on linux, and it works here with only this file named unicodedata.*:

/usr/lib/python2.3/lib-dynload/unicodedata.so

Therefore I guess that no further files are required.

What happens if you run the python interpreter by hand and then type

import unicodedata

? If it prints nothing, then your python installation is OK, and I would 
guess that LyX finds another (incomplete) python installation. If it 
prints an error message then something with your python installation is 
wrong.


Georg



Re: float placement refinements

2007-02-04 Thread Ramon Flores
Em Sexta, 2 de Fevereiro de 2007 20:53, o Uwe Stöhr escreveu:
 Ramon Flores schrieb:
  Is there any way to say to LyX not to put more that one figure in a page
  with text?.
  Or alternatively, is there any way to say to LyX to set apart the two
  figures?

 This is a wide field to play on. The toys for this are explained in the
 Embedded Insets manual:
 http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/doc/Emb
eddedObjects.lyx which is also available in Spanish:
 http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/doc/es_
EmbeddedObjects.lyx

Where?.
 I have read several times the Float Placement section and I have not finded 
any clue of how to
1) forbid more than one figure per page, in a page with text, or
2) set the distance between figures.

Thanks
Ramon


Re: float placement refinements

2007-02-04 Thread Uwe Stöhr

Ramon Flores schrieb:

 I have read several times the Float Placement section and I have not finded 
any clue of how to

1) forbid more than one figure per page, in a page with text, or


You can only force that LaTeX puts floats on a separate page without text. But you can for example 
set a \pagebreak in ERT or a pagebreak vie LyX's menu (note that they are different) directly before 
the float to force its appearace on the next page. You can also adjust the bottompagefraction within 
the document at the critical positions or globally.
You can use LaTeX's default settings or ignore it, you can set the float placement order tbp, etc. 
as described.



2) set the distance between figures.


This is not possible because you have floats and that means they can float to the position where 
LateX thinks it's the best or you adjusted with the parameters I listed above.
If you really need a definite float place then use the here definetively  placement option and 
insert a vertical space between two consecutive floats.


regards Uwe


Re: How to have roman numerals in front matter?

2007-02-04 Thread Steve Litt
On Saturday 03 February 2007 16:36, Jeremy C. Reed wrote:
 On Sat, 3 Feb 2007, Steve Litt wrote:
  The frontmatter is numbered with Arabic numbers, not Roman numerals. How
  do I get the frontmatter to have Roman numerals?

 \pagenumbering{roman}

 % ...

 \chapter{First real chapter}
 \pagenumbering{arabic}

   Jeremy C. Reed

Thanks Jeremy,

That worked, and I didn't even need the \pagenumbering{arabic} because my 
\mainmatter reset it to Arabic.

All -- be aware that placement of the \pagenumbering{arabic} is important. If 
you place it before all text, it will have no effect. Instead, place it at 
the end of the first paragraph (typically the title).

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Too many indices, LoT, LoF?

2007-02-04 Thread Curtis Osterhoudt
Hi, all,Upon compiling my LyX document, which contains lots of Includes, a 
Table of Contents, Index, Lists of Figures and Tables, etc., the LyX frontend 
reports that there's No room for a new \write (similarly, using pdflatex from 
the command line on the .tex file fails). I've done a little searching online; 
most if not all of the documents I've found reference the Memoir class (which 
I'm not using; this happens to be a Koma-script Report master document), but it 
seems that it's actually more of an underlying TeX problem, and I simply have 
too many Indices, Lists, etc.  As an attempt to remedy this, and get a nicely 
compiled document, I've gone through each of the constituent files and deleted 
the any Indexes or Bibliography[ies] which are in comment boxes (I put 
them in originally to test indices and bibliographies for each individual 
file). However, this does not solve the problem, and I *still* get No room for 
a new \write and Bad number {16} as error messages from LyX. Has anyone 
run into this, and solved it? The documentation for the Memoir class says I 
have no recourse but to rearrange my document. How do people write books with 
this TeX limitation? Would it help to switch to TeX Live or something?  
Thanks!   Curtis O.
_
3D maps are here!  Get amazing views of major cities.
http://maps.live.com/?wip=51

TEXINFO on Mac

2007-02-04 Thread Justin Harlow
OK, this is undoubtedly in the RTFM/FAQ category, but I can't figure  
out how to set the TEXINFO environment variable on OS X when I run  
LyX.  Specifically, I try to process a document (imported from a  
LaTeX file) that uses \epsffile to include a figure.  When I try to  
process the file in LyX, it tells me that it can't find the  
target .eps files in my TEXINFO path.  Trouble is, I have no idea (a)  
what that path is set to, or (b) how to change it.  The target files  
are right there in the same directory that the main .lyx file is in ,  
but it seems to be looking somewhere else.  Can someone help out here?


Thanks

JEH


Re: float placement refinements

2007-02-04 Thread Enrico Forestieri
Ramon Flores writes:

  I have read several times the Float Placement section and I have not 
 finded 
 any clue of how to
 1) forbid more than one figure per page, in a page with text, or
 2) set the distance between figures.

LaTeX is a quite sophisticated typesetting system and lets you fine tune a
large set of style parameters. Below you can find a list of parameters that
I think are of interest to you. Those not starting with a backslash are
counters and are to be set as \setcounter{topnumber}{1}, for example, the others
must changed using \renewcommand, such as \renewcommand{\topfraction}{0.4},
or \renewcommand{\floatsep}{15mm} for rubber lengths.

Changes made in the preamble apply from the first page on. Changes made
afterwards take effect on the next page, not the current one.

topnumber - A counter whose value is the maximum number of floats allowed
at the top of a page.

\topfraction - The maximum fraction of the page that can be occupied by
floats at the top of the page. Thus, the value 0.25 specifies that as
much as the top quarter of the page may be devoted to floats.

bottomnumber - Same as topnumber except for the bottom of the page.

\bottomfraction - Same as \topfraction except for the bottom of the page.

totalnumber - A counter whose value is the maximum number of floats that
can appear on a single page, irrespective of their positions.

\textfraction - The minimum fraction of a page that must be devoted to text.
The other 1-\textfraction fraction may be occupied by floats.

\floatsep - The vertical space added between floats that appear at the top
or bottom of a text page. It is a rubber length.

\textfloatsep - The vertical space added between the floats appearing at
the top or bottom of a page and the text on that page. Rubber length.

\intextsep - The vertical space placed above and below a float that is put
in the middle of the text with the h location option. Rubber length.

HTH

-- 
Enrico



Re: [announce] LyX150svn from 01-02-2007 for Windows

2007-02-04 Thread Uwe Stöhr

Uwe Stöhr schrieb:

- I can do a pdf with it fine, but the update does not work 
however my pdf viewer is Foxit 2.0, not Acrobat (which I do have 
installed, but not as default pdf reader), so it might be related to 
this.


This should be fixed now in the installer version I plan to release today. 
Please test.

regards Uwe


Missing textclass problem while installing LyX under Windows hopefully fixed

2007-02-04 Thread Uwe Stöhr

Hello LyXers,

in the last weeks many users had the problem that after installing LyX on Windows, LyX couldn't be 
started, only the error message Missing textclass.lst is displayed.


There was a bug in MIKTeX so that LyX's configuration script wasn't correctly finished when no 
internet connection was opened to install missing LaTeX-packages. This is now fixed in the latest 
MiKTeX version 2.5.2580.
You can update your MiKTeX installation using MiKTeX's update manager which is accessible in the 
Start menu under Programs - MiKTeX 2.5.


For new installations the next LyXWinInstaller version has the new MiKTeX version bundled. For 
existing installations the installer asks you to update MiKTeX before you start LyX the first time. 
Use this option and MiKTeX's update manager will be started by the installer.


For explanation:
LyX needs some LaTeX-packages for some of its features that are not delivered in the basic 
installation of MiKTeX. You can use LyX without having these packages installed but then you cannot 
use all LyX features.
If you want to have all packages needed by LyX installed, install LyX while you have an open 
internet connection or open later an internet connection and reconfigure LyX.


regards Uwe


Re: cannot reqd an old lyx file

2007-02-04 Thread Uwe Stöhr

on a new computer running windiws vista and the new lyx for windows.


Harald The release that will come out hopefully today fixes you initial problem.
Besides this, let me ask you if the installer runs fine on Vista and can you work with LyX on Vista 
as with LyX on XP?


If yes, please let me know. (I was only able to test it out once on Vista releace candidate and it 
worked there.)


thanks in advance and regards
Uwe


Re: Using ACM and APA styles in LyX?

2007-02-04 Thread B. Bogart
Hi Richard,

I changed from tetex to texlive but I'm not seeing any change in the
document classes I see in lyx.

From tex info I can see the following classes I'm looking for:

acmconf.cls
acmtrans2e.cls
apa.cls

The document classes I can choose from document settings are:

Article (APA)

But no ACM.

I don't see a good correlation between the list of document class and
the text info list of classes.

Any further suggestions?

Thanks,
B. Bogart


Richard Heck wrote:
 LyX does have an APA layout, so you should be able to use it. Check to
 make sure you do have the APA document class installed and that LaTeX
 can see it (run texhash as root) and then reconfigure LyX (Tools 
 Reconfigure). You can use Tools  Tex Info to check what LyX thinks is
 there.
 
 I don't see an ACM layout. Anybody got one? It's unlikely it'd be hard
 to create one if not.
 
 As for references, natbib isn't a bibliography style but something more
 general. You can use apalike with it, to be sure. You can also use
 apacite by itself (and the apa.layout file seems to load apacite.sty,
 which you'd also want). Just choose default for your citation style
 and then, when you put the bibliography in its place (Insert  List
 Bibliography), choose apacite as your style. Of course, you'll need
 to make sure that's installed, too.
 
 Richard
 
 B. Bogart wrote:
 Hello all,

 I'm new to tex/latex/lyx but need to write papers in ACM and APA
 formats. I see that the package texlive-publishers includes APA and ACM
 document classes, and I have the package installed, but lyx does not see
 those templates.

 How can I use lyx to write APA and ACM papers? I also need my citations
 and bibliographies to be in the proper APA format, but lyx seems to only
 give three types citation styles? (default,natbib,jurabib)

 FYI I'm using the ubuntu edgy packages of lyx/tex

 Thanks all.

 B. Bogart



 
 



Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Georg Baum
Am Samstag, 3. Februar 2007 13:49 schrieb Nick Hopton:
 I've just installed Python 2.5, reconfigured everything and tried again, 
 with the following results:
 
 =TERMINAL WINDOW OUTPUT=
 Traceback (most recent call last):
File C:/Program Files/LyX 
 1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx, lin
 e 91, in module
  sys.exit(main(sys.argv))
File C:/Program Files/LyX 
 1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx, lin
 e 84, in main
  file.convert()
File C:\Program Files\LyX 
 1.5svn-01-02-2007\Resources\lyx2lyx\LyX.py, line 3
 80, in convert
  steps = getattr(__import__(lyx_ + step), mode)
File C:\Program Files\LyX 
 1.5svn-01-02-2007\Resources\lyx2lyx\lyx_1_5.py, li
 ne 23, in module
  import unicodedata
 ImportError: No module named unicodedata

This module is part of python since many years. If lyx2lyx cannot find it 
then there is still someting wrong with your installation. Maybe LyX still 
uses the old one?


Georg



Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], 
Georg Baum [EMAIL PROTECTED] wrote.


[...]

ImportError: No module named unicodedata


This module is part of python since many years. If lyx2lyx cannot find it
then there is still someting wrong with your installation. Maybe LyX still
uses the old one?

[...]

This is very odd, Georg, I did an absolutely standard installation of 
Python25, using all of the defaults. I have the following two files 
installed, if this is any help:


C:\Python25\DLLs\unicodedata.pyd
C:\Python25\libs\unicodedata.lib

Oh, I ought to mention that I had similar errors using Python24.

Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



[Fwd: Re: LyXTextClassList::Read: no textclasses found!]

2007-02-04 Thread Nicolás

 Original Message 
Subject: Re: LyXTextClassList::Read: no textclasses found!
Date: Sat, 3 Feb 2007 12:52:26 -0800
From: Ian Ralston [EMAIL PROTECTED]

Hi

I am new to Lyx and got this error message on a new install of Lyx and all
components. Windows XP. I did permit auto update during install, and all
installed OK (except GSView failed).

However, I read your helpful thread at lyx users and while doing so realized
that what I had done was not wait long enough (ie about 10-15 mins despite a
fast computer and high speed internet) for lyx to start up after
installation was complete, and had clicked on the program shortcut to start
it up...

I noticed that latex was accessing the internet during start up.

So, maybe what is needed is just to go for a quick cup of tea

As I dont know how to post to the list,perhaps you could post this for me in
case it is helpful.

--
Best regards

Ian
-
Ian Ralston
TRAX Developments Ltd.



Done! :-)

Cheers,
Nicolás


Re: cannot reqd an old lyx file

2007-02-04 Thread christian . ridderstrom

On Sun, 4 Feb 2007, Georg Baum wrote:


Am Samstag, 3. Februar 2007 21:18 schrieb Uwe Stöhr:

 You use the LyX 1.5svn build. This is an alpha state and not ready

for

 production use!

 Maybe it should have alpha in its name then? Not everybody knows

what

 svn is. (Or they think it's short for _stable _versio_n... ;-)

Why do I have this disclaimer in every announcement mail when nobody

reads it?:

Well, people who get the link directly from berlios don't see this 
disclaimer. IMHO putting alpha (and possibly snapshot - since this no 
release) in the name would not be a bad idea.


Why not. We could even add a suffix like

...alpha-snapshot_Not_For_Serious_Work.zip

to be extremely clear :-)

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Georg Baum
Am Sonntag, 4. Februar 2007 12:35 schrieb Nick Hopton:
 This is very odd, Georg, I did an absolutely standard installation of 
 Python25, using all of the defaults. I have the following two files 
 installed, if this is any help:
 
 C:\Python25\DLLs\unicodedata.pyd
 C:\Python25\libs\unicodedata.lib

I am on linux, and it works here with only this file named unicodedata.*:

/usr/lib/python2.3/lib-dynload/unicodedata.so

Therefore I guess that no further files are required.

What happens if you run the python interpreter by hand and then type

import unicodedata

? If it prints nothing, then your python installation is OK, and I would 
guess that LyX finds another (incomplete) python installation. If it 
prints an error message then something with your python installation is 
wrong.


Georg



Re: float placement refinements

2007-02-04 Thread Ramon Flores
Em Sexta, 2 de Fevereiro de 2007 20:53, o Uwe Stöhr escreveu:
 Ramon Flores schrieb:
  Is there any way to say to LyX not to put more that one figure in a page
  with text?.
  Or alternatively, is there any way to say to LyX to set apart the two
  figures?

 This is a wide field to play on. The toys for this are explained in the
 Embedded Insets manual:
 http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/doc/Emb
eddedObjects.lyx which is also available in Spanish:
 http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/doc/es_
EmbeddedObjects.lyx

Where?.
 I have read several times the Float Placement section and I have not finded 
any clue of how to
1) forbid more than one figure per page, in a page with text, or
2) set the distance between figures.

Thanks
Ramon


Re: float placement refinements

2007-02-04 Thread Uwe Stöhr

Ramon Flores schrieb:

 I have read several times the Float Placement section and I have not finded 
any clue of how to

1) forbid more than one figure per page, in a page with text, or


You can only force that LaTeX puts floats on a separate page without text. But you can for example 
set a \pagebreak in ERT or a pagebreak vie LyX's menu (note that they are different) directly before 
the float to force its appearace on the next page. You can also adjust the bottompagefraction within 
the document at the critical positions or globally.
You can use LaTeX's default settings or ignore it, you can set the float placement order tbp, etc. 
as described.



2) set the distance between figures.


This is not possible because you have floats and that means they can float to the position where 
LateX thinks it's the best or you adjusted with the parameters I listed above.
If you really need a definite float place then use the here definetively  placement option and 
insert a vertical space between two consecutive floats.


regards Uwe


Re: How to have roman numerals in front matter?

2007-02-04 Thread Steve Litt
On Saturday 03 February 2007 16:36, Jeremy C. Reed wrote:
 On Sat, 3 Feb 2007, Steve Litt wrote:
  The frontmatter is numbered with Arabic numbers, not Roman numerals. How
  do I get the frontmatter to have Roman numerals?

 \pagenumbering{roman}

 % ...

 \chapter{First real chapter}
 \pagenumbering{arabic}

   Jeremy C. Reed

Thanks Jeremy,

That worked, and I didn't even need the \pagenumbering{arabic} because my 
\mainmatter reset it to Arabic.

All -- be aware that placement of the \pagenumbering{arabic} is important. If 
you place it before all text, it will have no effect. Instead, place it at 
the end of the first paragraph (typically the title).

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Too many indices, LoT, LoF?

2007-02-04 Thread Curtis Osterhoudt
Hi, all,Upon compiling my LyX document, which contains lots of Includes, a 
Table of Contents, Index, Lists of Figures and Tables, etc., the LyX frontend 
reports that there's No room for a new \write (similarly, using pdflatex from 
the command line on the .tex file fails). I've done a little searching online; 
most if not all of the documents I've found reference the Memoir class (which 
I'm not using; this happens to be a Koma-script Report master document), but it 
seems that it's actually more of an underlying TeX problem, and I simply have 
too many Indices, Lists, etc.  As an attempt to remedy this, and get a nicely 
compiled document, I've gone through each of the constituent files and deleted 
the any Indexes or Bibliography[ies] which are in comment boxes (I put 
them in originally to test indices and bibliographies for each individual 
file). However, this does not solve the problem, and I *still* get No room for 
a new \write and Bad number {16} as error messages from LyX. Has anyone 
run into this, and solved it? The documentation for the Memoir class says I 
have no recourse but to rearrange my document. How do people write books with 
this TeX limitation? Would it help to switch to TeX Live or something?  
Thanks!   Curtis O.
_
3D maps are here!  Get amazing views of major cities.
http://maps.live.com/?wip=51

TEXINFO on Mac

2007-02-04 Thread Justin Harlow
OK, this is undoubtedly in the RTFM/FAQ category, but I can't figure  
out how to set the TEXINFO environment variable on OS X when I run  
LyX.  Specifically, I try to process a document (imported from a  
LaTeX file) that uses \epsffile to include a figure.  When I try to  
process the file in LyX, it tells me that it can't find the  
target .eps files in my TEXINFO path.  Trouble is, I have no idea (a)  
what that path is set to, or (b) how to change it.  The target files  
are right there in the same directory that the main .lyx file is in ,  
but it seems to be looking somewhere else.  Can someone help out here?


Thanks

JEH


Re: float placement refinements

2007-02-04 Thread Enrico Forestieri
Ramon Flores writes:

  I have read several times the Float Placement section and I have not 
 finded 
 any clue of how to
 1) forbid more than one figure per page, in a page with text, or
 2) set the distance between figures.

LaTeX is a quite sophisticated typesetting system and lets you fine tune a
large set of style parameters. Below you can find a list of parameters that
I think are of interest to you. Those not starting with a backslash are
counters and are to be set as \setcounter{topnumber}{1}, for example, the others
must changed using \renewcommand, such as \renewcommand{\topfraction}{0.4},
or \renewcommand{\floatsep}{15mm} for rubber lengths.

Changes made in the preamble apply from the first page on. Changes made
afterwards take effect on the next page, not the current one.

topnumber - A counter whose value is the maximum number of floats allowed
at the top of a page.

\topfraction - The maximum fraction of the page that can be occupied by
floats at the top of the page. Thus, the value 0.25 specifies that as
much as the top quarter of the page may be devoted to floats.

bottomnumber - Same as topnumber except for the bottom of the page.

\bottomfraction - Same as \topfraction except for the bottom of the page.

totalnumber - A counter whose value is the maximum number of floats that
can appear on a single page, irrespective of their positions.

\textfraction - The minimum fraction of a page that must be devoted to text.
The other 1-\textfraction fraction may be occupied by floats.

\floatsep - The vertical space added between floats that appear at the top
or bottom of a text page. It is a rubber length.

\textfloatsep - The vertical space added between the floats appearing at
the top or bottom of a page and the text on that page. Rubber length.

\intextsep - The vertical space placed above and below a float that is put
in the middle of the text with the h location option. Rubber length.

HTH

-- 
Enrico



Re: [announce] LyX150svn from 01-02-2007 for Windows

2007-02-04 Thread Uwe Stöhr

Uwe Stöhr schrieb:

- I can do a pdf with it fine, but the update does not work 
however my pdf viewer is Foxit 2.0, not Acrobat (which I do have 
installed, but not as default pdf reader), so it might be related to 
this.


This should be fixed now in the installer version I plan to release today. 
Please test.

regards Uwe


Missing textclass problem while installing LyX under Windows hopefully fixed

2007-02-04 Thread Uwe Stöhr

Hello LyXers,

in the last weeks many users had the problem that after installing LyX on Windows, LyX couldn't be 
started, only the error message Missing textclass.lst is displayed.


There was a bug in MIKTeX so that LyX's configuration script wasn't correctly finished when no 
internet connection was opened to install missing LaTeX-packages. This is now fixed in the latest 
MiKTeX version 2.5.2580.
You can update your MiKTeX installation using MiKTeX's update manager which is accessible in the 
Start menu under Programs - MiKTeX 2.5.


For new installations the next LyXWinInstaller version has the new MiKTeX version bundled. For 
existing installations the installer asks you to update MiKTeX before you start LyX the first time. 
Use this option and MiKTeX's update manager will be started by the installer.


For explanation:
LyX needs some LaTeX-packages for some of its features that are not delivered in the basic 
installation of MiKTeX. You can use LyX without having these packages installed but then you cannot 
use all LyX features.
If you want to have all packages needed by LyX installed, install LyX while you have an open 
internet connection or open later an internet connection and reconfigure LyX.


regards Uwe


Re: cannot reqd an old lyx file

2007-02-04 Thread Uwe Stöhr

on a new computer running windiws vista and the new lyx for windows.


Harald The release that will come out hopefully today fixes you initial problem.
Besides this, let me ask you if the installer runs fine on Vista and can you work with LyX on Vista 
as with LyX on XP?


If yes, please let me know. (I was only able to test it out once on Vista releace candidate and it 
worked there.)


thanks in advance and regards
Uwe


Re: Using ACM and APA styles in LyX?

2007-02-04 Thread B. Bogart
Hi Richard,

I changed from tetex to texlive but I'm not seeing any change in the
document classes I see in lyx.

From tex info I can see the following classes I'm looking for:

acmconf.cls
acmtrans2e.cls
apa.cls

The document classes I can choose from document settings are:

Article (APA)

But no ACM.

I don't see a good correlation between the list of document class and
the text info list of classes.

Any further suggestions?

Thanks,
B. Bogart


Richard Heck wrote:
 LyX does have an APA layout, so you should be able to use it. Check to
 make sure you do have the APA document class installed and that LaTeX
 can see it (run texhash as root) and then reconfigure LyX (Tools 
 Reconfigure). You can use Tools  Tex Info to check what LyX thinks is
 there.
 
 I don't see an ACM layout. Anybody got one? It's unlikely it'd be hard
 to create one if not.
 
 As for references, natbib isn't a bibliography style but something more
 general. You can use apalike with it, to be sure. You can also use
 apacite by itself (and the apa.layout file seems to load apacite.sty,
 which you'd also want). Just choose default for your citation style
 and then, when you put the bibliography in its place (Insert  List
 Bibliography), choose apacite as your style. Of course, you'll need
 to make sure that's installed, too.
 
 Richard
 
 B. Bogart wrote:
 Hello all,

 I'm new to tex/latex/lyx but need to write papers in ACM and APA
 formats. I see that the package texlive-publishers includes APA and ACM
 document classes, and I have the package installed, but lyx does not see
 those templates.

 How can I use lyx to write APA and ACM papers? I also need my citations
 and bibliographies to be in the proper APA format, but lyx seems to only
 give three types citation styles? (default,natbib,jurabib)

 FYI I'm using the ubuntu edgy packages of lyx/tex

 Thanks all.

 B. Bogart



 
 



Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Georg Baum
Am Samstag, 3. Februar 2007 13:49 schrieb Nick Hopton:
> I've just installed Python 2.5, reconfigured everything and tried again, 
> with the following results:
> 
> =TERMINAL WINDOW OUTPUT=
> Traceback (most recent call last):
>File "C:/Program Files/LyX 
> 1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx", lin
> e 91, in 
>  sys.exit(main(sys.argv))
>File "C:/Program Files/LyX 
> 1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx", lin
> e 84, in main
>  file.convert()
>File "C:\Program Files\LyX 
> 1.5svn-01-02-2007\Resources\lyx2lyx\LyX.py", line 3
> 80, in convert
>  steps = getattr(__import__("lyx_" + step), mode)
>File "C:\Program Files\LyX 
> 1.5svn-01-02-2007\Resources\lyx2lyx\lyx_1_5.py", li
> ne 23, in 
>  import unicodedata
> ImportError: No module named unicodedata

This module is part of python since many years. If lyx2lyx cannot find it 
then there is still someting wrong with your installation. Maybe LyX still 
uses the old one?


Georg



Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Nick Hopton
In a recent message <[EMAIL PROTECTED]>, 
Georg Baum <[EMAIL PROTECTED]> wrote.


[...]

ImportError: No module named unicodedata


This module is part of python since many years. If lyx2lyx cannot find it
then there is still someting wrong with your installation. Maybe LyX still
uses the old one?

[...]

This is very odd, Georg, I did an absolutely standard installation of 
Python25, using all of the defaults. I have the following two files 
installed, if this is any help:


C:\Python25\DLLs\unicodedata.pyd
C:\Python25\libs\unicodedata.lib

Oh, I ought to mention that I had similar errors using Python24.

Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>



[Fwd: Re: LyXTextClassList::Read: no textclasses found!]

2007-02-04 Thread Nicolás

 Original Message 
Subject: Re: LyXTextClassList::Read: no textclasses found!
Date: Sat, 3 Feb 2007 12:52:26 -0800
From: Ian Ralston <[EMAIL PROTECTED]>

Hi

I am new to Lyx and got this error message on a new install of Lyx and all
components. Windows XP. I did permit auto update during install, and all
installed OK (except GSView failed).

However, I read your helpful thread at lyx users and while doing so realized
that what I had done was not wait long enough (ie about 10-15 mins despite a
fast computer and high speed internet) for lyx to start up after
installation was complete, and had clicked on the program shortcut to start
it up...

I noticed that latex was accessing the internet during start up.

So, maybe what is needed is just to go for a quick cup of tea

As I dont know how to post to the list,perhaps you could post this for me in
case it is helpful.

--
Best regards

Ian
-
Ian Ralston
TRAX Developments Ltd.



Done! :-)

Cheers,
Nicolás


Re: cannot reqd an old lyx file

2007-02-04 Thread christian . ridderstrom

On Sun, 4 Feb 2007, Georg Baum wrote:


Am Samstag, 3. Februar 2007 21:18 schrieb Uwe Stöhr:

>> You use the LyX 1.5svn build. This is an alpha state and not ready

for

>> production use!
>
> Maybe it should have "alpha" in its name then? Not everybody knows

what

> svn is. (Or they think it's short for _stable _versio_n... ;-)

Why do I have this disclaimer in every announcement mail when nobody

reads it?:

Well, people who get the link directly from berlios don't see this 
disclaimer. IMHO putting alpha (and possibly snapshot - since this no 
release) in the name would not be a bad idea.


Why not. We could even add a suffix like

...alpha-snapshot_Not_For_Serious_Work.zip

to be extremely clear :-)

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [announce] LyX150svn from 01-02-2007 for Windows - lyx2lyx solution

2007-02-04 Thread Georg Baum
Am Sonntag, 4. Februar 2007 12:35 schrieb Nick Hopton:
> This is very odd, Georg, I did an absolutely standard installation of 
> Python25, using all of the defaults. I have the following two files 
> installed, if this is any help:
> 
> C:\Python25\DLLs\unicodedata.pyd
> C:\Python25\libs\unicodedata.lib

I am on linux, and it works here with only this file named unicodedata.*:

/usr/lib/python2.3/lib-dynload/unicodedata.so

Therefore I guess that no further files are required.

What happens if you run the python interpreter by hand and then type

import unicodedata

? If it prints nothing, then your python installation is OK, and I would 
guess that LyX finds another (incomplete) python installation. If it 
prints an error message then something with your python installation is 
wrong.


Georg



Re: float placement refinements

2007-02-04 Thread Ramon Flores
Em Sexta, 2 de Fevereiro de 2007 20:53, o Uwe Stöhr escreveu:
> Ramon Flores schrieb:
> > Is there any way to say to LyX not to put more that one figure in a page
> > with text?.
> > Or alternatively, is there any way to say to LyX to set apart the two
> > figures?
>
> This is a wide field to play on. The toys for this are explained in the
> Embedded Insets manual:
> http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/doc/Emb
>eddedObjects.lyx which is also available in Spanish:
> http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/doc/es_
>EmbeddedObjects.lyx

Where?.
 I have read several times the "Float Placement" section and I have not finded 
any clue of how to
1) forbid more than one figure per page, in a page with text, or
2) set the distance between figures.

Thanks
Ramon


Re: float placement refinements

2007-02-04 Thread Uwe Stöhr

Ramon Flores schrieb:

 I have read several times the "Float Placement" section and I have not finded 
any clue of how to

1) forbid more than one figure per page, in a page with text, or


You can only force that LaTeX puts floats on a separate page without text. But you can for example 
set a \pagebreak in ERT or a pagebreak vie LyX's menu (note that they are different) directly before 
the float to force its appearace on the next page. You can also adjust the bottompagefraction within 
the document at the critical positions or globally.
You can use LaTeX's default settings or ignore it, you can set the float placement order tbp, etc. 
as described.



2) set the distance between figures.


This is not possible because you have floats and that means they can float to the position where 
LateX thinks it's the best or you adjusted with the parameters I listed above.
If you really need a definite float place then use the "here definetively " placement option and 
insert a vertical space between two consecutive floats.


regards Uwe


Re: How to have roman numerals in front matter?

2007-02-04 Thread Steve Litt
On Saturday 03 February 2007 16:36, Jeremy C. Reed wrote:
> On Sat, 3 Feb 2007, Steve Litt wrote:
> > The frontmatter is numbered with Arabic numbers, not Roman numerals. How
> > do I get the frontmatter to have Roman numerals?
>
> \pagenumbering{roman}
>
> % ...
>
> \chapter{First real chapter}
> \pagenumbering{arabic}
>
>   Jeremy C. Reed

Thanks Jeremy,

That worked, and I didn't even need the \pagenumbering{arabic} because my 
\mainmatter reset it to Arabic.

All -- be aware that placement of the \pagenumbering{arabic} is important. If 
you place it before all text, it will have no effect. Instead, place it at 
the end of the first paragraph (typically the title).

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Too many indices, LoT, LoF?

2007-02-04 Thread Curtis Osterhoudt
Hi, all,Upon compiling my LyX document, which contains lots of Includes, a 
Table of Contents, Index, Lists of Figures and Tables, etc., the LyX frontend 
reports that there's "No room for a new \write" (similarly, using pdflatex from 
the command line on the .tex file fails). I've done a little searching online; 
most if not all of the documents I've found reference the Memoir class (which 
I'm not using; this happens to be a Koma-script Report master document), but it 
seems that it's actually more of an underlying TeX problem, and I simply have 
too many Indices, Lists, etc.  As an attempt to remedy this, and get a nicely 
compiled document, I've gone through each of the constituent files and deleted 
the any "Index"es or "Bibliography"[ies] which are in "comment" boxes (I put 
them in originally to test indices and bibliographies for each individual 
file). However, this does not solve the problem, and I *still* get "No room for 
a new \write" and "Bad number {16}" as error messages from LyX. Has anyone 
run into this, and solved it? The documentation for the Memoir class says I 
have no recourse but to rearrange my document. How do people write books with 
this TeX limitation? Would it help to switch to TeX Live or something?  
Thanks!   Curtis O.
_
3D maps are here!  Get amazing views of major cities.
http://maps.live.com/?wip=51

TEXINFO on Mac

2007-02-04 Thread Justin Harlow
OK, this is undoubtedly in the RTFM/FAQ category, but I can't figure  
out how to set the TEXINFO environment variable on OS X when I run  
LyX.  Specifically, I try to process a document (imported from a  
LaTeX file) that uses \epsffile to include a figure.  When I try to  
process the file in LyX, it tells me that it can't find the  
target .eps files in my TEXINFO path.  Trouble is, I have no idea (a)  
what that path is set to, or (b) how to change it.  The target files  
are right there in the same directory that the main .lyx file is in ,  
but it seems to be looking somewhere else.  Can someone help out here?


Thanks

JEH


Re: float placement refinements

2007-02-04 Thread Enrico Forestieri
Ramon Flores writes:

>  I have read several times the "Float Placement" section and I have not 
> finded 
> any clue of how to
> 1) forbid more than one figure per page, in a page with text, or
> 2) set the distance between figures.

LaTeX is a quite sophisticated typesetting system and lets you fine tune a
large set of style parameters. Below you can find a list of parameters that
I think are of interest to you. Those not starting with a backslash are
counters and are to be set as \setcounter{topnumber}{1}, for example, the others
must changed using \renewcommand, such as \renewcommand{\topfraction}{0.4},
or \renewcommand{\floatsep}{15mm} for rubber lengths.

Changes made in the preamble apply from the first page on. Changes made
afterwards take effect on the next page, not the current one.

topnumber - A counter whose value is the maximum number of floats allowed
at the top of a page.

\topfraction - The maximum fraction of the page that can be occupied by
floats at the top of the page. Thus, the value 0.25 specifies that as
much as the top quarter of the page may be devoted to floats.

bottomnumber - Same as topnumber except for the bottom of the page.

\bottomfraction - Same as \topfraction except for the bottom of the page.

totalnumber - A counter whose value is the maximum number of floats that
can appear on a single page, irrespective of their positions.

\textfraction - The minimum fraction of a page that must be devoted to text.
The other 1-\textfraction fraction may be occupied by floats.

\floatsep - The vertical space added between floats that appear at the top
or bottom of a text page. It is a rubber length.

\textfloatsep - The vertical space added between the floats appearing at
the top or bottom of a page and the text on that page. Rubber length.

\intextsep - The vertical space placed above and below a float that is put
in the middle of the text with the "h" location option. Rubber length.

HTH

-- 
Enrico



Re: [announce] LyX150svn from 01-02-2007 for Windows

2007-02-04 Thread Uwe Stöhr

Uwe Stöhr schrieb:

- I can do a pdf with it fine, but the update does not work 
however my pdf viewer is Foxit 2.0, not Acrobat (which I do have 
installed, but not as default pdf reader), so it might be related to 
this.


This should be fixed now in the installer version I plan to release today. 
Please test.

regards Uwe


Missing textclass problem while installing LyX under Windows hopefully fixed

2007-02-04 Thread Uwe Stöhr

Hello LyXers,

in the last weeks many users had the problem that after installing LyX on Windows, LyX couldn't be 
started, only the error message "Missing textclass.lst" is displayed.


There was a bug in MIKTeX so that LyX's configuration script wasn't correctly finished when no 
internet connection was opened to install missing LaTeX-packages. This is now fixed in the latest 
MiKTeX version 2.5.2580.
You can update your MiKTeX installation using MiKTeX's update manager which is accessible in the 
Start menu under Programs -> MiKTeX 2.5.


For new installations the next LyXWinInstaller version has the new MiKTeX version bundled. For 
existing installations the installer asks you to update MiKTeX before you start LyX the first time. 
Use this option and MiKTeX's update manager will be started by the installer.


For explanation:
LyX needs some LaTeX-packages for some of its features that are not delivered in the basic 
installation of MiKTeX. You can use LyX without having these packages installed but then you cannot 
use all LyX features.
If you want to have all packages needed by LyX installed, install LyX while you have an open 
internet connection or open later an internet connection and reconfigure LyX.


regards Uwe


Re: cannot reqd an old lyx file

2007-02-04 Thread Uwe Stöhr

on a new computer running windiws vista and the new lyx for windows.


Harald The release that will come out hopefully today fixes you initial problem.
Besides this, let me ask you if the installer runs fine on Vista and can you work with LyX on Vista 
as with LyX on XP?


If yes, please let me know. (I was only able to test it out once on Vista releace candidate and it 
worked there.)


thanks in advance and regards
Uwe


Re: Using ACM and APA styles in LyX?

2007-02-04 Thread B. Bogart
Hi Richard,

I changed from tetex to texlive but I'm not seeing any change in the
document classes I see in lyx.

>From tex info I can see the following classes I'm looking for:

acmconf.cls
acmtrans2e.cls
apa.cls

The document classes I can choose from document settings are:

Article (APA)

But no ACM.

I don't see a good correlation between the list of "document class" and
the text info list of classes.

Any further suggestions?

Thanks,
B. Bogart


Richard Heck wrote:
> LyX does have an APA layout, so you should be able to use it. Check to
> make sure you do have the APA document class installed and that LaTeX
> can see it (run texhash as root) and then reconfigure LyX (Tools >
> Reconfigure). You can use Tools > Tex Info to check what LyX thinks is
> there.
> 
> I don't see an ACM layout. Anybody got one? It's unlikely it'd be hard
> to create one if not.
> 
> As for references, natbib isn't a bibliography style but something more
> general. You can use apalike with it, to be sure. You can also use
> apacite by itself (and the apa.layout file seems to load apacite.sty,
> which you'd also want). Just choose "default" for your citation style
> and then, when you put the bibliography in its place (Insert > List
>> Bibliography), choose "apacite" as your style. Of course, you'll need
> to make sure that's installed, too.
> 
> Richard
> 
> B. Bogart wrote:
>> Hello all,
>>
>> I'm new to tex/latex/lyx but need to write papers in ACM and APA
>> formats. I see that the package texlive-publishers includes APA and ACM
>> document classes, and I have the package installed, but lyx does not see
>> those templates.
>>
>> How can I use lyx to write APA and ACM papers? I also need my citations
>> and bibliographies to be in the proper APA format, but lyx seems to only
>> give three types citation styles? (default,natbib,jurabib)
>>
>> FYI I'm using the ubuntu edgy packages of lyx/tex
>>
>> Thanks all.
>>
>> B. Bogart
>>
>>
>>
> 
>