Re: Is this possible in lyx?

2005-10-25 Thread Helge Hafting

Jose Capco wrote:


Try writing your formula in LyX the normal way, then
putting \mbox{ in 
ERT to the left of it and } in ERT to the right of

it.

Paul
   



I just feared that.. so the answer to my question is
actually no but yes , oh well.. I guess there is no
other way. Thanks
 


There is currently no way to a apply a mbox in a lyxish way,
but at least the formula itself can be written the lyx way.

Currently, the lyx way would be to insert a minipage, but that
isn't exactly the same thing as minipages have a fixed width.

Helge Hafting


Re: Is this possible in lyx?

2005-10-25 Thread Herbert Voss
Jose Capco wrote:

 Dear List,
 
 I just figured out how to disallow LaTeX to linebreak
 a math inline formula that resides in the end of a
 line. Sometimes they turn so awkward when they are
 breaked in the end of the line. With LaTeX I just type
 a formula in an \mbox and it solves my problem.. but
 what about lyx? how can I perform an \mbox in Lyx? ..
 I can of course input a latex code within lyx.. but it
 would be great if I could do it in a lyx way too so
 that I could also have the benefit of actually seeing
 to formula.

_inside_ the math mode put all in braces { ... }
no need for ERT

Herbert




Re: Is this possible in lyx?

2005-10-25 Thread Paul Smith
On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote:
  I just figured out how to disallow LaTeX to linebreak
  a math inline formula that resides in the end of a
  line. Sometimes they turn so awkward when they are
  breaked in the end of the line. With LaTeX I just type
  a formula in an \mbox and it solves my problem.. but
  what about lyx? how can I perform an \mbox in Lyx? ..
  I can of course input a latex code within lyx.. but it
  would be great if I could do it in a lyx way too so
  that I could also have the benefit of actually seeing
  to formula.

 _inside_ the math mode put all in braces { ... }
 no need for ERT

Inside math mode, just write

\mbox

This solution does not need ERT as well.

Paul


Re: Is this possible in lyx?

2005-10-25 Thread Jose Capco
--- Herbert Voss [EMAIL PROTECTED] wrote:
 
 _inside_ the math mode put all in braces { ... }
 no need for ERT
 
 Herbert
 
 
 
Cool.. didnt know that.. but wait.. by { } braces ..
you didnt mean \{ .. because when I punch the { braces
in lyx I get \{ what you would get in LaTeX.. so how
to do the { instead of \{ braces in math mode?

Sincerely,
Jose Capco




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: Is this possible in lyx?

2005-10-25 Thread Jose Capco
 Cool.. didnt know that.. but wait.. by { } braces ..
 you didnt mean \{ .. because when I punch the {
 braces
 in lyx I get \{ what you would get in LaTeX.. so how
 to do the { instead of \{ braces in math mode?
 
 Sincerely,
 Jose Capco

Sorry.. I got the answer.. I type \{ in lyx to get {
.. thats cute.. And it also reduces my typing.. I dont
need the mboxes anymore. Thats the best solution!
Thanks.

Sincerely,
Jose Capco



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


LyX and xypic

2005-10-25 Thread H. Peter Gumm
Hi,

is there anyone working with LyX and xypic.

Is there any support, or are there any workarounds
to see commutative diagrams in their full glory within LyX.

BTW: I need to work in the native Windows-version of LyX

Thanks,
Peter




Re: Is this possible with lyx?

2005-10-25 Thread ZAVARISE GIORGIO

Paul Smith [EMAIL PROTECTED]
Oggetto:Re: Is this possible in lyx?
Data:   Tue, 25 Oct 2005 12:14:54 +0100
A:  lyx-users@lists.lyx.org





On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote:
 I just figured out how to disallow LaTeX to linebreak
 a math inline formula that resides in the end of a
 line. Sometimes they turn so awkward when they are
 breaked in the end of the line. With LaTeX I just type
 a formula in an \mbox and it solves my problem.. but
 what about lyx? how can I perform an \mbox in Lyx? ..
 I can of course input a latex code within lyx.. but it
 would be great if I could do it in a lyx way too so
 that I could also have the benefit of actually seeing
 to formula.

_inside_ the math mode put all in braces { ... }
no need for ERT



Inside math mode, just write



\mbox



This solution does not need ERT as well.



Paul


I needed it also, and it works fine, thanks, but to see 
the box frame I used \fbox.


Resume for dummies (I am the first one):
1) go to math mode (inline formula or display formula)
2) type \fbox and then a press carriage return or the 
spacebar

3) the text \fbox disappear and a framed box appears
4) type the equation there inside
5) eventually apply equation number

Hope this is useful, thanks to all

Giorgio Zavarise


Re: Links Within Documents

2005-10-25 Thread Uwe Stöhr

Juergen Spitzmueller schrieb:


tex2pdf doesn't help you to create links in the TOC. tex2pdf is just
another program to produce a pdf from LyX/TeX. I cannot recommend its
use. Better use the LyX menu Export - PDF(pdflatex).


That's simply not true. Have you really tried it?
Tex2pdf is just a wrapper script for pdflatex and some auxiliary tools (image 
conversion, hyperref, pdfthumb etc.). 
It asks you (if you call tex2pdf --config), amongst other things, if you want 
to use hyperref, what colors the links should have, if you want thumbnails 
etc. Those settings will automatically be used if you export via tex2pdf. I 
find it quite useful.


Sorry, I was too rash then. I tested tex2pdf some time ago and had much 
trouble with it (under Win). I'll test it out again.


thanks and regards
Uwe


Re: Is this possible with lyx?

2005-10-25 Thread chr
On Tue, 25 Oct 2005, ZAVARISE GIORGIO wrote:

I thought I'd add the stuff below to the wiki, but first I'd like to check 
that it's correct (since I haven't tried it myself).



Question:
How can I disallow LaTeX to linebreak an inlined math formula?
(This is typically useful for formulas at the end of a line)

Answer:
You can put the formula inside an mbox to prevent LaTeX from 
splitting up the formula. The steps can be summarized as follows:

1) Go to math mode (inline formula or display formula)
2) Type \mbox and then a press carriage return or the spacebar
3) The text \mbox disappear and a box appears
4) Type the equation inside the box

Note that if you'd like a frame around your equation, you can use fbox 
instead of mbox.
-


cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Hello

I've noticed a strange behaviour in Lyx 1.3.6 (teTex-texmf-3.0): I
selected paragraph, entered the paragraph heading and hit return to
enter the paragraph content. Lyx shows me something like this:

Paragraph heading
Paragraph content ...

If I look at the dvi or the pdf output the linebreak between heading
and content is gone, it looks roughly like the following:

Paragraph heading paragraph content ...

What do I need to change so I get the linebreak? I'd prefer to not
enter the linebreeak by hand for every paragraph...

Thanks!
Christoph

-- 
During the time an item is on back-order, it will be
available cheaper and quicker from many other sources.


Re: No line break after paragraph heading

2005-10-25 Thread Jean-Marc Lasgouttes
 Christoph == Christoph Mathys [EMAIL PROTECTED] writes:

Christoph Paragraph heading Paragraph content ...

Christoph If I look at the dvi or the pdf output the linebreak
Christoph between heading and content is gone, it looks roughly like
Christoph the following:

Christoph Paragraph heading paragraph content ...

a Paragraph is a special case of section heading that has the
behaviour you describe. It is the child of subsubsection.

If its behaviour does not suit you, you should probably use something
else. What do you want to do?

JMarc


Re: No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  Christoph == Christoph Mathys [EMAIL PROTECTED] writes:
 Christoph If I look at the dvi or the pdf output the linebreak
 Christoph between heading and content is gone, it looks roughly like
 Christoph the following:
 
 Christoph Paragraph heading paragraph content ...
 
 a Paragraph is a special case of section heading that has the
 behaviour you describe. It is the child of subsubsection.
 
 If its behaviour does not suit you, you should probably use something
 else. What do you want to do?

What I'd need is a sub-subsubsection and I thought that is a paragraph.
I want a title diffrent from Section/Subsection/Subsubsection (a level
4 title if one can call it like that). Of course the title should be
above the text it belongs to. Hope I you know what I mean :).

Christoph


Re: LyX and xypic

2005-10-25 Thread David L. Johnson
On Tue, 25 Oct 2005 13:44:54 +0200 (CEST)
H. Peter Gumm [EMAIL PROTECTED] wrote:

 Hi,
 
 is there anyone working with LyX and xypic.
 
 Is there any support, or are there any workarounds
 to see commutative diagrams in their full glory within LyX.

I usually kludge it by using a matrix.  The only problem with that is that
labels on the arrows need to be finagled to keep the arrow aligned (for a
horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the
label on top, and a blank below).  This will be somewhat short of full
glory; for that you would, I presume, have to do it all in ERT.

 -- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: No line break after paragraph heading

2005-10-25 Thread Jean-Marc Lasgouttes
 Christoph == Christoph Mathys [EMAIL PROTECTED] writes:

Christoph What I'd need is a sub-subsubsection and I thought that is
Christoph a paragraph. I want a title diffrent from
Christoph Section/Subsection/Subsubsection (a level 4 title if one
Christoph can call it like that). Of course the title should be above
Christoph the text it belongs to. Hope I you know what I mean :).

OK, so you use Paragraph in the right way...

I do not know of a solution with the standard classes, but I am sure
there are classes that do what you want.

Or you may want to try something like
\usepackage{titlesec}
\titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}

JMarc


Re: Is this possible with lyx?

2005-10-25 Thread Giorgio Zavarise

MY PROCEDURE FOR DUMMIES WAS WRONG, SORRY

The problem comes from the fact that within the box generated with the 
\fbox command you are back to the text environment, hence to type 
equations, once you are inside the box, you have to insert an online 
formula


HOW TO PUT A BOX AROUND AN EQUATION
Resume for dummies n. 2, hopefully the right one:

 1) go to math mode with the command INSERT -- MATH -- DISPLAY FORMULA
 2) type \fbox (visible box) and then a press carriage return or the 
spacebar

 3) the text \fbox disappear and a framed box appears
 4) put the cursor inside the box (WARNING, YOU ARE IN TEXT MODE NOW!!)
 5) go again to math mode with the command INSERT -- MATH -- INLINE 
FORMULA

 6) type the equation there inside
 7) eventually apply equation number as usual

As a comment,
1) the box reduces the height of the equation, I don't know why, but 
this seems to be a feature of Latex, not of Lyx
2) if you need the eqnarray environment within the box you are in 
troubles, it seems it does not work. A workaround is given by inserting 
a matrix from the math panel and then aligning the contents with 
EDIT--MATH--ALIGNEMENT-- WHAT YOU NEED


 Hope this is useful, thanks to all

 Giorgio Zavarise

Re: Is this possible with lyx?

2005-10-25 Thread Paul Smith
On 10/25/05, Giorgio Zavarise [EMAIL PROTECTED] wrote:
 MY PROCEDURE FOR DUMMIES WAS WRONG, SORRY

 The problem comes from the fact that within the box generated with the
 \fbox command you are back to the text environment, hence to type
 equations, once you are inside the box, you have to insert an online
 formula

 HOW TO PUT A BOX AROUND AN EQUATION
 Resume for dummies n. 2, hopefully the right one:

   1) go to math mode with the command INSERT -- MATH -- DISPLAY FORMULA
   2) type \fbox (visible box) and then a press carriage return or the
 spacebar
   3) the text \fbox disappear and a framed box appears
   4) put the cursor inside the box (WARNING, YOU ARE IN TEXT MODE NOW!!)
   5) go again to math mode with the command INSERT -- MATH -- INLINE
 FORMULA
   6) type the equation there inside
   7) eventually apply equation number as usual

 As a comment,
 1) the box reduces the height of the equation, I don't know why, but
 this seems to be a feature of Latex, not of Lyx
 2) if you need the eqnarray environment within the box you are in
 troubles, it seems it does not work. A workaround is given by inserting
 a matrix from the math panel and then aligning the contents with
 EDIT--MATH--ALIGNEMENT-- WHAT YOU NEED

   Hope this is useful, thanks to all

I would add two different entries to the Wiki: one to answer the question

1. How can I disallow LaTeX to linebreak an inlined math formula?;

and the other one to answer the question:

2. How to put a box around an equation?.

Regarding the question 1, I would also include Herbert's solution.

Paul


Re: LyX and xypic

2005-10-25 Thread Angus Leeming

H. Peter Gumm wrote:

Hi,
is there anyone working with LyX and xypic.


If memory serves me right, André added some preliminary commutative diagram 
support at some sage. Certainly, mathed contains math_xyarrowinset.{C,h} 
and  math_xymatrixinset.{C,h}.



Is there any support, or are there any workarounds
to see commutative diagrams in their full glory within LyX.
BTW: I need to work in the native Windows-version of LyX


Perhaps you might have a look at LyX's InstantPreview feature 
(http://wiki.lyx.org/LyX/InstantPreview) which displays the content of math 
insets as bitmap images generated by running the snippet of LaTeX through 
the latex compiler. It's still a little kludgy in places but basically 
should work well enough if you install preview.sty from your MiKTeX package 
manager. The script is written in Python so you'll also need Python 
installed. But, I guess you do already... The script simply calls latex, 
dvips gs and optionally, one or two of the netpbm utilities; have a look at 
scripts/lyxpreview2bitmap.py in the LyX support directory.


Regards,
Angus





Re: No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  Christoph == Christoph Mathys [EMAIL PROTECTED] writes:
 
 Christoph What I'd need is a sub-subsubsection and I thought that is
 Christoph a paragraph. I want a title diffrent from
 Christoph Section/Subsection/Subsubsection (a level 4 title if one
 Christoph can call it like that). Of course the title should be above
 Christoph the text it belongs to. Hope I you know what I mean :).

 Or you may want to try something like
 \usepackage{titlesec}
 \titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}

Fits :). Thank you!

Christoph


-- 
Vital papers will demonstrate their vitality by
spontaneously moving from where you left them to where
you can't find them.


updating postscript file, but not eepic picture

2005-10-25 Thread Gunnar
Hi.
I have a LyX (1.3.6) file that contains a reference to an eepic file that is 
be included with \input command. That works, but when I change in the eepic 
file, the LyX files preview is not updataed, even though I use update 
postscript/ view postscript and reloads the postscript file.
What can I do to fix this problem?


textclass.lst

2005-10-25 Thread Carlos Knauer
Hi
Where can I found textclass.lst file ?
Thanks,


--
Carlos Fernando Knauer


How to set latex path on windows?

2005-10-25 Thread Scott Otterson
Lyx 1.3.6 has worked well on my WinXP machine until today, when I loaded 
a copy of my resume and got the error message:


'Textclass error
The document uses a missing Tex class cv.  Lyx will not be able to 
produce output.'


I've got a couple of cv.* things installed:

c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls
c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty

What should I set so that lyx can find them?

Thanks,

Scott


Re: textclass.lst

2005-10-25 Thread Stephen Harris


- Original Message - 
From: Carlos Knauer [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org; [EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 3:36 PM
Subject: textclass.lst


Hi
Where can I found textclass.lst file ?
Thanks,


--
Carlos Fernando Knauer

It is supposed to be installed/created automatically. I decided to
test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP)
and so uninstalled LyX 1.3.6

and there was an error message during the install that the
configure script failed to finish. I also had the start LyX
box ticked. So after ok'ing the configure script error message
LyX tried to start but failed with:
couldn't find textclass.lst sorry has to exit.

I've seen that error message in the past. But not with the
stable version LyX 1.3.6 for Windows or Fedora Core.

The Windows pre lyx 1.3.6 once had textclass.lst problems 8Jun/05:
Run the configure script from the installer in blocking fashion, so
a.. that the user knows what is going on. This also means that LyX
a.. can now be launched successfully from the installer because 
textclass.lst will now be generated in time.


Maybe this isn't close to your problem situation. This is the url
of the mailing lists which are archived (also a developer list):
http://www.lyx.org/internet/mailing.php

In particular lyx-users has a new archive
http://www.mail-archive.com/lyx-users@lists.lyx.org/

This link features a search window pane and if you insert
textclass.lst  into the search window you will find many hits
one of which may match your problem. There is not just one
reason why one inquires about textclass.lst or just one solution.
For instance you might not have the helper app, Minsys, installed or
some test releases don't allow installion to a non-default directory.
So more details need to be provided. Searching on the search engine Google 
(www.google.com) reveals Latex package requirements.


Under dir LyX,
Stephen








multiinclude with beamer

2005-10-25 Thread Myriam Abramson

Hi!

I desperately need to include some animation. I tried the multiinclude
as in the Beamer's users guide but I got a file corrupted message
with acroread (7.0). Any ideas?

I also tried various other things but I can't get any graphics
animation going. I would really like to have an example using
multiinclude that works. 

TIA

   myriam



unusual contents found?!?!

2005-10-25 Thread Jose Capco
Dear List,

Although this is not affecting my typeset or any of my
works with lyx.. but I am curious to know of a
warning I receive from the console whenever I try
opening my lyx document with the Qt port for windows
lyx 1.3.5 .. I get the following in the console ...

unusual contents found: [char 0 mathalpha]
not a dibseciton
bddraw = 0

not a dibseciton
bddraw = 0


what would all these mean? I am just curious, as it
might be something serious that I am ignorant of and
may affect my document as it grows bigger.

Sincerely,
Jose Capco



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


Re: Is this possible in lyx?

2005-10-25 Thread Helge Hafting

Jose Capco wrote:


Try writing your formula in LyX the normal way, then
putting \mbox{ in 
ERT to the left of it and } in ERT to the right of

it.

Paul
   



I just feared that.. so the answer to my question is
actually no but yes , oh well.. I guess there is no
other way. Thanks
 


There is currently no way to a apply a mbox in a lyxish way,
but at least the formula itself can be written the lyx way.

Currently, the lyx way would be to insert a minipage, but that
isn't exactly the same thing as minipages have a fixed width.

Helge Hafting


Re: Is this possible in lyx?

2005-10-25 Thread Herbert Voss
Jose Capco wrote:

 Dear List,
 
 I just figured out how to disallow LaTeX to linebreak
 a math inline formula that resides in the end of a
 line. Sometimes they turn so awkward when they are
 breaked in the end of the line. With LaTeX I just type
 a formula in an \mbox and it solves my problem.. but
 what about lyx? how can I perform an \mbox in Lyx? ..
 I can of course input a latex code within lyx.. but it
 would be great if I could do it in a lyx way too so
 that I could also have the benefit of actually seeing
 to formula.

_inside_ the math mode put all in braces { ... }
no need for ERT

Herbert




Re: Is this possible in lyx?

2005-10-25 Thread Paul Smith
On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote:
  I just figured out how to disallow LaTeX to linebreak
  a math inline formula that resides in the end of a
  line. Sometimes they turn so awkward when they are
  breaked in the end of the line. With LaTeX I just type
  a formula in an \mbox and it solves my problem.. but
  what about lyx? how can I perform an \mbox in Lyx? ..
  I can of course input a latex code within lyx.. but it
  would be great if I could do it in a lyx way too so
  that I could also have the benefit of actually seeing
  to formula.

 _inside_ the math mode put all in braces { ... }
 no need for ERT

Inside math mode, just write

\mbox

This solution does not need ERT as well.

Paul


Re: Is this possible in lyx?

2005-10-25 Thread Jose Capco
--- Herbert Voss [EMAIL PROTECTED] wrote:
 
 _inside_ the math mode put all in braces { ... }
 no need for ERT
 
 Herbert
 
 
 
Cool.. didnt know that.. but wait.. by { } braces ..
you didnt mean \{ .. because when I punch the { braces
in lyx I get \{ what you would get in LaTeX.. so how
to do the { instead of \{ braces in math mode?

Sincerely,
Jose Capco




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: Is this possible in lyx?

2005-10-25 Thread Jose Capco
 Cool.. didnt know that.. but wait.. by { } braces ..
 you didnt mean \{ .. because when I punch the {
 braces
 in lyx I get \{ what you would get in LaTeX.. so how
 to do the { instead of \{ braces in math mode?
 
 Sincerely,
 Jose Capco

Sorry.. I got the answer.. I type \{ in lyx to get {
.. thats cute.. And it also reduces my typing.. I dont
need the mboxes anymore. Thats the best solution!
Thanks.

Sincerely,
Jose Capco



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


LyX and xypic

2005-10-25 Thread H. Peter Gumm
Hi,

is there anyone working with LyX and xypic.

Is there any support, or are there any workarounds
to see commutative diagrams in their full glory within LyX.

BTW: I need to work in the native Windows-version of LyX

Thanks,
Peter




Re: Is this possible with lyx?

2005-10-25 Thread ZAVARISE GIORGIO

Paul Smith [EMAIL PROTECTED]
Oggetto:Re: Is this possible in lyx?
Data:   Tue, 25 Oct 2005 12:14:54 +0100
A:  lyx-users@lists.lyx.org





On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote:
 I just figured out how to disallow LaTeX to linebreak
 a math inline formula that resides in the end of a
 line. Sometimes they turn so awkward when they are
 breaked in the end of the line. With LaTeX I just type
 a formula in an \mbox and it solves my problem.. but
 what about lyx? how can I perform an \mbox in Lyx? ..
 I can of course input a latex code within lyx.. but it
 would be great if I could do it in a lyx way too so
 that I could also have the benefit of actually seeing
 to formula.

_inside_ the math mode put all in braces { ... }
no need for ERT



Inside math mode, just write



\mbox



This solution does not need ERT as well.



Paul


I needed it also, and it works fine, thanks, but to see 
the box frame I used \fbox.


Resume for dummies (I am the first one):
1) go to math mode (inline formula or display formula)
2) type \fbox and then a press carriage return or the 
spacebar

3) the text \fbox disappear and a framed box appears
4) type the equation there inside
5) eventually apply equation number

Hope this is useful, thanks to all

Giorgio Zavarise


Re: Links Within Documents

2005-10-25 Thread Uwe Stöhr

Juergen Spitzmueller schrieb:


tex2pdf doesn't help you to create links in the TOC. tex2pdf is just
another program to produce a pdf from LyX/TeX. I cannot recommend its
use. Better use the LyX menu Export - PDF(pdflatex).


That's simply not true. Have you really tried it?
Tex2pdf is just a wrapper script for pdflatex and some auxiliary tools (image 
conversion, hyperref, pdfthumb etc.). 
It asks you (if you call tex2pdf --config), amongst other things, if you want 
to use hyperref, what colors the links should have, if you want thumbnails 
etc. Those settings will automatically be used if you export via tex2pdf. I 
find it quite useful.


Sorry, I was too rash then. I tested tex2pdf some time ago and had much 
trouble with it (under Win). I'll test it out again.


thanks and regards
Uwe


Re: Is this possible with lyx?

2005-10-25 Thread chr
On Tue, 25 Oct 2005, ZAVARISE GIORGIO wrote:

I thought I'd add the stuff below to the wiki, but first I'd like to check 
that it's correct (since I haven't tried it myself).



Question:
How can I disallow LaTeX to linebreak an inlined math formula?
(This is typically useful for formulas at the end of a line)

Answer:
You can put the formula inside an mbox to prevent LaTeX from 
splitting up the formula. The steps can be summarized as follows:

1) Go to math mode (inline formula or display formula)
2) Type \mbox and then a press carriage return or the spacebar
3) The text \mbox disappear and a box appears
4) Type the equation inside the box

Note that if you'd like a frame around your equation, you can use fbox 
instead of mbox.
-


cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Hello

I've noticed a strange behaviour in Lyx 1.3.6 (teTex-texmf-3.0): I
selected paragraph, entered the paragraph heading and hit return to
enter the paragraph content. Lyx shows me something like this:

Paragraph heading
Paragraph content ...

If I look at the dvi or the pdf output the linebreak between heading
and content is gone, it looks roughly like the following:

Paragraph heading paragraph content ...

What do I need to change so I get the linebreak? I'd prefer to not
enter the linebreeak by hand for every paragraph...

Thanks!
Christoph

-- 
During the time an item is on back-order, it will be
available cheaper and quicker from many other sources.


Re: No line break after paragraph heading

2005-10-25 Thread Jean-Marc Lasgouttes
 Christoph == Christoph Mathys [EMAIL PROTECTED] writes:

Christoph Paragraph heading Paragraph content ...

Christoph If I look at the dvi or the pdf output the linebreak
Christoph between heading and content is gone, it looks roughly like
Christoph the following:

Christoph Paragraph heading paragraph content ...

a Paragraph is a special case of section heading that has the
behaviour you describe. It is the child of subsubsection.

If its behaviour does not suit you, you should probably use something
else. What do you want to do?

JMarc


Re: No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  Christoph == Christoph Mathys [EMAIL PROTECTED] writes:
 Christoph If I look at the dvi or the pdf output the linebreak
 Christoph between heading and content is gone, it looks roughly like
 Christoph the following:
 
 Christoph Paragraph heading paragraph content ...
 
 a Paragraph is a special case of section heading that has the
 behaviour you describe. It is the child of subsubsection.
 
 If its behaviour does not suit you, you should probably use something
 else. What do you want to do?

What I'd need is a sub-subsubsection and I thought that is a paragraph.
I want a title diffrent from Section/Subsection/Subsubsection (a level
4 title if one can call it like that). Of course the title should be
above the text it belongs to. Hope I you know what I mean :).

Christoph


Re: LyX and xypic

2005-10-25 Thread David L. Johnson
On Tue, 25 Oct 2005 13:44:54 +0200 (CEST)
H. Peter Gumm [EMAIL PROTECTED] wrote:

 Hi,
 
 is there anyone working with LyX and xypic.
 
 Is there any support, or are there any workarounds
 to see commutative diagrams in their full glory within LyX.

I usually kludge it by using a matrix.  The only problem with that is that
labels on the arrows need to be finagled to keep the arrow aligned (for a
horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the
label on top, and a blank below).  This will be somewhat short of full
glory; for that you would, I presume, have to do it all in ERT.

 -- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: No line break after paragraph heading

2005-10-25 Thread Jean-Marc Lasgouttes
 Christoph == Christoph Mathys [EMAIL PROTECTED] writes:

Christoph What I'd need is a sub-subsubsection and I thought that is
Christoph a paragraph. I want a title diffrent from
Christoph Section/Subsection/Subsubsection (a level 4 title if one
Christoph can call it like that). Of course the title should be above
Christoph the text it belongs to. Hope I you know what I mean :).

OK, so you use Paragraph in the right way...

I do not know of a solution with the standard classes, but I am sure
there are classes that do what you want.

Or you may want to try something like
\usepackage{titlesec}
\titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}

JMarc


Re: Is this possible with lyx?

2005-10-25 Thread Giorgio Zavarise

MY PROCEDURE FOR DUMMIES WAS WRONG, SORRY

The problem comes from the fact that within the box generated with the 
\fbox command you are back to the text environment, hence to type 
equations, once you are inside the box, you have to insert an online 
formula


HOW TO PUT A BOX AROUND AN EQUATION
Resume for dummies n. 2, hopefully the right one:

 1) go to math mode with the command INSERT -- MATH -- DISPLAY FORMULA
 2) type \fbox (visible box) and then a press carriage return or the 
spacebar

 3) the text \fbox disappear and a framed box appears
 4) put the cursor inside the box (WARNING, YOU ARE IN TEXT MODE NOW!!)
 5) go again to math mode with the command INSERT -- MATH -- INLINE 
FORMULA

 6) type the equation there inside
 7) eventually apply equation number as usual

As a comment,
1) the box reduces the height of the equation, I don't know why, but 
this seems to be a feature of Latex, not of Lyx
2) if you need the eqnarray environment within the box you are in 
troubles, it seems it does not work. A workaround is given by inserting 
a matrix from the math panel and then aligning the contents with 
EDIT--MATH--ALIGNEMENT-- WHAT YOU NEED


 Hope this is useful, thanks to all

 Giorgio Zavarise

Re: Is this possible with lyx?

2005-10-25 Thread Paul Smith
On 10/25/05, Giorgio Zavarise [EMAIL PROTECTED] wrote:
 MY PROCEDURE FOR DUMMIES WAS WRONG, SORRY

 The problem comes from the fact that within the box generated with the
 \fbox command you are back to the text environment, hence to type
 equations, once you are inside the box, you have to insert an online
 formula

 HOW TO PUT A BOX AROUND AN EQUATION
 Resume for dummies n. 2, hopefully the right one:

   1) go to math mode with the command INSERT -- MATH -- DISPLAY FORMULA
   2) type \fbox (visible box) and then a press carriage return or the
 spacebar
   3) the text \fbox disappear and a framed box appears
   4) put the cursor inside the box (WARNING, YOU ARE IN TEXT MODE NOW!!)
   5) go again to math mode with the command INSERT -- MATH -- INLINE
 FORMULA
   6) type the equation there inside
   7) eventually apply equation number as usual

 As a comment,
 1) the box reduces the height of the equation, I don't know why, but
 this seems to be a feature of Latex, not of Lyx
 2) if you need the eqnarray environment within the box you are in
 troubles, it seems it does not work. A workaround is given by inserting
 a matrix from the math panel and then aligning the contents with
 EDIT--MATH--ALIGNEMENT-- WHAT YOU NEED

   Hope this is useful, thanks to all

I would add two different entries to the Wiki: one to answer the question

1. How can I disallow LaTeX to linebreak an inlined math formula?;

and the other one to answer the question:

2. How to put a box around an equation?.

Regarding the question 1, I would also include Herbert's solution.

Paul


Re: LyX and xypic

2005-10-25 Thread Angus Leeming

H. Peter Gumm wrote:

Hi,
is there anyone working with LyX and xypic.


If memory serves me right, André added some preliminary commutative diagram 
support at some sage. Certainly, mathed contains math_xyarrowinset.{C,h} 
and  math_xymatrixinset.{C,h}.



Is there any support, or are there any workarounds
to see commutative diagrams in their full glory within LyX.
BTW: I need to work in the native Windows-version of LyX


Perhaps you might have a look at LyX's InstantPreview feature 
(http://wiki.lyx.org/LyX/InstantPreview) which displays the content of math 
insets as bitmap images generated by running the snippet of LaTeX through 
the latex compiler. It's still a little kludgy in places but basically 
should work well enough if you install preview.sty from your MiKTeX package 
manager. The script is written in Python so you'll also need Python 
installed. But, I guess you do already... The script simply calls latex, 
dvips gs and optionally, one or two of the netpbm utilities; have a look at 
scripts/lyxpreview2bitmap.py in the LyX support directory.


Regards,
Angus





Re: No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  Christoph == Christoph Mathys [EMAIL PROTECTED] writes:
 
 Christoph What I'd need is a sub-subsubsection and I thought that is
 Christoph a paragraph. I want a title diffrent from
 Christoph Section/Subsection/Subsubsection (a level 4 title if one
 Christoph can call it like that). Of course the title should be above
 Christoph the text it belongs to. Hope I you know what I mean :).

 Or you may want to try something like
 \usepackage{titlesec}
 \titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}

Fits :). Thank you!

Christoph


-- 
Vital papers will demonstrate their vitality by
spontaneously moving from where you left them to where
you can't find them.


updating postscript file, but not eepic picture

2005-10-25 Thread Gunnar
Hi.
I have a LyX (1.3.6) file that contains a reference to an eepic file that is 
be included with \input command. That works, but when I change in the eepic 
file, the LyX files preview is not updataed, even though I use update 
postscript/ view postscript and reloads the postscript file.
What can I do to fix this problem?


textclass.lst

2005-10-25 Thread Carlos Knauer
Hi
Where can I found textclass.lst file ?
Thanks,


--
Carlos Fernando Knauer


How to set latex path on windows?

2005-10-25 Thread Scott Otterson
Lyx 1.3.6 has worked well on my WinXP machine until today, when I loaded 
a copy of my resume and got the error message:


'Textclass error
The document uses a missing Tex class cv.  Lyx will not be able to 
produce output.'


I've got a couple of cv.* things installed:

c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls
c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty

What should I set so that lyx can find them?

Thanks,

Scott


Re: textclass.lst

2005-10-25 Thread Stephen Harris


- Original Message - 
From: Carlos Knauer [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org; [EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 3:36 PM
Subject: textclass.lst


Hi
Where can I found textclass.lst file ?
Thanks,


--
Carlos Fernando Knauer

It is supposed to be installed/created automatically. I decided to
test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP)
and so uninstalled LyX 1.3.6

and there was an error message during the install that the
configure script failed to finish. I also had the start LyX
box ticked. So after ok'ing the configure script error message
LyX tried to start but failed with:
couldn't find textclass.lst sorry has to exit.

I've seen that error message in the past. But not with the
stable version LyX 1.3.6 for Windows or Fedora Core.

The Windows pre lyx 1.3.6 once had textclass.lst problems 8Jun/05:
Run the configure script from the installer in blocking fashion, so
a.. that the user knows what is going on. This also means that LyX
a.. can now be launched successfully from the installer because 
textclass.lst will now be generated in time.


Maybe this isn't close to your problem situation. This is the url
of the mailing lists which are archived (also a developer list):
http://www.lyx.org/internet/mailing.php

In particular lyx-users has a new archive
http://www.mail-archive.com/lyx-users@lists.lyx.org/

This link features a search window pane and if you insert
textclass.lst  into the search window you will find many hits
one of which may match your problem. There is not just one
reason why one inquires about textclass.lst or just one solution.
For instance you might not have the helper app, Minsys, installed or
some test releases don't allow installion to a non-default directory.
So more details need to be provided. Searching on the search engine Google 
(www.google.com) reveals Latex package requirements.


Under dir LyX,
Stephen








multiinclude with beamer

2005-10-25 Thread Myriam Abramson

Hi!

I desperately need to include some animation. I tried the multiinclude
as in the Beamer's users guide but I got a file corrupted message
with acroread (7.0). Any ideas?

I also tried various other things but I can't get any graphics
animation going. I would really like to have an example using
multiinclude that works. 

TIA

   myriam



unusual contents found?!?!

2005-10-25 Thread Jose Capco
Dear List,

Although this is not affecting my typeset or any of my
works with lyx.. but I am curious to know of a
warning I receive from the console whenever I try
opening my lyx document with the Qt port for windows
lyx 1.3.5 .. I get the following in the console ...

unusual contents found: [char 0 mathalpha]
not a dibseciton
bddraw = 0

not a dibseciton
bddraw = 0


what would all these mean? I am just curious, as it
might be something serious that I am ignorant of and
may affect my document as it grows bigger.

Sincerely,
Jose Capco



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


Re: Is this possible in lyx?

2005-10-25 Thread Helge Hafting

Jose Capco wrote:


Try writing your formula in LyX the normal way, then
putting \mbox{ in 
ERT to the left of it and } in ERT to the right of

it.

Paul
   



I just feared that.. so the answer to my question is
actually "no but yes" , oh well.. I guess there is no
other way. Thanks
 


There is currently no way to a apply a "mbox" in a lyxish way,
but at least the formula itself can be written the lyx way.

Currently, the "lyx way" would be to insert a minipage, but that
isn't exactly the same thing as minipages have a fixed width.

Helge Hafting


Re: Is this possible in lyx?

2005-10-25 Thread Herbert Voss
Jose Capco wrote:

> Dear List,
> 
> I just figured out how to disallow LaTeX to linebreak
> a math inline formula that resides in the end of a
> line. Sometimes they turn so awkward when they are
> breaked in the end of the line. With LaTeX I just type
> a formula in an \mbox and it solves my problem.. but
> what about lyx? how can I perform an \mbox in Lyx? ..
> I can of course input a latex code within lyx.. but it
> would be great if I could do it in a "lyx" way too so
> that I could also have the benefit of actually seeing
> to formula.

_inside_ the math mode put all in braces { ... }
no need for ERT

Herbert




Re: Is this possible in lyx?

2005-10-25 Thread Paul Smith
On 10/25/05, Herbert Voss <[EMAIL PROTECTED]> wrote:
> > I just figured out how to disallow LaTeX to linebreak
> > a math inline formula that resides in the end of a
> > line. Sometimes they turn so awkward when they are
> > breaked in the end of the line. With LaTeX I just type
> > a formula in an \mbox and it solves my problem.. but
> > what about lyx? how can I perform an \mbox in Lyx? ..
> > I can of course input a latex code within lyx.. but it
> > would be great if I could do it in a "lyx" way too so
> > that I could also have the benefit of actually seeing
> > to formula.
>
> _inside_ the math mode put all in braces { ... }
> no need for ERT

Inside math mode, just write

\mbox

This solution does not need ERT as well.

Paul


Re: Is this possible in lyx?

2005-10-25 Thread Jose Capco
--- Herbert Voss <[EMAIL PROTECTED]> wrote:
> 
> _inside_ the math mode put all in braces { ... }
> no need for ERT
> 
> Herbert
> 
> 
> 
Cool.. didnt know that.. but wait.. by { } braces ..
you didnt mean \{ .. because when I punch the { braces
in lyx I get \{ what you would get in LaTeX.. so how
to do the { instead of \{ braces in math mode?

Sincerely,
Jose Capco




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: Is this possible in lyx?

2005-10-25 Thread Jose Capco
> Cool.. didnt know that.. but wait.. by { } braces ..
> you didnt mean \{ .. because when I punch the {
> braces
> in lyx I get \{ what you would get in LaTeX.. so how
> to do the { instead of \{ braces in math mode?
> 
> Sincerely,
> Jose Capco

Sorry.. I got the answer.. I type \{ in lyx to get {
.. thats cute.. And it also reduces my typing.. I dont
need the mboxes anymore. Thats the best solution!
Thanks.

Sincerely,
Jose Capco



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


LyX and xypic

2005-10-25 Thread H. Peter Gumm
Hi,

is there anyone working with LyX and xypic.

Is there any support, or are there any workarounds
to see commutative diagrams in their full glory within LyX.

BTW: I need to work in the native Windows-version of LyX

Thanks,
Peter




Re: Is this possible with lyx?

2005-10-25 Thread ZAVARISE GIORGIO

Paul Smith <[EMAIL PROTECTED]>
Oggetto:Re: Is this possible in lyx?
Data:   Tue, 25 Oct 2005 12:14:54 +0100
A:  lyx-users@lists.lyx.org





On 10/25/05, Herbert Voss <[EMAIL PROTECTED]> wrote:
> I just figured out how to disallow LaTeX to linebreak
> a math inline formula that resides in the end of a
> line. Sometimes they turn so awkward when they are
> breaked in the end of the line. With LaTeX I just type
> a formula in an \mbox and it solves my problem.. but
> what about lyx? how can I perform an \mbox in Lyx? ..
> I can of course input a latex code within lyx.. but it
> would be great if I could do it in a "lyx" way too so
> that I could also have the benefit of actually seeing
> to formula.

_inside_ the math mode put all in braces { ... }
no need for ERT



Inside math mode, just write



\mbox



This solution does not need ERT as well.



Paul


I needed it also, and it works fine, thanks, but to see 
the box frame I used \fbox.


Resume for dummies (I am the first one):
1) go to math mode (inline formula or display formula)
2) type \fbox and then a press carriage return or the 
spacebar

3) the text "\fbox" disappear and a framed box appears
4) type the equation there inside
5) eventually apply equation number

Hope this is useful, thanks to all

Giorgio Zavarise


Re: Links Within Documents

2005-10-25 Thread Uwe Stöhr

Juergen Spitzmueller schrieb:


tex2pdf doesn't help you to create links in the TOC. tex2pdf is just
another program to produce a pdf from LyX/TeX. I cannot recommend its
use. Better use the LyX menu Export -> PDF(pdflatex).


That's simply not true. Have you really tried it?
Tex2pdf is just a wrapper script for pdflatex and some auxiliary tools (image 
conversion, hyperref, pdfthumb etc.). 
It asks you (if you call tex2pdf --config), amongst other things, if you want 
to use hyperref, what colors the links should have, if you want thumbnails 
etc. Those settings will automatically be used if you export via tex2pdf. I 
find it quite useful.


Sorry, I was too rash then. I tested tex2pdf some time ago and had much 
trouble with it (under Win). I'll test it out again.


thanks and regards
Uwe


Re: Is this possible with lyx?

2005-10-25 Thread chr
On Tue, 25 Oct 2005, ZAVARISE GIORGIO wrote:

I thought I'd add the stuff below to the wiki, but first I'd like to check 
that it's correct (since I haven't tried it myself).



Question:
How can I disallow LaTeX to linebreak an inlined math formula?
(This is typically useful for formulas at the end of a line)

Answer:
You can put the formula inside an "mbox" to prevent LaTeX from 
splitting up the formula. The steps can be summarized as follows:

1) Go to math mode (inline formula or display formula)
2) Type \mbox and then a press carriage return or the spacebar
3) The text "\mbox" disappear and a box appears
4) Type the equation inside the box

Note that if you'd like a frame around your equation, you can use "fbox" 
instead of "mbox".
-


cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Hello

I've noticed a strange behaviour in Lyx 1.3.6 (teTex-texmf-3.0): I
selected paragraph, entered the paragraph heading and hit return to
enter the paragraph content. Lyx shows me something like this:

Paragraph heading
Paragraph content ...

If I look at the dvi or the pdf output the linebreak between heading
and content is gone, it looks roughly like the following:

Paragraph heading paragraph content ...

What do I need to change so I get the linebreak? I'd prefer to not
enter the linebreeak by hand for every paragraph...

Thanks!
Christoph

-- 
During the time an item is on back-order, it will be
available cheaper and quicker from many other sources.


Re: No line break after paragraph heading

2005-10-25 Thread Jean-Marc Lasgouttes
> "Christoph" == Christoph Mathys <[EMAIL PROTECTED]> writes:

Christoph> Paragraph heading Paragraph content ...

Christoph> If I look at the dvi or the pdf output the linebreak
Christoph> between heading and content is gone, it looks roughly like
Christoph> the following:

Christoph> Paragraph heading paragraph content ...

a Paragraph is a special case of section heading that has the
behaviour you describe. It is the child of subsubsection.

If its behaviour does not suit you, you should probably use something
else. What do you want to do?

JMarc


Re: No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> > "Christoph" == Christoph Mathys <[EMAIL PROTECTED]> writes:
> Christoph> If I look at the dvi or the pdf output the linebreak
> Christoph> between heading and content is gone, it looks roughly like
> Christoph> the following:
> 
> Christoph> Paragraph heading paragraph content ...
> 
> a Paragraph is a special case of section heading that has the
> behaviour you describe. It is the child of subsubsection.
> 
> If its behaviour does not suit you, you should probably use something
> else. What do you want to do?

What I'd need is a sub-subsubsection and I thought that is a paragraph.
I want a title diffrent from Section/Subsection/Subsubsection (a level
4 title if one can call it like that). Of course the title should be
above the text it belongs to. Hope I you know what I mean :).

Christoph


Re: LyX and xypic

2005-10-25 Thread David L. Johnson
On Tue, 25 Oct 2005 13:44:54 +0200 (CEST)
"H. Peter Gumm" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> is there anyone working with LyX and xypic.
> 
> Is there any support, or are there any workarounds
> to see commutative diagrams in their full glory within LyX.

I usually kludge it by using a matrix.  The only problem with that is that
labels on the arrows need to be finagled to keep the arrow aligned (for a
horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the
label on top, and a blank below).  This will be somewhat short of "full
glory"; for that you would, I presume, have to do it all in ERT.

 -- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: No line break after paragraph heading

2005-10-25 Thread Jean-Marc Lasgouttes
> "Christoph" == Christoph Mathys <[EMAIL PROTECTED]> writes:

Christoph> What I'd need is a sub-subsubsection and I thought that is
Christoph> a paragraph. I want a title diffrent from
Christoph> Section/Subsection/Subsubsection (a level 4 title if one
Christoph> can call it like that). Of course the title should be above
Christoph> the text it belongs to. Hope I you know what I mean :).

OK, so you use Paragraph in the right way...

I do not know of a solution with the standard classes, but I am sure
there are classes that do what you want.

Or you may want to try something like
\usepackage{titlesec}
\titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}

JMarc


Re: Is this possible with lyx?

2005-10-25 Thread Giorgio Zavarise

MY PROCEDURE FOR DUMMIES WAS WRONG, SORRY

The problem comes from the fact that within the box generated with the 
\fbox command you are back to the text environment, hence to type 
equations, once you are inside the box, you have to insert an online 
formula


HOW TO PUT A BOX AROUND AN EQUATION
Resume for dummies n. 2, hopefully the right one:

 1) go to math mode with the command INSERT --> MATH --> DISPLAY FORMULA
 2) type \fbox (visible box) and then a press carriage return or the 
spacebar

 3) the text "\fbox" disappear and a framed box appears
 4) put the cursor inside the box (WARNING, YOU ARE IN TEXT MODE NOW!!)
 5) go again to math mode with the command INSERT --> MATH --> INLINE 
FORMULA

 6) type the equation there inside
 7) eventually apply equation number as usual

As a comment,
1) the box reduces the height of the equation, I don't know why, but 
this seems to be a feature of Latex, not of Lyx
2) if you need the eqnarray environment within the box you are in 
troubles, it seems it does not work. A workaround is given by inserting 
a matrix from the math panel and then aligning the contents with 
EDIT-->MATH-->ALIGNEMENT--> WHAT YOU NEED


 Hope this is useful, thanks to all

 Giorgio Zavarise

Re: Is this possible with lyx?

2005-10-25 Thread Paul Smith
On 10/25/05, Giorgio Zavarise <[EMAIL PROTECTED]> wrote:
> MY PROCEDURE FOR DUMMIES WAS WRONG, SORRY
>
> The problem comes from the fact that within the box generated with the
> \fbox command you are back to the text environment, hence to type
> equations, once you are inside the box, you have to insert an online
> formula
>
> HOW TO PUT A BOX AROUND AN EQUATION
> Resume for dummies n. 2, hopefully the right one:
>
>   1) go to math mode with the command INSERT --> MATH --> DISPLAY FORMULA
>   2) type \fbox (visible box) and then a press carriage return or the
> spacebar
>   3) the text "\fbox" disappear and a framed box appears
>   4) put the cursor inside the box (WARNING, YOU ARE IN TEXT MODE NOW!!)
>   5) go again to math mode with the command INSERT --> MATH --> INLINE
> FORMULA
>   6) type the equation there inside
>   7) eventually apply equation number as usual
>
> As a comment,
> 1) the box reduces the height of the equation, I don't know why, but
> this seems to be a feature of Latex, not of Lyx
> 2) if you need the eqnarray environment within the box you are in
> troubles, it seems it does not work. A workaround is given by inserting
> a matrix from the math panel and then aligning the contents with
> EDIT-->MATH-->ALIGNEMENT--> WHAT YOU NEED
>
>   Hope this is useful, thanks to all

I would add two different entries to the Wiki: one to answer the question

1. How can I disallow LaTeX to linebreak an inlined math formula?;

and the other one to answer the question:

2. How to put a box around an equation?.

Regarding the question 1, I would also include Herbert's solution.

Paul


Re: LyX and xypic

2005-10-25 Thread Angus Leeming

H. Peter Gumm wrote:

Hi,
is there anyone working with LyX and xypic.


If memory serves me right, André added some preliminary commutative diagram 
support at some sage. Certainly, mathed contains math_xyarrowinset.{C,h} 
and  math_xymatrixinset.{C,h}.



Is there any support, or are there any workarounds
to see commutative diagrams in their full glory within LyX.
BTW: I need to work in the native Windows-version of LyX


Perhaps you might have a look at LyX's InstantPreview feature 
(http://wiki.lyx.org/LyX/InstantPreview) which displays the content of math 
insets as bitmap images generated by running the snippet of LaTeX through 
the latex compiler. It's still a little kludgy in places but basically 
should work well enough if you install preview.sty from your MiKTeX package 
manager. The script is written in Python so you'll also need Python 
installed. But, I guess you do already... The script simply calls latex, 
dvips gs and optionally, one or two of the netpbm utilities; have a look at 
scripts/lyxpreview2bitmap.py in the LyX support directory.


Regards,
Angus





Re: No line break after paragraph heading

2005-10-25 Thread Christoph Mathys
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> > "Christoph" == Christoph Mathys <[EMAIL PROTECTED]> writes:
> 
> Christoph> What I'd need is a sub-subsubsection and I thought that is
> Christoph> a paragraph. I want a title diffrent from
> Christoph> Section/Subsection/Subsubsection (a level 4 title if one
> Christoph> can call it like that). Of course the title should be above
> Christoph> the text it belongs to. Hope I you know what I mean :).

> Or you may want to try something like
> \usepackage{titlesec}
> \titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}

Fits :). Thank you!

Christoph


-- 
Vital papers will demonstrate their vitality by
spontaneously moving from where you left them to where
you can't find them.


updating postscript file, but not eepic picture

2005-10-25 Thread Gunnar
Hi.
I have a LyX (1.3.6) file that contains a reference to an eepic file that is 
be included with "\input" command. That works, but when I change in the eepic 
file, the LyX files preview is not updataed, even though I use update 
postscript/ view postscript and reloads the postscript file.
What can I do to fix this problem?


textclass.lst

2005-10-25 Thread Carlos Knauer
Hi
Where can I found "textclass.lst" file ?
Thanks,


--
Carlos Fernando Knauer


How to set latex path on windows?

2005-10-25 Thread Scott Otterson
Lyx 1.3.6 has worked well on my WinXP machine until today, when I loaded 
a copy of my resume and got the error message:


'Textclass error
The document uses a missing Tex class "cv".  Lyx will not be able to 
produce output.'


I've got a couple of cv.* things installed:

c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls
c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty

What should I set so that lyx can find them?

Thanks,

Scott


Re: textclass.lst

2005-10-25 Thread Stephen Harris


- Original Message - 
From: "Carlos Knauer" <[EMAIL PROTECTED]>

To: ; <[EMAIL PROTECTED]>
Sent: Tuesday, October 25, 2005 3:36 PM
Subject: textclass.lst


Hi
Where can I found "textclass.lst" file ?
Thanks,


--
Carlos Fernando Knauer

It is supposed to be installed/created automatically. I decided to
test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP)
and so uninstalled LyX 1.3.6

and there was an error message during the install that the
configure script failed to finish. I also had the "start LyX"
box ticked. So after ok'ing the configure script error message
LyX tried to start but failed with:
couldn't find textclass.lst sorry has to exit.

I've seen that error message in the past. But not with the
stable version LyX 1.3.6 for Windows or Fedora Core.

The Windows pre lyx 1.3.6 once had textclass.lst problems 8Jun/05:
"Run the configure script from the installer in blocking fashion, so
a.. that the user knows what is going on. This also means that LyX
a.. can now be launched successfully from the installer because 
textclass.lst will now be generated in time."


Maybe this isn't close to your problem situation. This is the url
of the mailing lists which are archived (also a developer list):
http://www.lyx.org/internet/mailing.php

In particular lyx-users has a "new archive"
http://www.mail-archive.com/lyx-users@lists.lyx.org/

This link features a search window pane and if you insert
textclass.lst  into the search window you will find many hits
one of which may match your problem. There is not just one
reason why one inquires about textclass.lst or just one solution.
For instance you might not have the helper app, Minsys, installed or
some test releases don't allow installion to a non-default directory.
So more details need to be provided. Searching on the search engine Google 
(www.google.com) reveals Latex package requirements.


Under dir LyX,
Stephen








multiinclude with beamer

2005-10-25 Thread Myriam Abramson

Hi!

I desperately need to include some animation. I tried the multiinclude
as in the Beamer's users guide but I got a "file corrupted" message
with acroread (7.0). Any ideas?

I also tried various other things but I can't get any graphics
animation going. I would really like to have an example using
multiinclude that works. 

TIA

   myriam



unusual contents found?!?!

2005-10-25 Thread Jose Capco
Dear List,

Although this is not affecting my typeset or any of my
works with lyx.. but I am curious to know of a
"warning" I receive from the console whenever I try
opening my lyx document with the Qt port for windows
lyx 1.3.5 .. I get the following in the console ...

unusual contents found: [char 0 mathalpha]
not a dibseciton
bddraw = 0

not a dibseciton
bddraw = 0


what would all these mean? I am just curious, as it
might be something serious that I am ignorant of and
may affect my document as it grows bigger.

Sincerely,
Jose Capco



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com