List of tables text

2008-11-08 Thread Carnë Draug
Hi everyone,

How can I limit the text that appears in the "List of tables"? In the
float, I have a lot of text but I only want part of it (first phrase)
to appear in the "List of tables". I'll throw in an example to be
clear what I mean.

In the float inset, this is the text that appears:
"The H2B-GFP chimeric protein. The H2B protein was tagged with GFP at
its carboxyl terminus; the lenght, in amino acids (a.a.), of each
region and of the junction between H2B and GFP is indicated. The amino
(N) and carboxyl (C) termini of the fusion protein are indicated and
the histone amino-terminal tail is shown as agray box"

In the list of tables, I want just to appear:
"The H2B-GFP chimeric protein"


Thanks in advance


Undefined Control Error with Windows Install

2008-11-08 Thread Tom La Bone

OK, I am new to Lyx and kind of lost here. I have installed Lyx 1.6.0rc5 on a
Windows XP Pro box that had MikTex 2.6 already installed and functional.
When I load in one of the examples (amsbook-test.lyx for example) and try to
view the file (dvi, pdf, etc) I get the following latex error:

Undefined control sequence.
LaTex Error: Missing \begin{document}
Undefined control sequence.
LaTex Error: Missing \begin{document}

I don't have a clue why I am getting the error or how to fix it. I would
appreciate any hints on how to move forward on this.

Tom
-- 
View this message in context: 
http://n2.nabble.com/Undefined-Control-Error-with-Windows-Install-tp1475382p1475382.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: book(ams) class doesn't have "abstract" style

2008-11-08 Thread rgheck

Laser Yuan wrote:

Actually, I have two problem with using the book(ams) class.

First, I want to have a piece of abstract in my document just before the
content list. But there is no option for this format in book(ams) class. Can
I add abstract to the document manually, and how to do that?

  
I'm not sure why, but the abstract was explicitly removed from the 
book(AMS) layout. A book can have an abstract, so we should restore it.


If you want to add it manually, use ERT: Insert>TeX Code, then 
"\begin{abstract}". Then out of ERT, type what you want. Then at the 
end, ERT: \end{abstract}.



Second, when ever I compile the lyx book file, all the child document are
automatically opened. How can I avoid that?

  
You can't, at least not in 1.5. I'm not sure about 1.6. LyX 1.6 (due out 
Monday) may just open them "in the background".


rh



Re: problem with the LyX tutorial ( 7A2-99B )

2008-11-08 Thread Pavel Sanda
> could not load splash screen: '/usr/share/lyx/./images/banner.png'

this looks like wrong instalation. what distro do you use, how did you install
lyx, whats the output of ls -l /usr/share/lyx/images/banner.png ?

> convert: unable to open image
> `png:/tmp/lyx_tmpdir8697x4VFgc/gconvert086971dmYlV.png': No such file or
> directory.
> convert: missing an image filename
> `ppm:/tmp/lyx_tmpdir8697x4VFgc/CacheItem8697c9GjO3.ppm'.
> /usr/share/lyx/scripts/convertDefault.py ERROR
> Execution of "convert" failed.
> convert: unable to open image
> `png:/tmp/lyx_tmpdir8697x4VFgc/gconvert186975umCrE.png': No such file or
> directory.
> convert: missing an image filename
> `ppm:/tmp/lyx_tmpdir8697x4VFgc/CacheItem8697464MTM.ppm'.
> /usr/share/lyx/scripts/convertDefault.py ERROR
> Execution of "convert" failed.
> 
> 
> It seems like it's unable to create tmp files or something? I've tried
> running lyx as root, thinking it was permission errors, but still no dice,
> anyone?

lyx -dbg files 
will give more info about it.


pavel


Re: problem with the LyX tutorial

2008-11-08 Thread Pavel Sanda
> could not load splash screen: '/usr/share/lyx/./images/banner.png'

this looks like wrong instalation. what distro do you use, how did you install
lyx, whats the output of ls -l /usr/share/lyx/images/banner.png ?

> convert: unable to open image
> `png:/tmp/lyx_tmpdir8697x4VFgc/gconvert086971dmYlV.png': No such file or
> directory.
> convert: missing an image filename
> `ppm:/tmp/lyx_tmpdir8697x4VFgc/CacheItem8697c9GjO3.ppm'.
> /usr/share/lyx/scripts/convertDefault.py ERROR
> Execution of "convert" failed.
> convert: unable to open image
> `png:/tmp/lyx_tmpdir8697x4VFgc/gconvert186975umCrE.png': No such file or
> directory.
> convert: missing an image filename
> `ppm:/tmp/lyx_tmpdir8697x4VFgc/CacheItem8697464MTM.ppm'.
> /usr/share/lyx/scripts/convertDefault.py ERROR
> Execution of "convert" failed.
> 
> 
> It seems like it's unable to create tmp files or something? I've tried
> running lyx as root, thinking it was permission errors, but still no dice,
> anyone?

lyx -dbg files 
will give more info about it.


pavel


Re: problem with the LyX tutorial

2008-11-08 Thread Uwe Stöhr

Yutong Zhao schrieb:


could not load splash screen: '/usr/share/lyx/./images/banner.png'
convert: unable to open image
`png:/tmp/lyx_tmpdir8697x4VFgc/gconvert086971dmYlV.png': No such file or
directory.


What LyX version are you using? What language has your used Tutorial?

regards Uwe


problem with the LyX tutorial

2008-11-08 Thread Yutong Zhao
could not load splash screen: '/usr/share/lyx/./images/banner.png'
convert: unable to open image
`png:/tmp/lyx_tmpdir8697x4VFgc/gconvert086971dmYlV.png': No such file or
directory.
convert: missing an image filename
`ppm:/tmp/lyx_tmpdir8697x4VFgc/CacheItem8697c9GjO3.ppm'.
/usr/share/lyx/scripts/convertDefault.py ERROR
Execution of "convert" failed.
convert: unable to open image
`png:/tmp/lyx_tmpdir8697x4VFgc/gconvert186975umCrE.png': No such file or
directory.
convert: missing an image filename
`ppm:/tmp/lyx_tmpdir8697x4VFgc/CacheItem8697464MTM.ppm'.
/usr/share/lyx/scripts/convertDefault.py ERROR
Execution of "convert" failed.


It seems like it's unable to create tmp files or something? I've tried
running lyx as root, thinking it was permission errors, but still no dice,
anyone?


book(ams) class doesn't have "abstract" style

2008-11-08 Thread Laser Yuan
Actually, I have two problem with using the book(ams) class.

First, I want to have a piece of abstract in my document just before the
content list. But there is no option for this format in book(ams) class. Can
I add abstract to the document manually, and how to do that?

Second, when ever I compile the lyx book file, all the child document are
automatically opened. How can I avoid that?

Thanks for your help in advance.

Bests,

Laser