Re[2]: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Guenter Milde

On Thu, 25 Jan 2001 17:08:32 +0100 (MET) Jean-Pierre.Chretien 
[EMAIL PROTECTED] wrote:

 I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
 and include it within a table float.
 So far so good, however, the spreadsheet, whilst not enormous, does not fit
 horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
 this by 90 degrees within the float?
 
 Any ideas (or any alternative spreadsheet import methods)?
 
 Don't know about Gnumeric, bute here is what I do with Matlab
...  
  - create a table float in LyX file tables.lyx
with the required caption and rotation

How do you get the rotation of the table? Is there (in LyX 1.5) a simple
switch or button I missed? 

  - insert the table with  input  (of file table_xx.tex)

This would save the relyx but has the disadvantage that I cannot see the
numbers in LyX. (I see, this is unimportand if you just batch process.)

 The Matlab script tables.m can be run as batch process, so
 matlab  tables.m; lyx -e ps tables.lyx
 refreshes the data in the document.


Alternatively you could try to export the table as postscript (eps) and
within the table float do 'figure-insert' - the figure-insert popup allows
easy rotating.

Advantage: not only rotating but also scaling of the table is possible.
Disadvantage: may be, it looks not so nice due to different fonts in text and
table (not so important when the table is rotated and in a float).

Guenter


--
[EMAIL PROTECTED]






Re: ghostscript and installing Lyx

2001-01-26 Thread John Levon

On Thu, 25 Jan 2001, vinicius provenzano wrote:

 I'm with GNU Ghostscript 5.50 here. What would I get if I upgrade to Alladin 
 Ghostscript 6.50? Would I have any upgrade I should care to download?

What you would get is the inability to see your figures within LyX. There
is a bug in Ghostscript 6.50. The next version has a fix.

Stay with 5.50 for now.

john

p.s. it is possible that your distribution's packaged version of gs 6.50,
if there is one, includes the fix - I wouldn't know

-- 
"If you're a great programmer, you make all the routines depend on each
 other, so little mistakes can really hurt you." 
- Bill Gates 




Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
 And now for the cross references. Lets add a "... like in section x.y".
 This section is in another LyX file. How do I insert this reference?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label
where label is the required label.



Re: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:37:35PM +, Adrian Ball wrote:
 
 Dear all,
 
 I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
 and include it within a table float.
 So far so good, however, the spreadsheet, whilst not enormous, does not fit
 horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
 this by 90 degrees within the float?

\rotatebox{90}{the include inset} in latex mode.
If your document doesn't have eps figures, you also need to put
\usepackage{graphics} in the preamble.





Re: figure problems

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Someone sent me some .eps files that I would like to include in a paper that I 
 am writing.  I have already included some .eps files generated from matlab with 
 no problem.
 
 When I try to include these .eps files in a float figure, I am able to preview 
 the figure in the ghostview screen.  However, when I try to bring up a 
 postscript version of the paper I get the message:
 
 dvips: ! premature end of file in binary section.
 
 The postscript version will not come up at all...not even anything else that I 
 have written.
 
 I hope that one of you knows what is going on?

The eps file may be corrupt (perhaps it doesn't have a bounding box?).
Was the eps file generated on Windows ?  (the default postscript driver in
Windows is not good).



Re: accented characters with lyx-1.1.6

2001-01-26 Thread Jean-Marc Lasgouttes

 "Arnaud" == Arnaud Turier [EMAIL PROTECTED] writes:

  There have been indeed some changes in this code, but it is still
 supposed to work...
 
 What version of xforms? Newer or older than 0.89.5 (look at the
 configure output).

Arnaud I'm using Xforms 0.88 as recommended in the INSTALL file

Arnaud I think my problem is highlight too, by Matej Cepl, Subject:
Arnaud [Fwd: LyX 1.1.6 and dead keys] , Date: Sat, 20 Jan 2001
Arnaud 03:26:43 -0800

After verification, their problem was with keymaps, which will be
fixed in next release. Compose key is probably a different problem.
You should maybe try to recompile against xforms 0.89.6.

JMarc



Re: Working with multipart documents

2001-01-26 Thread Michael Zapf

Dekel Tsur wrote:

 On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
  And now for the cross references. Lets add a "... like in section x.y".
  This section is in another LyX file. How do I insert this reference?

 Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
 and you want to insert a label from chap2.lyx to chap1.lyx.
 There are three methods:

 1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
 Now, whenever you open the insert reference dialog in chap1.lyx, you will
 get a list of all labels in all the files.

Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
like "Take references from file(s)..."?

 3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label where label is
 the required label.

I'd prefer option 1.

Thanks for your help. The users guide/extended guide should contain this info.

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Institut fuer Informatik, FB Biologie und Informatik
* (Institute for Comp.Science, Dept. of Comp.Science and Biology)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





.eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Anna H.Pryor

I am using 1.1.5fix2 on linux.

Here is a sample of what I was talking about.  Maybe one of you can get it to 
show up in lyx??  I have a friend at work who works in LaTex and she had no 
problem getting it to show up in her document, so I know that the problem is 
with Lyx.  It does have a bounding box.

The file was made on a PC using raw pictures and Adobe Photoshop.

Any help would be greatly appreciated!

Anna







 Fig3.eps


math formula in a framebox

2001-01-26 Thread Reinhard Borek

Hello,
how I can do in Lyx a math formula in display mode in a framebox? 

Thanks, Reinhard
-- 
[EMAIL PROTECTED]
Reinhard Borek
BoRaGlas GmbH i. G.
c/o Fachbereich Physik
Fachgruppe Exp. Phys. I
Martin-Luther-Universität Halle-Wittenberg
Friedemann-Bach-Platz 6
06108 Halle/Saale



Re: Working with multipart documents

2001-01-26 Thread Jan Goebel

On Fri, 26 Jan 2001, Michael Zapf wrote:

  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.
 
 Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
 like "Take references from file(s)..."?
 
  3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label where label is
  the required label.
 
 I'd prefer option 1.
 
 Thanks for your help. The users guide/extended guide should contain this info.

There is a information in the ext. guide, but only to method 2.
There should be a info about the more comfortable master-files-method, too.

1.4.2 Cross-References Between Files

It is possible to set up cross-references between the different files. 
First, open all the files in question: let's call them A and B in a two 
file example, where B is included in A. Let's say you insert a label in A, 
then want to reference it in B. Switch to A, then select 
Insert-Cross-Reference. Now switch the document to B without closing 
the cross-reference popup. Insert the cross reference and you are done! 
When you preview file A, everything is properly included and labeled. 
If you accidentally close the popup, then reopen it while you are in B, 
you will only see B's labels. This whole procedure is perhaps a bit 
counterintuitive (it has even been called a bug), but it does work.



jan

-- 
+---
 Jan Goebel (mailto:[EMAIL PROTECTED])

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Knigin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+---



Re: figure problems

2001-01-26 Thread Jean-Pierre.Chretien


Date: Fri, 26 Jan 2001 15:55:28 +0200
From: Dekel Tsur [EMAIL PROTECTED]
To: "Anna H.Pryor" [EMAIL PROTECTED], LyX users 
[EMAIL PROTECTED]
Subject: Re: figure problems
Mail-Followup-To: "Anna H.Pryor" [EMAIL PROTECTED], LyX users 
[EMAIL PROTECTED]

On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Someone sent me some .eps files that I would like to include in a paper that 
I 
 am writing.  I have already included some .eps files generated from matlab 
with 
 no problem.
 
 When I try to include these .eps files in a float figure, I am able to 
preview 
 the figure in the ghostview screen.  However, when I try to bring up a 
 postscript version of the paper I get the message:
 
 dvips: ! premature end of file in binary section.

Hhm, isn't binary section epsi specific ?
Get rid of the i part would solve the problem perhaps.

Bad quality of Windows PS drivers result rather in image
disappearing in the printed documnet because of EPS forbidden
constructs.

-- 
Jean-Pierre


-- 
JP
 
 The postscript version will not come up at all...not even anything else that 
I 
 have written.
 
 I hope that one of you knows what is going on?

The eps file may be corrupt (perhaps it doesn't have a bounding box?).
Was the eps file generated on Windows ?  (the default postscript driver in
Windows is not good).




Re: math formula in a framebox

2001-01-26 Thread Jean-Pierre.Chretien


From: Reinhard Borek [EMAIL PROTECTED]
To: Lyx-User [EMAIL PROTECTED]
Subject: math formula in a framebox
Date: Fri, 26 Jan 2001 15:26:46 +0100

Hello,
how I can do in Lyx a math formula in display mode in a framebox? 

Thanks, Reinhard
-- 

Try amsmath, I think it works there.

-- 
Jean-Pierre




Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 03:09:31PM +0100, Michael Zapf wrote:
  On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
   And now for the cross references. Lets add a "... like in section x.y".
   This section is in another LyX file. How do I insert this reference?
 
  Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
  and you want to insert a label from chap2.lyx to chap1.lyx.
  There are three methods:
 
  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.
 
 Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
 like "Take references from file(s)..."?

I am planning to add this.



.eps files not showing up in lyx

2001-01-26 Thread Anna H.Pryor

First let me apologize for sending out such a large file to the mailing list...I 
had no idea...I guess that I am used to big government computers with seemingly 
infinitely large resources.  I thought it would help to explain my problem.  I 
didn't think that it would make problems for you.

Secondly, someone has suggested that 1.1.6 on linux will work with the .eps 
files that I have, so I am going to try downloading that first and see if I can 
get that to work first.  Thanks for your help.  I will let you know.

Anna








Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 06:31:47AM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Here is a sample of what I was talking about.  Maybe one of you can get it to 
 show up in lyx??  I have a friend at work who works in LaTex and she had no 
 problem getting it to show up in her document, so I know that the problem is 
 with Lyx.  It does have a bounding box.
 
 The file was made on a PC using raw pictures and Adobe Photoshop.

The problem is in dvips, not in LyX (and I suppose that your friend uses
LaTeX on Windows, so her dvi-ps program is different).

You can fix the problem in the eps file by running 
 epstopdf Fig3.pdf
 pdf2ps Fig3.pdf Fig3.eps

(and the size of the result file is half of the original!)




Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Stephan E. Schlierf

"Anna H.Pryor" wrote:
 
 I am using 1.1.5fix2 on linux.
 
 Here is a sample of what I was talking about.  Maybe one of you can get it to
 show up in lyx??  I have a friend at work who works in LaTex and she had no
 problem getting it to show up in her document, so I know that the problem is
 with Lyx.  It does have a bounding box.
 
 The file was made on a PC using raw pictures and Adobe Photoshop.
 
 Any help would be greatly appreciated!
 
 Anna
 

Hi Anna,
I dont know whether this really helps you but I had no problem to
insert it into a LyX-document. I did it via "Insert" - "Picture" -
"Encapsulated Postscript" (Im not quite sure whether the menu items are
correct; I use the german localization of LyX).

Stephan
-- 
Stephan E. Schlierf M.A.
- chief concept  design developer -
speed2web GmbH Germany
FON: ++49 921 99 00 86 12
FAX: ++49 921 99 00 86 70
http://www.speed2web.de



Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Wolfgang Kilian

Hello Anna and Dekel,
 
 You can fix the problem in the eps file by running 
  epstopdf Fig3.pdf
  pdf2ps Fig3.pdf Fig3.eps
 
 (and the size of the result file is half of the original!)

I've also tried a little bit with the eps fiel. You are right after your 
'process' the Fig3.eps is half the sice but no longer displyable (at 
least on my system SUSE-Linux 6.3). The Fig3.pdf is nice, but Fig3.eps at 
the end always clears the page at the end.

I'm quite sure that the real problem is in the original eps file itselfe 
(which in fact does not disply yust the immage but the hole page). 
With LYX1.1.5.fix1 I can include the orig. Fig and see it. With 'View 
DVI' I get a reasonable output. But with view PS there is nothing 
happening. With export PS and starting ghostview externaly I get after 
the Fig is drawn the error:
Error: PostScript interpreter failed in main window.

So it seem for me that the PS-fiel has some strange commands at the  end. 
Unfortunately I'm not that familiar with PS-language. Maybe that the 
person you've got the Fig3.eps may export it in a nother way.

I don't know if that helps anybody, but good luck 

Wolfgang



Re: math formula in a framebox

2001-01-26 Thread Herbert Voss

Reinhard Borek wrote:
 
 how I can do in Lyx a math formula in display mode in a framebox?=20

\fbox{\parbox{\columnwidth}{% in tex(red)
...the blue LyX mathbox...
}}% in tex(red)

for colored boxes have a look at

http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#equn_2

Herbert


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




Re: Working with multipart documents

2001-01-26 Thread mike.ressler

On Fri, 26 Jan 2001, Michael Zapf wrote:

 Dekel Tsur wrote:
  Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
  and you want to insert a label from chap2.lyx to chap1.lyx.
  There are three methods:
 
  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.

 I'd prefer option 1.

 Thanks for your help. The users guide/extended guide should contain this info.

Section 1.4.2 of Extended.

Mike

-- 
Mike Ressler
[EMAIL PROTECTED]
OK, I'm lame: I don't have my own website ...




..eps file will not show up in lyx but will show up in ghostview 9015 by: Anna H.Pryor

2001-01-26 Thread Bronek Baraniecki

Hi,
 I canview your Fig3.eps in ghostview and in Lyx as well.

Go like this in Lyx:

1.  Menu Insert - Floats - Figure Floats
2. Menu Insert - Figure

It should be OK.

Good Luck

Bronek
-- 
Bronek Baraniecki
[EMAIL PROTECTED]



Re: Can I pipe a text region to a shell command?

2001-01-26 Thread Guido Milanese

Just another hint about this thread of some days ago. Another good 
editor (not so complete as the mytical emacs, obviously!) is nedit 
(http://nedit.org). I found it in my distribution (mandrake 7.2) and I 
like it. It offers  some shell commands, as wc and sort. The default is 
csh, so if you use bash you need some adaptations.

gm

--
E-Mail: Guido Milanese [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



BibTeX problem

2001-01-26 Thread Guido Milanese

I think I am doing a stupid error in my bibtex files.
I cannot use crossref. Both from within Lyx and from running direct 
LaTeX, the "missing" fields are not added -- regardless the style I use.
I followed the instructions given in the standard manuals regarding 
order of entries.

Example (partially faked):

@InBook{Ludwig:Musik,
  Author = {Ludwig, Friedrich},
  Title  = {Die geistliche nichtliturgische {M}usik},
  Pages  = {157-295},
  crossref   = {Adler:Handbuch}, 
}

should be crossreferenced to:

@Book{Adler:Handbuch,
  Author = {Adler, Guido},
  Title  = {Handbuch der {M}usikgeschichte},
  Publisher  = {Keller},
  Address= {Berlin},
  Note   = {2 voll.},
  booktitle  = {Handbuch der {M}usikgeschichte},  
  year   = 1930,
}

In the output, the booktitle (Handbuch der {M}usikgeschichte) is 
missing.

What am I doing wrong?

Thanks!

Guido, Italy


--
E-Mail: Guido Milanese [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



Re: BibTeX problem

2001-01-26 Thread Christopher Jones

Just making sure-- the item you are crossrefing must appear -after- the
crossrefing entry in your database file. Thus: your @book must appear after your
@inbook. 


On Fri, 26 Jan 2001, you wrote:
 I think I am doing a stupid error in my bibtex files.
 I cannot use crossref. Both from within Lyx and from running direct 
 LaTeX, the "missing" fields are not added -- regardless the style I use.
 I followed the instructions given in the standard manuals regarding 
 order of entries.
 
 Example (partially faked):
 
 @InBook{Ludwig:Musik,
   Author = {Ludwig, Friedrich},
   Title  = {Die geistliche nichtliturgische {M}usik},
   Pages  = {157-295},
   crossref   = {Adler:Handbuch}, 
 }
 
 should be crossreferenced to:
 
 @Book{Adler:Handbuch,
   Author = {Adler, Guido},
   Title  = {Handbuch der {M}usikgeschichte},
   Publisher  = {Keller},
   Address= {Berlin},
   Note   = {2 voll.},
   booktitle  = {Handbuch der {M}usikgeschichte},  
   year   = 1930,
 }
 
 In the output, the booktitle (Handbuch der {M}usikgeschichte) is 
 missing.
 
 What am I doing wrong?
 
 Thanks!
 
 Guido, Italy
 
 
 --
 E-Mail: Guido Milanese [EMAIL PROTECTED]
 Vocal Ensemble Ars Antiqua, Genova, Italia
 Homepage: http://www.arsantiqua.org
 + + + + + + NON NOBIS DOMINE + + + + + + +
 --



Re: BibTeX problem

2001-01-26 Thread Guido Milanese

Die ven, 26 gen 2001, Christopher Jones haec scripsit:
 Just making sure-- the item you are crossrefing must appear -after-
 the crossrefing entry in your database file. Thus: your @book must
 appear after your @inbook.

Yes, thanks. I checked it -- I followed the standard instructions. All 
the other fields, in fact, are correctly filled, but not the title.

thanks,
gm

--
E-Mail: Guido Milanese [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



Re[2]: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Guenter Milde

On Thu, 25 Jan 2001 17:08:32 +0100 (MET) Jean-Pierre.Chretien 
[EMAIL PROTECTED] wrote:

 I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
 and include it within a table float.
 So far so good, however, the spreadsheet, whilst not enormous, does not fit
 horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
 this by 90 degrees within the float?
 
 Any ideas (or any alternative spreadsheet import methods)?
 
 Don't know about Gnumeric, bute here is what I do with Matlab
...  
  - create a table float in LyX file tables.lyx
with the required caption and rotation

How do you get the rotation of the table? Is there (in LyX 1.5) a simple
switch or button I missed? 

  - insert the table with  input  (of file table_xx.tex)

This would save the relyx but has the disadvantage that I cannot see the
numbers in LyX. (I see, this is unimportand if you just batch process.)

 The Matlab script tables.m can be run as batch process, so
 matlab  tables.m; lyx -e ps tables.lyx
 refreshes the data in the document.


Alternatively you could try to export the table as postscript (eps) and
within the table float do 'figure-insert' - the figure-insert popup allows
easy rotating.

Advantage: not only rotating but also scaling of the table is possible.
Disadvantage: may be, it looks not so nice due to different fonts in text and
table (not so important when the table is rotated and in a float).

Guenter


--
[EMAIL PROTECTED]






Re: ghostscript and installing Lyx

2001-01-26 Thread John Levon

On Thu, 25 Jan 2001, vinicius provenzano wrote:

 I'm with GNU Ghostscript 5.50 here. What would I get if I upgrade to Alladin 
 Ghostscript 6.50? Would I have any upgrade I should care to download?

What you would get is the inability to see your figures within LyX. There
is a bug in Ghostscript 6.50. The next version has a fix.

Stay with 5.50 for now.

john

p.s. it is possible that your distribution's packaged version of gs 6.50,
if there is one, includes the fix - I wouldn't know

-- 
"If you're a great programmer, you make all the routines depend on each
 other, so little mistakes can really hurt you." 
- Bill Gates 




Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
 And now for the cross references. Lets add a "... like in section x.y".
 This section is in another LyX file. How do I insert this reference?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label
where label is the required label.



Re: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:37:35PM +, Adrian Ball wrote:
 
 Dear all,
 
 I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
 and include it within a table float.
 So far so good, however, the spreadsheet, whilst not enormous, does not fit
 horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
 this by 90 degrees within the float?

\rotatebox{90}{the include inset} in latex mode.
If your document doesn't have eps figures, you also need to put
\usepackage{graphics} in the preamble.





Re: figure problems

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Someone sent me some .eps files that I would like to include in a paper that I 
 am writing.  I have already included some .eps files generated from matlab with 
 no problem.
 
 When I try to include these .eps files in a float figure, I am able to preview 
 the figure in the ghostview screen.  However, when I try to bring up a 
 postscript version of the paper I get the message:
 
 dvips: ! premature end of file in binary section.
 
 The postscript version will not come up at all...not even anything else that I 
 have written.
 
 I hope that one of you knows what is going on?

The eps file may be corrupt (perhaps it doesn't have a bounding box?).
Was the eps file generated on Windows ?  (the default postscript driver in
Windows is not good).



Re: accented characters with lyx-1.1.6

2001-01-26 Thread Jean-Marc Lasgouttes

 "Arnaud" == Arnaud Turier [EMAIL PROTECTED] writes:

  There have been indeed some changes in this code, but it is still
 supposed to work...
 
 What version of xforms? Newer or older than 0.89.5 (look at the
 configure output).

Arnaud I'm using Xforms 0.88 as recommended in the INSTALL file

Arnaud I think my problem is highlight too, by Matej Cepl, Subject:
Arnaud [Fwd: LyX 1.1.6 and dead keys] , Date: Sat, 20 Jan 2001
Arnaud 03:26:43 -0800

After verification, their problem was with keymaps, which will be
fixed in next release. Compose key is probably a different problem.
You should maybe try to recompile against xforms 0.89.6.

JMarc



Re: Working with multipart documents

2001-01-26 Thread Michael Zapf

Dekel Tsur wrote:

 On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
  And now for the cross references. Lets add a "... like in section x.y".
  This section is in another LyX file. How do I insert this reference?

 Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
 and you want to insert a label from chap2.lyx to chap1.lyx.
 There are three methods:

 1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
 Now, whenever you open the insert reference dialog in chap1.lyx, you will
 get a list of all labels in all the files.

Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
like "Take references from file(s)..."?

 3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label where label is
 the required label.

I'd prefer option 1.

Thanks for your help. The users guide/extended guide should contain this info.

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Institut fuer Informatik, FB Biologie und Informatik
* (Institute for Comp.Science, Dept. of Comp.Science and Biology)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





.eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Anna H.Pryor

I am using 1.1.5fix2 on linux.

Here is a sample of what I was talking about.  Maybe one of you can get it to 
show up in lyx??  I have a friend at work who works in LaTex and she had no 
problem getting it to show up in her document, so I know that the problem is 
with Lyx.  It does have a bounding box.

The file was made on a PC using raw pictures and Adobe Photoshop.

Any help would be greatly appreciated!

Anna







 Fig3.eps


math formula in a framebox

2001-01-26 Thread Reinhard Borek

Hello,
how I can do in Lyx a math formula in display mode in a framebox? 

Thanks, Reinhard
-- 
[EMAIL PROTECTED]
Reinhard Borek
BoRaGlas GmbH i. G.
c/o Fachbereich Physik
Fachgruppe Exp. Phys. I
Martin-Luther-Universität Halle-Wittenberg
Friedemann-Bach-Platz 6
06108 Halle/Saale



Re: Working with multipart documents

2001-01-26 Thread Jan Goebel

On Fri, 26 Jan 2001, Michael Zapf wrote:

  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.
 
 Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
 like "Take references from file(s)..."?
 
  3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label where label is
  the required label.
 
 I'd prefer option 1.
 
 Thanks for your help. The users guide/extended guide should contain this info.

There is a information in the ext. guide, but only to method 2.
There should be a info about the more comfortable master-files-method, too.

1.4.2 Cross-References Between Files

It is possible to set up cross-references between the different files. 
First, open all the files in question: let's call them A and B in a two 
file example, where B is included in A. Let's say you insert a label in A, 
then want to reference it in B. Switch to A, then select 
Insert-Cross-Reference. Now switch the document to B without closing 
the cross-reference popup. Insert the cross reference and you are done! 
When you preview file A, everything is properly included and labeled. 
If you accidentally close the popup, then reopen it while you are in B, 
you will only see B's labels. This whole procedure is perhaps a bit 
counterintuitive (it has even been called a bug), but it does work.



jan

-- 
+---
 Jan Goebel (mailto:[EMAIL PROTECTED])

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Knigin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+---



Re: figure problems

2001-01-26 Thread Jean-Pierre.Chretien


Date: Fri, 26 Jan 2001 15:55:28 +0200
From: Dekel Tsur [EMAIL PROTECTED]
To: "Anna H.Pryor" [EMAIL PROTECTED], LyX users 
[EMAIL PROTECTED]
Subject: Re: figure problems
Mail-Followup-To: "Anna H.Pryor" [EMAIL PROTECTED], LyX users 
[EMAIL PROTECTED]

On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Someone sent me some .eps files that I would like to include in a paper that 
I 
 am writing.  I have already included some .eps files generated from matlab 
with 
 no problem.
 
 When I try to include these .eps files in a float figure, I am able to 
preview 
 the figure in the ghostview screen.  However, when I try to bring up a 
 postscript version of the paper I get the message:
 
 dvips: ! premature end of file in binary section.

Hhm, isn't binary section epsi specific ?
Get rid of the i part would solve the problem perhaps.

Bad quality of Windows PS drivers result rather in image
disappearing in the printed documnet because of EPS forbidden
constructs.

-- 
Jean-Pierre


-- 
JP
 
 The postscript version will not come up at all...not even anything else that 
I 
 have written.
 
 I hope that one of you knows what is going on?

The eps file may be corrupt (perhaps it doesn't have a bounding box?).
Was the eps file generated on Windows ?  (the default postscript driver in
Windows is not good).




Re: math formula in a framebox

2001-01-26 Thread Jean-Pierre.Chretien


From: Reinhard Borek [EMAIL PROTECTED]
To: Lyx-User [EMAIL PROTECTED]
Subject: math formula in a framebox
Date: Fri, 26 Jan 2001 15:26:46 +0100

Hello,
how I can do in Lyx a math formula in display mode in a framebox? 

Thanks, Reinhard
-- 

Try amsmath, I think it works there.

-- 
Jean-Pierre




Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 03:09:31PM +0100, Michael Zapf wrote:
  On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
   And now for the cross references. Lets add a "... like in section x.y".
   This section is in another LyX file. How do I insert this reference?
 
  Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
  and you want to insert a label from chap2.lyx to chap1.lyx.
  There are three methods:
 
  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.
 
 Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
 like "Take references from file(s)..."?

I am planning to add this.



.eps files not showing up in lyx

2001-01-26 Thread Anna H.Pryor

First let me apologize for sending out such a large file to the mailing list...I 
had no idea...I guess that I am used to big government computers with seemingly 
infinitely large resources.  I thought it would help to explain my problem.  I 
didn't think that it would make problems for you.

Secondly, someone has suggested that 1.1.6 on linux will work with the .eps 
files that I have, so I am going to try downloading that first and see if I can 
get that to work first.  Thanks for your help.  I will let you know.

Anna








Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 06:31:47AM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Here is a sample of what I was talking about.  Maybe one of you can get it to 
 show up in lyx??  I have a friend at work who works in LaTex and she had no 
 problem getting it to show up in her document, so I know that the problem is 
 with Lyx.  It does have a bounding box.
 
 The file was made on a PC using raw pictures and Adobe Photoshop.

The problem is in dvips, not in LyX (and I suppose that your friend uses
LaTeX on Windows, so her dvi-ps program is different).

You can fix the problem in the eps file by running 
 epstopdf Fig3.pdf
 pdf2ps Fig3.pdf Fig3.eps

(and the size of the result file is half of the original!)




Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Stephan E. Schlierf

"Anna H.Pryor" wrote:
 
 I am using 1.1.5fix2 on linux.
 
 Here is a sample of what I was talking about.  Maybe one of you can get it to
 show up in lyx??  I have a friend at work who works in LaTex and she had no
 problem getting it to show up in her document, so I know that the problem is
 with Lyx.  It does have a bounding box.
 
 The file was made on a PC using raw pictures and Adobe Photoshop.
 
 Any help would be greatly appreciated!
 
 Anna
 

Hi Anna,
I dont know whether this really helps you but I had no problem to
insert it into a LyX-document. I did it via "Insert" - "Picture" -
"Encapsulated Postscript" (Im not quite sure whether the menu items are
correct; I use the german localization of LyX).

Stephan
-- 
Stephan E. Schlierf M.A.
- chief concept  design developer -
speed2web GmbH Germany
FON: ++49 921 99 00 86 12
FAX: ++49 921 99 00 86 70
http://www.speed2web.de



Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Wolfgang Kilian

Hello Anna and Dekel,
 
 You can fix the problem in the eps file by running 
  epstopdf Fig3.pdf
  pdf2ps Fig3.pdf Fig3.eps
 
 (and the size of the result file is half of the original!)

I've also tried a little bit with the eps fiel. You are right after your 
'process' the Fig3.eps is half the sice but no longer displyable (at 
least on my system SUSE-Linux 6.3). The Fig3.pdf is nice, but Fig3.eps at 
the end always clears the page at the end.

I'm quite sure that the real problem is in the original eps file itselfe 
(which in fact does not disply yust the immage but the hole page). 
With LYX1.1.5.fix1 I can include the orig. Fig and see it. With 'View 
DVI' I get a reasonable output. But with view PS there is nothing 
happening. With export PS and starting ghostview externaly I get after 
the Fig is drawn the error:
Error: PostScript interpreter failed in main window.

So it seem for me that the PS-fiel has some strange commands at the  end. 
Unfortunately I'm not that familiar with PS-language. Maybe that the 
person you've got the Fig3.eps may export it in a nother way.

I don't know if that helps anybody, but good luck 

Wolfgang



Re: math formula in a framebox

2001-01-26 Thread Herbert Voss

Reinhard Borek wrote:
 
 how I can do in Lyx a math formula in display mode in a framebox?=20

\fbox{\parbox{\columnwidth}{% in tex(red)
...the blue LyX mathbox...
}}% in tex(red)

for colored boxes have a look at

http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#equn_2

Herbert


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




Re: Working with multipart documents

2001-01-26 Thread mike.ressler

On Fri, 26 Jan 2001, Michael Zapf wrote:

 Dekel Tsur wrote:
  Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
  and you want to insert a label from chap2.lyx to chap1.lyx.
  There are three methods:
 
  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.

 I'd prefer option 1.

 Thanks for your help. The users guide/extended guide should contain this info.

Section 1.4.2 of Extended.

Mike

-- 
Mike Ressler
[EMAIL PROTECTED]
OK, I'm lame: I don't have my own website ...




..eps file will not show up in lyx but will show up in ghostview 9015 by: Anna H.Pryor

2001-01-26 Thread Bronek Baraniecki

Hi,
 I canview your Fig3.eps in ghostview and in Lyx as well.

Go like this in Lyx:

1.  Menu Insert - Floats - Figure Floats
2. Menu Insert - Figure

It should be OK.

Good Luck

Bronek
-- 
Bronek Baraniecki
[EMAIL PROTECTED]



Re: Can I pipe a text region to a shell command?

2001-01-26 Thread Guido Milanese

Just another hint about this thread of some days ago. Another good 
editor (not so complete as the mytical emacs, obviously!) is nedit 
(http://nedit.org). I found it in my distribution (mandrake 7.2) and I 
like it. It offers  some shell commands, as wc and sort. The default is 
csh, so if you use bash you need some adaptations.

gm

--
E-Mail: Guido Milanese [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



BibTeX problem

2001-01-26 Thread Guido Milanese

I think I am doing a stupid error in my bibtex files.
I cannot use crossref. Both from within Lyx and from running direct 
LaTeX, the "missing" fields are not added -- regardless the style I use.
I followed the instructions given in the standard manuals regarding 
order of entries.

Example (partially faked):

@InBook{Ludwig:Musik,
  Author = {Ludwig, Friedrich},
  Title  = {Die geistliche nichtliturgische {M}usik},
  Pages  = {157-295},
  crossref   = {Adler:Handbuch}, 
}

should be crossreferenced to:

@Book{Adler:Handbuch,
  Author = {Adler, Guido},
  Title  = {Handbuch der {M}usikgeschichte},
  Publisher  = {Keller},
  Address= {Berlin},
  Note   = {2 voll.},
  booktitle  = {Handbuch der {M}usikgeschichte},  
  year   = 1930,
}

In the output, the booktitle (Handbuch der {M}usikgeschichte) is 
missing.

What am I doing wrong?

Thanks!

Guido, Italy


--
E-Mail: Guido Milanese [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



Re: BibTeX problem

2001-01-26 Thread Christopher Jones

Just making sure-- the item you are crossrefing must appear -after- the
crossrefing entry in your database file. Thus: your @book must appear after your
@inbook. 


On Fri, 26 Jan 2001, you wrote:
 I think I am doing a stupid error in my bibtex files.
 I cannot use crossref. Both from within Lyx and from running direct 
 LaTeX, the "missing" fields are not added -- regardless the style I use.
 I followed the instructions given in the standard manuals regarding 
 order of entries.
 
 Example (partially faked):
 
 @InBook{Ludwig:Musik,
   Author = {Ludwig, Friedrich},
   Title  = {Die geistliche nichtliturgische {M}usik},
   Pages  = {157-295},
   crossref   = {Adler:Handbuch}, 
 }
 
 should be crossreferenced to:
 
 @Book{Adler:Handbuch,
   Author = {Adler, Guido},
   Title  = {Handbuch der {M}usikgeschichte},
   Publisher  = {Keller},
   Address= {Berlin},
   Note   = {2 voll.},
   booktitle  = {Handbuch der {M}usikgeschichte},  
   year   = 1930,
 }
 
 In the output, the booktitle (Handbuch der {M}usikgeschichte) is 
 missing.
 
 What am I doing wrong?
 
 Thanks!
 
 Guido, Italy
 
 
 --
 E-Mail: Guido Milanese [EMAIL PROTECTED]
 Vocal Ensemble Ars Antiqua, Genova, Italia
 Homepage: http://www.arsantiqua.org
 + + + + + + NON NOBIS DOMINE + + + + + + +
 --



Re: BibTeX problem

2001-01-26 Thread Guido Milanese

Die ven, 26 gen 2001, Christopher Jones haec scripsit:
 Just making sure-- the item you are crossrefing must appear -after-
 the crossrefing entry in your database file. Thus: your @book must
 appear after your @inbook.

Yes, thanks. I checked it -- I followed the standard instructions. All 
the other fields, in fact, are correctly filled, but not the title.

thanks,
gm

--
E-Mail: Guido Milanese [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



Re[2]: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Guenter Milde

On Thu, 25 Jan 2001 17:08:32 +0100 (MET) Jean-Pierre.Chretien 
<[EMAIL PROTECTED]> wrote:

> >>I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
> >>and include it within a table float.
> >>So far so good, however, the spreadsheet, whilst not enormous, does not fit
> >>horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
> >>this by 90 degrees within the float?
> >>
> >>Any ideas (or any alternative spreadsheet import methods)?
> 
> Don't know about Gnumeric, bute here is what I do with Matlab
...  
>  - create a table float in LyX file tables.lyx
>with the required caption and rotation

How do you get the rotation of the table? Is there (in LyX 1.5) a simple
switch or button I missed? 

>  - insert the table with « input » (of file table_xx.tex)

This would save the relyx but has the disadvantage that I cannot see the
numbers in LyX. (I see, this is unimportand if you just batch process.)

> The Matlab script tables.m can be run as batch process, so
> matlab < tables.m; lyx -e ps tables.lyx
> refreshes the data in the document.


Alternatively you could try to export the table as postscript (eps) and
within the table float do 'figure-insert' - the figure-insert popup allows
easy rotating.

Advantage: not only rotating but also scaling of the table is possible.
Disadvantage: may be, it looks not so nice due to different fonts in text and
table (not so important when the table is rotated and in a float).

Guenter


--
[EMAIL PROTECTED]






Re: ghostscript and installing Lyx

2001-01-26 Thread John Levon

On Thu, 25 Jan 2001, vinicius provenzano wrote:

> I'm with GNU Ghostscript 5.50 here. What would I get if I upgrade to Alladin 
> Ghostscript 6.50? Would I have any upgrade I should care to download?

What you would get is the inability to see your figures within LyX. There
is a bug in Ghostscript 6.50. The next version has a fix.

Stay with 5.50 for now.

john

p.s. it is possible that your distribution's packaged version of gs 6.50,
if there is one, includes the fix - I wouldn't know

-- 
"If you're a great programmer, you make all the routines depend on each
 other, so little mistakes can really hurt you." 
- Bill Gates 




Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
> And now for the cross references. Lets add a "... like in section x.y".
> This section is in another LyX file. How do I insert this reference?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|
where  is the required label.



Re: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:37:35PM +, Adrian Ball wrote:
> 
> Dear all,
> 
> I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
> and include it within a table float.
> So far so good, however, the spreadsheet, whilst not enormous, does not fit
> horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
> this by 90 degrees within the float?

\rotatebox{90}{} in latex mode.
If your document doesn't have eps figures, you also need to put
\usepackage{graphics} in the preamble.





Re: figure problems

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
> I am using 1.1.5fix2 on linux.
> 
> Someone sent me some .eps files that I would like to include in a paper that I 
> am writing.  I have already included some .eps files generated from matlab with 
> no problem.
> 
> When I try to include these .eps files in a float figure, I am able to preview 
> the figure in the ghostview screen.  However, when I try to bring up a 
> postscript version of the paper I get the message:
> 
> dvips: ! premature end of file in binary section.
> 
> The postscript version will not come up at all...not even anything else that I 
> have written.
> 
> I hope that one of you knows what is going on?

The eps file may be corrupt (perhaps it doesn't have a bounding box?).
Was the eps file generated on Windows ?  (the default postscript driver in
Windows is not good).



Re: accented characters with lyx-1.1.6

2001-01-26 Thread Jean-Marc Lasgouttes

> "Arnaud" == Arnaud Turier <[EMAIL PROTECTED]> writes:

>>  There have been indeed some changes in this code, but it is still
>> supposed to work...
>> 
>> What version of xforms? Newer or older than 0.89.5 (look at the
>> configure output).

Arnaud> I'm using Xforms 0.88 as recommended in the INSTALL file

Arnaud> I think my problem is highlight too, by Matej Cepl, Subject:
Arnaud> [Fwd: LyX 1.1.6 and dead keys] , Date: Sat, 20 Jan 2001
Arnaud> 03:26:43 -0800

After verification, their problem was with keymaps, which will be
fixed in next release. Compose key is probably a different problem.
You should maybe try to recompile against xforms 0.89.6.

JMarc



Re: Working with multipart documents

2001-01-26 Thread Michael Zapf

Dekel Tsur wrote:

> On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
> > And now for the cross references. Lets add a "... like in section x.y".
> > This section is in another LyX file. How do I insert this reference?
>
> Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
> and you want to insert a label from chap2.lyx to chap1.lyx.
> There are three methods:
>
> 1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
> Now, whenever you open the insert reference dialog in chap1.lyx, you will
> get a list of all labels in all the files.

Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
like "Take references from file(s)..."?

> 3. In LyX 1.1.6, type M-x reference-insert ref|++||++| where  is
> the required label.

I'd prefer option 1.

Thanks for your help. The users guide/extended guide should contain this info.

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Institut fuer Informatik, FB Biologie und Informatik
* (Institute for Comp.Science, Dept. of Comp.Science and Biology)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





.eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Anna H.Pryor

I am using 1.1.5fix2 on linux.

Here is a sample of what I was talking about.  Maybe one of you can get it to 
show up in lyx??  I have a friend at work who works in LaTex and she had no 
problem getting it to show up in her document, so I know that the problem is 
with Lyx.  It does have a bounding box.

The file was made on a PC using raw pictures and Adobe Photoshop.

Any help would be greatly appreciated!

Anna







 Fig3.eps


math formula in a framebox

2001-01-26 Thread Reinhard Borek

Hello,
how I can do in Lyx a math formula in display mode in a framebox? 

Thanks, Reinhard
-- 
[EMAIL PROTECTED]
Reinhard Borek
BoRaGlas GmbH i. G.
c/o Fachbereich Physik
Fachgruppe Exp. Phys. I
Martin-Luther-Universität Halle-Wittenberg
Friedemann-Bach-Platz 6
06108 Halle/Saale



Re: Working with multipart documents

2001-01-26 Thread Jan Goebel

On Fri, 26 Jan 2001, Michael Zapf wrote:

> > 1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
> > Now, whenever you open the insert reference dialog in chap1.lyx, you will
> > get a list of all labels in all the files.
> 
> Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
> like "Take references from file(s)..."?
> 
> > 3. In LyX 1.1.6, type M-x reference-insert ref|++||++| where  is
> > the required label.
> 
> I'd prefer option 1.
> 
> Thanks for your help. The users guide/extended guide should contain this info.

There is a information in the ext. guide, but only to method 2.
There should be a info about the more comfortable master-files-method, too.

1.4.2 Cross-References Between Files

It is possible to set up cross-references between the different files. 
First, open all the files in question: let's call them A and B in a two 
file example, where B is included in A. Let's say you insert a label in A, 
then want to reference it in B. Switch to A, then select 
Insert->Cross-Reference. Now switch the document to B without closing 
the cross-reference popup. Insert the cross reference and you are done! 
When you preview file A, everything is properly included and labeled. 
If you accidentally close the popup, then reopen it while you are in B, 
you will only see B's labels. This whole procedure is perhaps a bit 
counterintuitive (it has even been called a bug), but it does work.



jan

-- 
+---
 Jan Goebel (mailto:[EMAIL PROTECTED])

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Königin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+---



Re: figure problems

2001-01-26 Thread Jean-Pierre.Chretien


>>Date: Fri, 26 Jan 2001 15:55:28 +0200
>>From: Dekel Tsur <[EMAIL PROTECTED]>
>>To: "Anna H.Pryor" <[EMAIL PROTECTED]>, LyX users 
<[EMAIL PROTECTED]>
>>Subject: Re: figure problems
>>Mail-Followup-To: "Anna H.Pryor" <[EMAIL PROTECTED]>, LyX users 
<[EMAIL PROTECTED]>
>>
>>On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
>>> I am using 1.1.5fix2 on linux.
>>> 
>>> Someone sent me some .eps files that I would like to include in a paper that 
I 
>>> am writing.  I have already included some .eps files generated from matlab 
with 
>>> no problem.
>>> 
>>> When I try to include these .eps files in a float figure, I am able to 
preview 
>>> the figure in the ghostview screen.  However, when I try to bring up a 
>>> postscript version of the paper I get the message:
>>> 
>>> dvips: ! premature end of file in binary section.

Hhm, isn't binary section epsi specific ?
Get rid of the «i» part would solve the problem perhaps.

Bad quality of Windows PS drivers result rather in image
disappearing in the printed documnet because of EPS forbidden
constructs.

-- 
Jean-Pierre


-- 
JP
>>> 
>>> The postscript version will not come up at all...not even anything else that 
I 
>>> have written.
>>> 
>>> I hope that one of you knows what is going on?
>>
>>The eps file may be corrupt (perhaps it doesn't have a bounding box?).
>>Was the eps file generated on Windows ?  (the default postscript driver in
>>Windows is not good).




Re: math formula in a framebox

2001-01-26 Thread Jean-Pierre.Chretien


>>From: Reinhard Borek <[EMAIL PROTECTED]>
>>To: Lyx-User <[EMAIL PROTECTED]>
>>Subject: math formula in a framebox
>>Date: Fri, 26 Jan 2001 15:26:46 +0100
>>
>>Hello,
>>how I can do in Lyx a math formula in display mode in a framebox? 
>>
>>Thanks, Reinhard
>>-- 

Try amsmath, I think it works there.

-- 
Jean-Pierre




Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 03:09:31PM +0100, Michael Zapf wrote:
> > On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
> > > And now for the cross references. Lets add a "... like in section x.y".
> > > This section is in another LyX file. How do I insert this reference?
> >
> > Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
> > and you want to insert a label from chap2.lyx to chap1.lyx.
> > There are three methods:
> >
> > 1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
> > Now, whenever you open the insert reference dialog in chap1.lyx, you will
> > get a list of all labels in all the files.
> 
> Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
> like "Take references from file(s)..."?

I am planning to add this.



.eps files not showing up in lyx

2001-01-26 Thread Anna H.Pryor

First let me apologize for sending out such a large file to the mailing list...I 
had no idea...I guess that I am used to big government computers with seemingly 
infinitely large resources.  I thought it would help to explain my problem.  I 
didn't think that it would make problems for you.

Secondly, someone has suggested that 1.1.6 on linux will work with the .eps 
files that I have, so I am going to try downloading that first and see if I can 
get that to work first.  Thanks for your help.  I will let you know.

Anna








Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 06:31:47AM -0800, Anna H.Pryor wrote:
> I am using 1.1.5fix2 on linux.
> 
> Here is a sample of what I was talking about.  Maybe one of you can get it to 
> show up in lyx??  I have a friend at work who works in LaTex and she had no 
> problem getting it to show up in her document, so I know that the problem is 
> with Lyx.  It does have a bounding box.
> 
> The file was made on a PC using raw pictures and Adobe Photoshop.

The problem is in dvips, not in LyX (and I suppose that your friend uses
LaTeX on Windows, so her dvi->ps program is different).

You can fix the problem in the eps file by running 
 epstopdf Fig3.pdf
 pdf2ps Fig3.pdf Fig3.eps

(and the size of the result file is half of the original!)




Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Stephan E. Schlierf

"Anna H.Pryor" wrote:
> 
> I am using 1.1.5fix2 on linux.
> 
> Here is a sample of what I was talking about.  Maybe one of you can get it to
> show up in lyx??  I have a friend at work who works in LaTex and she had no
> problem getting it to show up in her document, so I know that the problem is
> with Lyx.  It does have a bounding box.
> 
> The file was made on a PC using raw pictures and Adobe Photoshop.
> 
> Any help would be greatly appreciated!
> 
> Anna
> 

Hi Anna,
I don´t know whether this really helps you but I had no problem to
insert it into a LyX-document. I did it via "Insert" -> "Picture" ->
"Encapsulated Postscript" (I´m not quite sure whether the menu items are
correct; I use the german localization of LyX).

Stephan
-- 
Stephan E. Schlierf M.A.
- chief concept & design developer -
speed2web GmbH Germany
FON: ++49 921 99 00 86 12
FAX: ++49 921 99 00 86 70
http://www.speed2web.de



Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Wolfgang Kilian

Hello Anna and Dekel,
 
> You can fix the problem in the eps file by running 
>  epstopdf Fig3.pdf
>  pdf2ps Fig3.pdf Fig3.eps
> 
> (and the size of the result file is half of the original!)

I've also tried a little bit with the eps fiel. You are right after your 
'process' the Fig3.eps is half the sice but no longer displyable (at 
least on my system SUSE-Linux 6.3). The Fig3.pdf is nice, but Fig3.eps at 
the end always clears the page at the end.

I'm quite sure that the real problem is in the original eps file itselfe 
(which in fact does not disply yust the immage but the hole page). 
With LYX1.1.5.fix1 I can include the orig. Fig and see it. With 'View 
DVI' I get a reasonable output. But with view PS there is nothing 
happening. With export PS and starting ghostview externaly I get after 
the Fig is drawn the error:
Error: PostScript interpreter failed in main window.

So it seem for me that the PS-fiel has some strange commands at the  end. 
Unfortunately I'm not that familiar with PS-language. Maybe that the 
person you've got the Fig3.eps may export it in a nother way.

I don't know if that helps anybody, but good luck 

Wolfgang



Re: math formula in a framebox

2001-01-26 Thread Herbert Voss

Reinhard Borek wrote:
> 
> how I can do in Lyx a math formula in display mode in a framebox?=20

\fbox{\parbox{\columnwidth}{% in tex(red)
...the blue LyX mathbox...
}}% in tex(red)

for colored boxes have a look at

http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#equn_2

Herbert


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




Re: Working with multipart documents

2001-01-26 Thread mike.ressler

On Fri, 26 Jan 2001, Michael Zapf wrote:

> Dekel Tsur wrote:
> > Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
> > and you want to insert a label from chap2.lyx to chap1.lyx.
> > There are three methods:
> >
> > 1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
> > Now, whenever you open the insert reference dialog in chap1.lyx, you will
> > get a list of all labels in all the files.
>
> I'd prefer option 1.
>
> Thanks for your help. The users guide/extended guide should contain this info.

Section 1.4.2 of Extended.

Mike

-- 
Mike Ressler
[EMAIL PROTECTED]
OK, I'm lame: I don't have my own website ...




..eps file will not show up in lyx but will show up in > ghostview 9015 by: Anna H.Pryor

2001-01-26 Thread Bronek Baraniecki

Hi,
 I canview your Fig3.eps in ghostview and in Lyx as well.

Go like this in Lyx:

1.  Menu Insert -> Floats -> Figure Floats
2. Menu Insert -> Figure

It should be OK.

Good Luck

Bronek
-- 
Bronek Baraniecki
[EMAIL PROTECTED]



Re: Can I pipe a text region to a shell command?

2001-01-26 Thread Guido Milanese

Just another hint about this thread of some days ago. Another good 
editor (not so complete as the mytical emacs, obviously!) is nedit 
(http://nedit.org). I found it in my distribution (mandrake 7.2) and I 
like it. It offers  some shell commands, as wc and sort. The default is 
csh, so if you use bash you need some adaptations.

gm

--
E-Mail: Guido Milanese <[EMAIL PROTECTED]>
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



BibTeX problem

2001-01-26 Thread Guido Milanese

I think I am doing a stupid error in my bibtex files.
I cannot use crossref. Both from within Lyx and from running direct 
LaTeX, the "missing" fields are not added -- regardless the style I use.
I followed the instructions given in the standard manuals regarding 
order of entries.

Example (partially faked):

@InBook{Ludwig:Musik,
  Author = {Ludwig, Friedrich},
  Title  = {Die geistliche nichtliturgische {M}usik},
  Pages  = {157-295},
  crossref   = {Adler:Handbuch}, 
}

should be crossreferenced to:

@Book{Adler:Handbuch,
  Author = {Adler, Guido},
  Title  = {Handbuch der {M}usikgeschichte},
  Publisher  = {Keller},
  Address= {Berlin},
  Note   = {2 voll.},
  booktitle  = {Handbuch der {M}usikgeschichte},  
  year   = 1930,
}

In the output, the booktitle (Handbuch der {M}usikgeschichte) is 
missing.

What am I doing wrong?

Thanks!

Guido, Italy


--
E-Mail: Guido Milanese <[EMAIL PROTECTED]>
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--



Re: BibTeX problem

2001-01-26 Thread Christopher Jones

Just making sure-- the item you are crossrefing must appear -after- the
crossrefing entry in your database file. Thus: your @book must appear after your
@inbook. 


On Fri, 26 Jan 2001, you wrote:
> I think I am doing a stupid error in my bibtex files.
> I cannot use crossref. Both from within Lyx and from running direct 
> LaTeX, the "missing" fields are not added -- regardless the style I use.
> I followed the instructions given in the standard manuals regarding 
> order of entries.
> 
> Example (partially faked):
> 
> @InBook{Ludwig:Musik,
>   Author = {Ludwig, Friedrich},
>   Title  = {Die geistliche nichtliturgische {M}usik},
>   Pages  = {157-295},
>   crossref   = {Adler:Handbuch}, 
> }
> 
> should be crossreferenced to:
> 
> @Book{Adler:Handbuch,
>   Author = {Adler, Guido},
>   Title  = {Handbuch der {M}usikgeschichte},
>   Publisher  = {Keller},
>   Address= {Berlin},
>   Note   = {2 voll.},
>   booktitle  = {Handbuch der {M}usikgeschichte},  
>   year   = 1930,
> }
> 
> In the output, the booktitle (Handbuch der {M}usikgeschichte) is 
> missing.
> 
> What am I doing wrong?
> 
> Thanks!
> 
> Guido, Italy
> 
> 
> --
> E-Mail: Guido Milanese <[EMAIL PROTECTED]>
> Vocal Ensemble Ars Antiqua, Genova, Italia
> Homepage: http://www.arsantiqua.org
> + + + + + + NON NOBIS DOMINE + + + + + + +
> --



Re: BibTeX problem

2001-01-26 Thread Guido Milanese

Die ven, 26 gen 2001, Christopher Jones haec scripsit:
> Just making sure-- the item you are crossrefing must appear -after-
> the crossrefing entry in your database file. Thus: your @book must
> appear after your @inbook.

Yes, thanks. I checked it -- I followed the standard instructions. All 
the other fields, in fact, are correctly filled, but not the title.

thanks,
gm

--
E-Mail: Guido Milanese <[EMAIL PROTECTED]>
Vocal Ensemble Ars Antiqua, Genova, Italia
Homepage: http://www.arsantiqua.org
+ + + + + + NON NOBIS DOMINE + + + + + + +
--