newbie question toolbar configuration

2004-03-10 Thread Dirk Brandherm
Hi there, 
 
I just installed LyX 1.3.4 on my SuSe 9.0 machine. 
Basically, everything seems to work fine. However, from 
the Development News for 20030504 on the LyX.org site I 
gather that there should be some way to configure the 
toolbar(s). How is this done? And how do I get the new 
icons to show up in the toolbar? 
 
Thanks a lot in advance 
 
Dirk 
-- 
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


Re: set locale with lyxwin32

2004-03-10 Thread Angus Leeming
Marc Anthony Winoto wrote:

 Angus Leeming wrote:
 Uwe,
 Ther is no equiv. Windows environment variable. You cannot enter
 'LANG=fr_FR' anywhere. Though maybe if you run the Cygwin version
 you can.
 
 Assuming you run the native Win32 version, the Windows equiv is to
 set your Language and Regional Options to French. I think just the
 Langauge settings under the Advanced tab will do. I haven't tried
 this though, since you need to reboot.
 
 Alternatively, if someone has it running in french already, perhaps
 they can email Uwe their .ui file. I presume that running LyX in
 French will generate a French version of default.ui. But then you
 still have to select the .ui to use every time you want to run LyX
 in French.

Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.

-- 
Angus



Re: newbie question toolbar configuration

2004-03-10 Thread Angus Leeming
Dirk Brandherm wrote:

 Hi there,
  
 I just installed LyX 1.3.4 on my SuSe 9.0 machine.
 Basically, everything seems to work fine. However, from
 the Development News for 20030504 on the LyX.org site I
 gather that there should be some way to configure the
 toolbar(s). How is this done? And how do I get the new
 icons to show up in the toolbar?

You mean multiple toolbars whose visibility is context-sensitive? Eg, 
you enter a math inset and a toolbar pops up with a bunch of math 
icons. That is a feature that will appear with the LyX 1.4.x series. 
You'll have to wait 'til 1.4.0 is released.

If, however, you want to change the icons and actions of the existing 
toolbar, then copy the system-default 
${PREFIX}/share/lyx/ui/default.ui file to ${HOME}/.lyx/ui/default.ui 
and start modifying it.

Toolbar
Layouts
Icon file-open
Icon buffer-write
Icon buffer-print
Separator

file-open is the action that is invoked when you click on the icon. 
You'll find a list of available actions, a.k.a LFUNs at 
http://wiki.lyx.org/pmwiki.php/Devel/LFUNs

Each LFUN should have an implicitly-named icon. Eg, 
${PREFIX}/share/lyx/images/file-open.xpm. I *believe* that you can 
override the system-default icons by placing your own version in 
${HOME}/.lyx/images/file-open.xpm. Go experiment.

If you want to invoke an 'unusual' LFUN from the toolbar, then you'll 
need to create the icon for it.

HTH,
-- 
Angus



Re: set locale with lyxwin32

2004-03-10 Thread Uwe Sthr
Assuming you run the native Win32 version, the Windows equiv is to
set your Language and Regional Options to French. I think just the
Langauge settings under the Advanced tab will do. I haven't tried
this though, since you need to reboot.
Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.
After copying the folder 'locale' to my lyx-tree, I get german menues 
when starting LyX (I use a german Windows). But I want to switch the 
locale from time to time. Ruurd wrote on his site:
eg for german set the following environment variable: LANG=de_DE
So it must be possible to set another locale somewhere. I just don't 
know where.

Thanks Uwe


Re: set locale with lyxwin32

2004-03-10 Thread Angus Leeming
Uwe Stöhr wrote:
 After copying the folder 'locale' to my lyx-tree, I get german
 menues when starting LyX (I use a german Windows). But I want to
 switch the locale from time to time. Ruurd wrote on his site:
 eg for german set the following environment variable: LANG=de_DE
 So it must be possible to set another locale somewhere. I just don't
 know where.
 
 Thanks Uwe

Try here: 

http://tinyurl.com/ys8xd

All you ever needed to know about setting environment variables, both 
on unix and on win32.

Ain't google amazing. The second entry in a search on
setting environment variable Win32.

-- 
Angus



supertabular support

2004-03-10 Thread Eric Norum
I'm beginning the conversion of a several-hundred page manual from FrameMaker 
to LaTeX/LyX.  The manual uses lots and lots of long tables which I plan to 
convert to LaTeX supertabular environments.  Is there any support in LyX for 
these sorts of tables or am I going to have to put all the tables into ERT boxes?
Thanks,
--
Eric Norum [EMAIL PROTECTED]
Advanced Photon Source Phone: (630) 252-4793
Argonne National Laboratory



Re: Note inset question

2004-03-10 Thread Georg Baum
Andre Poenitz wrote:

 On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
 #! /bin/sh
 SUFFIX=-1.4
 INSTDIR=/path/to/lyx1.4cvs
 tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
 
 Shouldn't that be $@  (in double quotes?)

I don't know. I guess the double quotes are needed if you have spaces in
file names, but are wrong if you want to pass more than one option.


Georg





Re: Note inset question

2004-03-10 Thread Christian Ridderström
On Wed, 10 Mar 2004, Georg Baum wrote:

 Andre Poenitz wrote:
 
  On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
  #! /bin/sh
  SUFFIX=-1.4
  INSTDIR=/path/to/lyx1.4cvs
  tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
  
  Shouldn't that be $@  (in double quotes?)
 
 I don't know. I guess the double quotes are needed if you have spaces in
 file names, but are wrong if you want to pass more than one option.

$@ will quote multiple arguments separately.  This is different from
$* which would take multiple arguments and create a single argument.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
Hi,

I installed LyX/Mac with the intention of writing a .layout file for a 
LaTeX class I maintain.  However, I couldn't even get LyX to add the 
class to Layout | Document | Class.  I followed the directions in the 
Customization help file.  I assume I got that right because from the 
command line LaTeX is finding the class in its new location:

(/usr/local/teTeX/share/texmf.local/tex/latex/sffms/sffms.cls
Document Class: sffms 2003/03/01 v2.1 The SF/F manuscript class
I also tried putting the package in 
/usr/local/teTeX/share/texmf/tex/latex/ with no success.  I'm using 
Gerben Wierda's teTeX/TeXLive distribution from Feb. 17th or so, on 
MacOS 10.3.2.  I can run View | PDF (pdflatex) on the examples, so I 
presume LyX is finding teTeX.  How can I get it to find my class file?

Thanks,
mary

[EMAIL PROTECTED]
http://sffms.ficml.org/


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
M. C. D. wrote:
 I installed LyX/Mac with the intention of writing a .layout file for
 a LaTeX class I maintain.  However, I couldn't even get LyX to
 add the class to Layout | Document | Class.  I followed the
 directions in the Customization help file.  I assume I got that
 right because from the command line LaTeX is finding the class
 in its new location

Hello, Mary.

LyX knows nothing about .cls files really. The classes found in 
Layout | Document | Class are defined by the .layout files to be found 
in ${PREFIX}/share/lyx/layouts. Usually, you can get a long way with 
a sffms.layout file that contains little more than an instruction to 
input either article.layout or book.layout. 

See, eg, extarticle.layout, below

HTH,
Angus

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{extarticle}
# Article textclass definition file. Taken from initial LyX 
# source code
# Author   : Matthias Ettrich [EMAIL PROTECTED]
# this file: Herbert Voss [EMAIL PROTECTED]
#
Input article.layout
#
# change available fontsizes
#
ClassOptions
  FontSize  8|9|14|17|20
end




Lyx 1.3.3 for Windows startup error

2004-03-10 Thread Claudiu Tomescu
Hi,

I am newbie to LyX and I've I just downloaded the LyX port for Windows
version 1.3.3
I installed also the MiKTeX but when I start lyx I have the following error
message
LyX wasn't able to find any layout description ! and exits.

Thanks in advance for your answers.

Claudiu


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
 On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
  LyX knows nothing about .cls files really. The classes found in
  Layout | Document | Class are defined by the .layout files to be
  found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
  way with a sffms.layout file that contains little more than an
  instruction to input either article.layout or book.layout.

 Thanks, that helped.  The instructions in the Customization help
 file didn't mention anything about needing the .layout file to
 install a new class (see section 5.1 Installing a new LaTeX
 package).  I had my own fake .layout ready, but LyX/Mac doesn't
 install layouts into ${PREFIX}/share/lyx/ so instead I had to open
 the LyX package and put it in there.

Hi, Mary.

(Let's take this back to the mailing list.

The documentation is good, but it's getting old. I'd encourage you --- 
anybody and everybody, in fact --- to post here any changes you think 
would improve it. There are places where things are now so out of 
date they're just plain wrong. The layout sections are a case in 
point. Would you consider adding a paragraph or two to make things 
clearer in light of your own experiences.)

In general you probably shouldn't change things in the globally 
accessible directories. At least, not until you're happy with the new 
layout. LyX differentiates between system configuration files, to be 
found in ${PREFIX}/share/lyx/ and user files, usually found in 
${HOME}/.lyx. I'd recommend that you put your new layout file in the 
${HOME}/.lyx/layouts directory.

 Thanks again,
 mary

Regards,
Angus




Re: Lyx 1.3.3 for Windows startup error

2004-03-10 Thread Uwe Stöhr
I am newbie to LyX and I've I just downloaded the LyX port for Windows
version 1.3.3
I installed also the MiKTeX but when I start lyx I have the following error
message
LyX wasn't able to find any layout description ! and exits.
Do you find .layout files under ~/share/lyx/layouts? If yes, does the 
file textclass.lst exists in ~/share/lyx? If not then configure LyX 
under Edit-Reconfigure. If this is not possible, assure that all users 
on your PC have the permission to write in the LyX-folder (and in all 
subfolders).

(If you use Win98 the configuration of LyX won't work.)


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
On Mar 10, 2004, at 5:51 PM, Angus Leeming wrote:

On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
LyX knows nothing about .cls files really. The classes found in
Layout | Document | Class are defined by the .layout files to be
found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
way with a sffms.layout file that contains little more than an
instruction to input either article.layout or book.layout.
Thanks, that helped.  The instructions in the Customization help
file didn't mention anything about needing the .layout file to
install a new class (see section 5.1 Installing a new LaTeX
package).  I had my own fake .layout ready, but LyX/Mac doesn't
install layouts into ${PREFIX}/share/lyx/ so instead I had to open
the LyX package and put it in there.
Hi, Mary.

(Let's take this back to the mailing list.
Sorry, I didn't realize the list was non-munging.

The documentation is good, but it's getting old. I'd encourage you ---
anybody and everybody, in fact --- to post here any changes you think
would improve it. There are places where things are now so out of
date they're just plain wrong. The layout sections are a case in
point. Would you consider adding a paragraph or two to make things
clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave.  
LyX/Mac is a little unusual, and I'm also using the Mac distribution of 
teTeX rather than the standard Unix one.  It turned out that I didn't 
need to install my package in TEXMFLOCAL at all - its regular location 
in HOMETEXMF works fine - but having no other system to test on I'm not 
sure whether that's normal behavior.

In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the new
layout. LyX differentiates between system configuration files, to be
found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in 
/Applications/LyX.app/Contents/Resources/LyX/.

and user files, usually found in
${HOME}/.lyx. I'd recommend that you put your new layout file in the
${HOME}/.lyx/layouts directory.
That works too, but can it resolve inputs from there?  How would I know 
if it failed?

Thanks,
mary


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
M. C. D. wrote:
 The documentation is good, but it's getting old. I'd encourage you
 --- anybody and everybody, in fact --- to post here any changes you
 think would improve it. There are places where things are now so
 out of date they're just plain wrong. The layout sections are a
 case in point. Would you consider adding a paragraph or two to make
 things clearer in light of your own experiences.)
 
 I wouldn't mind, but I don't know how LyX is supposed to behave.
 LyX/Mac is a little unusual, and I'm also using the Mac distribution
 of
 teTeX rather than the standard Unix one.  It turned out that I
 didn't need to install my package in TEXMFLOCAL at all - its regular
 location in HOMETEXMF works fine - but having no other system to
 test on I'm not sure whether that's normal behavior.

Put it this way: if you can add a layout to your machine and get it 
working, then others will be able to distil something from your 
experiences only if you document them.

 In general you probably shouldn't change things in the globally
 accessible directories. At least, not until you're happy with the
 new layout. LyX differentiates between system configuration files,
 to be found in ${PREFIX}/share/lyx/
 
 LyX/Mac files appear to be in
 /Applications/LyX.app/Contents/Resources/LyX/.

Whatever. Different names, same principle.

 and user files, usually found in
 ${HOME}/.lyx. I'd recommend that you put your new layout file in
 the ${HOME}/.lyx/layouts directory.
 
 That works too, but can it resolve inputs from there?  How would I
 know if it failed?

I'm not sure I understand what resolve inputs from there means.

LyX searches the global directory first and then the user directory. 
Anything found in the user directory overwrites the same entry in the 
global directory. Anything found in the user directory that's not 
present in the global directory is simply added.

So, you'll know it failed if you run lyx and your new class layout 
isn't present.

-- 
Angus



Re: set locale with lyxwin32 - the solution

2004-03-10 Thread Uwe Stöhr
After copying the folder 'locale' to my lyx-tree, I get german
menues when starting LyX (I use a german Windows). But I want to
switch the locale from time to time. Ruurd wrote on his site:
eg for german set the following environment variable: LANG=de_DE
So it must be possible to set another locale somewhere. I just don't
know where.
Try here: 

http://tinyurl.com/ys8xd

All you ever needed to know about setting environment variables, both 
on unix and on win32.

Ain't google amazing. The second entry in a search on
setting environment variable Win32.
Thanks a lot Angus. It was new for me that I have to introduce a new 
variable. If the variable LANG is not defined, LyXWin uses automatically 
the Windows-system locale.
Now it works perfectly.

regards Uwe


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
On Mar 10, 2004, at 6:56 PM, Angus Leeming wrote:

M. C. D. wrote:
The documentation is good, but it's getting old. I'd encourage you
--- anybody and everybody, in fact --- to post here any changes you
think would improve it. There are places where things are now so
out of date they're just plain wrong. The layout sections are a
case in point. Would you consider adding a paragraph or two to make
things clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave.
LyX/Mac is a little unusual, and I'm also using the Mac distribution
of
teTeX rather than the standard Unix one.  It turned out that I
didn't need to install my package in TEXMFLOCAL at all - its regular
location in HOMETEXMF works fine - but having no other system to
test on I'm not sure whether that's normal behavior.
Put it this way: if you can add a layout to your machine and get it
working, then others will be able to distil something from your
experiences only if you document them.
I agree, but I can't correct the existing documentation if I have no 
way of knowing what's right and wrong.  All I know for sure is that it 
didn't work as written.

In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the
new layout. LyX differentiates between system configuration files,
to be found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in
/Applications/LyX.app/Contents/Resources/LyX/.
Whatever. Different names, same principle.
I only mentioned it for the record.  ${PREFIX}/share/lyx doesn't exist, 
under any definition of ${PREFIX}.  If I hadn't already known where the 
files were, it might not have been obvious where to find them.  It also 
requires special effort to navigate to the contents of an .app package 
on OSX - you have to know that the LyX program is actually a directory, 
/Applications/LyX.app/, to get inside it from the command line.  You 
need to control-click the LyX icon and choose Show package contents 
to get inside it from the Finder.

mary



Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Ronald Florence
M. C. D. wrote:


I only mentioned it for the record.  ${PREFIX}/share/lyx doesn't exist, 
under any definition of ${PREFIX}.  If I hadn't already known where the 
files were, it might not have been obvious where to find them.  It also 
requires special effort to navigate to the contents of an .app package 
on OSX - you have to know that the LyX program is actually a directory, 
/Applications/LyX.app/, to get inside it from the command line.  You 
need to control-click the LyX icon and choose Show package contents to 
get inside it from the Finder.
If you click LyX - About on the toolbar, LyX/Mac will tell you where 
the system LyX files and your local LyX files are on your installation. 
 The reason the LyX system files are in the application bundle in 
LyX/Mac instead of the .../share/lyx directory used on other versions of 
Unix/Linux is so the LyX/Mac application could be made relocatable (you 
can put it anywhere you choose) and so the installation would include 
everything in a single bundle which is Apple's preferred spec for MacOSX 
applications.
--

Ronald Florencewww.18james.com



Math panel won't go into the background

2004-03-10 Thread Alex Casti
My system:Lyx 1.3.4, QT front end, Redhat 9 Linux

For some reason that I can't quite figure out, when I open the math panel
it always wants to sit in the foreground in front of the lyx document 
window.
When I click the lyx document lying behind it, the document window doesn't
come to the foreground as with other GUIs -- the math panel always remains
in front.  I find this rather annoying.  I can't seem to find anything 
in the preferences
to control this feature.  Is there anything I can do about it?

Much thanks for the help.





Re: set locale with lyxwin32 - the solution

2004-03-10 Thread Jean-Pierre.Chretien


Thanks a lot Angus. It was new for me that I have to introduce a new 
variable. If the variable LANG is not defined, LyXWin uses automatically 
the Windows-system locale.
Now it works perfectly.

The menus are OK, but the doc remains is english because the
internationalized files (fr_Intro.lyx, etc.) are missing in the main distrib.

I just uploaded the new localiszation .rar file.
Should I have uploaded the whole distrib as well ?

Not a big deal anyway, these are sharable files that
I can download from anywhere, just to make things clear.

-- 
Jean-Pierre



newbie question toolbar configuration

2004-03-10 Thread Dirk Brandherm
Hi there, 
 
I just installed LyX 1.3.4 on my SuSe 9.0 machine. 
Basically, everything seems to work fine. However, from 
the Development News for 20030504 on the LyX.org site I 
gather that there should be some way to configure the 
toolbar(s). How is this done? And how do I get the new 
icons to show up in the toolbar? 
 
Thanks a lot in advance 
 
Dirk 
-- 
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


Re: set locale with lyxwin32

2004-03-10 Thread Angus Leeming
Marc Anthony Winoto wrote:

 Angus Leeming wrote:
 Uwe,
 Ther is no equiv. Windows environment variable. You cannot enter
 'LANG=fr_FR' anywhere. Though maybe if you run the Cygwin version
 you can.
 
 Assuming you run the native Win32 version, the Windows equiv is to
 set your Language and Regional Options to French. I think just the
 Langauge settings under the Advanced tab will do. I haven't tried
 this though, since you need to reboot.
 
 Alternatively, if someone has it running in french already, perhaps
 they can email Uwe their .ui file. I presume that running LyX in
 French will generate a French version of default.ui. But then you
 still have to select the .ui to use every time you want to run LyX
 in French.

Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.

-- 
Angus



Re: newbie question toolbar configuration

2004-03-10 Thread Angus Leeming
Dirk Brandherm wrote:

 Hi there,
  
 I just installed LyX 1.3.4 on my SuSe 9.0 machine.
 Basically, everything seems to work fine. However, from
 the Development News for 20030504 on the LyX.org site I
 gather that there should be some way to configure the
 toolbar(s). How is this done? And how do I get the new
 icons to show up in the toolbar?

You mean multiple toolbars whose visibility is context-sensitive? Eg, 
you enter a math inset and a toolbar pops up with a bunch of math 
icons. That is a feature that will appear with the LyX 1.4.x series. 
You'll have to wait 'til 1.4.0 is released.

If, however, you want to change the icons and actions of the existing 
toolbar, then copy the system-default 
${PREFIX}/share/lyx/ui/default.ui file to ${HOME}/.lyx/ui/default.ui 
and start modifying it.

Toolbar
Layouts
Icon file-open
Icon buffer-write
Icon buffer-print
Separator

file-open is the action that is invoked when you click on the icon. 
You'll find a list of available actions, a.k.a LFUNs at 
http://wiki.lyx.org/pmwiki.php/Devel/LFUNs

Each LFUN should have an implicitly-named icon. Eg, 
${PREFIX}/share/lyx/images/file-open.xpm. I *believe* that you can 
override the system-default icons by placing your own version in 
${HOME}/.lyx/images/file-open.xpm. Go experiment.

If you want to invoke an 'unusual' LFUN from the toolbar, then you'll 
need to create the icon for it.

HTH,
-- 
Angus



Re: set locale with lyxwin32

2004-03-10 Thread Uwe Sthr
Assuming you run the native Win32 version, the Windows equiv is to
set your Language and Regional Options to French. I think just the
Langauge settings under the Advanced tab will do. I haven't tried
this though, since you need to reboot.
Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.
After copying the folder 'locale' to my lyx-tree, I get german menues 
when starting LyX (I use a german Windows). But I want to switch the 
locale from time to time. Ruurd wrote on his site:
eg for german set the following environment variable: LANG=de_DE
So it must be possible to set another locale somewhere. I just don't 
know where.

Thanks Uwe


Re: set locale with lyxwin32

2004-03-10 Thread Angus Leeming
Uwe Stöhr wrote:
 After copying the folder 'locale' to my lyx-tree, I get german
 menues when starting LyX (I use a german Windows). But I want to
 switch the locale from time to time. Ruurd wrote on his site:
 eg for german set the following environment variable: LANG=de_DE
 So it must be possible to set another locale somewhere. I just don't
 know where.
 
 Thanks Uwe

Try here: 

http://tinyurl.com/ys8xd

All you ever needed to know about setting environment variables, both 
on unix and on win32.

Ain't google amazing. The second entry in a search on
setting environment variable Win32.

-- 
Angus



supertabular support

2004-03-10 Thread Eric Norum
I'm beginning the conversion of a several-hundred page manual from FrameMaker 
to LaTeX/LyX.  The manual uses lots and lots of long tables which I plan to 
convert to LaTeX supertabular environments.  Is there any support in LyX for 
these sorts of tables or am I going to have to put all the tables into ERT boxes?
Thanks,
--
Eric Norum [EMAIL PROTECTED]
Advanced Photon Source Phone: (630) 252-4793
Argonne National Laboratory



Re: Note inset question

2004-03-10 Thread Georg Baum
Andre Poenitz wrote:

 On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
 #! /bin/sh
 SUFFIX=-1.4
 INSTDIR=/path/to/lyx1.4cvs
 tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
 
 Shouldn't that be $@  (in double quotes?)

I don't know. I guess the double quotes are needed if you have spaces in
file names, but are wrong if you want to pass more than one option.


Georg





Re: Note inset question

2004-03-10 Thread Christian Ridderström
On Wed, 10 Mar 2004, Georg Baum wrote:

 Andre Poenitz wrote:
 
  On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
  #! /bin/sh
  SUFFIX=-1.4
  INSTDIR=/path/to/lyx1.4cvs
  tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
  
  Shouldn't that be $@  (in double quotes?)
 
 I don't know. I guess the double quotes are needed if you have spaces in
 file names, but are wrong if you want to pass more than one option.

$@ will quote multiple arguments separately.  This is different from
$* which would take multiple arguments and create a single argument.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
Hi,

I installed LyX/Mac with the intention of writing a .layout file for a 
LaTeX class I maintain.  However, I couldn't even get LyX to add the 
class to Layout | Document | Class.  I followed the directions in the 
Customization help file.  I assume I got that right because from the 
command line LaTeX is finding the class in its new location:

(/usr/local/teTeX/share/texmf.local/tex/latex/sffms/sffms.cls
Document Class: sffms 2003/03/01 v2.1 The SF/F manuscript class
I also tried putting the package in 
/usr/local/teTeX/share/texmf/tex/latex/ with no success.  I'm using 
Gerben Wierda's teTeX/TeXLive distribution from Feb. 17th or so, on 
MacOS 10.3.2.  I can run View | PDF (pdflatex) on the examples, so I 
presume LyX is finding teTeX.  How can I get it to find my class file?

Thanks,
mary

[EMAIL PROTECTED]
http://sffms.ficml.org/


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
M. C. D. wrote:
 I installed LyX/Mac with the intention of writing a .layout file for
 a LaTeX class I maintain.  However, I couldn't even get LyX to
 add the class to Layout | Document | Class.  I followed the
 directions in the Customization help file.  I assume I got that
 right because from the command line LaTeX is finding the class
 in its new location

Hello, Mary.

LyX knows nothing about .cls files really. The classes found in 
Layout | Document | Class are defined by the .layout files to be found 
in ${PREFIX}/share/lyx/layouts. Usually, you can get a long way with 
a sffms.layout file that contains little more than an instruction to 
input either article.layout or book.layout. 

See, eg, extarticle.layout, below

HTH,
Angus

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{extarticle}
# Article textclass definition file. Taken from initial LyX 
# source code
# Author   : Matthias Ettrich [EMAIL PROTECTED]
# this file: Herbert Voss [EMAIL PROTECTED]
#
Input article.layout
#
# change available fontsizes
#
ClassOptions
  FontSize  8|9|14|17|20
end




Lyx 1.3.3 for Windows startup error

2004-03-10 Thread Claudiu Tomescu
Hi,

I am newbie to LyX and I've I just downloaded the LyX port for Windows
version 1.3.3
I installed also the MiKTeX but when I start lyx I have the following error
message
LyX wasn't able to find any layout description ! and exits.

Thanks in advance for your answers.

Claudiu


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
 On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
  LyX knows nothing about .cls files really. The classes found in
  Layout | Document | Class are defined by the .layout files to be
  found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
  way with a sffms.layout file that contains little more than an
  instruction to input either article.layout or book.layout.

 Thanks, that helped.  The instructions in the Customization help
 file didn't mention anything about needing the .layout file to
 install a new class (see section 5.1 Installing a new LaTeX
 package).  I had my own fake .layout ready, but LyX/Mac doesn't
 install layouts into ${PREFIX}/share/lyx/ so instead I had to open
 the LyX package and put it in there.

Hi, Mary.

(Let's take this back to the mailing list.

The documentation is good, but it's getting old. I'd encourage you --- 
anybody and everybody, in fact --- to post here any changes you think 
would improve it. There are places where things are now so out of 
date they're just plain wrong. The layout sections are a case in 
point. Would you consider adding a paragraph or two to make things 
clearer in light of your own experiences.)

In general you probably shouldn't change things in the globally 
accessible directories. At least, not until you're happy with the new 
layout. LyX differentiates between system configuration files, to be 
found in ${PREFIX}/share/lyx/ and user files, usually found in 
${HOME}/.lyx. I'd recommend that you put your new layout file in the 
${HOME}/.lyx/layouts directory.

 Thanks again,
 mary

Regards,
Angus




Re: Lyx 1.3.3 for Windows startup error

2004-03-10 Thread Uwe Stöhr
I am newbie to LyX and I've I just downloaded the LyX port for Windows
version 1.3.3
I installed also the MiKTeX but when I start lyx I have the following error
message
LyX wasn't able to find any layout description ! and exits.
Do you find .layout files under ~/share/lyx/layouts? If yes, does the 
file textclass.lst exists in ~/share/lyx? If not then configure LyX 
under Edit-Reconfigure. If this is not possible, assure that all users 
on your PC have the permission to write in the LyX-folder (and in all 
subfolders).

(If you use Win98 the configuration of LyX won't work.)


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
On Mar 10, 2004, at 5:51 PM, Angus Leeming wrote:

On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
LyX knows nothing about .cls files really. The classes found in
Layout | Document | Class are defined by the .layout files to be
found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
way with a sffms.layout file that contains little more than an
instruction to input either article.layout or book.layout.
Thanks, that helped.  The instructions in the Customization help
file didn't mention anything about needing the .layout file to
install a new class (see section 5.1 Installing a new LaTeX
package).  I had my own fake .layout ready, but LyX/Mac doesn't
install layouts into ${PREFIX}/share/lyx/ so instead I had to open
the LyX package and put it in there.
Hi, Mary.

(Let's take this back to the mailing list.
Sorry, I didn't realize the list was non-munging.

The documentation is good, but it's getting old. I'd encourage you ---
anybody and everybody, in fact --- to post here any changes you think
would improve it. There are places where things are now so out of
date they're just plain wrong. The layout sections are a case in
point. Would you consider adding a paragraph or two to make things
clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave.  
LyX/Mac is a little unusual, and I'm also using the Mac distribution of 
teTeX rather than the standard Unix one.  It turned out that I didn't 
need to install my package in TEXMFLOCAL at all - its regular location 
in HOMETEXMF works fine - but having no other system to test on I'm not 
sure whether that's normal behavior.

In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the new
layout. LyX differentiates between system configuration files, to be
found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in 
/Applications/LyX.app/Contents/Resources/LyX/.

and user files, usually found in
${HOME}/.lyx. I'd recommend that you put your new layout file in the
${HOME}/.lyx/layouts directory.
That works too, but can it resolve inputs from there?  How would I know 
if it failed?

Thanks,
mary


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
M. C. D. wrote:
 The documentation is good, but it's getting old. I'd encourage you
 --- anybody and everybody, in fact --- to post here any changes you
 think would improve it. There are places where things are now so
 out of date they're just plain wrong. The layout sections are a
 case in point. Would you consider adding a paragraph or two to make
 things clearer in light of your own experiences.)
 
 I wouldn't mind, but I don't know how LyX is supposed to behave.
 LyX/Mac is a little unusual, and I'm also using the Mac distribution
 of
 teTeX rather than the standard Unix one.  It turned out that I
 didn't need to install my package in TEXMFLOCAL at all - its regular
 location in HOMETEXMF works fine - but having no other system to
 test on I'm not sure whether that's normal behavior.

Put it this way: if you can add a layout to your machine and get it 
working, then others will be able to distil something from your 
experiences only if you document them.

 In general you probably shouldn't change things in the globally
 accessible directories. At least, not until you're happy with the
 new layout. LyX differentiates between system configuration files,
 to be found in ${PREFIX}/share/lyx/
 
 LyX/Mac files appear to be in
 /Applications/LyX.app/Contents/Resources/LyX/.

Whatever. Different names, same principle.

 and user files, usually found in
 ${HOME}/.lyx. I'd recommend that you put your new layout file in
 the ${HOME}/.lyx/layouts directory.
 
 That works too, but can it resolve inputs from there?  How would I
 know if it failed?

I'm not sure I understand what resolve inputs from there means.

LyX searches the global directory first and then the user directory. 
Anything found in the user directory overwrites the same entry in the 
global directory. Anything found in the user directory that's not 
present in the global directory is simply added.

So, you'll know it failed if you run lyx and your new class layout 
isn't present.

-- 
Angus



Re: set locale with lyxwin32 - the solution

2004-03-10 Thread Uwe Stöhr
After copying the folder 'locale' to my lyx-tree, I get german
menues when starting LyX (I use a german Windows). But I want to
switch the locale from time to time. Ruurd wrote on his site:
eg for german set the following environment variable: LANG=de_DE
So it must be possible to set another locale somewhere. I just don't
know where.
Try here: 

http://tinyurl.com/ys8xd

All you ever needed to know about setting environment variables, both 
on unix and on win32.

Ain't google amazing. The second entry in a search on
setting environment variable Win32.
Thanks a lot Angus. It was new for me that I have to introduce a new 
variable. If the variable LANG is not defined, LyXWin uses automatically 
the Windows-system locale.
Now it works perfectly.

regards Uwe


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
On Mar 10, 2004, at 6:56 PM, Angus Leeming wrote:

M. C. D. wrote:
The documentation is good, but it's getting old. I'd encourage you
--- anybody and everybody, in fact --- to post here any changes you
think would improve it. There are places where things are now so
out of date they're just plain wrong. The layout sections are a
case in point. Would you consider adding a paragraph or two to make
things clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave.
LyX/Mac is a little unusual, and I'm also using the Mac distribution
of
teTeX rather than the standard Unix one.  It turned out that I
didn't need to install my package in TEXMFLOCAL at all - its regular
location in HOMETEXMF works fine - but having no other system to
test on I'm not sure whether that's normal behavior.
Put it this way: if you can add a layout to your machine and get it
working, then others will be able to distil something from your
experiences only if you document them.
I agree, but I can't correct the existing documentation if I have no 
way of knowing what's right and wrong.  All I know for sure is that it 
didn't work as written.

In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the
new layout. LyX differentiates between system configuration files,
to be found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in
/Applications/LyX.app/Contents/Resources/LyX/.
Whatever. Different names, same principle.
I only mentioned it for the record.  ${PREFIX}/share/lyx doesn't exist, 
under any definition of ${PREFIX}.  If I hadn't already known where the 
files were, it might not have been obvious where to find them.  It also 
requires special effort to navigate to the contents of an .app package 
on OSX - you have to know that the LyX program is actually a directory, 
/Applications/LyX.app/, to get inside it from the command line.  You 
need to control-click the LyX icon and choose Show package contents 
to get inside it from the Finder.

mary



Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Ronald Florence
M. C. D. wrote:


I only mentioned it for the record.  ${PREFIX}/share/lyx doesn't exist, 
under any definition of ${PREFIX}.  If I hadn't already known where the 
files were, it might not have been obvious where to find them.  It also 
requires special effort to navigate to the contents of an .app package 
on OSX - you have to know that the LyX program is actually a directory, 
/Applications/LyX.app/, to get inside it from the command line.  You 
need to control-click the LyX icon and choose Show package contents to 
get inside it from the Finder.
If you click LyX - About on the toolbar, LyX/Mac will tell you where 
the system LyX files and your local LyX files are on your installation. 
 The reason the LyX system files are in the application bundle in 
LyX/Mac instead of the .../share/lyx directory used on other versions of 
Unix/Linux is so the LyX/Mac application could be made relocatable (you 
can put it anywhere you choose) and so the installation would include 
everything in a single bundle which is Apple's preferred spec for MacOSX 
applications.
--

Ronald Florencewww.18james.com



Math panel won't go into the background

2004-03-10 Thread Alex Casti
My system:Lyx 1.3.4, QT front end, Redhat 9 Linux

For some reason that I can't quite figure out, when I open the math panel
it always wants to sit in the foreground in front of the lyx document 
window.
When I click the lyx document lying behind it, the document window doesn't
come to the foreground as with other GUIs -- the math panel always remains
in front.  I find this rather annoying.  I can't seem to find anything 
in the preferences
to control this feature.  Is there anything I can do about it?

Much thanks for the help.





Re: set locale with lyxwin32 - the solution

2004-03-10 Thread Jean-Pierre.Chretien


Thanks a lot Angus. It was new for me that I have to introduce a new 
variable. If the variable LANG is not defined, LyXWin uses automatically 
the Windows-system locale.
Now it works perfectly.

The menus are OK, but the doc remains is english because the
internationalized files (fr_Intro.lyx, etc.) are missing in the main distrib.

I just uploaded the new localiszation .rar file.
Should I have uploaded the whole distrib as well ?

Not a big deal anyway, these are sharable files that
I can download from anywhere, just to make things clear.

-- 
Jean-Pierre



newbie question toolbar configuration

2004-03-10 Thread Dirk Brandherm
Hi there, 
 
I just installed LyX 1.3.4 on my SuSe 9.0 machine. 
Basically, everything seems to work fine. However, from 
the "Development News for 20030504" on the LyX.org site I 
gather that there should be some way to configure the 
toolbar(s). How is this done? And how do I get the new 
icons to show up in the toolbar? 
 
Thanks a lot in advance 
 
Dirk 
-- 
_
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.

Powered by Outblaze


Re: set locale with lyxwin32

2004-03-10 Thread Angus Leeming
Marc Anthony Winoto wrote:

> Angus Leeming wrote:
> Uwe,
> Ther is no equiv. Windows environment variable. You cannot enter
> 'LANG=fr_FR' anywhere. Though maybe if you run the Cygwin version
> you can.
> 
> Assuming you run the native Win32 version, the Windows equiv is to
> set your "Language and Regional Options" to French. I think just the
> Langauge settings under the "Advanced" tab will do. I haven't tried
> this though, since you need to reboot.
> 
> Alternatively, if someone has it running in french already, perhaps
> they can email Uwe their .ui file. I presume that running LyX in
> French will generate a French version of default.ui. But then you
> still have to select the .ui to use every time you want to run LyX
> in French.

Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.

-- 
Angus



Re: newbie question toolbar configuration

2004-03-10 Thread Angus Leeming
Dirk Brandherm wrote:

> Hi there,
>  
> I just installed LyX 1.3.4 on my SuSe 9.0 machine.
> Basically, everything seems to work fine. However, from
> the "Development News for 20030504" on the LyX.org site I
> gather that there should be some way to configure the
> toolbar(s). How is this done? And how do I get the new
> icons to show up in the toolbar?

You mean multiple toolbars whose visibility is context-sensitive? Eg, 
you enter a math inset and a toolbar pops up with a bunch of math 
icons. That is a feature that will appear with the LyX 1.4.x series. 
You'll have to wait 'til 1.4.0 is released.

If, however, you want to change the icons and actions of the existing 
toolbar, then copy the system-default 
${PREFIX}/share/lyx/ui/default.ui file to ${HOME}/.lyx/ui/default.ui 
and start modifying it.

Toolbar
Layouts
Icon "file-open"
Icon "buffer-write"
Icon "buffer-print"
Separator

"file-open" is the action that is invoked when you click on the icon. 
You'll find a list of available actions, a.k.a LFUNs at 
http://wiki.lyx.org/pmwiki.php/Devel/LFUNs

Each LFUN should have an implicitly-named icon. Eg, 
${PREFIX}/share/lyx/images/file-open.xpm. I *believe* that you can 
override the system-default icons by placing your own version in 
${HOME}/.lyx/images/file-open.xpm. Go experiment.

If you want to invoke an 'unusual' LFUN from the toolbar, then you'll 
need to create the icon for it.

HTH,
-- 
Angus



Re: set locale with lyxwin32

2004-03-10 Thread Uwe Stöhr
Assuming you run the native Win32 version, the Windows equiv is to
set your "Language and Regional Options" to French. I think just the
Langauge settings under the "Advanced" tab will do. I haven't tried
this though, since you need to reboot.
Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.
After copying the folder 'locale' to my lyx-tree, I get german menues 
when starting LyX (I use a german Windows). But I want to switch the 
locale from time to time. Ruurd wrote on his site:
"eg for german set the following environment variable: LANG=de_DE"
So it must be possible to set another locale somewhere. I just don't 
know where.

Thanks Uwe


Re: set locale with lyxwin32

2004-03-10 Thread Angus Leeming
Uwe Stöhr wrote:
> After copying the folder 'locale' to my lyx-tree, I get german
> menues when starting LyX (I use a german Windows). But I want to
> switch the locale from time to time. Ruurd wrote on his site:
> "eg for german set the following environment variable: LANG=de_DE"
> So it must be possible to set another locale somewhere. I just don't
> know where.
> 
> Thanks Uwe

Try here: 

http://tinyurl.com/ys8xd

All you ever needed to know about setting environment variables, both 
on unix and on win32.

Ain't google amazing. The second entry in a search on
"setting environment variable Win32".

-- 
Angus



supertabular support

2004-03-10 Thread Eric Norum
I'm beginning the conversion of a several-hundred page manual from FrameMaker 
to LaTeX/LyX.  The manual uses lots and lots of long tables which I plan to 
convert to LaTeX supertabular environments.  Is there any support in LyX for 
these sorts of tables or am I going to have to put all the tables into ERT boxes?
Thanks,
--
Eric Norum [EMAIL PROTECTED]
Advanced Photon Source Phone: (630) 252-4793
Argonne National Laboratory



Re: Note inset question

2004-03-10 Thread Georg Baum
Andre Poenitz wrote:

> On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
>> #! /bin/sh
>> SUFFIX="-1.4"
>> INSTDIR="/path/to/lyx1.4cvs"
>> tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
> 
> Shouldn't that be "$@"  (in double quotes?)

I don't know. I guess the double quotes are needed if you have spaces in
file names, but are wrong if you want to pass more than one option.


Georg





Re: Note inset question

2004-03-10 Thread Christian Ridderström
On Wed, 10 Mar 2004, Georg Baum wrote:

> Andre Poenitz wrote:
> 
> > On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
> >> #! /bin/sh
> >> SUFFIX="-1.4"
> >> INSTDIR="/path/to/lyx1.4cvs"
> >> tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
> > 
> > Shouldn't that be "$@"  (in double quotes?)
> 
> I don't know. I guess the double quotes are needed if you have spaces in
> file names, but are wrong if you want to pass more than one option.

"$@" will quote multiple arguments separately.  This is different from
"$*" which would take multiple arguments and create a single argument.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
Hi,

I installed LyX/Mac with the intention of writing a .layout file for a 
LaTeX class I maintain.  However, I couldn't even get LyX to add the 
class to Layout | Document | Class.  I followed the directions in the 
Customization help file.  I assume I got that right because from the 
command line LaTeX is finding the class in its new location:

(/usr/local/teTeX/share/texmf.local/tex/latex/sffms/sffms.cls
Document Class: sffms 2003/03/01 v2.1 The SF/F manuscript class
I also tried putting the package in 
/usr/local/teTeX/share/texmf/tex/latex/ with no success.  I'm using 
Gerben Wierda's teTeX/TeXLive distribution from Feb. 17th or so, on 
MacOS 10.3.2.  I can run View | PDF (pdflatex) on the examples, so I 
presume LyX is finding teTeX.  How can I get it to find my class file?

Thanks,
mary

[EMAIL PROTECTED]
http://sffms.ficml.org/


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
M. C. D. wrote:
> I installed LyX/Mac with the intention of writing a .layout file for
> a LaTeX class I maintain.  However, I couldn't even get LyX to
> add the class to Layout | Document | Class.  I followed the
> directions in the Customization help file.  I assume I got that
> right because from the command line LaTeX is finding the class
> in its new location

Hello, Mary.

LyX knows nothing about .cls files really. The classes found in 
Layout | Document | Class are defined by the .layout files to be found 
in ${PREFIX}/share/lyx/layouts. Usually, you can get a long way with 
a sffms.layout file that contains little more than an instruction to 
input either article.layout or book.layout. 

See, eg, extarticle.layout, below

HTH,
Angus

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{extarticle}
# Article textclass definition file. Taken from initial LyX 
# source code
# Author   : Matthias Ettrich <[EMAIL PROTECTED]>
# this file: Herbert Voss <[EMAIL PROTECTED]>
#
Input article.layout
#
# change available fontsizes
#
ClassOptions
  FontSize  8|9|14|17|20
end




Lyx 1.3.3 for Windows startup error

2004-03-10 Thread Claudiu Tomescu
Hi,

I am newbie to LyX and I've I just downloaded the LyX port for Windows
version 1.3.3
I installed also the MiKTeX but when I start lyx I have the following error
message
"LyX wasn't able to find any layout description !" and exits.

Thanks in advance for your answers.

Claudiu


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
> On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
> > LyX knows nothing about .cls files really. The classes found in
> > Layout | Document | Class are defined by the .layout files to be
> > found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
> > way with a sffms.layout file that contains little more than an
> > instruction to input either article.layout or book.layout.
>
> Thanks, that helped.  The instructions in the Customization help
> file didn't mention anything about needing the .layout file to
> install a new class (see section 5.1 Installing a new LaTeX
> package).  I had my own fake .layout ready, but LyX/Mac doesn't
> install layouts into ${PREFIX}/share/lyx/ so instead I had to open
> the LyX package and put it in there.

Hi, Mary.

(Let's take this back to the mailing list.

The documentation is good, but it's getting old. I'd encourage you --- 
anybody and everybody, in fact --- to post here any changes you think 
would improve it. There are places where things are now so out of 
date they're just plain wrong. The layout sections are a case in 
point. Would you consider adding a paragraph or two to make things 
clearer in light of your own experiences.)

In general you probably shouldn't change things in the globally 
accessible directories. At least, not until you're happy with the new 
layout. LyX differentiates between system configuration files, to be 
found in ${PREFIX}/share/lyx/ and user files, usually found in 
${HOME}/.lyx. I'd recommend that you put your new layout file in the 
${HOME}/.lyx/layouts directory.

> Thanks again,
> mary

Regards,
Angus




Re: Lyx 1.3.3 for Windows startup error

2004-03-10 Thread Uwe Stöhr
I am newbie to LyX and I've I just downloaded the LyX port for Windows
version 1.3.3
I installed also the MiKTeX but when I start lyx I have the following error
message
"LyX wasn't able to find any layout description !" and exits.
Do you find .layout files under ~/share/lyx/layouts? If yes, does the 
file textclass.lst exists in ~/share/lyx? If not then configure LyX 
under Edit->Reconfigure. If this is not possible, assure that all users 
on your PC have the permission to write in the LyX-folder (and in all 
subfolders).

(If you use Win98 the configuration of LyX won't work.)


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
On Mar 10, 2004, at 5:51 PM, Angus Leeming wrote:

On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
LyX knows nothing about .cls files really. The classes found in
Layout | Document | Class are defined by the .layout files to be
found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
way with a sffms.layout file that contains little more than an
instruction to input either article.layout or book.layout.
Thanks, that helped.  The instructions in the Customization help
file didn't mention anything about needing the .layout file to
install a new class (see section 5.1 Installing a new LaTeX
package).  I had my own fake .layout ready, but LyX/Mac doesn't
install layouts into ${PREFIX}/share/lyx/ so instead I had to open
the LyX package and put it in there.
Hi, Mary.

(Let's take this back to the mailing list.
Sorry, I didn't realize the list was non-munging.

The documentation is good, but it's getting old. I'd encourage you ---
anybody and everybody, in fact --- to post here any changes you think
would improve it. There are places where things are now so out of
date they're just plain wrong. The layout sections are a case in
point. Would you consider adding a paragraph or two to make things
clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave.  
LyX/Mac is a little unusual, and I'm also using the Mac distribution of 
teTeX rather than the standard Unix one.  It turned out that I didn't 
need to install my package in TEXMFLOCAL at all - its regular location 
in HOMETEXMF works fine - but having no other system to test on I'm not 
sure whether that's normal behavior.

In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the new
layout. LyX differentiates between system configuration files, to be
found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in 
/Applications/LyX.app/Contents/Resources/LyX/.

and user files, usually found in
${HOME}/.lyx. I'd recommend that you put your new layout file in the
${HOME}/.lyx/layouts directory.
That works too, but can it resolve inputs from there?  How would I know 
if it failed?

Thanks,
mary


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Angus Leeming
M. C. D. wrote:
>> The documentation is good, but it's getting old. I'd encourage you
>> --- anybody and everybody, in fact --- to post here any changes you
>> think would improve it. There are places where things are now so
>> out of date they're just plain wrong. The layout sections are a
>> case in point. Would you consider adding a paragraph or two to make
>> things clearer in light of your own experiences.)
> 
> I wouldn't mind, but I don't know how LyX is supposed to behave.
> LyX/Mac is a little unusual, and I'm also using the Mac distribution
> of
> teTeX rather than the standard Unix one.  It turned out that I
> didn't need to install my package in TEXMFLOCAL at all - its regular
> location in HOMETEXMF works fine - but having no other system to
> test on I'm not sure whether that's normal behavior.

Put it this way: if you can add a layout to your machine and get it 
working, then others will be able to distil something from your 
experiences only if you document them.

>> In general you probably shouldn't change things in the globally
>> accessible directories. At least, not until you're happy with the
>> new layout. LyX differentiates between system configuration files,
>> to be found in ${PREFIX}/share/lyx/
> 
> LyX/Mac files appear to be in
> /Applications/LyX.app/Contents/Resources/LyX/.

Whatever. Different names, same principle.

>> and user files, usually found in
>> ${HOME}/.lyx. I'd recommend that you put your new layout file in
>> the ${HOME}/.lyx/layouts directory.
> 
> That works too, but can it resolve inputs from there?  How would I
> know if it failed?

I'm not sure I understand what "resolve inputs from there" means.

LyX searches the global directory first and then the user directory. 
Anything found in the user directory overwrites the same entry in the 
global directory. Anything found in the user directory that's not 
present in the global directory is simply added.

So, you'll know it failed if you run lyx and your new class layout 
isn't present.

-- 
Angus



Re: set locale with lyxwin32 - the solution

2004-03-10 Thread Uwe Stöhr
After copying the folder 'locale' to my lyx-tree, I get german
menues when starting LyX (I use a german Windows). But I want to
switch the locale from time to time. Ruurd wrote on his site:
"eg for german set the following environment variable: LANG=de_DE"
So it must be possible to set another locale somewhere. I just don't
know where.
Try here: 

http://tinyurl.com/ys8xd

All you ever needed to know about setting environment variables, both 
on unix and on win32.

Ain't google amazing. The second entry in a search on
"setting environment variable Win32".
Thanks a lot Angus. It was new for me that I have to introduce a new 
variable. If the variable LANG is not defined, LyXWin uses automatically 
the Windows-system locale.
Now it works perfectly.

regards Uwe


Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread M . C . D .
On Mar 10, 2004, at 6:56 PM, Angus Leeming wrote:

M. C. D. wrote:
The documentation is good, but it's getting old. I'd encourage you
--- anybody and everybody, in fact --- to post here any changes you
think would improve it. There are places where things are now so
out of date they're just plain wrong. The layout sections are a
case in point. Would you consider adding a paragraph or two to make
things clearer in light of your own experiences.)
I wouldn't mind, but I don't know how LyX is supposed to behave.
LyX/Mac is a little unusual, and I'm also using the Mac distribution
of
teTeX rather than the standard Unix one.  It turned out that I
didn't need to install my package in TEXMFLOCAL at all - its regular
location in HOMETEXMF works fine - but having no other system to
test on I'm not sure whether that's normal behavior.
Put it this way: if you can add a layout to your machine and get it
working, then others will be able to distil something from your
experiences only if you document them.
I agree, but I can't correct the existing documentation if I have no 
way of knowing what's right and wrong.  All I know for sure is that it 
didn't work as written.

In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the
new layout. LyX differentiates between system configuration files,
to be found in ${PREFIX}/share/lyx/
LyX/Mac files appear to be in
/Applications/LyX.app/Contents/Resources/LyX/.
Whatever. Different names, same principle.
I only mentioned it for the record.  ${PREFIX}/share/lyx doesn't exist, 
under any definition of ${PREFIX}.  If I hadn't already known where the 
files were, it might not have been obvious where to find them.  It also 
requires special effort to navigate to the contents of an .app package 
on OSX - you have to know that the LyX program is actually a directory, 
/Applications/LyX.app/, to get inside it from the command line.  You 
need to control-click the LyX icon and choose "Show package contents" 
to get inside it from the Finder.

mary



Re: can't add new classes to LyX/Mac-1.3.4

2004-03-10 Thread Ronald Florence
M. C. D. wrote:


I only mentioned it for the record.  ${PREFIX}/share/lyx doesn't exist, 
under any definition of ${PREFIX}.  If I hadn't already known where the 
files were, it might not have been obvious where to find them.  It also 
requires special effort to navigate to the contents of an .app package 
on OSX - you have to know that the LyX program is actually a directory, 
/Applications/LyX.app/, to get inside it from the command line.  You 
need to control-click the LyX icon and choose "Show package contents" to 
get inside it from the Finder.
If you click LyX -> About on the toolbar, LyX/Mac will tell you where 
the system LyX files and your local LyX files are on your installation. 
 The reason the LyX system files are in the application bundle in 
LyX/Mac instead of the .../share/lyx directory used on other versions of 
Unix/Linux is so the LyX/Mac application could be made relocatable (you 
can put it anywhere you choose) and so the installation would include 
everything in a single bundle which is Apple's preferred spec for MacOSX 
applications.
--

Ronald Florencewww.18james.com



Math panel won't go into the background

2004-03-10 Thread Alex Casti
My system:Lyx 1.3.4, QT front end, Redhat 9 Linux

For some reason that I can't quite figure out, when I open the math panel
it always wants to sit in the foreground in front of the lyx document 
window.
When I click the lyx document lying behind it, the document window doesn't
come to the foreground as with other GUIs -- the math panel always remains
in front.  I find this rather annoying.  I can't seem to find anything 
in the preferences
to control this feature.  Is there anything I can do about it?

Much thanks for the help.





Re: set locale with lyxwin32 - the solution

2004-03-10 Thread Jean-Pierre.Chretien

>>
>>Thanks a lot Angus. It was new for me that I have to introduce a new 
>>variable. If the variable LANG is not defined, LyXWin uses automatically 
>>the Windows-system locale.
>>Now it works perfectly.

The menus are OK, but the doc remains is english because the
internationalized files (fr_Intro.lyx, etc.) are missing in the main distrib.

I just uploaded the new localiszation .rar file.
Should I have uploaded the whole distrib as well ?

Not a big deal anyway, these are sharable files that
I can download from anywhere, just to make things clear.

-- 
Jean-Pierre