Re: Embedding different document classes in multipart documents

2002-09-05 Thread Jean-Marc Lasgouttes

Martin H. Robinson wrote:
 Hello,
 I am preparing a substantial document that consists of multiple lyx
 documents embedded into a master document that uses the book class. I
 have an appendix that contain a number of documents that utilise the
 curriculum vitae document class and which by themselves are fine. Of
 course, when I embed them in the multipart document they don't work
 exactly as the manual says.
 The question then is simple: how can I embed documents within a
 multipart document when their class is different to the class of the
 master document.

The question is probably: how could that work? LaTeX does not allow you
to mix different classes in the same document.

JMarc







Re: Captions no Appearing

2002-09-05 Thread Jean-Marc Lasgouttes

Chris McCarthy wrote:
 Hi And sorry for the lameness of this question:  I can insert a figure fine
 using INSERT  FIGURE   After picking the .ps file, I type some text into
 the box in the 2nd popup which says Caption, but that text never appears.
 
 Alternatively, if I select Caption style from the pulldown menu on the
 upper left, I get the word Senseless, which then becomes very difficult
 to remove or edit.
 
 Thanks for your help with this Senseless question

You have to insert these things in a float inset.

JMarc





Re: mangled labels in 1.2.1

2002-09-05 Thread Jean-Marc Lasgouttes

Pol wrote:
 Labels at equation lines are mangled using lyx 1.2.1
 If labels are made by two or more items, they get collapsed in a single string, 
 as the document is closed.
 Labels containig underscore, such as a_b, are added by extra braces. 
 Many cross-references are lost. 

This will be fixed in 1.2.2.

JMarc






Re: Captions no Appearing

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 10:23:52AM +0200, Jean-Marc Lasgouttes wrote:
 Chris McCarthy wrote:
  Hi And sorry for the lameness of this question:  I can insert a figure fine
  using INSERT  FIGURE   After picking the .ps file, I type some text into
  the box in the 2nd popup which says Caption, but that text never appears.
  
  Alternatively, if I select Caption style from the pulldown menu on the
  upper left, I get the word Senseless, which then becomes very difficult
  to remove or edit.
  
  Thanks for your help with this Senseless question
 
 You have to insert these things in a float inset.

And use the Caption style from the toolbar (not the text box in the popup).



Biochemical equation in lyx

2002-09-05 Thread Jan Smid

Hello,

I got a question concerning biochemical equations in lyx 1.2.1:

how can I do somthing like this:

enzyme
adp + p -- atp? I just found a doubledirection arrow --.
(the formula is an example, it is probably incorrect :-)  )

TIA!

-j



Re: Biochemical equation in lyx

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 10:55:14AM +0200, Jan Smid wrote:
 Hello,
 
 I got a question concerning biochemical equations in lyx 1.2.1:
 
 how can I do somthing like this:
 
 enzyme
 adp + p -- atp? I just found a doubledirection arrow --.
 (the formula is an example, it is probably incorrect :-)  )

Type \xrightarrow space



Re: List of figures

2002-09-05 Thread Axel Heinrici

Hello

On Wednesday 04 September 2002 17:50, Christian Ridderström wrote:

 Hi Axel

 I had the same problem and found a solution on Herbert's
 marvelous pages:

   http://www.lyx.org/help/floats/caption.php

 which has a secion called Short captionstyle. Look on that
 page, or search this mail archive for previous posts on short
 captionstyle. It works perfectly for me.

This works! The problem is now that the shortcaptions I inserted 
with the tex command \caption[...]{...} disapear in the list of 
figures but appear in the cption. The list of figures consists of 
many lines just containing .. 
The captions under the figures in the document now show 
Figure:[].
Since I used the tex commends quite often I think I better keep on 
using the tex commands. Or is there anybody who can tell why the 
short caption-style is not compatible with the tex command 
\capition[..]{..}

greetings Axel




Re: List of figures

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 11:51:50AM +0200, Axel Heinrici wrote:
  I had the same problem and found a solution on Herbert's
  marvelous pages:
 
  http://www.lyx.org/help/floats/caption.php
 
 This works! The problem is now that the shortcaptions I inserted 
 with the tex command \caption[...]{...} disapear in the list of 
 figures but appear in the cption. The list of figures consists of 
 many lines just containing .. 

This is because the shortcaption layout listed on the above page redefines the
caption command. Use the following in your layout file instead:

Style ShortCaption
  CopyStyle Caption
  LatexName shortcaption
  LabelString   Short Caption:
  LabelType Static
  Preamble
\let\oldcaption=\caption
\newcommand{\shortcaption}[1]{%
  \renewcommand{\caption}[1]{\oldcaption[#1]{##1}}%
}
  EndPreamble
End



Re: arithmetic in a lyx doc

2002-09-05 Thread John Sheahan

On Wed, Sep 04, 2002 at 07:44:15PM +0300, Dekel Tsur wrote:
 On Tue, Sep 03, 2002 at 10:32:00PM +1000, John Sheahan wrote:
  Hi
  
  In my lyx doc I'd like to be able to add up a couple of 
  numbers, perhaps in a table, maybe in a paragraph, get a total
  
  and then be able to copy the result (sort of like a label)
  somewhere else in the document, as a summary.
  
  Is this possible somehow?
 
 It is possible using latex code:
 \newcounter{tmp}
 \setcounter{tmp}{0}
 \addtocounter{tmp}{10}
 \addtocounter{tmp}{5}
 \arabic{tmp}
 
 To save typing, you can use
 \newcommand{\add}[1]{\addtocounter{tmp}{#1}}
 and then you can write \add{10} instead of \addtocounter{tmp}{10}

Thanks Derek, Andre
I discovered also I could use an external escape to the shell with
something like echo $[ 1 + 2 ] arter tweaking external_templates.
(lets not consider security here for a few minutes)

or I could include tex from gnumeric with additional processing.

while I do not understand the math_extern at all - and could really use
a pointer/example code here, these solutions appear to suffer from 
2 disadvantages

firstly, I'd quite like to be able to read the half dozen numbers I am
adding from the lyx window.   If I really want to include a big spreadsheet
somehow I can do that, but it seems overkill for addimg a couple of
numbers that maybe are in a table, maybe in the text but are described
with text.  And its nice to see the sum at write time also

secondly, I want to gather a few numbers from random sections together
in the summary chapter.And to be really difficult my summary is at
the start of the document.  \arabic{blah} appears to work as long as the
summary is after the sum.

Given the number of documents I've read where there are obselete 
sections after a couple of changes, many word processors must have
this problem.  

regards, John



Re: arithmetic in a lyx doc

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 08:43:04PM +1000, John Sheahan wrote:
  It is possible using latex code:
  \newcounter{tmp}
  \setcounter{tmp}{0}
  \addtocounter{tmp}{10}
  \addtocounter{tmp}{5}
  \arabic{tmp}
  
  To save typing, you can use
  \newcommand{\add}[1]{\addtocounter{tmp}{#1}}
  and then you can write \add{10} instead of \addtocounter{tmp}{10}
 
 secondly, I want to gather a few numbers from random sections together
 in the summary chapter.And to be really difficult my summary is at
 the start of the document.  \arabic{blah} appears to work as long as the
 summary is after the sum.

Add the end of your document, add 
\addtocounter{tmp}{-1}
\refstepcounter{tmp}

and then insert a label, e.g. foo (after the code above).
Then in the place you want the sum, insert a reference to the label.

BTW, when you time \add{3}, you will not see the number 3 in the output.
If you want the number to always appear in the output, define the \add
command as follows:

\newcommand{\add}[1]{#1\addtocounter{tmp}{#1}}




 
 Given the number of documents I've read where there are obselete 
 sections after a couple of changes, many word processors must have
 this problem.  
 
 regards, John



lyx to microsoft word

2002-09-05 Thread Thai DANG

Hi

Do you know if there is a tool to convert Lyx format to Microsoft Word 
format ?

Thanks.




Re: pdfscreen

2002-09-05 Thread Peter Suetterlin

Remzi Seker wrote:
 Did anyone use pdfscreen with lyx?

Yes and no.  I'm using pdfscreen for my talks, and tried to do it in LyX
in the beginning, but it prooved to be too tedious, as most stuff had to
be ERT anyhow (I'm using PPower4 too).

  Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



can't install it under SuSE 7.2

2002-09-05 Thread Vinay Ramnath

Hi,

the installation of teTeX went fine. I put it in /usr/local/teTeX, which 
was the default. However, when I tried to install LyX using rpm -Uvh 
--nodeps lyx-1.2.1* it seems like the installer can't find anything of 
my teTeX installation. Among others, it can't find a LaTeX2e package and 
it can't find kpsewhich, which is installed in /usr/local/teTeX/bin/. 
 In fact, all the binaries it looks for and can't find are there. What's 
wrong and how can I solve it? I have installed LyX 1.2.0 this way in the 
past and everything went fine, but I recently reinstalled my computer 
and I can't install LyX properly. It is installed, but lacks a lot of 
the functionality, like previewing, printing and exporting to other 
formats. Also, I can't remove it, using rpm -e lyx*.

Thanks,
Vinay




Re: mangled labels in 1.2.1

2002-09-05 Thread Olivier Ripoll

Pol wrote:

 Labels at equation lines are mangled using lyx 1.2.1
 If labels are made by two or more items, they get collapsed in a single string,
 as the document is closed.
 Labels containig underscore, such as a_b, are added by extra braces.
 Many cross-references are lost.

 --
 Paolo

See my post of Monday called problems with equation labels in 1.2.1 - file
corruption for details about the reasons of the bug.
I have no solution (I replaced all spaces in 100+ equations with hyphens, and
re-referenced everything), but at least, you are not alone to have suffered from
this bug...

Regards,

Olivier.






subfigure

2002-09-05 Thread Max Bian

Hi.

I really need to get the subfigure package to put the label on the left (or
right) of the figures.  It takes too much space at the bottom.  Label at left
is quite oftenly seen in books, papers.

Anyone knows a alternative package to subfigure, or can tell me how to hack it?

Thanks.

Max

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



Re: lyx to microsoft word

2002-09-05 Thread Thai DANG

Peter Suetterlin wrote:
 Thai DANG wrote:
 
Hi

Do you know if there is a tool to convert Lyx format to Microsoft Word 
format ?
 
 
 Please read the LyX FAQ (Help-FAQ; Chapter 3.2)
 In short:  You have to go via RTF
 
   Pit
 

I installed wvWare software but I don't find anything to convert .tex or 
.lyx INTO .doc :o((

Thai




Re: can't install it under SuSE 7.2

2002-09-05 Thread Vinay Ramnath

I hadn't, but I just tried. It ends up the same. I installed the src.rpm 
package now, since the rebuild option doesn't work on the rpm. It 
started compiling and I did not see any complaints, but I had not 
installed libXpm, which is needed for the compilation. I had XForms, 
though. Running the lyx command in a terminal window runs LyX without 
any complaints, but it still has the same problem, that is, it lacks the 
functionality I was talking about. Is there any way I can change this?


Jan Smid wrote:

Have you tried a rpm --rebuild? Sounds strange...

-j

  







Re: lyx to microsoft word

2002-09-05 Thread Kathryn Andersen

On Thu, Sep 05, 2002 at 05:49:29PM +, Thai DANG wrote:
 Peter Suetterlin wrote:
 Thai DANG wrote:
 
 Do you know if there is a tool to convert Lyx format to Microsoft Word 
 format ?
 
 Please read the LyX FAQ (Help-FAQ; Chapter 3.2)
 In short:  You have to go via RTF
 
 I installed wvWare software but I don't find anything to convert .tex or 
 .lyx INTO .doc :o((

You don't *need* to go as far as .DOC format, you just need to convert
into .RTF format, because M$-Word reads RTF.

-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED] http://www.katspace.com
/  \| 
\_.--.*/| GenFicCrit mailing list http://www.katspace.com/gen_fic_crit/
  v | 
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Embedding different document classes in multipart documents

2002-09-05 Thread Jean-Marc Lasgouttes

Martin H. Robinson wrote:
 Hello,
 I am preparing a substantial document that consists of multiple lyx
 documents embedded into a master document that uses the book class. I
 have an appendix that contain a number of documents that utilise the
 curriculum vitae document class and which by themselves are fine. Of
 course, when I embed them in the multipart document they don't work
 exactly as the manual says.
 The question then is simple: how can I embed documents within a
 multipart document when their class is different to the class of the
 master document.

The question is probably: how could that work? LaTeX does not allow you
to mix different classes in the same document.

JMarc







Re: Captions no Appearing

2002-09-05 Thread Jean-Marc Lasgouttes

Chris McCarthy wrote:
 Hi And sorry for the lameness of this question:  I can insert a figure fine
 using INSERT  FIGURE   After picking the .ps file, I type some text into
 the box in the 2nd popup which says Caption, but that text never appears.
 
 Alternatively, if I select Caption style from the pulldown menu on the
 upper left, I get the word Senseless, which then becomes very difficult
 to remove or edit.
 
 Thanks for your help with this Senseless question

You have to insert these things in a float inset.

JMarc





Re: mangled labels in 1.2.1

2002-09-05 Thread Jean-Marc Lasgouttes

Pol wrote:
 Labels at equation lines are mangled using lyx 1.2.1
 If labels are made by two or more items, they get collapsed in a single string, 
 as the document is closed.
 Labels containig underscore, such as a_b, are added by extra braces. 
 Many cross-references are lost. 

This will be fixed in 1.2.2.

JMarc






Re: Captions no Appearing

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 10:23:52AM +0200, Jean-Marc Lasgouttes wrote:
 Chris McCarthy wrote:
  Hi And sorry for the lameness of this question:  I can insert a figure fine
  using INSERT  FIGURE   After picking the .ps file, I type some text into
  the box in the 2nd popup which says Caption, but that text never appears.
  
  Alternatively, if I select Caption style from the pulldown menu on the
  upper left, I get the word Senseless, which then becomes very difficult
  to remove or edit.
  
  Thanks for your help with this Senseless question
 
 You have to insert these things in a float inset.

And use the Caption style from the toolbar (not the text box in the popup).



Biochemical equation in lyx

2002-09-05 Thread Jan Smid

Hello,

I got a question concerning biochemical equations in lyx 1.2.1:

how can I do somthing like this:

enzyme
adp + p -- atp? I just found a doubledirection arrow --.
(the formula is an example, it is probably incorrect :-)  )

TIA!

-j



Re: Biochemical equation in lyx

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 10:55:14AM +0200, Jan Smid wrote:
 Hello,
 
 I got a question concerning biochemical equations in lyx 1.2.1:
 
 how can I do somthing like this:
 
 enzyme
 adp + p -- atp? I just found a doubledirection arrow --.
 (the formula is an example, it is probably incorrect :-)  )

Type \xrightarrow space



Re: List of figures

2002-09-05 Thread Axel Heinrici

Hello

On Wednesday 04 September 2002 17:50, Christian Ridderström wrote:

 Hi Axel

 I had the same problem and found a solution on Herbert's
 marvelous pages:

   http://www.lyx.org/help/floats/caption.php

 which has a secion called Short captionstyle. Look on that
 page, or search this mail archive for previous posts on short
 captionstyle. It works perfectly for me.

This works! The problem is now that the shortcaptions I inserted 
with the tex command \caption[...]{...} disapear in the list of 
figures but appear in the cption. The list of figures consists of 
many lines just containing .. 
The captions under the figures in the document now show 
Figure:[].
Since I used the tex commends quite often I think I better keep on 
using the tex commands. Or is there anybody who can tell why the 
short caption-style is not compatible with the tex command 
\capition[..]{..}

greetings Axel




Re: List of figures

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 11:51:50AM +0200, Axel Heinrici wrote:
  I had the same problem and found a solution on Herbert's
  marvelous pages:
 
  http://www.lyx.org/help/floats/caption.php
 
 This works! The problem is now that the shortcaptions I inserted 
 with the tex command \caption[...]{...} disapear in the list of 
 figures but appear in the cption. The list of figures consists of 
 many lines just containing .. 

This is because the shortcaption layout listed on the above page redefines the
caption command. Use the following in your layout file instead:

Style ShortCaption
  CopyStyle Caption
  LatexName shortcaption
  LabelString   Short Caption:
  LabelType Static
  Preamble
\let\oldcaption=\caption
\newcommand{\shortcaption}[1]{%
  \renewcommand{\caption}[1]{\oldcaption[#1]{##1}}%
}
  EndPreamble
End



Re: arithmetic in a lyx doc

2002-09-05 Thread John Sheahan

On Wed, Sep 04, 2002 at 07:44:15PM +0300, Dekel Tsur wrote:
 On Tue, Sep 03, 2002 at 10:32:00PM +1000, John Sheahan wrote:
  Hi
  
  In my lyx doc I'd like to be able to add up a couple of 
  numbers, perhaps in a table, maybe in a paragraph, get a total
  
  and then be able to copy the result (sort of like a label)
  somewhere else in the document, as a summary.
  
  Is this possible somehow?
 
 It is possible using latex code:
 \newcounter{tmp}
 \setcounter{tmp}{0}
 \addtocounter{tmp}{10}
 \addtocounter{tmp}{5}
 \arabic{tmp}
 
 To save typing, you can use
 \newcommand{\add}[1]{\addtocounter{tmp}{#1}}
 and then you can write \add{10} instead of \addtocounter{tmp}{10}

Thanks Derek, Andre
I discovered also I could use an external escape to the shell with
something like echo $[ 1 + 2 ] arter tweaking external_templates.
(lets not consider security here for a few minutes)

or I could include tex from gnumeric with additional processing.

while I do not understand the math_extern at all - and could really use
a pointer/example code here, these solutions appear to suffer from 
2 disadvantages

firstly, I'd quite like to be able to read the half dozen numbers I am
adding from the lyx window.   If I really want to include a big spreadsheet
somehow I can do that, but it seems overkill for addimg a couple of
numbers that maybe are in a table, maybe in the text but are described
with text.  And its nice to see the sum at write time also

secondly, I want to gather a few numbers from random sections together
in the summary chapter.And to be really difficult my summary is at
the start of the document.  \arabic{blah} appears to work as long as the
summary is after the sum.

Given the number of documents I've read where there are obselete 
sections after a couple of changes, many word processors must have
this problem.  

regards, John



Re: arithmetic in a lyx doc

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 08:43:04PM +1000, John Sheahan wrote:
  It is possible using latex code:
  \newcounter{tmp}
  \setcounter{tmp}{0}
  \addtocounter{tmp}{10}
  \addtocounter{tmp}{5}
  \arabic{tmp}
  
  To save typing, you can use
  \newcommand{\add}[1]{\addtocounter{tmp}{#1}}
  and then you can write \add{10} instead of \addtocounter{tmp}{10}
 
 secondly, I want to gather a few numbers from random sections together
 in the summary chapter.And to be really difficult my summary is at
 the start of the document.  \arabic{blah} appears to work as long as the
 summary is after the sum.

Add the end of your document, add 
\addtocounter{tmp}{-1}
\refstepcounter{tmp}

and then insert a label, e.g. foo (after the code above).
Then in the place you want the sum, insert a reference to the label.

BTW, when you time \add{3}, you will not see the number 3 in the output.
If you want the number to always appear in the output, define the \add
command as follows:

\newcommand{\add}[1]{#1\addtocounter{tmp}{#1}}




 
 Given the number of documents I've read where there are obselete 
 sections after a couple of changes, many word processors must have
 this problem.  
 
 regards, John



lyx to microsoft word

2002-09-05 Thread Thai DANG

Hi

Do you know if there is a tool to convert Lyx format to Microsoft Word 
format ?

Thanks.




Re: pdfscreen

2002-09-05 Thread Peter Suetterlin

Remzi Seker wrote:
 Did anyone use pdfscreen with lyx?

Yes and no.  I'm using pdfscreen for my talks, and tried to do it in LyX
in the beginning, but it prooved to be too tedious, as most stuff had to
be ERT anyhow (I'm using PPower4 too).

  Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



can't install it under SuSE 7.2

2002-09-05 Thread Vinay Ramnath

Hi,

the installation of teTeX went fine. I put it in /usr/local/teTeX, which 
was the default. However, when I tried to install LyX using rpm -Uvh 
--nodeps lyx-1.2.1* it seems like the installer can't find anything of 
my teTeX installation. Among others, it can't find a LaTeX2e package and 
it can't find kpsewhich, which is installed in /usr/local/teTeX/bin/. 
 In fact, all the binaries it looks for and can't find are there. What's 
wrong and how can I solve it? I have installed LyX 1.2.0 this way in the 
past and everything went fine, but I recently reinstalled my computer 
and I can't install LyX properly. It is installed, but lacks a lot of 
the functionality, like previewing, printing and exporting to other 
formats. Also, I can't remove it, using rpm -e lyx*.

Thanks,
Vinay




Re: mangled labels in 1.2.1

2002-09-05 Thread Olivier Ripoll

Pol wrote:

 Labels at equation lines are mangled using lyx 1.2.1
 If labels are made by two or more items, they get collapsed in a single string,
 as the document is closed.
 Labels containig underscore, such as a_b, are added by extra braces.
 Many cross-references are lost.

 --
 Paolo

See my post of Monday called problems with equation labels in 1.2.1 - file
corruption for details about the reasons of the bug.
I have no solution (I replaced all spaces in 100+ equations with hyphens, and
re-referenced everything), but at least, you are not alone to have suffered from
this bug...

Regards,

Olivier.






subfigure

2002-09-05 Thread Max Bian

Hi.

I really need to get the subfigure package to put the label on the left (or
right) of the figures.  It takes too much space at the bottom.  Label at left
is quite oftenly seen in books, papers.

Anyone knows a alternative package to subfigure, or can tell me how to hack it?

Thanks.

Max

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



Re: lyx to microsoft word

2002-09-05 Thread Thai DANG

Peter Suetterlin wrote:
 Thai DANG wrote:
 
Hi

Do you know if there is a tool to convert Lyx format to Microsoft Word 
format ?
 
 
 Please read the LyX FAQ (Help-FAQ; Chapter 3.2)
 In short:  You have to go via RTF
 
   Pit
 

I installed wvWare software but I don't find anything to convert .tex or 
.lyx INTO .doc :o((

Thai




Re: can't install it under SuSE 7.2

2002-09-05 Thread Vinay Ramnath

I hadn't, but I just tried. It ends up the same. I installed the src.rpm 
package now, since the rebuild option doesn't work on the rpm. It 
started compiling and I did not see any complaints, but I had not 
installed libXpm, which is needed for the compilation. I had XForms, 
though. Running the lyx command in a terminal window runs LyX without 
any complaints, but it still has the same problem, that is, it lacks the 
functionality I was talking about. Is there any way I can change this?


Jan Smid wrote:

Have you tried a rpm --rebuild? Sounds strange...

-j

  







Re: lyx to microsoft word

2002-09-05 Thread Kathryn Andersen

On Thu, Sep 05, 2002 at 05:49:29PM +, Thai DANG wrote:
 Peter Suetterlin wrote:
 Thai DANG wrote:
 
 Do you know if there is a tool to convert Lyx format to Microsoft Word 
 format ?
 
 Please read the LyX FAQ (Help-FAQ; Chapter 3.2)
 In short:  You have to go via RTF
 
 I installed wvWare software but I don't find anything to convert .tex or 
 .lyx INTO .doc :o((

You don't *need* to go as far as .DOC format, you just need to convert
into .RTF format, because M$-Word reads RTF.

-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED] http://www.katspace.com
/  \| 
\_.--.*/| GenFicCrit mailing list http://www.katspace.com/gen_fic_crit/
  v | 
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Embedding different document classes in multipart documents

2002-09-05 Thread Jean-Marc Lasgouttes

Martin H. Robinson wrote:
> Hello,
> I am preparing a substantial document that consists of multiple lyx
> documents embedded into a master document that uses the book class. I
> have an appendix that contain a number of documents that utilise the
> curriculum vitae document class and which by themselves are fine. Of
> course, when I embed them in the multipart document they don't work
> exactly as the manual says.
> The question then is simple: how can I embed documents within a
> multipart document when their class is different to the class of the
> master document.

The question is probably: how could that work? LaTeX does not allow you
to mix different classes in the same document.

JMarc







Re: Captions no Appearing

2002-09-05 Thread Jean-Marc Lasgouttes

Chris McCarthy wrote:
> Hi And sorry for the lameness of this question:  I can insert a figure fine
> using INSERT > FIGURE >  After picking the .ps file, I type some text into
> the box in the 2nd popup which says "Caption", but that text never appears.
> 
> Alternatively, if I select "Caption" style from the pulldown menu on the
> upper left, I get the word "Senseless", which then becomes very difficult
> to remove or edit.
> 
> Thanks for your help with this "Senseless" question

You have to insert these things in a float inset.

JMarc





Re: mangled labels in 1.2.1

2002-09-05 Thread Jean-Marc Lasgouttes

Pol wrote:
> Labels at equation lines are mangled using lyx 1.2.1
> If labels are made by two or more items, they get collapsed in a single string, 
> as the document is closed.
> Labels containig underscore, such as a_b, are added by extra braces. 
> Many cross-references are lost. 

This will be fixed in 1.2.2.

JMarc






Re: Captions no Appearing

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 10:23:52AM +0200, Jean-Marc Lasgouttes wrote:
> Chris McCarthy wrote:
> > Hi And sorry for the lameness of this question:  I can insert a figure fine
> > using INSERT > FIGURE >  After picking the .ps file, I type some text into
> > the box in the 2nd popup which says "Caption", but that text never appears.
> > 
> > Alternatively, if I select "Caption" style from the pulldown menu on the
> > upper left, I get the word "Senseless", which then becomes very difficult
> > to remove or edit.
> > 
> > Thanks for your help with this "Senseless" question
> 
> You have to insert these things in a float inset.

And use the "Caption" style from the toolbar (not the text box in the popup).



Biochemical equation in lyx

2002-09-05 Thread Jan Smid

Hello,

I got a question concerning biochemical equations in lyx 1.2.1:

how can I do somthing like this:

enzyme
adp + p --> atp? I just found a doubledirection arrow <-->.
(the formula is an example, it is probably incorrect :-)  )

TIA!

-j



Re: Biochemical equation in lyx

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 10:55:14AM +0200, Jan Smid wrote:
> Hello,
> 
> I got a question concerning biochemical equations in lyx 1.2.1:
> 
> how can I do somthing like this:
> 
> enzyme
> adp + p --> atp? I just found a doubledirection arrow <-->.
> (the formula is an example, it is probably incorrect :-)  )

Type \xrightarrow 



Re: List of figures

2002-09-05 Thread Axel Heinrici

Hello

On Wednesday 04 September 2002 17:50, Christian Ridderström wrote:

> Hi Axel
>
> I had the same problem and found a solution on Herbert's
> marvelous pages:
>
>   http://www.lyx.org/help/floats/caption.php
>
> which has a secion called "Short captionstyle". Look on that
> page, or search this mail archive for previous posts on short
> captionstyle. It works perfectly for me.
>
This works! The problem is now that the shortcaptions I inserted 
with the tex command "\caption[...]{...}" disapear in the list of 
figures but appear in the cption. The list of figures consists of 
many lines just containing .. 
The captions under the figures in the document now show 
"Figure:[]."
Since I used the tex commends quite often I think I better keep on 
using the tex commands. Or is there anybody who can tell why the 
"short caption"-style is not compatible with the tex command 
"\capition[..]{..}"

greetings Axel




Re: List of figures

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 11:51:50AM +0200, Axel Heinrici wrote:
> > I had the same problem and found a solution on Herbert's
> > marvelous pages:
> >
> > http://www.lyx.org/help/floats/caption.php
> >
> This works! The problem is now that the shortcaptions I inserted 
> with the tex command "\caption[...]{...}" disapear in the list of 
> figures but appear in the cption. The list of figures consists of 
> many lines just containing .. 

This is because the shortcaption layout listed on the above page redefines the
caption command. Use the following in your layout file instead:

Style ShortCaption
  CopyStyle Caption
  LatexName shortcaption
  LabelString   "Short Caption:"
  LabelType Static
  Preamble
\let\oldcaption=\caption
\newcommand{\shortcaption}[1]{%
  \renewcommand{\caption}[1]{\oldcaption[#1]{##1}}%
}
  EndPreamble
End



Re: arithmetic in a lyx doc

2002-09-05 Thread John Sheahan

On Wed, Sep 04, 2002 at 07:44:15PM +0300, Dekel Tsur wrote:
> On Tue, Sep 03, 2002 at 10:32:00PM +1000, John Sheahan wrote:
> > Hi
> > 
> > In my lyx doc I'd like to be able to add up a couple of 
> > numbers, perhaps in a table, maybe in a paragraph, get a total
> > 
> > and then be able to copy the result (sort of like a label)
> > somewhere else in the document, as a summary.
> > 
> > Is this possible somehow?
> 
> It is possible using latex code:
> \newcounter{tmp}
> \setcounter{tmp}{0}
> \addtocounter{tmp}{10}
> \addtocounter{tmp}{5}
> \arabic{tmp}
> 
> To save typing, you can use
> \newcommand{\add}[1]{\addtocounter{tmp}{#1}}
> and then you can write \add{10} instead of \addtocounter{tmp}{10}

Thanks Derek, Andre
I discovered also I could use an external escape to the shell with
something like echo $[ 1 + 2 ] arter tweaking external_templates.
(lets not consider security here for a few minutes)

or I could include tex from gnumeric with additional processing.

while I do not understand the math_extern at all - and could really use
a pointer/example code here, these solutions appear to suffer from 
2 disadvantages

firstly, I'd quite like to be able to read the half dozen numbers I am
adding from the lyx window.   If I really want to include a big spreadsheet
somehow I can do that, but it seems overkill for addimg a couple of
numbers that maybe are in a table, maybe in the text but are described
with text.  And its nice to see the sum at write time also

secondly, I want to gather a few numbers from random sections together
in the summary chapter.And to be really difficult my summary is at
the start of the document.  \arabic{blah} appears to work as long as the
summary is after the sum.

Given the number of documents I've read where there are obselete 
sections after a couple of changes, many word processors must have
this problem.  

regards, John



Re: arithmetic in a lyx doc

2002-09-05 Thread Dekel Tsur

On Thu, Sep 05, 2002 at 08:43:04PM +1000, John Sheahan wrote:
> > It is possible using latex code:
> > \newcounter{tmp}
> > \setcounter{tmp}{0}
> > \addtocounter{tmp}{10}
> > \addtocounter{tmp}{5}
> > \arabic{tmp}
> > 
> > To save typing, you can use
> > \newcommand{\add}[1]{\addtocounter{tmp}{#1}}
> > and then you can write \add{10} instead of \addtocounter{tmp}{10}
> 
> secondly, I want to gather a few numbers from random sections together
> in the summary chapter.And to be really difficult my summary is at
> the start of the document.  \arabic{blah} appears to work as long as the
> summary is after the sum.

Add the end of your document, add 
\addtocounter{tmp}{-1}
\refstepcounter{tmp}

and then insert a label, e.g. "foo" (after the code above).
Then in the place you want the sum, insert a reference to the label.

BTW, when you time \add{3}, you will not see the number 3 in the output.
If you want the number to always appear in the output, define the \add
command as follows:

\newcommand{\add}[1]{#1\addtocounter{tmp}{#1}}




> 
> Given the number of documents I've read where there are obselete 
> sections after a couple of changes, many word processors must have
> this problem.  
> 
> regards, John



lyx to microsoft word

2002-09-05 Thread Thai DANG

Hi

Do you know if there is a tool to convert Lyx format to Microsoft Word 
format ?

Thanks.




Re: pdfscreen

2002-09-05 Thread Peter Suetterlin

Remzi Seker wrote:
> Did anyone use pdfscreen with lyx?

Yes and no.  I'm using pdfscreen for my talks, and tried to do it in LyX
in the beginning, but it prooved to be too tedious, as most stuff had to
be ERT anyhow (I'm using PPower4 too).

  Pit

-- 
Peter "Pit" Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



can't install it under SuSE 7.2

2002-09-05 Thread Vinay Ramnath

Hi,

the installation of teTeX went fine. I put it in /usr/local/teTeX, which 
was the default. However, when I tried to install LyX using rpm -Uvh 
--nodeps lyx-1.2.1* it seems like the installer can't find anything of 
my teTeX installation. Among others, it can't find a LaTeX2e package and 
it can't find kpsewhich, which is installed in /usr/local/teTeX/bin/. 
 In fact, all the binaries it looks for and can't find are there. What's 
wrong and how can I solve it? I have installed LyX 1.2.0 this way in the 
past and everything went fine, but I recently reinstalled my computer 
and I can't install LyX properly. It is installed, but lacks a lot of 
the functionality, like previewing, printing and exporting to other 
formats. Also, I can't remove it, using rpm -e lyx*.

Thanks,
Vinay




Re: mangled labels in 1.2.1

2002-09-05 Thread Olivier Ripoll

Pol wrote:

> Labels at equation lines are mangled using lyx 1.2.1
> If labels are made by two or more items, they get collapsed in a single string,
> as the document is closed.
> Labels containig underscore, such as a_b, are added by extra braces.
> Many cross-references are lost.
>
> --
> Paolo

See my post of Monday called "problems with equation labels in 1.2.1 - file
corruption" for details about the reasons of the bug.
I have no solution (I replaced all spaces in 100+ equations with hyphens, and
re-referenced everything), but at least, you are not alone to have suffered from
this bug...

Regards,

Olivier.






subfigure

2002-09-05 Thread Max Bian

Hi.

I really need to get the subfigure package to put the label on the left (or
right) of the figures.  It takes too much space at the bottom.  Label at left
is quite oftenly seen in books, papers.

Anyone knows a alternative package to subfigure, or can tell me how to hack it?

Thanks.

Max

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



Re: lyx to microsoft word

2002-09-05 Thread Thai DANG

Peter Suetterlin wrote:
> Thai DANG wrote:
> 
>>Hi
>>
>>Do you know if there is a tool to convert Lyx format to Microsoft Word 
>>format ?
> 
> 
> Please read the LyX FAQ (Help->FAQ; Chapter 3.2)
> In short:  You have to go via RTF
> 
>   Pit
> 

I installed wvWare software but I don't find anything to convert .tex or 
.lyx INTO .doc :o((

Thai




Re: can't install it under SuSE 7.2

2002-09-05 Thread Vinay Ramnath

I hadn't, but I just tried. It ends up the same. I installed the src.rpm 
package now, since the rebuild option doesn't work on the rpm. It 
started compiling and I did not see any complaints, but I had not 
installed libXpm, which is needed for the compilation. I had XForms, 
though. Running the lyx command in a terminal window runs LyX without 
any complaints, but it still has the same problem, that is, it lacks the 
functionality I was talking about. Is there any way I can change this?


Jan Smid wrote:

>Have you tried a rpm --rebuild? Sounds strange...
>
>-j
>
>  
>






Re: lyx to microsoft word

2002-09-05 Thread Kathryn Andersen

On Thu, Sep 05, 2002 at 05:49:29PM +, Thai DANG wrote:
> Peter Suetterlin wrote:
> >Thai DANG wrote:
> >
> >>Do you know if there is a tool to convert Lyx format to Microsoft Word 
> >>format ?
> >
> >Please read the LyX FAQ (Help->FAQ; Chapter 3.2)
> >In short:  You have to go via RTF
> 
> I installed wvWare software but I don't find anything to convert .tex or 
> .lyx INTO .doc :o((

You don't *need* to go as far as .DOC format, you just need to convert
into .RTF format, because M$-Word reads RTF.

-- 
 _--_|\ | Kathryn Andersen  <[EMAIL PROTECTED]> 
/  \| 
\_.--.*/| GenFicCrit mailing list 
  v | 
| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe