Re: Two theorems one after another

2004-06-23 Thread G. Milde
On 22.06.04, Jiri Palecek wrote:
 
 Theorem 1: this is theorem 1
   this is the second paragraph of theorem 1
 Theorem 2: this is the 2nd theorem
 
 Is there a possibility to do this (not by inserting a paragraph 
 with font size 1 or so -- this is only acceptable from MS Word users
 which haven't seen anything else yet)?

No, you have to resort to a wordish way of doing it: insert an empty
paragraph, e.g. {} in ERT. 

The Problem is, that IMHO LyX's layout syntax misses one LatexType
(Besides the Paragraph, Command, Environment and ListEnvironment). 

Environment encloses subsequent paragraphs of same type into one \begin
\end pair. While this is ok for e.g. Quote, it is bad for a number of
other environments, like theorem or slide (in seminar), that nest stuff
inside. 

My suggestion would be a new term, say ContainerEnvironment, that will
translate a paragraph break into a new \begin \end pair.


I did a hack to prevent the use of ERT in my seminar.layout. This could
easily be adapted to theorem or made a generic environment-separator.


# This is a dummy style whose main purpose is to separate subsequent Slide
# environments. For latex it is a normal Standard style, but in LyX you will 
# also see a nice label and have the possibility to leave the paragraph empty
Style EndOfSlide
  CopyStyle LandscapeSlide
  LatexType Paragraph
  LabelString   End of Slide

  LabelBottomSep 1.5
#  LeftMargin   
End

sincerely

Günter








-- 
G.Milde at web.de


tmp directory

2004-06-23 Thread Jim Ragsdale
Is there a command in lyx that I can use to clear the tmp directory on
windows? If I make small changes sometimes Lyx wont recompile the document.
I have to exit lyx and reload all my files and build again to see the
changes. Does anyone else have these problems?

Thanks,
Jim Ragsdale



Re: tmp directory

2004-06-23 Thread Owen Lucas
What version of lyx are you using
I know I use to have that problem under linux with older versions (pre 
1.3 I think).


Jim Ragsdale wrote:
Is there a command in lyx that I can use to clear the tmp directory on
windows? If I make small changes sometimes Lyx wont recompile the document.
I have to exit lyx and reload all my files and build again to see the
changes. Does anyone else have these problems?
Thanks,
Jim Ragsdale




Re: Two theorems one after another

2004-06-23 Thread G. Milde
On 22.06.04, Jiri Palecek wrote:
 
 Theorem 1: this is theorem 1
   this is the second paragraph of theorem 1
 Theorem 2: this is the 2nd theorem
 
 Is there a possibility to do this (not by inserting a paragraph 
 with font size 1 or so -- this is only acceptable from MS Word users
 which haven't seen anything else yet)?

No, you have to resort to a wordish way of doing it: insert an empty
paragraph, e.g. {} in ERT. 

The Problem is, that IMHO LyX's layout syntax misses one LatexType
(Besides the Paragraph, Command, Environment and ListEnvironment). 

Environment encloses subsequent paragraphs of same type into one \begin
\end pair. While this is ok for e.g. Quote, it is bad for a number of
other environments, like theorem or slide (in seminar), that nest stuff
inside. 

My suggestion would be a new term, say ContainerEnvironment, that will
translate a paragraph break into a new \begin \end pair.


I did a hack to prevent the use of ERT in my seminar.layout. This could
easily be adapted to theorem or made a generic environment-separator.


# This is a dummy style whose main purpose is to separate subsequent Slide
# environments. For latex it is a normal Standard style, but in LyX you will 
# also see a nice label and have the possibility to leave the paragraph empty
Style EndOfSlide
  CopyStyle LandscapeSlide
  LatexType Paragraph
  LabelString   End of Slide

  LabelBottomSep 1.5
#  LeftMargin   
End

sincerely

Günter








-- 
G.Milde at web.de


tmp directory

2004-06-23 Thread Jim Ragsdale
Is there a command in lyx that I can use to clear the tmp directory on
windows? If I make small changes sometimes Lyx wont recompile the document.
I have to exit lyx and reload all my files and build again to see the
changes. Does anyone else have these problems?

Thanks,
Jim Ragsdale



Re: tmp directory

2004-06-23 Thread Owen Lucas
What version of lyx are you using
I know I use to have that problem under linux with older versions (pre 
1.3 I think).


Jim Ragsdale wrote:
Is there a command in lyx that I can use to clear the tmp directory on
windows? If I make small changes sometimes Lyx wont recompile the document.
I have to exit lyx and reload all my files and build again to see the
changes. Does anyone else have these problems?
Thanks,
Jim Ragsdale




Re: Two theorems one after another

2004-06-23 Thread G. Milde
On 22.06.04, Jiri Palecek wrote:
> 
> Theorem 1: this is theorem 1
>   this is the second paragraph of theorem 1
> Theorem 2: this is the 2nd theorem
> 
> Is there a possibility to do this (not by inserting a paragraph 
> with font size 1 or so -- this is only acceptable from MS Word users
> which haven't seen anything else yet)?

No, you have to resort to a "wordish" way of doing it: insert an empty
paragraph, e.g. "{}" in ERT. 

The Problem is, that IMHO LyX's layout syntax misses one LatexType
(Besides the Paragraph, Command, Environment and ListEnvironment). 

"Environment" encloses subsequent paragraphs of same type into one \begin
\end pair. While this is ok for e.g. Quote, it is bad for a number of
other environments, like theorem or slide (in seminar), that nest stuff
inside. 

My suggestion would be a new term, say ContainerEnvironment, that will
translate a paragraph break into a new \begin \end pair.


I did a hack to prevent the use of ERT in my seminar.layout. This could
easily be adapted to theorem or made a generic "environment-separator".


# This is a dummy style whose main purpose is to separate subsequent Slide
# environments. For latex it is a normal Standard style, but in LyX you will 
# also see a nice label and have the possibility to leave the paragraph empty
Style EndOfSlide
  CopyStyle LandscapeSlide
  LatexType Paragraph
  LabelString   "End of Slide
"
  LabelBottomSep 1.5
#  LeftMargin   ""
End

sincerely

Günter








-- 
G.Milde at web.de


tmp directory

2004-06-23 Thread Jim Ragsdale
Is there a command in lyx that I can use to clear the tmp directory on
windows? If I make small changes sometimes Lyx wont recompile the document.
I have to exit lyx and reload all my files and build again to see the
changes. Does anyone else have these problems?

Thanks,
Jim Ragsdale



Re: tmp directory

2004-06-23 Thread Owen Lucas
What version of lyx are you using
I know I use to have that problem under linux with older versions (pre 
1.3 I think).


Jim Ragsdale wrote:
Is there a command in lyx that I can use to clear the tmp directory on
windows? If I make small changes sometimes Lyx wont recompile the document.
I have to exit lyx and reload all my files and build again to see the
changes. Does anyone else have these problems?
Thanks,
Jim Ragsdale