Re: lyx on Debian woody alpha

2003-12-12 Thread Roberto Bernetti
Alle 22:12, giovedì 11 dicembre 2003, Karsten Heymann ha scritto:
 On Thu, 11 Dec 2003 17:12:46 +

 Angus Leeming [EMAIL PROTECTED] wrote:
  I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I could
  certainly make it available to you but have no idea how to go about
  creating a Debian package...

 One way would be
   cd /usr/src   # or wherever you want
   apt-get install devscripts  # don't know if nescessary
   apt-get build-deb lyx
   apt-get source --compile lyx
   dpkg -i lyx*.deb

 Note that this will provide you with woodys 1.1.6fix2 package, which is
 quite old. 

Sorry the instructions are for Angus or for me.
I'm still working with 1.1.6fix4 (SuSE 8.0) so it'll be not a  problem to work 
with 1.1.6fix2. 

Roberto

-- 
---
Roberto Bernetti e-mail: [EMAIL PROTECTED]
V. S.da Vecchia del Pinocchio 1/A
60131 ANCONA
tel/fax 071 2867103



Re: math_formula_help

2003-12-12 Thread Herbert Voß
Karshi F.Hasanov wrote:
I have a long math formula and I can't fit it on one page.
How do In put such fomula in two lines?
Example:
 F=sqrt(.  
..) ?

use the multline environment of amsmath, then you have
exactly what you want (it's supported by LyX).
For more infors about all math environments look at
http://www.perce.de/LaTeX/math/Mathmode.TeX.pdf
Herbert




Re: figure float problem

2003-12-12 Thread Herbert Voß
Myriam Abramson wrote:

I have 2 figure floats (eps) and it seems that the last figure overlaps with
the first when printing or viewing the document. The figures are fine 
in Lyx and they are fine when viewing them outside of Lyx with
ghostview. 

What could be the problem? I'm baffled. 
difficult to say, could you provide an example or
send the files as private mail.
Herbert




Re: math_formula_help

2003-12-12 Thread Herbert Voß
Christian Ridderström wrote:
On Thu, 11 Dec 2003,  Karshi F.Hasanov wrote:


I have a long math formula and I can't fit it on one page.
How do In put such fomula in two lines?
Example:
F=sqrt(.  
   ..) ?

I put an example for something similar on this page:
http://wiki.lyx.org/pmwiki.php/Examples/FormulaOnMultipleLines
/Christian

PS. For everyone else, if you find any errors in the example, feel free to 
modify it. Or add more details, such as the name of the math-environment 
that you get by pressing C-Enter.
there is no error, but you still use the wrong
emvironments for the problems.
And in the last example you get different sizes
of the equations, also no error, but looks ugly.
Herbert




Re: math_formula_help

2003-12-12 Thread Herbert Voß
Herbert Voß wrote:

there is no error, but you still use the wrong
emvironments for the problems.
And in the last example you get different sizes
of the equations, also no error, but looks ugly.
I meant of the parenthesis ...

Herbert




Re: Configuring native Win32 port

2003-12-12 Thread Angus Leeming
Paul A. Rubin wrote:
 So the answer to your Win32 problems is clear: use a 'decent' sed.
 Perhaps one of you might contact Ruurd and get him to replace the
 sed that he distributes with something functional.

 Does anyone know of a Win32 port of sed 4.0.7 that Ruurd could use?

I've posted a message to the sed-users mailing list. Will get back to 
you as and when they respond.

-- 
Angus



Re: lyx on Debian woody alpha

2003-12-12 Thread Karsten Heymann
On Fri, 12 Dec 2003 11:41:54 +0100
Roberto Bernetti [EMAIL PROTECTED] wrote:

 Alle 22:12, giovedì 11 dicembre 2003, Karsten Heymann ha scritto:
  On Thu, 11 Dec 2003 17:12:46 +
 
  Angus Leeming [EMAIL PROTECTED] wrote:
   I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I
   could certainly make it available to you but have no idea how to
   go about creating a Debian package...
 
  One way would be
cd /usr/src   # or wherever you want
apt-get install devscripts  # don't know if nescessary
apt-get build-deb lyx
apt-get source --compile lyx
dpkg -i lyx*.deb
 
  Note that this will provide you with woodys 1.1.6fix2 package, which
  is quite old. 
 
 Sorry the instructions are for Angus or for me.

Is that a question? I guess yes ;) Well, as Angus posted that he has no
idea how to create a debian packate I thought he would like to know how.
But if you like you can of course try it on your own. everything apart
from dpkg can be run as a user, so if you don't administer your
computer, you can at least provide your admin with a ready-made package.
If you need additional assistance, you can mail me directly (or is this
interesting for the list? i don't know)

 I'm still working with 1.1.6fix4 (SuSE 8.0) so it'll be not a  problem
 to work with 1.1.6fix2. 

Sorry, I meant 1.1.6fix4 too.

greetings,

Karsten


Re: Text in toc flowing off page

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 01:01:45AM +0100, Anca Tibor- Attila wrote:
 Hi,
 
 as I remeber, there was a thread a few days ago about text off the page 
 borders. Now, I have another problem: there are a few longer 
 superscripts in my document. Inside the document it appeares correctly, 
 but in my Toc is exceeding the page borders. How is this possible to 
 fix?

Please send a minimal .lyx example.

Andre'


Re: Text in toc flowing off page

2003-12-12 Thread Herbert Voß
Anca Tibor- Attila wrote:

as I remeber, there was a thread a few days ago about text off the page 
borders. 
then you have no hyphenation or the text in typewriter font,
which cannot be hyphenated.
Now, I have another problem: there are a few longer 
superscripts in my document. Inside the document it appeares correctly, 
but in my Toc is exceeding the page borders. How is this possible to 
fix?
example please.

Herbert




Re: seminar bug, geometry and a4paper

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

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

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

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

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




???

2003-12-12 Thread Stelian Matei
Dear Sirs,
I am told to download free available Lyx softaware for my thesis.What I want is to be 
able to write easly my equations and formulas and eventualy schematic diagrams.To be 
honest I don't understand how I can load,install and use this package.I have a WIN 98 
with 20G PentiumIV, PC .How can install and use this packege in the same manner like 
MS Word?Is there a easy way for people who doesn't have to much time to learn another 
software.Thank you and looking forward to hear from you soon.
S.Matei- Peninsula Technikon, Cape Town
tel:027219596246
fax:027219596117
cell: 083313945
E-mail: [EMAIL PROTECTED]
   [EMAIL PROTECTED]



Re: Gnuplot External Material

2003-12-12 Thread Jose' Matos
On Saturday 06 December 2003 04:16, Dave Tweten wrote:
 Thank you all for attempting to enlighten me.  Even the suggestions I
 didn't follow helped me understand the alternatives.

 I said:
 ... will I have to figure out the syntax well enough to roll my own?

 I decided to roll my own.  The reason is the attraction of making LyX work
 off the gnuplot file instead of the *.eps file, with the associated risk
 that the *.eps file will become out-of-date.

 My strategy is as follows:

 1. Cat the last attachment on this message and
lib/external_templates to ~/.lyx/external_templates.
Unfortunately, LyX only supports substitution for
lib/external_templates, not additions to it.  That means
I get to cat again every time I upgrade LyX (groan).

  The code changed in this area but I don't know how, in 1.4.0cvs

 2. Put copies of the previous two attachments, eps.gnuplot and
ascii.gnuplot into any directory that contains Gnuplot plot
files.

  My solution for this problem is a script that wraps the call to gnuplot, and 
adds the necessary declaration for output. Usually I enter also a preamble 
with some of the default values for my drawings.

 3. Make each Gnuplot plot file (*.gnu) self-contained.  It should
contain all commands and all data required to create the plot.
LyX will be tracking the plot files.  If they only contain
commands and the data are elsewhere, changes in data won't cause
LyX to remake the *.eps file (or the ASCII text).  An example is
the first attachment to this message.

  Since I sometimes use long data files for graphics this is not always handy.

 While at it, I discovered a buglet in $$Sysdir/scripts/general_command_wrap
 per.py.  The statement that prints the redirection message left out a
 blank before the file name:

 --- general_command_wrapper.py.orig Thu Nov 13 14:40:21 2003
 +++ general_command_wrapper.py  Fri Dec  5 15:24:21 2003
 @@ -13,7 +13,7 @@
 os.close(0)
 sys.stdin = open(sys.argv[1],r)
  if sys.argv[2] != -:
 -   print Redirecting + sys.argv[2]
 +   print Redirecting  + sys.argv[2]
 os.close(1)
 os.close(2)
 sys.stdout = open(sys.argv[2],w)

  I fixed that at my tree for 1.3.x and I will commit it soon, for 1.4 that 
file is no more. :-)

 Some things I don't like:

 1. Eps.gnuplot and ascii.gnuplot should not exist.  There ought to
be a way to tell Gnuplot to select a terminal type from the
command line.  I don't the way.

  That is why I prefer the wrapper. :-)

 2. So what is the standard file name extension of Gnuplot command
files?  I used *.gnu, but Richard Stallman might have other ideas
about what that extension should be used for.

  Interestingly in some of their examples they use .plt
  I have been using gnp, but I guess that it is a question of personal taste 
here. :-)

 3. I only care about the LaTeX format.  I didn't test Ascii, DocBook,
and LinuxDoc.  Should there be others?

  No.

 Any comments or criticisms will be appreciated.

  With the wrapper you don't need to use inset external. You can gnuplot to 
the graphic supported formats. :-)

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: ???

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 02:07:43PM +0200, Stelian Matei wrote:
 Dear Sirs, I am told to download free available Lyx softaware for my
 thesis.What I want is to be able to write easly my equations and
 formulas and eventualy schematic diagrams. To be honest I don't
 understand how I can load,install and use this package.

It's had to tell what went wrong when you don't give some hint on what
exactly you tried.

 I have a WIN 98 with 20G PentiumIV, PC .How can install and use this
 packege in the same manner like MS Word?Is there a easy way for people
 who doesn't have to much time to learn another software.

Using LyX might save you time in the long run but you will have spent
sometime learning it. And you won't use it the same manner as MS Word
in the end.

You will also have to learn to use internet resources. One way is e.g.
checking the project's home page www.lyx.org which has a download link
leading to a page speaking of a Win32 port by Ruurd Reitsma. 

Start from there.

Andre'

PS: Giving your mail some sensible Subject: is also a good idea...


Re: Gnuplot External Material

2003-12-12 Thread Angus Leeming
Jose' Matos wrote:

 Any comments or criticisms will be appreciated.
 
   With the wrapper you don't need to use inset external. You can
   gnuplot to
 the graphic supported formats. :-)

Which is great if you want EPS figues, but gnuplot also supports 
EEPIC, PSTricks, export to XFIG, etc all of which could be handled 
seemlessly in the 1.4.x version of InsetExternal. All you would have 
to do is define
1. A template.
2. A converter, eg from gnuplot to XFIG. That's essentially what your 
script is.

-- 
Angus



Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voß wrote:

 Karshi F.Hasanov wrote:
  I have a long math formula and I can't fit it on one page.
  How do In put such fomula in two lines?
  Example:
  
   F=sqrt(.  
  ..) ?
  
 
 use the multline environment of amsmath, then you have
 exactly what you want (it's supported by LyX).
 For more infors about all math environments look at
 http://www.perce.de/LaTeX/math/Mathmode.TeX.pdf

The URI above is wrong, it should (probably) be:
http://www.perce.de/LaTeX/math/Mathmode-TeX.pdf

/Christian


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




Re: figure float problem

2003-12-12 Thread Myriam Abramson

 I have 2 figure floats (eps) and it seems that the last figure overlaps with
 the first when printing or viewing the document. The figures are
 fine in Lyx and they are fine when viewing them outside of Lyx with
 ghostview. What could be the problem? I'm baffled.

 difficult to say, could you provide an example or
 send the files as private mail.


Okay, thanks. Here's a little example zipped together. The eps files
were generated with Octave on RH 9.0 as well. 



test.zip
Description: figurefloats.zip

   myriam


Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voß wrote:

 Christian Ridderström wrote:
  On Thu, 11 Dec 2003,  Karshi F.Hasanov wrote:
  
  
 I have a long math formula and I can't fit it on one page.
 How do In put such fomula in two lines?
 Example:
 
  F=sqrt(.  
 ..) ?
 
  
  I put an example for something similar on this page:
  http://wiki.lyx.org/pmwiki.php/Examples/FormulaOnMultipleLines

 
 there is no error, but you still use the wrong
 emvironments for the problems.

I should use 'AMS multiline'?

 And in the last example you get different sizes
 of the equations, also no error, but looks ugly.

Well, I just tried to use the multiline example on p.47 in your PDF-file, 
but I still get ugly parenthesis... would you mind creating a .lyx-file 
that get's the parenthesis right?

/Christian

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




new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Günter Milde
I wrote new (and IMHO of course better) versions of
seminar.layout and dinbrief.layout.

seminar.layout:
#   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
#   Author : Lars Gullik Bjønnes [EMAIL PROTECTED]
#   1.1 08-04-2002 Günter Milde [EMAIL PROTECTED]
#   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes 
#version in LyX 3.1.3)

dinbrief.layout
# Author : Juergen Vigna [EMAIL PROTECTED]
# Modified by: Carsten Kaemmerer [EMAIL PROTECTED]
# Modified by: Guenter Milde [EMAIL PROTECTED]
#Dummy Style DinBrief for common layout features (removed at eof)
#Generic style names (there are german translations for most names)
#Included some more Styles and twiddeled the layout
#Added lots of ObsoletedBy to ease conversion from g-brief or letter
#(see also the update of the dinbrief.lyx template)

- should now be usable for non-german users as well (as long as
dinbrief.cls is installed)


Whoever wants to give it a try, mail me for a copy.

(Is there an canonic place for upload?)

Günter

-- 
G.Milde at web.de


Re: new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 03:32:28PM +0100, Günter Milde wrote:
 (Is there an canonic place for upload?)

Post it on lyx-devel, zipped if you like.

Andre'


textclas error

2003-12-12 Thread Holger Zebner
Hi,
I tryed to open a g-brief-de file from my templates.

But I got the following message:


Textclass error

The document class uses an unknown textclass g-brief-de.
-- substituting by default.


Do I lack some latex package on my system?

Greetings
Holger
-- 
Debian testing/unstable, build from Knoppix 3.3
Lyx 1.3.2
tetex 2.0.2-4.2




localisation fails with run command

2003-12-12 Thread Holger Zebner
Hi,
I have lyx-qt 1.3.2 installed on a German linux system.

When I start LyX from a shell it will start properly with the German menus.

But when I start it with the run-command (ALT+F2) it would start with the 
English interface.

Where do I change this intro a always German startup?

Thanks
Holger


-- 
Debian testing/unstable, build from Knoppix 3.3
KDE 3.1.4
Lyx 1.3.2
tetex 2.0.2-4.2



Re: localisation fails with run command

2003-12-12 Thread Karsten Heymann
Hi Holger,

On Fri, 12 Dec 2003 15:51:27 +0100
Holger Zebner [EMAIL PROTECTED] wrote:

 I have lyx-qt 1.3.2 installed on a German linux system.
[..] 
 But when I start it with the run-command (ALT+F2) it would start
 with the English interface.
 
 Where do I change this intro a always German startup?

This depends on your distribution, some more info would be nice. If you
have a $HOME/.xsession file, you could try to insert the following code
there before the windowmanager ist started:

 LC_ALL=de_DE
 export LC_ALL

My .xsession looks like:

 PATH=$PATH:$HOME/bin
 export $PATH
 [EMAIL PROTECTED] exec ratpoison

but I think you are using KDE and then you don't like ratpoison :)

Karsten


Re: math_formula_help

2003-12-12 Thread Herbert Voss
Christian Ridderström wrote:

I should use 'AMS multiline'?
sure

And in the last example you get different sizes
of the equations, also no error, but looks ugly.


Well, I just tried to use the multiline example on p.47 in your PDF-file, 
but I still get ugly parenthesis... would you mind creating a .lyx-file 
that get's the parenthesis right?
attached
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 1
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard

An example for the multine environment.
 There is still a bug in LyX, which I reported long long time ago ...
 :-(.
 LyX shows (#) for every row, but the multline enviromnet has only a number
 in the last line.
 
\layout Standard


\begin_inset Formula \begin{multline}
A=\lim_{n\rightarrow\infty}\Delta x\left(a^{2}+\left(a^{2}+2a\Delta x+\left(\Delta 
x\right)^{2}\right)\right.\label{eq:reset}\\
+\left(a^{2}+2\cdot2a\Delta x+2^{2}\left(\Delta x\right)^{2}\right)\\
+\left(a^{2}+2\cdot3a\Delta x+3^{2}\left(\Delta x\right)^{2}\right)\\
+\ldots\\
\left.+\left(a^{2}+2\cdot(n-1)a\Delta x+(n-1)^{2}\left(\Delta 
x\right)^{2}\right)\right)\\
=\frac{1}{3}\left(b^{3}-a^{3}\right)\end{multline}
 

\end_inset 


\layout Standard

The second example shows a multline environment with pairs of parentheses
 which are going over several lines:
\layout Standard


\begin_inset Formula \begin{multline}
\frac{1}{2}\Delta(f_{ij}f^{ij})=2\left(\sum_{ij}\chi_{ij}(\sigma_{i}-\sigma_{j})^{2}+f^{ij}\nabla_{j}\nabla_{i}(\Delta
 f)+\right.\\
\left.+\nabla_{k}f_{ij}\nabla^{k}f^{ij}+f^{ij}f^{k}\left[2\nabla_{i}R_{jk}-\nabla_{k}R_{ij}\right]\vphantom{\sum_{ij}}\right)\end{multline}

\end_inset 


\the_end


Re: figure float problem

2003-12-12 Thread Herbert Voss
Myriam Abramson wrote:
I have 2 figure floats (eps) and it seems that the last figure overlaps with
the first when printing or viewing the document. The figures are
fine in Lyx and they are fine when viewing them outside of Lyx with
ghostview. What could be the problem? I'm baffled.
difficult to say, could you provide an example or
send the files as private mail.


Okay, thanks. Here's a little example zipped together. The eps files
were generated with Octave on RH 9.0 as well. 
I'm sorry, but I cannot see any problem.

Herbert




Re: new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Kai Johannes Keller
Am Fre, 2003-12-12 um 15.32 schrieb Günter Milde:
 I wrote new (and IMHO of course better) versions of
 seminar.layout and dinbrief.layout.
 

GREAT! Is it possible with this new layout-file to handle DIN A 4
papersize, too? Or does it only affect the LyX-screen?

 seminar.layout:
 #   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
 #   Author : Lars Gullik Bjønnes [EMAIL PROTECTED]
 #   1.1 08-04-2002 Günter Milde [EMAIL PROTECTED]
 #   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes 
 #version in LyX 3.1.3)
 

 
 Whoever wants to give it a try, mail me for a copy.
 

So I would try it, woul be nice if you could send me a copy with private
mail. -Thank You


Ciao


 -Kai-
-- 
Kai Johannes Keller [EMAIL PROTECTED]



Re: Gnuplot External Material

2003-12-12 Thread Luiz Eleno
Those interested in adding gnuplot eps files to lyx/latex documents 
should consider the egplot package.

Best regards,
Luiz.
--
Luiz Eleno
Max-Planck-Institut für Eisenforschung
Max-Planck-Str. 1
D-40237 Düsseldorf
Tel.: +49-(0)211-67 92 481
Fax: +49-(0)211-67 92 537
[EMAIL PROTECTED]



Re: textclas error

2003-12-12 Thread Holger Zebner
I looked at the layout (in /usr/share/lyx/layouts) and found the head of 
g-brief-de as follows:

#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass[g-brief]{letter (g-brief, german)}
# Letter textclass definition file.
# Author : Thomas Hartkens [EMAIL PROTECTED]

# Input general definitions
# Input stdletter.inc

Do I need to uncomment the line
# Input stdletter.inc ?

I tried another template (hollywood) but got the same error message.

Is this a debian problem or a configuration problem?
I once set the default text class to a different class than article and maybe 
that's why I have this problem. Is there a way to reset all default values 
concerning textclasses?

Thanks for your help
Holger



Re: documentclass: seminar

2003-12-12 Thread Kai Johannes Keller
Hello List,

Apparently there are problems with the documentclass seminar and a4-paparsize,
though I haven't solved them I#ve found something out that might be helpful
for somebody who needs his slides prindet and doesn't bother if its a bit
unconvenient, so there are two things:

1. Lyx calls dvips with the option -t a4 - don't ask me why 'cause I don't know;
that's just what the pop-up-window tells.

2. If one exports the foo.dvi file and does dvips foo.dvi in a shell
without any options (especially without -t a4), he'll get a file foo.ps, which is
printable on a4-paper - though without pagenumbers - and again: don't ask me why 
'cause I don't know.

In this way it worked with my system (rh9, lyx-1.3.3).

Would be nice if somebody could explain why it works in this way and tell us if
there's a way to call dvips without the option -t a4 within lyx (why is this 
option there anyway, if it works without it, too?)

-Hope this helps anybody (even if it's no real solution to the problem)

Ciao

 -Kai



Switching from the Math panel window to the document window

2003-12-12 Thread Oreste Riccardo Natale
Hi all,

Maybe my question is only related to the way I would like to use Lyx,
instead of beeing related to Lyx usage: when I'm writing equations,
after pressing a button on the Math panel I would like to switch
automatically from it to the document window without explicitly clicking
on the document window itself, so reducing the number of times I have to
use to mouse.

Is there any way to do that? 

I'm using Lyx 1.3.2 on Mandrake 9.1.

Thanks a lot,
Riccardo.

Ps. This list is great, most questions are answered only by browsing the
threads!


Re: localisation fails with run command

2003-12-12 Thread Paul A. Rubin
Holger Zebner [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 Hi,
 I have lyx-qt 1.3.2 installed on a German linux system.
 
 When I start LyX from a shell it will start properly with the German
 menus. 
 
 But when I start it with the run-command (ALT+F2) it would start
 with the English interface.
 
 Where do I change this intro a always German startup?
 
 Thanks
 Holger
 
 

What if you specify the user directory switch (-userdir your home 
directory)?

-- Paul

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



Re: Switching from the Math panel window to the document window

2003-12-12 Thread Roberto Bernetti
Alle 21:10, venerdì 12 dicembre 2003, Oreste Riccardo Natale ha scritto:
 Hi all,

 Maybe my question is only related to the way I would like to use Lyx,
 instead of beeing related to Lyx usage: when I'm writing equations,
 after pressing a button on the Math panel I would like to switch
 automatically from it to the document window without explicitly clicking
 on the document window itself, so reducing the number of times I have to
 use to mouse.

I solved this problem learning the Latex math command.
Infact when you are in math mode and typed a latex command (e.s. \partial) 
then a space, it is rendered in their corrispective mathn symbol.

Roberto
-- 




noweb

2003-12-12 Thread stuart macgregor
I read the stuff in Extended.lyx about integration with noweb and thought to 
try it.

I downloaded the noweb source and built and installed it and put it on the 
path and manpath.  I re-configured lyx, made clean and made and installed it.

The promised 3 new document styles did not appear.  I expect there is a step 
missing involving the latex environment.  Can anyone help?

I am using RH9 and building with the gtk option.


using the algorithm environment

2003-12-12 Thread christoff pale
Hi,
how do I use the algorithm environment.
What I mean is, how do I get If then, while

etc . Do I have to use ERT?
I would appreciate a small example.
thanks


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


Re: noweb

2003-12-12 Thread Kayvan A. Sylvan
On Fri, Dec 12, 2003 at 07:02:09PM +, stuart macgregor wrote:
 I read the stuff in Extended.lyx about integration with noweb and thought to 
 try it.
 
 I downloaded the noweb source and built and installed it and put it on the 
 path and manpath.  I re-configured lyx, made clean and made and installed it.
 
 The promised 3 new document styles did not appear.  I expect there is a step 
 missing involving the latex environment.  Can anyone help?
 
 I am using RH9 and building with the gtk option.

Does noweb work by itself? If so, then the only other thing I can think
of is that you have not installed the noweb latex files.

The LyX configure process needs to find them before it makes the literate
styles available.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voss wrote:

 Christian Ridderström wrote:
 
  I should use 'AMS multiline'?
 
 sure
 

Why use multline, rather than what you get when you just press C-Enter?
(Or perhaps the question should be why don't we get multline?)

 And in the last example you get different sizes
 of the equations, also no error, but looks ugly.

Thank's for the example file, I uploaded it as well.

I noticed that you used \vphantom{} to fix the size of the brackets... 
that's sort of like a hack to me. Is this the only way?
Anyway, I modified the comment/example so that it also uses \vphantom{}

/Christian

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




Re: lyx on Debian woody alpha

2003-12-12 Thread Roberto Bernetti
Alle 22:12, giovedì 11 dicembre 2003, Karsten Heymann ha scritto:
 On Thu, 11 Dec 2003 17:12:46 +

 Angus Leeming [EMAIL PROTECTED] wrote:
  I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I could
  certainly make it available to you but have no idea how to go about
  creating a Debian package...

 One way would be
   cd /usr/src   # or wherever you want
   apt-get install devscripts  # don't know if nescessary
   apt-get build-deb lyx
   apt-get source --compile lyx
   dpkg -i lyx*.deb

 Note that this will provide you with woodys 1.1.6fix2 package, which is
 quite old. 

Sorry the instructions are for Angus or for me.
I'm still working with 1.1.6fix4 (SuSE 8.0) so it'll be not a  problem to work 
with 1.1.6fix2. 

Roberto

-- 
---
Roberto Bernetti e-mail: [EMAIL PROTECTED]
V. S.da Vecchia del Pinocchio 1/A
60131 ANCONA
tel/fax 071 2867103



Re: math_formula_help

2003-12-12 Thread Herbert Voß
Karshi F.Hasanov wrote:
I have a long math formula and I can't fit it on one page.
How do In put such fomula in two lines?
Example:
 F=sqrt(.  
..) ?

use the multline environment of amsmath, then you have
exactly what you want (it's supported by LyX).
For more infors about all math environments look at
http://www.perce.de/LaTeX/math/Mathmode.TeX.pdf
Herbert




Re: figure float problem

2003-12-12 Thread Herbert Voß
Myriam Abramson wrote:

I have 2 figure floats (eps) and it seems that the last figure overlaps with
the first when printing or viewing the document. The figures are fine 
in Lyx and they are fine when viewing them outside of Lyx with
ghostview. 

What could be the problem? I'm baffled. 
difficult to say, could you provide an example or
send the files as private mail.
Herbert




Re: math_formula_help

2003-12-12 Thread Herbert Voß
Christian Ridderström wrote:
On Thu, 11 Dec 2003,  Karshi F.Hasanov wrote:


I have a long math formula and I can't fit it on one page.
How do In put such fomula in two lines?
Example:
F=sqrt(.  
   ..) ?

I put an example for something similar on this page:
http://wiki.lyx.org/pmwiki.php/Examples/FormulaOnMultipleLines
/Christian

PS. For everyone else, if you find any errors in the example, feel free to 
modify it. Or add more details, such as the name of the math-environment 
that you get by pressing C-Enter.
there is no error, but you still use the wrong
emvironments for the problems.
And in the last example you get different sizes
of the equations, also no error, but looks ugly.
Herbert




Re: math_formula_help

2003-12-12 Thread Herbert Voß
Herbert Voß wrote:

there is no error, but you still use the wrong
emvironments for the problems.
And in the last example you get different sizes
of the equations, also no error, but looks ugly.
I meant of the parenthesis ...

Herbert




Re: Configuring native Win32 port

2003-12-12 Thread Angus Leeming
Paul A. Rubin wrote:
 So the answer to your Win32 problems is clear: use a 'decent' sed.
 Perhaps one of you might contact Ruurd and get him to replace the
 sed that he distributes with something functional.

 Does anyone know of a Win32 port of sed 4.0.7 that Ruurd could use?

I've posted a message to the sed-users mailing list. Will get back to 
you as and when they respond.

-- 
Angus



Re: lyx on Debian woody alpha

2003-12-12 Thread Karsten Heymann
On Fri, 12 Dec 2003 11:41:54 +0100
Roberto Bernetti [EMAIL PROTECTED] wrote:

 Alle 22:12, giovedì 11 dicembre 2003, Karsten Heymann ha scritto:
  On Thu, 11 Dec 2003 17:12:46 +
 
  Angus Leeming [EMAIL PROTECTED] wrote:
   I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I
   could certainly make it available to you but have no idea how to
   go about creating a Debian package...
 
  One way would be
cd /usr/src   # or wherever you want
apt-get install devscripts  # don't know if nescessary
apt-get build-deb lyx
apt-get source --compile lyx
dpkg -i lyx*.deb
 
  Note that this will provide you with woodys 1.1.6fix2 package, which
  is quite old. 
 
 Sorry the instructions are for Angus or for me.

Is that a question? I guess yes ;) Well, as Angus posted that he has no
idea how to create a debian packate I thought he would like to know how.
But if you like you can of course try it on your own. everything apart
from dpkg can be run as a user, so if you don't administer your
computer, you can at least provide your admin with a ready-made package.
If you need additional assistance, you can mail me directly (or is this
interesting for the list? i don't know)

 I'm still working with 1.1.6fix4 (SuSE 8.0) so it'll be not a  problem
 to work with 1.1.6fix2. 

Sorry, I meant 1.1.6fix4 too.

greetings,

Karsten


Re: Text in toc flowing off page

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 01:01:45AM +0100, Anca Tibor- Attila wrote:
 Hi,
 
 as I remeber, there was a thread a few days ago about text off the page 
 borders. Now, I have another problem: there are a few longer 
 superscripts in my document. Inside the document it appeares correctly, 
 but in my Toc is exceeding the page borders. How is this possible to 
 fix?

Please send a minimal .lyx example.

Andre'


Re: Text in toc flowing off page

2003-12-12 Thread Herbert Voß
Anca Tibor- Attila wrote:

as I remeber, there was a thread a few days ago about text off the page 
borders. 
then you have no hyphenation or the text in typewriter font,
which cannot be hyphenated.
Now, I have another problem: there are a few longer 
superscripts in my document. Inside the document it appeares correctly, 
but in my Toc is exceeding the page borders. How is this possible to 
fix?
example please.

Herbert




Re: seminar bug, geometry and a4paper

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

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

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

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

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




???

2003-12-12 Thread Stelian Matei
Dear Sirs,
I am told to download free available Lyx softaware for my thesis.What I want is to be 
able to write easly my equations and formulas and eventualy schematic diagrams.To be 
honest I don't understand how I can load,install and use this package.I have a WIN 98 
with 20G PentiumIV, PC .How can install and use this packege in the same manner like 
MS Word?Is there a easy way for people who doesn't have to much time to learn another 
software.Thank you and looking forward to hear from you soon.
S.Matei- Peninsula Technikon, Cape Town
tel:027219596246
fax:027219596117
cell: 083313945
E-mail: [EMAIL PROTECTED]
   [EMAIL PROTECTED]



Re: Gnuplot External Material

2003-12-12 Thread Jose' Matos
On Saturday 06 December 2003 04:16, Dave Tweten wrote:
 Thank you all for attempting to enlighten me.  Even the suggestions I
 didn't follow helped me understand the alternatives.

 I said:
 ... will I have to figure out the syntax well enough to roll my own?

 I decided to roll my own.  The reason is the attraction of making LyX work
 off the gnuplot file instead of the *.eps file, with the associated risk
 that the *.eps file will become out-of-date.

 My strategy is as follows:

 1. Cat the last attachment on this message and
lib/external_templates to ~/.lyx/external_templates.
Unfortunately, LyX only supports substitution for
lib/external_templates, not additions to it.  That means
I get to cat again every time I upgrade LyX (groan).

  The code changed in this area but I don't know how, in 1.4.0cvs

 2. Put copies of the previous two attachments, eps.gnuplot and
ascii.gnuplot into any directory that contains Gnuplot plot
files.

  My solution for this problem is a script that wraps the call to gnuplot, and 
adds the necessary declaration for output. Usually I enter also a preamble 
with some of the default values for my drawings.

 3. Make each Gnuplot plot file (*.gnu) self-contained.  It should
contain all commands and all data required to create the plot.
LyX will be tracking the plot files.  If they only contain
commands and the data are elsewhere, changes in data won't cause
LyX to remake the *.eps file (or the ASCII text).  An example is
the first attachment to this message.

  Since I sometimes use long data files for graphics this is not always handy.

 While at it, I discovered a buglet in $$Sysdir/scripts/general_command_wrap
 per.py.  The statement that prints the redirection message left out a
 blank before the file name:

 --- general_command_wrapper.py.orig Thu Nov 13 14:40:21 2003
 +++ general_command_wrapper.py  Fri Dec  5 15:24:21 2003
 @@ -13,7 +13,7 @@
 os.close(0)
 sys.stdin = open(sys.argv[1],r)
  if sys.argv[2] != -:
 -   print Redirecting + sys.argv[2]
 +   print Redirecting  + sys.argv[2]
 os.close(1)
 os.close(2)
 sys.stdout = open(sys.argv[2],w)

  I fixed that at my tree for 1.3.x and I will commit it soon, for 1.4 that 
file is no more. :-)

 Some things I don't like:

 1. Eps.gnuplot and ascii.gnuplot should not exist.  There ought to
be a way to tell Gnuplot to select a terminal type from the
command line.  I don't the way.

  That is why I prefer the wrapper. :-)

 2. So what is the standard file name extension of Gnuplot command
files?  I used *.gnu, but Richard Stallman might have other ideas
about what that extension should be used for.

  Interestingly in some of their examples they use .plt
  I have been using gnp, but I guess that it is a question of personal taste 
here. :-)

 3. I only care about the LaTeX format.  I didn't test Ascii, DocBook,
and LinuxDoc.  Should there be others?

  No.

 Any comments or criticisms will be appreciated.

  With the wrapper you don't need to use inset external. You can gnuplot to 
the graphic supported formats. :-)

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: ???

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 02:07:43PM +0200, Stelian Matei wrote:
 Dear Sirs, I am told to download free available Lyx softaware for my
 thesis.What I want is to be able to write easly my equations and
 formulas and eventualy schematic diagrams. To be honest I don't
 understand how I can load,install and use this package.

It's had to tell what went wrong when you don't give some hint on what
exactly you tried.

 I have a WIN 98 with 20G PentiumIV, PC .How can install and use this
 packege in the same manner like MS Word?Is there a easy way for people
 who doesn't have to much time to learn another software.

Using LyX might save you time in the long run but you will have spent
sometime learning it. And you won't use it the same manner as MS Word
in the end.

You will also have to learn to use internet resources. One way is e.g.
checking the project's home page www.lyx.org which has a download link
leading to a page speaking of a Win32 port by Ruurd Reitsma. 

Start from there.

Andre'

PS: Giving your mail some sensible Subject: is also a good idea...


Re: Gnuplot External Material

2003-12-12 Thread Angus Leeming
Jose' Matos wrote:

 Any comments or criticisms will be appreciated.
 
   With the wrapper you don't need to use inset external. You can
   gnuplot to
 the graphic supported formats. :-)

Which is great if you want EPS figues, but gnuplot also supports 
EEPIC, PSTricks, export to XFIG, etc all of which could be handled 
seemlessly in the 1.4.x version of InsetExternal. All you would have 
to do is define
1. A template.
2. A converter, eg from gnuplot to XFIG. That's essentially what your 
script is.

-- 
Angus



Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voß wrote:

 Karshi F.Hasanov wrote:
  I have a long math formula and I can't fit it on one page.
  How do In put such fomula in two lines?
  Example:
  
   F=sqrt(.  
  ..) ?
  
 
 use the multline environment of amsmath, then you have
 exactly what you want (it's supported by LyX).
 For more infors about all math environments look at
 http://www.perce.de/LaTeX/math/Mathmode.TeX.pdf

The URI above is wrong, it should (probably) be:
http://www.perce.de/LaTeX/math/Mathmode-TeX.pdf

/Christian


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




Re: figure float problem

2003-12-12 Thread Myriam Abramson

 I have 2 figure floats (eps) and it seems that the last figure overlaps with
 the first when printing or viewing the document. The figures are
 fine in Lyx and they are fine when viewing them outside of Lyx with
 ghostview. What could be the problem? I'm baffled.

 difficult to say, could you provide an example or
 send the files as private mail.


Okay, thanks. Here's a little example zipped together. The eps files
were generated with Octave on RH 9.0 as well. 



test.zip
Description: figurefloats.zip

   myriam


Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voß wrote:

 Christian Ridderström wrote:
  On Thu, 11 Dec 2003,  Karshi F.Hasanov wrote:
  
  
 I have a long math formula and I can't fit it on one page.
 How do In put such fomula in two lines?
 Example:
 
  F=sqrt(.  
 ..) ?
 
  
  I put an example for something similar on this page:
  http://wiki.lyx.org/pmwiki.php/Examples/FormulaOnMultipleLines

 
 there is no error, but you still use the wrong
 emvironments for the problems.

I should use 'AMS multiline'?

 And in the last example you get different sizes
 of the equations, also no error, but looks ugly.

Well, I just tried to use the multiline example on p.47 in your PDF-file, 
but I still get ugly parenthesis... would you mind creating a .lyx-file 
that get's the parenthesis right?

/Christian

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




new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Günter Milde
I wrote new (and IMHO of course better) versions of
seminar.layout and dinbrief.layout.

seminar.layout:
#   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
#   Author : Lars Gullik Bjønnes [EMAIL PROTECTED]
#   1.1 08-04-2002 Günter Milde [EMAIL PROTECTED]
#   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes 
#version in LyX 3.1.3)

dinbrief.layout
# Author : Juergen Vigna [EMAIL PROTECTED]
# Modified by: Carsten Kaemmerer [EMAIL PROTECTED]
# Modified by: Guenter Milde [EMAIL PROTECTED]
#Dummy Style DinBrief for common layout features (removed at eof)
#Generic style names (there are german translations for most names)
#Included some more Styles and twiddeled the layout
#Added lots of ObsoletedBy to ease conversion from g-brief or letter
#(see also the update of the dinbrief.lyx template)

- should now be usable for non-german users as well (as long as
dinbrief.cls is installed)


Whoever wants to give it a try, mail me for a copy.

(Is there an canonic place for upload?)

Günter

-- 
G.Milde at web.de


Re: new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 03:32:28PM +0100, Günter Milde wrote:
 (Is there an canonic place for upload?)

Post it on lyx-devel, zipped if you like.

Andre'


textclas error

2003-12-12 Thread Holger Zebner
Hi,
I tryed to open a g-brief-de file from my templates.

But I got the following message:


Textclass error

The document class uses an unknown textclass g-brief-de.
-- substituting by default.


Do I lack some latex package on my system?

Greetings
Holger
-- 
Debian testing/unstable, build from Knoppix 3.3
Lyx 1.3.2
tetex 2.0.2-4.2




localisation fails with run command

2003-12-12 Thread Holger Zebner
Hi,
I have lyx-qt 1.3.2 installed on a German linux system.

When I start LyX from a shell it will start properly with the German menus.

But when I start it with the run-command (ALT+F2) it would start with the 
English interface.

Where do I change this intro a always German startup?

Thanks
Holger


-- 
Debian testing/unstable, build from Knoppix 3.3
KDE 3.1.4
Lyx 1.3.2
tetex 2.0.2-4.2



Re: localisation fails with run command

2003-12-12 Thread Karsten Heymann
Hi Holger,

On Fri, 12 Dec 2003 15:51:27 +0100
Holger Zebner [EMAIL PROTECTED] wrote:

 I have lyx-qt 1.3.2 installed on a German linux system.
[..] 
 But when I start it with the run-command (ALT+F2) it would start
 with the English interface.
 
 Where do I change this intro a always German startup?

This depends on your distribution, some more info would be nice. If you
have a $HOME/.xsession file, you could try to insert the following code
there before the windowmanager ist started:

 LC_ALL=de_DE
 export LC_ALL

My .xsession looks like:

 PATH=$PATH:$HOME/bin
 export $PATH
 [EMAIL PROTECTED] exec ratpoison

but I think you are using KDE and then you don't like ratpoison :)

Karsten


Re: math_formula_help

2003-12-12 Thread Herbert Voss
Christian Ridderström wrote:

I should use 'AMS multiline'?
sure

And in the last example you get different sizes
of the equations, also no error, but looks ugly.


Well, I just tried to use the multiline example on p.47 in your PDF-file, 
but I still get ugly parenthesis... would you mind creating a .lyx-file 
that get's the parenthesis right?
attached
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 1
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard

An example for the multine environment.
 There is still a bug in LyX, which I reported long long time ago ...
 :-(.
 LyX shows (#) for every row, but the multline enviromnet has only a number
 in the last line.
 
\layout Standard


\begin_inset Formula \begin{multline}
A=\lim_{n\rightarrow\infty}\Delta x\left(a^{2}+\left(a^{2}+2a\Delta x+\left(\Delta 
x\right)^{2}\right)\right.\label{eq:reset}\\
+\left(a^{2}+2\cdot2a\Delta x+2^{2}\left(\Delta x\right)^{2}\right)\\
+\left(a^{2}+2\cdot3a\Delta x+3^{2}\left(\Delta x\right)^{2}\right)\\
+\ldots\\
\left.+\left(a^{2}+2\cdot(n-1)a\Delta x+(n-1)^{2}\left(\Delta 
x\right)^{2}\right)\right)\\
=\frac{1}{3}\left(b^{3}-a^{3}\right)\end{multline}
 

\end_inset 


\layout Standard

The second example shows a multline environment with pairs of parentheses
 which are going over several lines:
\layout Standard


\begin_inset Formula \begin{multline}
\frac{1}{2}\Delta(f_{ij}f^{ij})=2\left(\sum_{ij}\chi_{ij}(\sigma_{i}-\sigma_{j})^{2}+f^{ij}\nabla_{j}\nabla_{i}(\Delta
 f)+\right.\\
\left.+\nabla_{k}f_{ij}\nabla^{k}f^{ij}+f^{ij}f^{k}\left[2\nabla_{i}R_{jk}-\nabla_{k}R_{ij}\right]\vphantom{\sum_{ij}}\right)\end{multline}

\end_inset 


\the_end


Re: figure float problem

2003-12-12 Thread Herbert Voss
Myriam Abramson wrote:
I have 2 figure floats (eps) and it seems that the last figure overlaps with
the first when printing or viewing the document. The figures are
fine in Lyx and they are fine when viewing them outside of Lyx with
ghostview. What could be the problem? I'm baffled.
difficult to say, could you provide an example or
send the files as private mail.


Okay, thanks. Here's a little example zipped together. The eps files
were generated with Octave on RH 9.0 as well. 
I'm sorry, but I cannot see any problem.

Herbert




Re: new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Kai Johannes Keller
Am Fre, 2003-12-12 um 15.32 schrieb Günter Milde:
 I wrote new (and IMHO of course better) versions of
 seminar.layout and dinbrief.layout.
 

GREAT! Is it possible with this new layout-file to handle DIN A 4
papersize, too? Or does it only affect the LyX-screen?

 seminar.layout:
 #   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
 #   Author : Lars Gullik Bjønnes [EMAIL PROTECTED]
 #   1.1 08-04-2002 Günter Milde [EMAIL PROTECTED]
 #   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes 
 #version in LyX 3.1.3)
 

 
 Whoever wants to give it a try, mail me for a copy.
 

So I would try it, woul be nice if you could send me a copy with private
mail. -Thank You


Ciao


 -Kai-
-- 
Kai Johannes Keller [EMAIL PROTECTED]



Re: Gnuplot External Material

2003-12-12 Thread Luiz Eleno
Those interested in adding gnuplot eps files to lyx/latex documents 
should consider the egplot package.

Best regards,
Luiz.
--
Luiz Eleno
Max-Planck-Institut für Eisenforschung
Max-Planck-Str. 1
D-40237 Düsseldorf
Tel.: +49-(0)211-67 92 481
Fax: +49-(0)211-67 92 537
[EMAIL PROTECTED]



Re: textclas error

2003-12-12 Thread Holger Zebner
I looked at the layout (in /usr/share/lyx/layouts) and found the head of 
g-brief-de as follows:

#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass[g-brief]{letter (g-brief, german)}
# Letter textclass definition file.
# Author : Thomas Hartkens [EMAIL PROTECTED]

# Input general definitions
# Input stdletter.inc

Do I need to uncomment the line
# Input stdletter.inc ?

I tried another template (hollywood) but got the same error message.

Is this a debian problem or a configuration problem?
I once set the default text class to a different class than article and maybe 
that's why I have this problem. Is there a way to reset all default values 
concerning textclasses?

Thanks for your help
Holger



Re: documentclass: seminar

2003-12-12 Thread Kai Johannes Keller
Hello List,

Apparently there are problems with the documentclass seminar and a4-paparsize,
though I haven't solved them I#ve found something out that might be helpful
for somebody who needs his slides prindet and doesn't bother if its a bit
unconvenient, so there are two things:

1. Lyx calls dvips with the option -t a4 - don't ask me why 'cause I don't know;
that's just what the pop-up-window tells.

2. If one exports the foo.dvi file and does dvips foo.dvi in a shell
without any options (especially without -t a4), he'll get a file foo.ps, which is
printable on a4-paper - though without pagenumbers - and again: don't ask me why 
'cause I don't know.

In this way it worked with my system (rh9, lyx-1.3.3).

Would be nice if somebody could explain why it works in this way and tell us if
there's a way to call dvips without the option -t a4 within lyx (why is this 
option there anyway, if it works without it, too?)

-Hope this helps anybody (even if it's no real solution to the problem)

Ciao

 -Kai



Switching from the Math panel window to the document window

2003-12-12 Thread Oreste Riccardo Natale
Hi all,

Maybe my question is only related to the way I would like to use Lyx,
instead of beeing related to Lyx usage: when I'm writing equations,
after pressing a button on the Math panel I would like to switch
automatically from it to the document window without explicitly clicking
on the document window itself, so reducing the number of times I have to
use to mouse.

Is there any way to do that? 

I'm using Lyx 1.3.2 on Mandrake 9.1.

Thanks a lot,
Riccardo.

Ps. This list is great, most questions are answered only by browsing the
threads!


Re: localisation fails with run command

2003-12-12 Thread Paul A. Rubin
Holger Zebner [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 Hi,
 I have lyx-qt 1.3.2 installed on a German linux system.
 
 When I start LyX from a shell it will start properly with the German
 menus. 
 
 But when I start it with the run-command (ALT+F2) it would start
 with the English interface.
 
 Where do I change this intro a always German startup?
 
 Thanks
 Holger
 
 

What if you specify the user directory switch (-userdir your home 
directory)?

-- Paul

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



Re: Switching from the Math panel window to the document window

2003-12-12 Thread Roberto Bernetti
Alle 21:10, venerdì 12 dicembre 2003, Oreste Riccardo Natale ha scritto:
 Hi all,

 Maybe my question is only related to the way I would like to use Lyx,
 instead of beeing related to Lyx usage: when I'm writing equations,
 after pressing a button on the Math panel I would like to switch
 automatically from it to the document window without explicitly clicking
 on the document window itself, so reducing the number of times I have to
 use to mouse.

I solved this problem learning the Latex math command.
Infact when you are in math mode and typed a latex command (e.s. \partial) 
then a space, it is rendered in their corrispective mathn symbol.

Roberto
-- 




noweb

2003-12-12 Thread stuart macgregor
I read the stuff in Extended.lyx about integration with noweb and thought to 
try it.

I downloaded the noweb source and built and installed it and put it on the 
path and manpath.  I re-configured lyx, made clean and made and installed it.

The promised 3 new document styles did not appear.  I expect there is a step 
missing involving the latex environment.  Can anyone help?

I am using RH9 and building with the gtk option.


using the algorithm environment

2003-12-12 Thread christoff pale
Hi,
how do I use the algorithm environment.
What I mean is, how do I get If then, while

etc . Do I have to use ERT?
I would appreciate a small example.
thanks


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


Re: noweb

2003-12-12 Thread Kayvan A. Sylvan
On Fri, Dec 12, 2003 at 07:02:09PM +, stuart macgregor wrote:
 I read the stuff in Extended.lyx about integration with noweb and thought to 
 try it.
 
 I downloaded the noweb source and built and installed it and put it on the 
 path and manpath.  I re-configured lyx, made clean and made and installed it.
 
 The promised 3 new document styles did not appear.  I expect there is a step 
 missing involving the latex environment.  Can anyone help?
 
 I am using RH9 and building with the gtk option.

Does noweb work by itself? If so, then the only other thing I can think
of is that you have not installed the noweb latex files.

The LyX configure process needs to find them before it makes the literate
styles available.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voss wrote:

 Christian Ridderström wrote:
 
  I should use 'AMS multiline'?
 
 sure
 

Why use multline, rather than what you get when you just press C-Enter?
(Or perhaps the question should be why don't we get multline?)

 And in the last example you get different sizes
 of the equations, also no error, but looks ugly.

Thank's for the example file, I uploaded it as well.

I noticed that you used \vphantom{} to fix the size of the brackets... 
that's sort of like a hack to me. Is this the only way?
Anyway, I modified the comment/example so that it also uses \vphantom{}

/Christian

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




Re: lyx on Debian woody alpha

2003-12-12 Thread Roberto Bernetti
Alle 22:12, giovedì 11 dicembre 2003, Karsten Heymann ha scritto:
> On Thu, 11 Dec 2003 17:12:46 +
>
> "Angus Leeming" <[EMAIL PROTECTED]> wrote:
> > I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I could
> > certainly make it available to you but have no idea how to go about
> > creating a Debian package...
>
> One way would be
>   cd /usr/src   # or wherever you want
>   apt-get install devscripts  # don't know if nescessary
>   apt-get build-deb lyx
>   apt-get source --compile lyx
>   dpkg -i lyx*.deb
>
> Note that this will provide you with woodys 1.1.6fix2 package, which is
> quite old. 

Sorry the instructions are for Angus or for me.
I'm still working with 1.1.6fix4 (SuSE 8.0) so it'll be not a  problem to work 
with 1.1.6fix2. 

Roberto

-- 
---
Roberto Bernetti e-mail: [EMAIL PROTECTED]
V. S.da Vecchia del Pinocchio 1/A
60131 ANCONA
tel/fax 071 2867103



Re: math_formula_help

2003-12-12 Thread Herbert Voß
Karshi F.Hasanov wrote:
I have a long math formula and I can't fit it on one page.
How do In put such fomula in two lines?
Example:
 F=sqrt(.  
..) ?

use the multline environment of amsmath, then you have
exactly what you want (it's supported by LyX).
For more infors about all math environments look at
http://www.perce.de/LaTeX/math/Mathmode.TeX.pdf
Herbert




Re: figure float problem

2003-12-12 Thread Herbert Voß
Myriam Abramson wrote:

I have 2 figure floats (eps) and it seems that the last figure overlaps with
the first when printing or viewing the document. The figures are fine 
in Lyx and they are fine when viewing them outside of Lyx with
ghostview. 

What could be the problem? I'm baffled. 
difficult to say, could you provide an example or
send the files as private mail.
Herbert




Re: math_formula_help

2003-12-12 Thread Herbert Voß
Christian Ridderström wrote:
On Thu, 11 Dec 2003,  Karshi F.Hasanov wrote:


I have a long math formula and I can't fit it on one page.
How do In put such fomula in two lines?
Example:
F=sqrt(.  
   ..) ?

I put an example for something similar on this page:
http://wiki.lyx.org/pmwiki.php/Examples/FormulaOnMultipleLines
/Christian

PS. For everyone else, if you find any errors in the example, feel free to 
modify it. Or add more details, such as the name of the math-environment 
that you get by pressing C-Enter.
there is no error, but you still use the wrong
emvironments for the problems.
And in the last example you get different sizes
of the equations, also no error, but looks ugly.
Herbert




Re: math_formula_help

2003-12-12 Thread Herbert Voß
Herbert Voß wrote:

there is no error, but you still use the wrong
emvironments for the problems.
And in the last example you get different sizes
of the equations, also no error, but looks ugly.
I meant "of the parenthesis" ...

Herbert




Re: Configuring native Win32 port

2003-12-12 Thread Angus Leeming
Paul A. Rubin wrote:
>> So the answer to your Win32 problems is clear: use a 'decent' sed.
>> Perhaps one of you might contact Ruurd and get him to replace the
>> sed that he distributes with something functional.

> Does anyone know of a Win32 port of sed 4.0.7 that Ruurd could use?

I've posted a message to the sed-users mailing list. Will get back to 
you as and when they respond.

-- 
Angus



Re: lyx on Debian woody alpha

2003-12-12 Thread Karsten Heymann
On Fri, 12 Dec 2003 11:41:54 +0100
"Roberto Bernetti" <[EMAIL PROTECTED]> wrote:

> Alle 22:12, giovedì 11 dicembre 2003, Karsten Heymann ha scritto:
> > On Thu, 11 Dec 2003 17:12:46 +
> >
> > "Angus Leeming" <[EMAIL PROTECTED]> wrote:
> > > I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I
> > > could certainly make it available to you but have no idea how to
> > > go about creating a Debian package...
> >
> > One way would be
> >   cd /usr/src   # or wherever you want
> >   apt-get install devscripts  # don't know if nescessary
> >   apt-get build-deb lyx
> >   apt-get source --compile lyx
> >   dpkg -i lyx*.deb
> >
> > Note that this will provide you with woodys 1.1.6fix2 package, which
> > is quite old. 
> 
> Sorry the instructions are for Angus or for me.

Is that a question? I guess yes ;) Well, as Angus posted that he has no
idea how to create a debian packate I thought he would like to know how.
But if you like you can of course try it on your own. everything apart
from dpkg can be run as a user, so if you don't administer your
computer, you can at least provide your admin with a ready-made package.
If you need additional assistance, you can mail me directly (or is this
interesting for the list? i don't know)

> I'm still working with 1.1.6fix4 (SuSE 8.0) so it'll be not a  problem
> to work with 1.1.6fix2. 

Sorry, I meant 1.1.6fix4 too.

greetings,

Karsten


Re: Text in toc flowing off page

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 01:01:45AM +0100, Anca Tibor- Attila wrote:
> Hi,
> 
> as I remeber, there was a thread a few days ago about text off the page 
> borders. Now, I have another problem: there are a few longer 
> superscripts in my document. Inside the document it appeares correctly, 
> but in my Toc is exceeding the page borders. How is this possible to 
> fix?

Please send a minimal .lyx example.

Andre'


Re: Text in toc flowing off page

2003-12-12 Thread Herbert Voß
Anca Tibor- Attila wrote:

as I remeber, there was a thread a few days ago about text off the page 
borders. 
then you have no hyphenation or the text in typewriter font,
which cannot be hyphenated.
Now, I have another problem: there are a few longer 
superscripts in my document. Inside the document it appeares correctly, 
but in my Toc is exceeding the page borders. How is this possible to 
fix?
example please.

Herbert




Re: seminar bug, geometry and a4paper

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

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

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

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

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




???

2003-12-12 Thread Stelian Matei
Dear Sirs,
I am told to download free available Lyx softaware for my thesis.What I want is to be 
able to write easly my equations and formulas and eventualy schematic diagrams.To be 
honest I don't understand how I can load,install and use this package.I have a WIN 98 
with 20G PentiumIV, PC .How can install and use this packege in the same manner like 
MS Word?Is there a easy way for people who doesn't have to much time to learn another 
software.Thank you and looking forward to hear from you soon.
S.Matei- Peninsula Technikon, Cape Town
tel:027219596246
fax:027219596117
cell: 083313945
E-mail: [EMAIL PROTECTED]
   [EMAIL PROTECTED]



Re: Gnuplot External Material

2003-12-12 Thread Jose' Matos
On Saturday 06 December 2003 04:16, Dave Tweten wrote:
> Thank you all for attempting to enlighten me.  Even the suggestions I
> didn't follow helped me understand the alternatives.
>
> I said:
> >... will I have to figure out the syntax well enough to roll my own?
>
> I decided to roll my own.  The reason is the attraction of making LyX work
> off the gnuplot file instead of the *.eps file, with the associated risk
> that the *.eps file will become out-of-date.
>
> My strategy is as follows:
>
> 1. Cat the last attachment on this message and
>lib/external_templates to ~/.lyx/external_templates.
>Unfortunately, LyX only supports substitution for
>lib/external_templates, not additions to it.  That means
>I get to cat again every time I upgrade LyX (groan).

  The code changed in this area but I don't know how, in 1.4.0cvs

> 2. Put copies of the previous two attachments, eps.gnuplot and
>ascii.gnuplot into any directory that contains Gnuplot plot
>files.

  My solution for this problem is a script that wraps the call to gnuplot, and 
adds the necessary declaration for output. Usually I enter also a preamble 
with some of the default values for my drawings.

> 3. Make each Gnuplot plot file (*.gnu) self-contained.  It should
>contain all commands and all data required to create the plot.
>LyX will be tracking the plot files.  If they only contain
>commands and the data are elsewhere, changes in data won't cause
>LyX to remake the *.eps file (or the ASCII text).  An example is
>the first attachment to this message.

  Since I sometimes use long data files for graphics this is not always handy.

> While at it, I discovered a buglet in $$Sysdir/scripts/general_command_wrap
> per.py.  The statement that prints the redirection message left out a
> blank before the file name:
>
> --- general_command_wrapper.py.orig Thu Nov 13 14:40:21 2003
> +++ general_command_wrapper.py  Fri Dec  5 15:24:21 2003
> @@ -13,7 +13,7 @@
> os.close(0)
> sys.stdin = open(sys.argv[1],"r")
>  if sys.argv[2] != "-":
> -   print "Redirecting" + sys.argv[2]
> +   print "Redirecting " + sys.argv[2]
> os.close(1)
> os.close(2)
> sys.stdout = open(sys.argv[2],"w")

  I fixed that at my tree for 1.3.x and I will commit it soon, for 1.4 that 
file is no more. :-)

> Some things I don't like:
>
> 1. Eps.gnuplot and ascii.gnuplot should not exist.  There ought to
>be a way to tell Gnuplot to select a terminal type from the
>command line.  I don't the way.

  That is why I prefer the wrapper. :-)

> 2. So what is the "standard" file name extension of Gnuplot command
>files?  I used *.gnu, but Richard Stallman might have other ideas
>about what that extension should be used for.

  Interestingly in some of their examples they use .plt
  I have been using gnp, but I guess that it is a question of personal taste 
here. :-)

> 3. I only care about the LaTeX format.  I didn't test Ascii, DocBook,
>and LinuxDoc.  Should there be others?

  No.

> Any comments or criticisms will be appreciated.

  With the wrapper you don't need to use inset external. You can gnuplot to 
the graphic supported formats. :-)

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: ???

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 02:07:43PM +0200, Stelian Matei wrote:
> Dear Sirs, I am told to download free available Lyx softaware for my
> thesis.What I want is to be able to write easly my equations and
> formulas and eventualy schematic diagrams. To be honest I don't
> understand how I can load,install and use this package.

It's had to tell what went wrong when you don't give some hint on what
exactly you tried.

> I have a WIN 98 with 20G PentiumIV, PC .How can install and use this
> packege in the same manner like MS Word?Is there a easy way for people
> who doesn't have to much time to learn another software.

Using LyX might save you time in the long run but you will have spent
sometime learning it. And you won't use it the same manner as MS Word
in the end.

You will also have to learn to use internet resources. One way is e.g.
checking the project's home page www.lyx.org which has a download link
leading to a page speaking of a Win32 port by Ruurd Reitsma. 

Start from there.

Andre'

PS: Giving your mail some sensible Subject: is also a good idea...


Re: Gnuplot External Material

2003-12-12 Thread Angus Leeming
Jose' Matos wrote:

>> Any comments or criticisms will be appreciated.
> 
>   With the wrapper you don't need to use inset external. You can
>   gnuplot to
> the graphic supported formats. :-)

Which is great if you want EPS figues, but gnuplot also supports 
EEPIC, PSTricks, export to XFIG, etc all of which could be handled 
seemlessly in the 1.4.x version of InsetExternal. All you would have 
to do is define
1. A template.
2. A converter, eg from gnuplot to XFIG. That's essentially what your 
script is.

-- 
Angus



Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voß wrote:

> Karshi F.Hasanov wrote:
> > I have a long math formula and I can't fit it on one page.
> > How do In put such fomula in two lines?
> > Example:
> > 
> >  F=sqrt(.  
> > ..) ?
> > 
> 
> use the multline environment of amsmath, then you have
> exactly what you want (it's supported by LyX).
> For more infors about all math environments look at
> http://www.perce.de/LaTeX/math/Mathmode.TeX.pdf

The URI above is wrong, it should (probably) be:
http://www.perce.de/LaTeX/math/Mathmode-TeX.pdf

/Christian


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




Re: figure float problem

2003-12-12 Thread Myriam Abramson

>> I have 2 figure floats (eps) and it seems that the last figure overlaps with
>> the first when printing or viewing the document. The figures are
>> fine in Lyx and they are fine when viewing them outside of Lyx with
>> ghostview. What could be the problem? I'm baffled.
>
> difficult to say, could you provide an example or
> send the files as private mail.
>

Okay, thanks. Here's a little example zipped together. The eps files
were generated with Octave on RH 9.0 as well. 



test.zip
Description: figurefloats.zip

   myriam


Re: math_formula_help

2003-12-12 Thread Christian Ridderström
On Fri, 12 Dec 2003, Herbert Voß wrote:

> Christian Ridderström wrote:
> > On Thu, 11 Dec 2003,  Karshi F.Hasanov wrote:
> > 
> > 
> >>I have a long math formula and I can't fit it on one page.
> >>How do In put such fomula in two lines?
> >>Example:
> >>
> >> F=sqrt(.  
> >>..) ?
> >>
> > 
> > I put an example for something similar on this page:
> > http://wiki.lyx.org/pmwiki.php/Examples/FormulaOnMultipleLines

> 
> there is no error, but you still use the wrong
> emvironments for the problems.

I should use 'AMS multiline'?

> And in the last example you get different sizes
> of the equations, also no error, but looks ugly.

Well, I just tried to use the multiline example on p.47 in your PDF-file, 
but I still get ugly parenthesis... would you mind creating a .lyx-file 
that get's the parenthesis right?

/Christian

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




new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Günter Milde
I wrote new (and IMHO of course better) versions of
seminar.layout and dinbrief.layout.

seminar.layout:
#   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
#   Author : Lars Gullik Bjønnes <[EMAIL PROTECTED]>
#   1.1 08-04-2002 Günter Milde <[EMAIL PROTECTED]>
#   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes 
#version in LyX 3.1.3)

dinbrief.layout
# Author : Juergen Vigna <[EMAIL PROTECTED]>
# Modified by: Carsten Kaemmerer <[EMAIL PROTECTED]>
# Modified by: Guenter Milde <[EMAIL PROTECTED]>
#Dummy Style DinBrief for common layout features (removed at eof)
#Generic style names (there are german translations for most names)
#Included some more Styles and twiddeled the layout
#Added lots of "ObsoletedBy" to ease conversion from g-brief or letter
#(see also the update of the dinbrief.lyx template)

-> should now be usable for non-german users as well (as long as
dinbrief.cls is installed)


Whoever wants to give it a try, mail me for a copy.

(Is there an "canonic" place for upload?)

Günter

-- 
G.Milde at web.de


Re: new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 03:32:28PM +0100, Günter Milde wrote:
> (Is there an "canonic" place for upload?)

Post it on lyx-devel, zipped if you like.

Andre'


textclas error

2003-12-12 Thread Holger Zebner
Hi,
I tryed to open a "g-brief-de" file from my templates.

But I got the following message:

"
Textclass error

The document class uses an unknown textclass "g-brief-de".
-- substituting by default.
"

Do I lack some latex package on my system?

Greetings
Holger
-- 
Debian testing/unstable, build from Knoppix 3.3
Lyx 1.3.2
tetex 2.0.2-4.2




localisation fails with "run" command

2003-12-12 Thread Holger Zebner
Hi,
I have lyx-qt 1.3.2 installed on a German linux system.

When I start LyX from a shell it will start properly with the German menus.

But when I start it with the "run"-command (ALT+F2) it would start with the 
English interface.

Where do I change this intro a always German startup?

Thanks
Holger


-- 
Debian testing/unstable, build from Knoppix 3.3
KDE 3.1.4
Lyx 1.3.2
tetex 2.0.2-4.2



Re: localisation fails with "run" command

2003-12-12 Thread Karsten Heymann
Hi Holger,

On Fri, 12 Dec 2003 15:51:27 +0100
"Holger Zebner" <[EMAIL PROTECTED]> wrote:

> I have lyx-qt 1.3.2 installed on a German linux system.
[..] 
> But when I start it with the "run"-command (ALT+F2) it would start
> with the English interface.
> 
> Where do I change this intro a always German startup?

This depends on your distribution, some more info would be nice. If you
have a $HOME/.xsession file, you could try to insert the following code
there before the windowmanager ist started:

 LC_ALL=de_DE
 export LC_ALL

My .xsession looks like:

 PATH=$PATH:$HOME/bin
 export $PATH
 [EMAIL PROTECTED] exec ratpoison

but I think you are using KDE and then you don't like ratpoison :)

Karsten


Re: math_formula_help

2003-12-12 Thread Herbert Voss
Christian Ridderström wrote:

I should use 'AMS multiline'?
sure

And in the last example you get different sizes
of the equations, also no error, but looks ugly.


Well, I just tried to use the multiline example on p.47 in your PDF-file, 
but I still get ugly parenthesis... would you mind creating a .lyx-file 
that get's the parenthesis right?
attached
Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 1
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard

An example for the multine environment.
 There is still a bug in LyX, which I reported long long time ago ...
 :-(.
 LyX shows (#) for every row, but the multline enviromnet has only a number
 in the last line.
 
\layout Standard


\begin_inset Formula \begin{multline}
A=\lim_{n\rightarrow\infty}\Delta x\left(a^{2}+\left(a^{2}+2a\Delta x+\left(\Delta 
x\right)^{2}\right)\right.\label{eq:reset}\\
+\left(a^{2}+2\cdot2a\Delta x+2^{2}\left(\Delta x\right)^{2}\right)\\
+\left(a^{2}+2\cdot3a\Delta x+3^{2}\left(\Delta x\right)^{2}\right)\\
+\ldots\\
\left.+\left(a^{2}+2\cdot(n-1)a\Delta x+(n-1)^{2}\left(\Delta 
x\right)^{2}\right)\right)\\
=\frac{1}{3}\left(b^{3}-a^{3}\right)\end{multline}
 

\end_inset 


\layout Standard

The second example shows a multline environment with pairs of parentheses
 which are going over several lines:
\layout Standard


\begin_inset Formula \begin{multline}
\frac{1}{2}\Delta(f_{ij}f^{ij})=2\left(\sum_{i

Re: figure float problem

2003-12-12 Thread Herbert Voss
Myriam Abramson wrote:
I have 2 figure floats (eps) and it seems that the last figure overlaps with
the first when printing or viewing the document. The figures are
fine in Lyx and they are fine when viewing them outside of Lyx with
ghostview. What could be the problem? I'm baffled.
difficult to say, could you provide an example or
send the files as private mail.


Okay, thanks. Here's a little example zipped together. The eps files
were generated with Octave on RH 9.0 as well. 
I'm sorry, but I cannot see any problem.

Herbert




Re: new versions of seminar.layout and dinbrief.layout

2003-12-12 Thread Kai Johannes Keller
Am Fre, 2003-12-12 um 15.32 schrieb Günter Milde:
> I wrote new (and IMHO of course better) versions of
> seminar.layout and dinbrief.layout.
> 

GREAT! Is it possible with this new layout-file to handle DIN A 4
papersize, too? Or does it only affect the LyX-screen?

> seminar.layout:
> #   1.0 Initial attemt at makeing a LyX layout file for the seminar class.
> #   Author : Lars Gullik Bjønnes <[EMAIL PROTECTED]>
> #   1.1 08-04-2002 Günter Milde <[EMAIL PROTECTED]>
> #   1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes 
> #version in LyX 3.1.3)
> 

> 
> Whoever wants to give it a try, mail me for a copy.
> 

So I would try it, woul be nice if you could send me a copy with private
mail. -Thank You


Ciao


 -Kai-
-- 
Kai Johannes Keller <[EMAIL PROTECTED]>



Re: Gnuplot External Material

2003-12-12 Thread Luiz Eleno
Those interested in adding gnuplot eps files to lyx/latex documents 
should consider the egplot package.

Best regards,
Luiz.
--
Luiz Eleno
Max-Planck-Institut für Eisenforschung
Max-Planck-Str. 1
D-40237 Düsseldorf
Tel.: +49-(0)211-67 92 481
Fax: +49-(0)211-67 92 537
[EMAIL PROTECTED]



Re: textclas error

2003-12-12 Thread Holger Zebner
I looked at the layout (in /usr/share/lyx/layouts) and found the head of 
"g-brief-de" as follows:

#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass[g-brief]{letter (g-brief, german)}
# Letter textclass definition file.
# Author : Thomas Hartkens <[EMAIL PROTECTED]>

# Input general definitions
# Input stdletter.inc

Do I need to uncomment the line
# Input stdletter.inc ?

I tried another template (hollywood) but got the same error message.

Is this a debian problem or a configuration problem?
I once set the default text class to a different class than article and maybe 
that's why I have this problem. Is there a way to reset all default values 
concerning textclasses?

Thanks for your help
Holger



Re: documentclass: seminar

2003-12-12 Thread Kai Johannes Keller
Hello List,

Apparently there are problems with the documentclass seminar and a4-paparsize,
though I haven't solved them I#ve found something out that might be helpful
for somebody who needs his slides prindet and doesn't bother if its a bit
"unconvenient", so there are two things:

1. Lyx calls dvips with the option -t a4 - don't ask me why 'cause I don't know;
that's just what the pop-up-window tells.

2. If one exports the foo.dvi file and does "dvips foo.dvi" in a shell
without any options (especially without -t a4), he'll get a file "foo.ps", which is
printable on a4-paper - though without pagenumbers - and again: don't ask me why 
'cause I don't know.

In this way it worked with my system (rh9, lyx-1.3.3).

Would be nice if somebody could explain why it works in this way and tell us if
there's a way to call dvips without the option "-t a4" within lyx (why is this 
option there anyway, if it works without it, too?)

-Hope this helps anybody (even if it's no "real" solution to the problem)

Ciao

 -Kai



Switching from the Math panel window to the document window

2003-12-12 Thread Oreste Riccardo Natale
Hi all,

Maybe my question is only related to the way I would like to use Lyx,
instead of beeing related to Lyx usage: when I'm writing equations,
after pressing a button on the Math panel I would like to switch
automatically from it to the document window without explicitly clicking
on the document window itself, so reducing the number of times I have to
use to mouse.

Is there any way to do that? 

I'm using Lyx 1.3.2 on Mandrake 9.1.

Thanks a lot,
Riccardo.

Ps. This list is great, most questions are answered only by browsing the
threads!


Re: localisation fails with "run" command

2003-12-12 Thread Paul A. Rubin
Holger Zebner <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> Hi,
> I have lyx-qt 1.3.2 installed on a German linux system.
> 
> When I start LyX from a shell it will start properly with the German
> menus. 
> 
> But when I start it with the "run"-command (ALT+F2) it would start
> with the English interface.
> 
> Where do I change this intro a always German startup?
> 
> Thanks
> Holger
> 
> 

What if you specify the user directory switch (-userdir )?

-- Paul

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



  1   2   >