Re: Latex errors concerning floats and pictures

2000-11-30 Thread Jan Goebel

On Wed, 29 Nov 2000, A. D. wrote:

 After some writing I added floats and pictures. Everything was fine
 until I added more floats and pictures: Suddenly a number of errors
 occured like:
 
 1. ! LaTeX Error: Too many unprocessed floats.

LaTeX trys to arrange text an floats (figures/tables), but if you 
have no text between your floats it can't do this. 
So if you really want this arrangement of floats you have to do a
\clearpage or
\cleardoublepage
both in tex-mode (red) in lyx.

greetings

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
+---



lyx 1.1.5fix2, Bibliography

2000-11-30 Thread Haase . Hartmut

Why does "Bibliography" not appear in "Contents"? I know that Bibliography
is always the last page but I'd like to know at the beginning if there is
any.
Regards,
H. Haase





Re: Latex errors concerning floats and pictures

2000-11-30 Thread Angus Leeming

On Wednesday 29 November 2000 01:37, A. D. wrote:

  Hi

 In advance I have to say, that I'm new to lyx and a latex dummy. I just
 checked the possibilities of klyx and I was very impressed on the speed
 and the layout.

I see that your problem has been addressed already by Jan Goebel. I'd just 
add that LyX is now so much more advanced than klyx that it seems sad to not 
use all the power available for the sake of a prettier interface. In the not 
too distant future LyX will get a KDE frontend again; in the meantime I'd 
stick with LyX's ugly GUI and greater power.

Angus




 After some writing I added floats and pictures. Everything was fine
 until I added more floats and pictures: Suddenly a number of errors
 occured like:


 1. ! LaTeX Error: Too many unprocessed floats.
 l.174 {
 \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
 You've lost some text.  Try typing  return  to proceed.
 If that doesn't work, type  X return  to quit.


 2. ! Undefined control sequence.
 \@xfloat ...@fltovf \fi \global \setbox \@currbox
 \color@vbox \normalcolor \...
 l.174 {
 \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 3. ! Missing number, treated as zero.
 to be read again
 \color@vbox
 l.174 {
 \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
 A number should have been here; I inserted `0'.
 (If you can't figure out why I needed to see a number,
 look up `weird error' in the index to The TeXbook.)



 Attached you will find the *.log-, *.lyx and LaTexConfig.lyx-files.
 Sometimes it works, when I change the "float placement" to "top" or
 "here".
 But thats not very usefull and also it is not reproducible.

 Do I have to add something to the LaTex-Preface or is it just a simple
 mistake I made?
 Do I have to check and fix the Tex-code by hand and if that's necessary,
 is this very common and does such problems happen very often?

 I'm using klyx 0.10.0 with the SuSE-Linux-Distribution 6.3.

 Thanks in advance.

 Andi


Content-Type: text/plain; charset="us-ascii"; name="murks.lyx"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; charset="us-ascii"; name="murks.log"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; charset="iso-8859-1"; name="LaTeXConfig.lyx"
Content-Transfer-Encoding: quoted-printable
Content-Description: 




Re: off-system printing

2000-11-30 Thread Andre Berger

Tuukka Toivonen [EMAIL PROTECTED] writes:

 On 28 Nov 2000, Andre Berger wrote:
 
  Tomas Sanchez [EMAIL PROTECTED] writes:
  - use PostScript fonts in LaTeX/LyX, prefer "Times" (expands to Times,
  Helvetica, Courier)
 
 Yes, sure, it makes the document to look better on Acrobat, but if your
 dvips has configured to use same resolution as printer, it should have
 no effect on printing quality.
  - use pstopdf (from xpdf) instead of ps2pdf; read the man pages for both!
 
 Correct me if I'm wrong but I don't think xpdf comes with pstopdf; xpdf is
 pdf reader, not ps. It comes only with pdftops, which makes better quality
 ps files than pdf2ps (from ghostscript) but doesn't work on almost every
 file like pdf2ps.

You're right in both, my apologies. For pdf to ps, I just print to a file...

Andre



Re: lyx 1.1.5fix2, Bibliography

2000-11-30 Thread German Poo Caaman~o

On Thu, 30 Nov 2000 [EMAIL PROTECTED] wrote:
 Why does "Bibliography" not appear in "Contents"? I know that Bibliography
 is always the last page but I'd like to know at the beginning if there is

\usepackage[chapter]{tocbibind}

(on LaTeX preamble)

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Baruch Even

On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

 Hi all,
 
 pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
 at the command line, it starts up). Now when I click on View-PDF
 (Pdflatex) I get the following messages in the terminal, where I started
 lyx
 
 Converting from  latex to pdf2
 Running none
 sh: none: command not found
 Executing command: acroread test.pdf
 
 What's wrong?

LyX doesn't know about the newly installed pdflatex. Try running lyx,
going to to the Edit menu and choose 'Reconfigure'. Now close lyx and
start it again, at this stage you should be able to use export to pdf.

Notice that the conversion from latex to pdf2 tries to run a program
called 'none' instead of 'pdflatex'.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/(My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: lyx 1.1.6pre2 shortcuts

2000-11-30 Thread Angus Leeming

The tiny patch, attached, "fixes" this problem. Don't know if this is the 
right approach though.

Angus



On Wednesday 29 November 2000 19:07, Angus Leeming wrote:
 On Wednesday 29 November 2000 19:59, Herbert Voss wrote:
  "Lars Gullik Bjønnes" wrote:
   Herbert Voss [EMAIL PROTECTED] writes:
   | when i start lyx without any existing ~/.lyx/preferences
   | i have the shortcuts displayed and i can use them with
   | the keyboard. if i change any of the options in the
   | preferences, close lyx and restart, the displayed shortcuts
   | are gone and i can't use the keybord-shortcuts, too.
   | deleting the preferences-file and restarting lyx
   | gives the old situation with the displayed shortcuts
   | and working keyboard-shortcuts.
  
   What is the bind file in preferences set to then?
 
  menues.bind
 
  i can start preferences, doing nothing, saving and restarting
  lyx is the same: no shortcuts anyway.
 
  Herbert

 This is wrong. It should be emacs.bind, cua.bind or whatever you prefer.
 menus.bind is most definitely wrong. Maybe these files should be moved to
 ui/ rather than bind/ ?

 Angus

 patch.diff.bz2


Re: lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Angus Leeming

If you didn't apply that internationalisation patch that I sent you, then 
this may well be the same problem.

Could you set LANG=C in a terminal and then run lyx from there.

I've just successfully run pdflatex on the UserGuide (well actually I got 
some errors but that's another story). Running "top" in another window  
should show you that lots of fonts are being generated ("mf" is running) and 
"pdftex" runs in bwteen times too.

Angus




On Thursday 30 November 2000 12:43, Rainer Hoffmann wrote:
 Hi all,

 pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
 at the command line, it starts up). Now when I click on View-PDF
 (Pdflatex) I get the following messages in the terminal, where I started
 lyx

 Converting from  latex to pdf2
 Running none
 sh: none: command not found
 Executing command: acroread test.pdf

 Then Acrobat Reader starts with an error message that he can't find the
 document.

 What's wrong?

 Rainer



Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Rainer Hoffmann

Hi all,

Two things about the new possibility to insert raster images (which is great!):
1) I expected the menu entry to insert an raster image under Insert-... and not
under File-Insert.
2) What I really miss are all the nice settings from the eps-figure: Width and
Heigth in relative and absolute values, and the rotation angle

Bye,

Rainer




Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Baruch Even

On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

 Hi all,
 
 Two things about the new possibility to insert raster images (which is great!):
 1) I expected the menu entry to insert an raster image under Insert-... and not
 under File-Insert.

For that I have no answer, ask those who decided on the menu layout.
Anyway you can change the menu layout yourself just edit the file
INSTALL_DIR/share/lyx/ui/default.ui

It's yours to do whatever you want :-)

 2) What I really miss are all the nice settings from the eps-figure: Width and
 Heigth in relative and absolute values, and the rotation angle

This is a side effect of the new and powerfull External Inset, this inset
can be used to import almost any type of data into lyx, it was not
intended (at least in its first iteration) to provide full support for
graphics files so it doesn't have the resize and rotate options. You can
manually convert your images to EPS and use the Inset-Figure to insert it
as usual.

In the next version (1.2.0) InsetGraphics is going to make its first
(official) appearance and this will allow you to insert bitmap images.

Possibly in a later revision InsetGraphics and InsetExternal will be
joined to provide a capable inclusion mechanism that will handle
everything.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/(My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: 1.1.6pre2 problem with Pref. menu

2000-11-30 Thread Jean-Marc Lasgouttes

 "Allan" == Allan Rae [EMAIL PROTECTED] writes:

Allan Preferences uses nested tabbed folders. Clicking on "lookfeel"
Allan makes the tab folders nested within it visible. What visual
Allan clues would help make this clear? Originally there was a larger
Allan space around the nested folders but it looked a bit silly so I
Allan collapsed them into the compact arrangement we have now.

It would probably be nice to change the font of the active tabs to
bold, but I do not know how to do that.

JMarc



Re: About SGML to HTML

2000-11-30 Thread Jose Abilio Oliveira Matos

On Wed, Nov 29, 2000 at 09:03:07AM +0100, blackziggy wrote:
 Hi !
 
 Some little questions 4 you:
 
 Last nigth i insert the ToC in the lyx file, but the sgml conversion only
 works if the label is after then name of the sections, like:
 
 
   ,-.
 1.- Introduction  | sec:Introduction |
   `-4
 
 That's when the sgml file has the ToC.
 But if it's before than the section name, there isn't (in the sgml file)
 ToC. Only something like:
 1.-
 2.-
   2.1.-
   2.2.-
 3.-
 (...) etc.

  Could you send a small file that shows this?
  A small lyx file, please.
  
 Thanks
 
 Dooteo
 

-- 
José



lyx 1.1.6pre2

2000-11-30 Thread Herbert Voss

please try:

open the latex preamble and put the cursor in the standard
text-window: the preamble-window does not switch to the
background it appears always on top. working in the text-
window is possible.

suse - linux 2.2.14

Herbert

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



Re: lyx 1.1.6pre2

2000-11-30 Thread Lars Gullik Bjønnes

Herbert Voss [EMAIL PROTECTED] writes:

| please try:
| 
| open the latex preamble and put the cursor in the standard
| text-window: the preamble-window does not switch to the
| background it appears always on top. working in the text-
| window is possible.
| 
| suse - linux 2.2.14

I guess this depends on the wm used.

Anyhow... I not sure it is a bad thing.

Lgb




Re: lyx 1.1.6pre2

2000-11-30 Thread Angus Leeming

So I see. 

This is the result of all LyX's popups now being marked FL_TRANSIENT as they 
"belong" to the main lyx window. 

Angus


On Thursday 30 November 2000 16:50, Herbert Voss wrote:
 please try:

 open the latex preamble and put the cursor in the standard
 text-window: the preamble-window does not switch to the
 background it appears always on top. working in the text-
 window is possible.

 suse - linux 2.2.14

 Herbert



Re: lyx 1.1.6pre2

2000-11-30 Thread Herbert Voss

"Lars Gullik Bjønnes" wrote:
 
 Herbert Voss [EMAIL PROTECTED] writes:
 
 | please try:
 |
 | open the latex preamble and put the cursor in the standard
 | text-window: the preamble-window does not switch to the
 | background it appears always on top. working in the text-
 | window is possible.
 |
 | suse - linux 2.2.14
 
 I guess this depends on the wm used.
 
 Anyhow... I not sure it is a bad thing.

i saw, it's for all other windows, too. this not in 1.1.5
therefore it does not belong to wm. anyway, i agree with
you, but for me it was a good feature, when latex preamble
switches to background, when i have complicated stuff in
preamble and looking for errors in preamble/text. 

Herbert

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



Re: lyx 1.1.6pre2

2000-11-30 Thread Lars Gullik Bjønnes

Herbert Voss [EMAIL PROTECTED] writes:

| i saw, it's for all other windows, too. this not in 1.1.5
| therefore it does not belong to wm. anyway, i agree with
| you, but for me it was a good feature, when latex preamble
| switches to background, when i have complicated stuff in
| preamble and looking for errors in preamble/text. 

We only tell the wm that we want handlign similar to this... it is up
to the wm to act upon it.

Lgb



Installing Problems

2000-11-30 Thread Jürgen Spitzmüller

Hello out there!

I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
Now I wanted to install it on my laptop. But I can't get it work. When I try 
to start lyx in the XTerm, I get the following message:

"lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
under the Help menu and then send us a full bug report, Thanks!"

I tried it with the 1.1.5fix1 and fix2 RPM-files and also with the tar.gz - 
always the same result.
Surprisingly, if I install version 1.1.4fix3 from my SuSE 7.0 CD-Rom (which 
file has 8 MB, btw), this version works!

As you might have realized, my operating system is SuSE Linux 7.0 (with less 
packages on the laptop).

Well, after this hard day, you are my last hope...

Thanks in advance,

Juergen.
-- 
Dorfstr. 55
79341 Hecklingen
Tel.: 07644/ 930642
Fax: 07644/ 930643



Re: Installing Problems

2000-11-30 Thread Florian Cramer

Am Thu, 30.Nov.2000 um 19:00:38 +0100 schrieb Jürgen Spitzmüller:
 I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
 Now I wanted to install it on my laptop. But I can't get it work. When I try 
 to start lyx in the XTerm, I get the following message:
 
 "lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
 under the Help menu and then send us a full bug report, Thanks!"

I once had the same problem with a laptop installation. Is it possible that
you didn't install the standard X11 fonts (75 or 100dpi)?

Florian

-- 
http://userpage.fu-berlin.de/~cantsin/
http://www.complit.fu-berlin.de/institut/lehrpersonal/cramer.html
PGP public key ID 6440BA05 



Pagestyle help

2000-11-30 Thread Nick DeClario

I am trying to make my own custom pagestyle instead of using the
standard fancy, plain, headings and default ones.  I haven't been able
to find any information on how to go about doing this.  I pretty much
want the top of the left sided pages to have a line and say the section
number and title while the right side has a line with the subsection
number and title.  Is this possible?  Where could I look to find
information on how to do this?  Thanks.

-Nick



Re: Pagestyle help

2000-11-30 Thread Jan Goebel

Hello,

why you don't use fanyhdr, you can customize it!
Look at (on Linux)
/usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi

Or have a look at:
http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#fancy_1

Hope it helps

Jan

On Thu, 30 Nov 2000, Nick DeClario wrote:

 I am trying to make my own custom pagestyle instead of using the
 standard fancy, plain, headings and default ones.  I haven't been able
 to find any information on how to go about doing this.  I pretty much
 want the top of the left sided pages to have a line and say the section
 number and title while the right side has a line with the subsection
 number and title.  Is this possible?  Where could I look to find
 information on how to do this?  Thanks.
 
   -Nick

-- 
+---
 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
+---



Section with line (slightly off-topic)

2000-11-30 Thread Matej Cepl

Hi,

trying to create sectino with line. What I mean is something
like this

Section title___ (to the right edge)

Even though I persuade both titlesec and sectsty very
forcefully, neither of them seems to be of any help. The best
what I can get is the line BELOW the section title not on the
same line by this definition in preamble:

\usepackage{sectsty}
\makeatletter
\newcommand{\nadpisline}[1]{%
 \ttfamily
 \huge
 \bfseries
#1
 \hrulefill 
}

\makeatother
\sectionfont{\nadpisline}

Other unwanted result is by this: 

\usepackage{titlesec}
\titleformat{\section}[hang]
 {\ttfamily\huge\bfseries}
 {}{}{\hrulefill}

which makes line in beginning of the line not in its end.

I am counting my penalty points for off-topic question, but I
have not been really able to find answer anywhere else.

Thanks

Matej Cepl




Re: Section with line (slightly off-topic)

2000-11-30 Thread Herbert Voss

Matej Cepl wrote:
 
 Hi,
 
 trying to create sectino with line. What I mean is something
 like this
 
 Section title___ (to the right edge)
 
 Even though I persuade both titlesec and sectsty very
 forcefully, neither of them seems to be of any help. The best
 what I can get is the line BELOW the section title not on the
 same line by this definition in preamble:
 
 \usepackage{sectsty}
 \makeatletter
 \newcommand{\nadpisline}[1]{%
  \ttfamily
  \huge
  \bfseries
 #1
  \hrulefill
 }
 

why don't you use

Your Sectiontitle \hrulefill

with style chapter, section or any otherone and \hrulefill in tex(red)

Herbert

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



Re: Installing Problems

2000-11-30 Thread Jürgen Spitzmüller

Am Donnerstag, 30. November 2000 21:42 schrieben Sie:

  I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
  Now I wanted to install it on my laptop. But I can't get it work. When I
  try to start lyx in the XTerm, I get the following message:
 
  "lyx: SIGSEGV signal caught
  Sorry, you have found a bug in LyX. If possible, please read 'known bugs'
  under the Help menu and then send us a full bug report, Thanks!"

 I once had the same problem with a laptop installation. Is it possible that
 you didn't install the standard X11 fonts (75 or 100dpi)?

 Florian

I have just checked it, but it seems that all necessary fonts are installed.
I don't know if this is important, but I had the strange idea to install 
Netscape to check out if it's running. And it does. But Lyx still doesn't.

Juergen 

-- 
Dorfstr. 55
79341 Hecklingen
Tel.: 07644/ 930642
Fax: 07644/ 930643



1.1.6.pre2 package geometry

2000-11-30 Thread Herbert Voss

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

is there any sense for this new behaviour?

Herbert

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



Re: Installing Problems

2000-11-30 Thread Allan Rae

On Thu, 30 Nov 2000, Jürgen Spitzmüller wrote:

 Hello out there!
 
 I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
 Now I wanted to install it on my laptop. But I can't get it work. When I try 
 to start lyx in the XTerm, I get the following message:
 
 "lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
 under the Help menu and then send us a full bug report, Thanks!"
 
 I tried it with the 1.1.5fix1 and fix2 RPM-files and also with the tar.gz - 
 always the same result.
 Surprisingly, if I install version 1.1.4fix3 from my SuSE 7.0 CD-Rom (which 
 file has 8 MB, btw), this version works!
 
 As you might have realized, my operating system is SuSE Linux 7.0 (with less 
 packages on the laptop).
 
 Well, after this hard day, you are my last hope...

If your laptop has fewer colours than your desktop (8bit vs 16bit for
example) then there is a very good chance you are triggering a bug caused
by the use of the incorrect version of the xforms library.

Make sure the xforms library matches your glibc version.

There are a number of distributions that include xforms as an extra
package and include a version compiled for an earlier glibc version. For
SuSE-70 which uses glibc-2.1.3 IIRC you should ensure that the xforms
library you installed was called something like
xforms-0.8X-glibc2.1.tar.gz where X is either an 8 or a 9.

If you installed an xforms rpm then you may not see mention of which glibc
that xforms version was meant for.

Allan. (ARRae)




Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Rainer Hoffmann

Just to make this clear to me: Is there any way now to insert a raster image via the
External Inset and scale down the resulting eps-file or can I just scale down the
raster image via -geometry and loose information?

Rainer Hoffmann

Baruch Even schrieb:

 On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

  Hi all,
 
  Two things about the new possibility to insert raster images (which is great!):
  1) I expected the menu entry to insert an raster image under Insert-... and not
  under File-Insert.

 For that I have no answer, ask those who decided on the menu layout.
 Anyway you can change the menu layout yourself just edit the file
 INSTALL_DIR/share/lyx/ui/default.ui

 It's yours to do whatever you want :-)

  2) What I really miss are all the nice settings from the eps-figure: Width and
  Heigth in relative and absolute values, and the rotation angle

 This is a side effect of the new and powerfull External Inset, this inset
 can be used to import almost any type of data into lyx, it was not
 intended (at least in its first iteration) to provide full support for
 graphics files so it doesn't have the resize and rotate options. You can
 manually convert your images to EPS and use the Inset-Figure to insert it
 as usual.

 In the next version (1.2.0) InsetGraphics is going to make its first
 (official) appearance and this will allow you to insert bitmap images.

 Possibly in a later revision InsetGraphics and InsetExternal will be
 joined to provide a capable inclusion mechanism that will handle
 everything.

 --
   Baruch Even

 http://techst02.technion.ac.il/~sbaruch/   (My Site)
 http://www.redrival.com/jindor/(My brothers ADD site)

 " Learn to laugh ... it's the path to true love! "
- The Angel in the movie Michael




Re: Latex errors concerning floats and pictures

2000-11-30 Thread Jan Goebel

On Wed, 29 Nov 2000, A. D. wrote:

 After some writing I added floats and pictures. Everything was fine
 until I added more floats and pictures: Suddenly a number of errors
 occured like:
 
 1. ! LaTeX Error: Too many unprocessed floats.

LaTeX trys to arrange text an floats (figures/tables), but if you 
have no text between your floats it can't do this. 
So if you really want this arrangement of floats you have to do a
\clearpage or
\cleardoublepage
both in tex-mode (red) in lyx.

greetings

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
+---



lyx 1.1.5fix2, Bibliography

2000-11-30 Thread Haase . Hartmut

Why does "Bibliography" not appear in "Contents"? I know that Bibliography
is always the last page but I'd like to know at the beginning if there is
any.
Regards,
H. Haase





Re: Latex errors concerning floats and pictures

2000-11-30 Thread Angus Leeming

On Wednesday 29 November 2000 01:37, A. D. wrote:

  Hi

 In advance I have to say, that I'm new to lyx and a latex dummy. I just
 checked the possibilities of klyx and I was very impressed on the speed
 and the layout.

I see that your problem has been addressed already by Jan Goebel. I'd just 
add that LyX is now so much more advanced than klyx that it seems sad to not 
use all the power available for the sake of a prettier interface. In the not 
too distant future LyX will get a KDE frontend again; in the meantime I'd 
stick with LyX's ugly GUI and greater power.

Angus




 After some writing I added floats and pictures. Everything was fine
 until I added more floats and pictures: Suddenly a number of errors
 occured like:


 1. ! LaTeX Error: Too many unprocessed floats.
 l.174 {
 \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
 You've lost some text.  Try typing  return  to proceed.
 If that doesn't work, type  X return  to quit.


 2. ! Undefined control sequence.
 \@xfloat ...@fltovf \fi \global \setbox \@currbox
 \color@vbox \normalcolor \...
 l.174 {
 \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 3. ! Missing number, treated as zero.
 to be read again
 \color@vbox
 l.174 {
 \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
 A number should have been here; I inserted `0'.
 (If you can't figure out why I needed to see a number,
 look up `weird error' in the index to The TeXbook.)



 Attached you will find the *.log-, *.lyx and LaTexConfig.lyx-files.
 Sometimes it works, when I change the "float placement" to "top" or
 "here".
 But thats not very usefull and also it is not reproducible.

 Do I have to add something to the LaTex-Preface or is it just a simple
 mistake I made?
 Do I have to check and fix the Tex-code by hand and if that's necessary,
 is this very common and does such problems happen very often?

 I'm using klyx 0.10.0 with the SuSE-Linux-Distribution 6.3.

 Thanks in advance.

 Andi


Content-Type: text/plain; charset="us-ascii"; name="murks.lyx"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; charset="us-ascii"; name="murks.log"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; charset="iso-8859-1"; name="LaTeXConfig.lyx"
Content-Transfer-Encoding: quoted-printable
Content-Description: 




Re: off-system printing

2000-11-30 Thread Andre Berger

Tuukka Toivonen [EMAIL PROTECTED] writes:

 On 28 Nov 2000, Andre Berger wrote:
 
  Tomas Sanchez [EMAIL PROTECTED] writes:
  - use PostScript fonts in LaTeX/LyX, prefer "Times" (expands to Times,
  Helvetica, Courier)
 
 Yes, sure, it makes the document to look better on Acrobat, but if your
 dvips has configured to use same resolution as printer, it should have
 no effect on printing quality.
  - use pstopdf (from xpdf) instead of ps2pdf; read the man pages for both!
 
 Correct me if I'm wrong but I don't think xpdf comes with pstopdf; xpdf is
 pdf reader, not ps. It comes only with pdftops, which makes better quality
 ps files than pdf2ps (from ghostscript) but doesn't work on almost every
 file like pdf2ps.

You're right in both, my apologies. For pdf to ps, I just print to a file...

Andre



Re: lyx 1.1.5fix2, Bibliography

2000-11-30 Thread German Poo Caaman~o

On Thu, 30 Nov 2000 [EMAIL PROTECTED] wrote:
 Why does "Bibliography" not appear in "Contents"? I know that Bibliography
 is always the last page but I'd like to know at the beginning if there is

\usepackage[chapter]{tocbibind}

(on LaTeX preamble)

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Baruch Even

On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

 Hi all,
 
 pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
 at the command line, it starts up). Now when I click on View-PDF
 (Pdflatex) I get the following messages in the terminal, where I started
 lyx
 
 Converting from  latex to pdf2
 Running none
 sh: none: command not found
 Executing command: acroread test.pdf
 
 What's wrong?

LyX doesn't know about the newly installed pdflatex. Try running lyx,
going to to the Edit menu and choose 'Reconfigure'. Now close lyx and
start it again, at this stage you should be able to use export to pdf.

Notice that the conversion from latex to pdf2 tries to run a program
called 'none' instead of 'pdflatex'.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/(My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: lyx 1.1.6pre2 shortcuts

2000-11-30 Thread Angus Leeming

The tiny patch, attached, "fixes" this problem. Don't know if this is the 
right approach though.

Angus



On Wednesday 29 November 2000 19:07, Angus Leeming wrote:
 On Wednesday 29 November 2000 19:59, Herbert Voss wrote:
  "Lars Gullik Bjønnes" wrote:
   Herbert Voss [EMAIL PROTECTED] writes:
   | when i start lyx without any existing ~/.lyx/preferences
   | i have the shortcuts displayed and i can use them with
   | the keyboard. if i change any of the options in the
   | preferences, close lyx and restart, the displayed shortcuts
   | are gone and i can't use the keybord-shortcuts, too.
   | deleting the preferences-file and restarting lyx
   | gives the old situation with the displayed shortcuts
   | and working keyboard-shortcuts.
  
   What is the bind file in preferences set to then?
 
  menues.bind
 
  i can start preferences, doing nothing, saving and restarting
  lyx is the same: no shortcuts anyway.
 
  Herbert

 This is wrong. It should be emacs.bind, cua.bind or whatever you prefer.
 menus.bind is most definitely wrong. Maybe these files should be moved to
 ui/ rather than bind/ ?

 Angus

 patch.diff.bz2


lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Rainer Hoffmann

Hi all,

pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
at the command line, it starts up). Now when I click on View-PDF
(Pdflatex) I get the following messages in the terminal, where I started
lyx

Converting from  latex to pdf2
Running none
sh: none: command not found
Executing command: acroread test.pdf

Then Acrobat Reader starts with an error message that he can't find the
document.

What's wrong?

Rainer




Re: lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Angus Leeming

If you didn't apply that internationalisation patch that I sent you, then 
this may well be the same problem.

Could you set LANG=C in a terminal and then run lyx from there.

I've just successfully run pdflatex on the UserGuide (well actually I got 
some errors but that's another story). Running "top" in another window  
should show you that lots of fonts are being generated ("mf" is running) and 
"pdftex" runs in bwteen times too.

Angus




On Thursday 30 November 2000 12:43, Rainer Hoffmann wrote:
 Hi all,

 pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
 at the command line, it starts up). Now when I click on View-PDF
 (Pdflatex) I get the following messages in the terminal, where I started
 lyx

 Converting from  latex to pdf2
 Running none
 sh: none: command not found
 Executing command: acroread test.pdf

 Then Acrobat Reader starts with an error message that he can't find the
 document.

 What's wrong?

 Rainer



Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Rainer Hoffmann

Hi all,

Two things about the new possibility to insert raster images (which is great!):
1) I expected the menu entry to insert an raster image under Insert-... and not
under File-Insert.
2) What I really miss are all the nice settings from the eps-figure: Width and
Heigth in relative and absolute values, and the rotation angle

Bye,

Rainer




Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Baruch Even

On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

 Hi all,
 
 Two things about the new possibility to insert raster images (which is great!):
 1) I expected the menu entry to insert an raster image under Insert-... and not
 under File-Insert.

For that I have no answer, ask those who decided on the menu layout.
Anyway you can change the menu layout yourself just edit the file
INSTALL_DIR/share/lyx/ui/default.ui

It's yours to do whatever you want :-)

 2) What I really miss are all the nice settings from the eps-figure: Width and
 Heigth in relative and absolute values, and the rotation angle

This is a side effect of the new and powerfull External Inset, this inset
can be used to import almost any type of data into lyx, it was not
intended (at least in its first iteration) to provide full support for
graphics files so it doesn't have the resize and rotate options. You can
manually convert your images to EPS and use the Inset-Figure to insert it
as usual.

In the next version (1.2.0) InsetGraphics is going to make its first
(official) appearance and this will allow you to insert bitmap images.

Possibly in a later revision InsetGraphics and InsetExternal will be
joined to provide a capable inclusion mechanism that will handle
everything.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/(My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: 1.1.6pre2 problem with Pref. menu

2000-11-30 Thread Jean-Marc Lasgouttes

 "Allan" == Allan Rae [EMAIL PROTECTED] writes:

Allan Preferences uses nested tabbed folders. Clicking on "lookfeel"
Allan makes the tab folders nested within it visible. What visual
Allan clues would help make this clear? Originally there was a larger
Allan space around the nested folders but it looked a bit silly so I
Allan collapsed them into the compact arrangement we have now.

It would probably be nice to change the font of the active tabs to
bold, but I do not know how to do that.

JMarc



Re: About SGML to HTML

2000-11-30 Thread Jose Abilio Oliveira Matos

On Wed, Nov 29, 2000 at 09:03:07AM +0100, blackziggy wrote:
 Hi !
 
 Some little questions 4 you:
 
 Last nigth i insert the ToC in the lyx file, but the sgml conversion only
 works if the label is after then name of the sections, like:
 
 
   ,-.
 1.- Introduction  | sec:Introduction |
   `-4
 
 That's when the sgml file has the ToC.
 But if it's before than the section name, there isn't (in the sgml file)
 ToC. Only something like:
 1.-
 2.-
   2.1.-
   2.2.-
 3.-
 (...) etc.

  Could you send a small file that shows this?
  A small lyx file, please.
  
 Thanks
 
 Dooteo
 

-- 
José



lyx 1.1.6pre2

2000-11-30 Thread Herbert Voss

please try:

open the latex preamble and put the cursor in the standard
text-window: the preamble-window does not switch to the
background it appears always on top. working in the text-
window is possible.

suse - linux 2.2.14

Herbert

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



Re: lyx 1.1.6pre2

2000-11-30 Thread Lars Gullik Bjønnes

Herbert Voss [EMAIL PROTECTED] writes:

| please try:
| 
| open the latex preamble and put the cursor in the standard
| text-window: the preamble-window does not switch to the
| background it appears always on top. working in the text-
| window is possible.
| 
| suse - linux 2.2.14

I guess this depends on the wm used.

Anyhow... I not sure it is a bad thing.

Lgb




Re: lyx 1.1.6pre2

2000-11-30 Thread Angus Leeming

So I see. 

This is the result of all LyX's popups now being marked FL_TRANSIENT as they 
"belong" to the main lyx window. 

Angus


On Thursday 30 November 2000 16:50, Herbert Voss wrote:
 please try:

 open the latex preamble and put the cursor in the standard
 text-window: the preamble-window does not switch to the
 background it appears always on top. working in the text-
 window is possible.

 suse - linux 2.2.14

 Herbert



Re: lyx 1.1.6pre2

2000-11-30 Thread Herbert Voss

"Lars Gullik Bjønnes" wrote:
 
 Herbert Voss [EMAIL PROTECTED] writes:
 
 | please try:
 |
 | open the latex preamble and put the cursor in the standard
 | text-window: the preamble-window does not switch to the
 | background it appears always on top. working in the text-
 | window is possible.
 |
 | suse - linux 2.2.14
 
 I guess this depends on the wm used.
 
 Anyhow... I not sure it is a bad thing.

i saw, it's for all other windows, too. this not in 1.1.5
therefore it does not belong to wm. anyway, i agree with
you, but for me it was a good feature, when latex preamble
switches to background, when i have complicated stuff in
preamble and looking for errors in preamble/text. 

Herbert

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



Re: lyx 1.1.6pre2

2000-11-30 Thread Lars Gullik Bjønnes

Herbert Voss [EMAIL PROTECTED] writes:

| i saw, it's for all other windows, too. this not in 1.1.5
| therefore it does not belong to wm. anyway, i agree with
| you, but for me it was a good feature, when latex preamble
| switches to background, when i have complicated stuff in
| preamble and looking for errors in preamble/text. 

We only tell the wm that we want handlign similar to this... it is up
to the wm to act upon it.

Lgb



Installing Problems

2000-11-30 Thread Jürgen Spitzmüller

Hello out there!

I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
Now I wanted to install it on my laptop. But I can't get it work. When I try 
to start lyx in the XTerm, I get the following message:

"lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
under the Help menu and then send us a full bug report, Thanks!"

I tried it with the 1.1.5fix1 and fix2 RPM-files and also with the tar.gz - 
always the same result.
Surprisingly, if I install version 1.1.4fix3 from my SuSE 7.0 CD-Rom (which 
file has 8 MB, btw), this version works!

As you might have realized, my operating system is SuSE Linux 7.0 (with less 
packages on the laptop).

Well, after this hard day, you are my last hope...

Thanks in advance,

Juergen.
-- 
Dorfstr. 55
79341 Hecklingen
Tel.: 07644/ 930642
Fax: 07644/ 930643



Re: Installing Problems

2000-11-30 Thread Florian Cramer

Am Thu, 30.Nov.2000 um 19:00:38 +0100 schrieb Jürgen Spitzmüller:
 I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
 Now I wanted to install it on my laptop. But I can't get it work. When I try 
 to start lyx in the XTerm, I get the following message:
 
 "lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
 under the Help menu and then send us a full bug report, Thanks!"

I once had the same problem with a laptop installation. Is it possible that
you didn't install the standard X11 fonts (75 or 100dpi)?

Florian

-- 
http://userpage.fu-berlin.de/~cantsin/
http://www.complit.fu-berlin.de/institut/lehrpersonal/cramer.html
PGP public key ID 6440BA05 



Pagestyle help

2000-11-30 Thread Nick DeClario

I am trying to make my own custom pagestyle instead of using the
standard fancy, plain, headings and default ones.  I haven't been able
to find any information on how to go about doing this.  I pretty much
want the top of the left sided pages to have a line and say the section
number and title while the right side has a line with the subsection
number and title.  Is this possible?  Where could I look to find
information on how to do this?  Thanks.

-Nick



Re: Pagestyle help

2000-11-30 Thread Jan Goebel

Hello,

why you don't use fanyhdr, you can customize it!
Look at (on Linux)
/usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi

Or have a look at:
http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#fancy_1

Hope it helps

Jan

On Thu, 30 Nov 2000, Nick DeClario wrote:

 I am trying to make my own custom pagestyle instead of using the
 standard fancy, plain, headings and default ones.  I haven't been able
 to find any information on how to go about doing this.  I pretty much
 want the top of the left sided pages to have a line and say the section
 number and title while the right side has a line with the subsection
 number and title.  Is this possible?  Where could I look to find
 information on how to do this?  Thanks.
 
   -Nick

-- 
+---
 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
+---



Section with line (slightly off-topic)

2000-11-30 Thread Matej Cepl

Hi,

trying to create sectino with line. What I mean is something
like this

Section title___ (to the right edge)

Even though I persuade both titlesec and sectsty very
forcefully, neither of them seems to be of any help. The best
what I can get is the line BELOW the section title not on the
same line by this definition in preamble:

\usepackage{sectsty}
\makeatletter
\newcommand{\nadpisline}[1]{%
 \ttfamily
 \huge
 \bfseries
#1
 \hrulefill 
}

\makeatother
\sectionfont{\nadpisline}

Other unwanted result is by this: 

\usepackage{titlesec}
\titleformat{\section}[hang]
 {\ttfamily\huge\bfseries}
 {}{}{\hrulefill}

which makes line in beginning of the line not in its end.

I am counting my penalty points for off-topic question, but I
have not been really able to find answer anywhere else.

Thanks

Matej Cepl




Re: Section with line (slightly off-topic)

2000-11-30 Thread Herbert Voss

Matej Cepl wrote:
 
 Hi,
 
 trying to create sectino with line. What I mean is something
 like this
 
 Section title___ (to the right edge)
 
 Even though I persuade both titlesec and sectsty very
 forcefully, neither of them seems to be of any help. The best
 what I can get is the line BELOW the section title not on the
 same line by this definition in preamble:
 
 \usepackage{sectsty}
 \makeatletter
 \newcommand{\nadpisline}[1]{%
  \ttfamily
  \huge
  \bfseries
 #1
  \hrulefill
 }
 

why don't you use

Your Sectiontitle \hrulefill

with style chapter, section or any otherone and \hrulefill in tex(red)

Herbert

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



Re: Installing Problems

2000-11-30 Thread Jürgen Spitzmüller

Am Donnerstag, 30. November 2000 21:42 schrieben Sie:

  I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
  Now I wanted to install it on my laptop. But I can't get it work. When I
  try to start lyx in the XTerm, I get the following message:
 
  "lyx: SIGSEGV signal caught
  Sorry, you have found a bug in LyX. If possible, please read 'known bugs'
  under the Help menu and then send us a full bug report, Thanks!"

 I once had the same problem with a laptop installation. Is it possible that
 you didn't install the standard X11 fonts (75 or 100dpi)?

 Florian

I have just checked it, but it seems that all necessary fonts are installed.
I don't know if this is important, but I had the strange idea to install 
Netscape to check out if it's running. And it does. But Lyx still doesn't.

Juergen 

-- 
Dorfstr. 55
79341 Hecklingen
Tel.: 07644/ 930642
Fax: 07644/ 930643



1.1.6.pre2 package geometry

2000-11-30 Thread Herbert Voss

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

is there any sense for this new behaviour?

Herbert

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



Re: Installing Problems

2000-11-30 Thread Allan Rae

On Thu, 30 Nov 2000, Jürgen Spitzmüller wrote:

 Hello out there!
 
 I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
 Now I wanted to install it on my laptop. But I can't get it work. When I try 
 to start lyx in the XTerm, I get the following message:
 
 "lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
 under the Help menu and then send us a full bug report, Thanks!"
 
 I tried it with the 1.1.5fix1 and fix2 RPM-files and also with the tar.gz - 
 always the same result.
 Surprisingly, if I install version 1.1.4fix3 from my SuSE 7.0 CD-Rom (which 
 file has 8 MB, btw), this version works!
 
 As you might have realized, my operating system is SuSE Linux 7.0 (with less 
 packages on the laptop).
 
 Well, after this hard day, you are my last hope...

If your laptop has fewer colours than your desktop (8bit vs 16bit for
example) then there is a very good chance you are triggering a bug caused
by the use of the incorrect version of the xforms library.

Make sure the xforms library matches your glibc version.

There are a number of distributions that include xforms as an extra
package and include a version compiled for an earlier glibc version. For
SuSE-70 which uses glibc-2.1.3 IIRC you should ensure that the xforms
library you installed was called something like
xforms-0.8X-glibc2.1.tar.gz where X is either an 8 or a 9.

If you installed an xforms rpm then you may not see mention of which glibc
that xforms version was meant for.

Allan. (ARRae)




Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Rainer Hoffmann

Just to make this clear to me: Is there any way now to insert a raster image via the
External Inset and scale down the resulting eps-file or can I just scale down the
raster image via -geometry and loose information?

Rainer Hoffmann

Baruch Even schrieb:

 On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

  Hi all,
 
  Two things about the new possibility to insert raster images (which is great!):
  1) I expected the menu entry to insert an raster image under Insert-... and not
  under File-Insert.

 For that I have no answer, ask those who decided on the menu layout.
 Anyway you can change the menu layout yourself just edit the file
 INSTALL_DIR/share/lyx/ui/default.ui

 It's yours to do whatever you want :-)

  2) What I really miss are all the nice settings from the eps-figure: Width and
  Heigth in relative and absolute values, and the rotation angle

 This is a side effect of the new and powerfull External Inset, this inset
 can be used to import almost any type of data into lyx, it was not
 intended (at least in its first iteration) to provide full support for
 graphics files so it doesn't have the resize and rotate options. You can
 manually convert your images to EPS and use the Inset-Figure to insert it
 as usual.

 In the next version (1.2.0) InsetGraphics is going to make its first
 (official) appearance and this will allow you to insert bitmap images.

 Possibly in a later revision InsetGraphics and InsetExternal will be
 joined to provide a capable inclusion mechanism that will handle
 everything.

 --
   Baruch Even

 http://techst02.technion.ac.il/~sbaruch/   (My Site)
 http://www.redrival.com/jindor/(My brothers ADD site)

 " Learn to laugh ... it's the path to true love! "
- The Angel in the movie Michael




Re: Latex errors concerning floats and pictures

2000-11-30 Thread Jan Goebel

On Wed, 29 Nov 2000, A. D. wrote:

> After some writing I added floats and pictures. Everything was fine
> until I added more floats and pictures: Suddenly a number of errors
> occured like:
> 
> 1. ! LaTeX Error: Too many unprocessed floats.

LaTeX trys to arrange text an floats (figures/tables), but if you 
have no text between your floats it can't do this. 
So if you really want this arrangement of floats you have to do a
\clearpage or
\cleardoublepage
both in tex-mode (red) in lyx.

greetings

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
+---



lyx 1.1.5fix2, Bibliography

2000-11-30 Thread Haase . Hartmut

Why does "Bibliography" not appear in "Contents"? I know that Bibliography
is always the last page but I'd like to know at the beginning if there is
any.
Regards,
H. Haase





Re: Latex errors concerning floats and pictures

2000-11-30 Thread Angus Leeming

On Wednesday 29 November 2000 01:37, A. D. wrote:

> > Hi
>
> In advance I have to say, that I'm new to lyx and a latex dummy. I just
> checked the possibilities of klyx and I was very impressed on the speed
> and the layout.

I see that your problem has been addressed already by Jan Goebel. I'd just 
add that LyX is now so much more advanced than klyx that it seems sad to not 
use all the power available for the sake of a prettier interface. In the not 
too distant future LyX will get a KDE frontend again; in the meantime I'd 
stick with LyX's ugly GUI and greater power.

Angus




> After some writing I added floats and pictures. Everything was fine
> until I added more floats and pictures: Suddenly a number of errors
> occured like:
>
>
> 1. ! LaTeX Error: Too many unprocessed floats.
> l.174 {
> \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
> You've lost some text.  Try typingto proceed.
> If that doesn't work, type  X   to quit.
>
>
> 2. ! Undefined control sequence.
> \@xfloat ...@fltovf \fi \global \setbox \@currbox
> \color@vbox \normalcolor \...
> l.174 {
> \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
>
> 3. ! Missing number, treated as zero.
> 
> \color@vbox
> l.174 {
> \centering \resizebox*{!}{4in}{\includegraphics{murks2.eps}} \par}
> A number should have been here; I inserted `0'.
> (If you can't figure out why I needed to see a number,
> look up `weird error' in the index to The TeXbook.)
>
>
>
> Attached you will find the *.log-, *.lyx and LaTexConfig.lyx-files.
> Sometimes it works, when I change the "float placement" to "top" or
> "here".
> But thats not very usefull and also it is not reproducible.
>
> Do I have to add something to the LaTex-Preface or is it just a simple
> mistake I made?
> Do I have to check and fix the Tex-code by hand and if that's necessary,
> is this very common and does such problems happen very often?
>
> I'm using klyx 0.10.0 with the SuSE-Linux-Distribution 6.3.
>
> Thanks in advance.
>
> Andi


Content-Type: text/plain; charset="us-ascii"; name="murks.lyx"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; charset="us-ascii"; name="murks.log"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; charset="iso-8859-1"; name="LaTeXConfig.lyx"
Content-Transfer-Encoding: quoted-printable
Content-Description: 




Re: off-system printing

2000-11-30 Thread Andre Berger

Tuukka Toivonen <[EMAIL PROTECTED]> writes:

> On 28 Nov 2000, Andre Berger wrote:
> 
> > Tomas Sanchez <[EMAIL PROTECTED]> writes:
> > - use PostScript fonts in LaTeX/LyX, prefer "Times" (expands to Times,
> > Helvetica, Courier)
> 
> Yes, sure, it makes the document to look better on Acrobat, but if your
> dvips has configured to use same resolution as printer, it should have
> no effect on printing quality.
> > - use pstopdf (from xpdf) instead of ps2pdf; read the man pages for both!
> 
> Correct me if I'm wrong but I don't think xpdf comes with pstopdf; xpdf is
> pdf reader, not ps. It comes only with pdftops, which makes better quality
> ps files than pdf2ps (from ghostscript) but doesn't work on almost every
> file like pdf2ps.

You're right in both, my apologies. For pdf to ps, I just print to a file...

Andre



Re: lyx 1.1.5fix2, Bibliography

2000-11-30 Thread German Poo Caaman~o

On Thu, 30 Nov 2000 [EMAIL PROTECTED] wrote:
> Why does "Bibliography" not appear in "Contents"? I know that Bibliography
> is always the last page but I'd like to know at the beginning if there is

\usepackage[chapter]{tocbibind}

(on LaTeX preamble)

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Baruch Even

On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

> Hi all,
> 
> pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
> at the command line, it starts up). Now when I click on View->PDF
> (Pdflatex) I get the following messages in the terminal, where I started
> lyx
> 
> Converting from  latex to pdf2
> Running none
> sh: none: command not found
> Executing command: acroread test.pdf
> 
> What's wrong?

LyX doesn't know about the newly installed pdflatex. Try running lyx,
going to to the Edit menu and choose 'Reconfigure'. Now close lyx and
start it again, at this stage you should be able to use export to pdf.

Notice that the conversion from latex to pdf2 tries to run a program
called 'none' instead of 'pdflatex'.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/(My brothers AD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: lyx 1.1.6pre2 shortcuts

2000-11-30 Thread Angus Leeming

The tiny patch, attached, "fixes" this problem. Don't know if this is the 
right approach though.

Angus



On Wednesday 29 November 2000 19:07, Angus Leeming wrote:
> On Wednesday 29 November 2000 19:59, Herbert Voss wrote:
> > "Lars Gullik Bjønnes" wrote:
> > > Herbert Voss <[EMAIL PROTECTED]> writes:
> > > | when i start lyx without any existing ~/.lyx/preferences
> > > | i have the shortcuts displayed and i can use them with
> > > | the keyboard. if i change any of the options in the
> > > | preferences, close lyx and restart, the displayed shortcuts
> > > | are gone and i can't use the keybord-shortcuts, too.
> > > | deleting the preferences-file and restarting lyx
> > > | gives the old situation with the displayed shortcuts
> > > | and working keyboard-shortcuts.
> > >
> > > What is the bind file in preferences set to then?
> >
> > menues.bind
> >
> > i can start preferences, doing nothing, saving and restarting
> > lyx is the same: no shortcuts anyway.
> >
> > Herbert
>
> This is wrong. It should be emacs.bind, cua.bind or whatever you prefer.
> menus.bind is most definitely wrong. Maybe these files should be moved to
> ui/ rather than bind/ ?
>
> Angus

 patch.diff.bz2


lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Rainer Hoffmann

Hi all,

pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
at the command line, it starts up). Now when I click on View->PDF
(Pdflatex) I get the following messages in the terminal, where I started
lyx

Converting from  latex to pdf2
Running none
sh: none: command not found
Executing command: acroread test.pdf

Then Acrobat Reader starts with an error message that he can't find the
document.

What's wrong?

Rainer




Re: lyx-1.1.6pre2, pdflatex

2000-11-30 Thread Angus Leeming

If you didn't apply that internationalisation patch that I sent you, then 
this may well be the same problem.

Could you set LANG=C in a terminal and then run lyx from there.

I've just successfully run pdflatex on the UserGuide (well actually I got 
some errors but that's another story). Running "top" in another window  
should show you that lots of fonts are being generated ("mf" is running) and 
"pdftex" runs in bwteen times too.

Angus




On Thursday 30 November 2000 12:43, Rainer Hoffmann wrote:
> Hi all,
>
> pdflatex is (finally) installed on my system. (i.e. when I type pdflatex
> at the command line, it starts up). Now when I click on View->PDF
> (Pdflatex) I get the following messages in the terminal, where I started
> lyx
>
> Converting from  latex to pdf2
> Running none
> sh: none: command not found
> Executing command: acroread test.pdf
>
> Then Acrobat Reader starts with an error message that he can't find the
> document.
>
> What's wrong?
>
> Rainer



Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Rainer Hoffmann

Hi all,

Two things about the new possibility to insert raster images (which is great!):
1) I expected the menu entry to insert an raster image under Insert->... and not
under File->Insert.
2) What I really miss are all the nice settings from the eps-figure: Width and
Heigth in relative and absolute values, and the rotation angle

Bye,

Rainer




Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Baruch Even

On Thu, 30 Nov 2000, Rainer Hoffmann wrote:

> Hi all,
> 
> Two things about the new possibility to insert raster images (which is great!):
> 1) I expected the menu entry to insert an raster image under Insert->... and not
> under File->Insert.

For that I have no answer, ask those who decided on the menu layout.
Anyway you can change the menu layout yourself just edit the file
INSTALL_DIR/share/lyx/ui/default.ui

It's yours to do whatever you want :-)

> 2) What I really miss are all the nice settings from the eps-figure: Width and
> Heigth in relative and absolute values, and the rotation angle

This is a side effect of the new and powerfull External Inset, this inset
can be used to import almost any type of data into lyx, it was not
intended (at least in its first iteration) to provide full support for
graphics files so it doesn't have the resize and rotate options. You can
manually convert your images to EPS and use the Inset->Figure to insert it
as usual.

In the next version (1.2.0) InsetGraphics is going to make its first
(official) appearance and this will allow you to insert bitmap images.

Possibly in a later revision InsetGraphics and InsetExternal will be
joined to provide a capable inclusion mechanism that will handle
everything.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/(My brothers AD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: 1.1.6pre2 problem with Pref. menu

2000-11-30 Thread Jean-Marc Lasgouttes

> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> Preferences uses nested tabbed folders. Clicking on "look"
Allan> makes the tab folders nested within it visible. What visual
Allan> clues would help make this clear? Originally there was a larger
Allan> space around the nested folders but it looked a bit silly so I
Allan> collapsed them into the compact arrangement we have now.

It would probably be nice to change the font of the active tabs to
bold, but I do not know how to do that.

JMarc



Re: About SGML to HTML

2000-11-30 Thread Jose Abilio Oliveira Matos

On Wed, Nov 29, 2000 at 09:03:07AM +0100, blackziggy wrote:
> Hi !
> 
> Some little questions 4 you:
> 
> Last nigth i insert the ToC in the lyx file, but the sgml conversion only
> works if the label is after then name of the sections, like:
> 
> 
>   ,-.
> 1.- Introduction  | sec:Introduction |
>   `-4
> 
> That's when the sgml file has the ToC.
> But if it's before than the section name, there isn't (in the sgml file)
> ToC. Only something like:
> 1.-
> 2.-
>   2.1.-
>   2.2.-
> 3.-
> (...) etc.

  Could you send a small file that shows this?
  A small lyx file, please.
  
> Thanks
> 
> Dooteo
> 

-- 
José



lyx 1.1.6pre2

2000-11-30 Thread Herbert Voss

please try:

open the latex preamble and put the cursor in the standard
text-window: the preamble-window does not switch to the
background it appears always on top. working in the text-
window is possible.

suse - linux 2.2.14

Herbert

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



Re: lyx 1.1.6pre2

2000-11-30 Thread Lars Gullik Bjønnes

Herbert Voss <[EMAIL PROTECTED]> writes:

| please try:
| 
| open the latex preamble and put the cursor in the standard
| text-window: the preamble-window does not switch to the
| background it appears always on top. working in the text-
| window is possible.
| 
| suse - linux 2.2.14

I guess this depends on the wm used.

Anyhow... I not sure it is a bad thing.

Lgb




Re: lyx 1.1.6pre2

2000-11-30 Thread Angus Leeming

So I see. 

This is the result of all LyX's popups now being marked FL_TRANSIENT as they 
"belong" to the main lyx window. 

Angus


On Thursday 30 November 2000 16:50, Herbert Voss wrote:
> please try:
>
> open the latex preamble and put the cursor in the standard
> text-window: the preamble-window does not switch to the
> background it appears always on top. working in the text-
> window is possible.
>
> suse - linux 2.2.14
>
> Herbert



Re: lyx 1.1.6pre2

2000-11-30 Thread Herbert Voss

"Lars Gullik Bjønnes" wrote:
> 
> Herbert Voss <[EMAIL PROTECTED]> writes:
> 
> | please try:
> |
> | open the latex preamble and put the cursor in the standard
> | text-window: the preamble-window does not switch to the
> | background it appears always on top. working in the text-
> | window is possible.
> |
> | suse - linux 2.2.14
> 
> I guess this depends on the wm used.
> 
> Anyhow... I not sure it is a bad thing.

i saw, it's for all other windows, too. this not in 1.1.5
therefore it does not belong to wm. anyway, i agree with
you, but for me it was a good feature, when latex preamble
switches to background, when i have complicated stuff in
preamble and looking for errors in preamble/text. 

Herbert

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



Re: lyx 1.1.6pre2

2000-11-30 Thread Lars Gullik Bjønnes

Herbert Voss <[EMAIL PROTECTED]> writes:

| i saw, it's for all other windows, too. this not in 1.1.5
| therefore it does not belong to wm. anyway, i agree with
| you, but for me it was a good feature, when latex preamble
| switches to background, when i have complicated stuff in
| preamble and looking for errors in preamble/text. 

We only tell the wm that we want handlign similar to this... it is up
to the wm to act upon it.

Lgb



Installing Problems

2000-11-30 Thread Jürgen Spitzmüller

Hello out there!

I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
Now I wanted to install it on my laptop. But I can't get it work. When I try 
to start lyx in the XTerm, I get the following message:

"lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
under the Help menu and then send us a full bug report, Thanks!"

I tried it with the 1.1.5fix1 and fix2 RPM-files and also with the tar.gz - 
always the same result.
Surprisingly, if I install version 1.1.4fix3 from my SuSE 7.0 CD-Rom (which 
file has 8 MB, btw), this version works!

As you might have realized, my operating system is SuSE Linux 7.0 (with less 
packages on the laptop).

Well, after this hard day, you are my last hope...

Thanks in advance,

Juergen.
-- 
Dorfstr. 55
79341 Hecklingen
Tel.: 07644/ 930642
Fax: 07644/ 930643



Re: Installing Problems

2000-11-30 Thread Florian Cramer

Am Thu, 30.Nov.2000 um 19:00:38 +0100 schrieb Jürgen Spitzmüller:
> I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
> Now I wanted to install it on my laptop. But I can't get it work. When I try 
> to start lyx in the XTerm, I get the following message:
> 
> "lyx: SIGSEGV signal caught
> Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
> under the Help menu and then send us a full bug report, Thanks!"

I once had the same problem with a laptop installation. Is it possible that
you didn't install the standard X11 fonts (75 or 100dpi)?

Florian

-- 
http://userpage.fu-berlin.de/~cantsin/
http://www.complit.fu-berlin.de/institut/lehrpersonal/cramer.html
PGP public key ID 6440BA05 



Pagestyle help

2000-11-30 Thread Nick DeClario

I am trying to make my own custom pagestyle instead of using the
standard fancy, plain, headings and default ones.  I haven't been able
to find any information on how to go about doing this.  I pretty much
want the top of the left sided pages to have a line and say the section
number and title while the right side has a line with the subsection
number and title.  Is this possible?  Where could I look to find
information on how to do this?  Thanks.

-Nick



Re: Pagestyle help

2000-11-30 Thread Jan Goebel

Hello,

why you don't use fanyhdr, you can customize it!
Look at (on Linux)
/usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi

Or have a look at:
http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.phtml#fancy_1

Hope it helps

Jan

On Thu, 30 Nov 2000, Nick DeClario wrote:

> I am trying to make my own custom pagestyle instead of using the
> standard fancy, plain, headings and default ones.  I haven't been able
> to find any information on how to go about doing this.  I pretty much
> want the top of the left sided pages to have a line and say the section
> number and title while the right side has a line with the subsection
> number and title.  Is this possible?  Where could I look to find
> information on how to do this?  Thanks.
> 
>   -Nick

-- 
+---
 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
+---



Section with line (slightly off-topic)

2000-11-30 Thread Matej Cepl

Hi,

trying to create sectino with line. What I mean is something
like this

Section title___ (to the right edge)

Even though I persuade both titlesec and sectsty very
forcefully, neither of them seems to be of any help. The best
what I can get is the line BELOW the section title not on the
same line by this definition in preamble:

\usepackage{sectsty}
\makeatletter
\newcommand{\nadpisline}[1]{%
 \ttfamily
 \huge
 \bfseries
#1
 \hrulefill 
}

\makeatother
\sectionfont{\nadpisline}

Other unwanted result is by this: 

\usepackage{titlesec}
\titleformat{\section}[hang]
 {\ttfamily\huge\bfseries}
 {}{}{\hrulefill}

which makes line in beginning of the line not in its end.

I am counting my penalty points for off-topic question, but I
have not been really able to find answer anywhere else.

Thanks

Matej Cepl




Re: Section with line (slightly off-topic)

2000-11-30 Thread Herbert Voss

Matej Cepl wrote:
> 
> Hi,
> 
> trying to create sectino with line. What I mean is something
> like this
> 
> Section title___ (to the right edge)
> 
> Even though I persuade both titlesec and sectsty very
> forcefully, neither of them seems to be of any help. The best
> what I can get is the line BELOW the section title not on the
> same line by this definition in preamble:
> 
> \usepackage{sectsty}
> \makeatletter
> \newcommand{\nadpisline}[1]{%
>  \ttfamily
>  \huge
>  \bfseries
> #1
>  \hrulefill
> }
> 

why don't you use

Your Sectiontitle \hrulefill

with style chapter, section or any otherone and \hrulefill in tex(red)

Herbert

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



Re: Installing Problems

2000-11-30 Thread Jürgen Spitzmüller

Am Donnerstag, 30. November 2000 21:42 schrieben Sie:

> > I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
> > Now I wanted to install it on my laptop. But I can't get it work. When I
> > try to start lyx in the XTerm, I get the following message:
> >
> > "lyx: SIGSEGV signal caught
> > Sorry, you have found a bug in LyX. If possible, please read 'known bugs'
> > under the Help menu and then send us a full bug report, Thanks!"
>
> I once had the same problem with a laptop installation. Is it possible that
> you didn't install the standard X11 fonts (75 or 100dpi)?
>
> Florian

I have just checked it, but it seems that all necessary fonts are installed.
I don't know if this is important, but I had the strange idea to install 
Netscape to check out if it's running. And it does. But Lyx still doesn't.

Juergen 

-- 
Dorfstr. 55
79341 Hecklingen
Tel.: 07644/ 930642
Fax: 07644/ 930643



1.1.6.pre2 package geometry

2000-11-30 Thread Herbert Voss

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

is there any sense for this new behaviour?

Herbert

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



Re: Installing Problems

2000-11-30 Thread Allan Rae

On Thu, 30 Nov 2000, Jürgen Spitzmüller wrote:

> Hello out there!
> 
> I have installed lyx 1.1.5fix2 on my desktop an it works perfectly.
> Now I wanted to install it on my laptop. But I can't get it work. When I try 
> to start lyx in the XTerm, I get the following message:
> 
> "lyx: SIGSEGV signal caught
> Sorry, you have found a bug in LyX. If possible, please read 'known bugs' 
> under the Help menu and then send us a full bug report, Thanks!"
> 
> I tried it with the 1.1.5fix1 and fix2 RPM-files and also with the tar.gz - 
> always the same result.
> Surprisingly, if I install version 1.1.4fix3 from my SuSE 7.0 CD-Rom (which 
> file has 8 MB, btw), this version works!
> 
> As you might have realized, my operating system is SuSE Linux 7.0 (with less 
> packages on the laptop).
> 
> Well, after this hard day, you are my last hope...

If your laptop has fewer colours than your desktop (8bit vs 16bit for
example) then there is a very good chance you are triggering a bug caused
by the use of the incorrect version of the xforms library.

Make sure the xforms library matches your glibc version.

There are a number of distributions that include xforms as an extra
package and include a version compiled for an earlier glibc version. For
SuSE-70 which uses glibc-2.1.3 IIRC you should ensure that the xforms
library you installed was called something like
xforms-0.8X-glibc2.1.tar.gz where X is either an 8 or a 9.

If you installed an xforms rpm then you may not see mention of which glibc
that xforms version was meant for.

Allan. (ARRae)




Re: announce lyx-1.1.6pre2; Insert Raster Images

2000-11-30 Thread Rainer Hoffmann

Just to make this clear to me: Is there any way now to insert a raster image via the
External Inset and scale down the resulting eps-file or can I just scale down the
raster image via -geometry and loose information?

Rainer Hoffmann

Baruch Even schrieb:

> On Thu, 30 Nov 2000, Rainer Hoffmann wrote:
>
> > Hi all,
> >
> > Two things about the new possibility to insert raster images (which is great!):
> > 1) I expected the menu entry to insert an raster image under Insert->... and not
> > under File->Insert.
>
> For that I have no answer, ask those who decided on the menu layout.
> Anyway you can change the menu layout yourself just edit the file
> INSTALL_DIR/share/lyx/ui/default.ui
>
> It's yours to do whatever you want :-)
>
> > 2) What I really miss are all the nice settings from the eps-figure: Width and
> > Heigth in relative and absolute values, and the rotation angle
>
> This is a side effect of the new and powerfull External Inset, this inset
> can be used to import almost any type of data into lyx, it was not
> intended (at least in its first iteration) to provide full support for
> graphics files so it doesn't have the resize and rotate options. You can
> manually convert your images to EPS and use the Inset->Figure to insert it
> as usual.
>
> In the next version (1.2.0) InsetGraphics is going to make its first
> (official) appearance and this will allow you to insert bitmap images.
>
> Possibly in a later revision InsetGraphics and InsetExternal will be
> joined to provide a capable inclusion mechanism that will handle
> everything.
>
> --
>   Baruch Even
>
> http://techst02.technion.ac.il/~sbaruch/   (My Site)
> http://www.redrival.com/jindor/(My brothers AD site)
>
> " Learn to laugh ... it's the path to true love! "
>- The Angel in the movie Michael