Re: List of figures

2002-10-07 Thread Andre Poenitz

On Sun, Oct 06, 2002 at 12:53:27PM +0200, I Wayan Warmada wrote:
 I have used LyX-1.3.0cvs because the problem of the previous version of
 LyX (1.2.0 and 1.2.1) in the \mathrm{} command. I have write a lot of
 chemical equation. Need a lot of time if I used 1.2.x series to type a
 chemical formula. The \mathrm{} problem is solved in the cvs version.

Would it help you to have some kind of chemical formula inset similar to
the math formula inset that puts everything into \mathrm automatically?

I was thinking about such a feature a while ago...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote:
 This is not a big prolem but it would be better to avoid this kind of 
 problem by adding amsmath to the default style.

No good as some people don't want AMS...

Note that you can switch on AMS using the preferences dialog.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: pdf(latex) export figure problems

2002-10-07 Thread Andre Poenitz

On Fri, Oct 04, 2002 at 10:36:51AM -0400, Wolfgang Engelmann wrote:
 I export a lyx file to pdf(latex).
 Only a few figures are shown by the acrobat reader (4.0).
 Of most of them the place is reserved for the figure, but stays empty. 

I've seen such behaviour with broken .eps figures which drew a big white
background rectangle after the real drawing...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Patches

2002-10-07 Thread Robin Turner

Can anyone explain in really simple terms how to apply patches to CVS 
code (or point me to an appropriate page)?

Thanks,

Robin
-- 
We do not imprison ourselves with laws, or impoverish ourselves with 
money - Iain Banks

Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: List of figures

2002-10-07 Thread I Wayan Warmada

Andre Poenitz wrote:

Would it help you to have some kind of chemical formula inset similar to
the math formula inset that puts everything into \mathrm automatically?

I was thinking about such a feature a while ago...
  

Yes. I always type a chemical formula as \mathrm. It would be great if 
it possible to add such feature in lyx
to help writing chemical formulas easily. Thank's.

Wayan




Re: Patches

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 11:39:39AM +0300, Robin Turner wrote:
 Can anyone explain in really simple terms how to apply patches to CVS 
 code (or point me to an appropriate page)?

Change into the proper directory  (usually lyx-devel/ or lyx-devel/src/)
and  do a  'patch -p0  patch.diff' there. Sometimes it is necessary to
replace the '0' by some other number..

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: consective enviroments.

2002-10-07 Thread Andre Poenitz

On Wed, Oct 02, 2002 at 03:47:19PM -0500, Bo Peng wrote:
 Is there a better way?

None that I am aware of. This is a major shortcoming of the way paragraphs
are handled currently. No clean solution I am afraid...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: inline conversion between math and text

2002-10-07 Thread Andre Poenitz

On Thu, Oct 03, 2002 at 02:52:19PM +0900, Jorgen Johansson wrote:
 Is there a quicker way to add remove lines from the split evironment 
 inside the math environment?

M-c w i   for _i_nserting a ro_w_
M-c w d   for _d_eleting a ro_w_

 Is it possible to covert (inline) from math to text with some command?

Hm... not really. You can mark the formula and press C-l to convert it into
a ERT inset which will contain the textual representation of the formula.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



HTML editing

2002-10-07 Thread Graham Borland


I'm using Lyx to edit a structured document which must be presented in
HTML. I've found that I get the best results by using latex2html as
the final conversion tool.

A couple of questions:

1) On starting Lyx, I get this error message:

  LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]

Here's my lyxrc file:

\html_command latex2html -no_subdir -no_navigation -verbosity 0 -info
0 -split 0 -show_section_numbers '$$FName'



2) The output mostly looks OK, with the exception of code
snippets. I'm using the LyX-Code style in my document, but this
doesn't appear in the HTML as fixed-width text. The intermediate Latex
file seems to directly reference this Lyx-Code style rather than
something which latex2html could understand like {tt} (I hope you know
what I mean even if the syntax is wrong). How can I fix this?



-- 
Graham Borland   Picsel Technologies Ltd
[EMAIL PROTECTED]  Glasgow, Scotland




Re: HTML editing

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 02:17:41PM +0100, Graham Borland wrote:
 I'm using Lyx to edit a structured document which must be presented in
 HTML. I've found that I get the best results by using latex2html as
 the final conversion tool.

What version of LyX?

 A couple of questions:
 
 1) On starting Lyx, I get this error message:
 
   LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]
 
 Here's my lyxrc file:
 
 \html_command latex2html -no_subdir -no_navigation -verbosity 0 -info
 0 -split 0 -show_section_numbers '$$FName'

I'd rather expect a line saying 

  \converter latex html latex2html $$i 

or such.
 
 2) The output mostly looks OK, with the exception of code
 snippets. I'm using the LyX-Code style in my document, but this
 doesn't appear in the HTML as fixed-width text. The intermediate Latex
 file seems to directly reference this Lyx-Code style rather than
 something which latex2html could understand like {tt} (I hope you know
 what I mean even if the syntax is wrong). How can I fix this?

E.g. by adjusting the LyX-Code definition in layout/lyxmacros.inc or by
teaching latex2html wht to do whit lyxcode. I don't know which one is
easier, though.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: HTML editing

2002-10-07 Thread José Abílio Oliveira Matos

On Monday 07 October 2002 14:17, Graham Borland wrote:
 I'm using Lyx to edit a structured document which must be presented in
 HTML. I've found that I get the best results by using latex2html as
 the final conversion tool.

 A couple of questions:

 1) On starting Lyx, I get this error message:

   LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]

 Here's my lyxrc file:

 \html_command latex2html -no_subdir -no_navigation -verbosity 0 -info
 0 -split 0 -show_section_numbers '$$FName'

  Most probably this was left from a previous version. You did upgraded and 
that definition remained on the lyxrc file. The preference file, if present, 
now takes precende over lyxrc.

-- 
José Abílio



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 10:04:02AM +0200, Andre Poenitz wrote:
 On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote:
  This is not a big prolem but it would be better to avoid this kind of 
  problem by adding amsmath to the default style.

 No good as some people don't want AMS...

 Note that you can switch on AMS using the preferences dialog.

I do not know how to swith on AMS ... but this is not a big deal to 
me. Maybe lyx can solve this problem by: once a user uses cases 
environment, lyx adds ams support automatically. 

What I am thinking is: if I am a first time lyx user, I open a document, 
insert cases, error! I would instantly be scared away.

-- 
Bo Peng



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote:
 I do not know how to swith on AMS ... but this is not a big deal to 
 me. Maybe lyx can solve this problem by: once a user uses cases 
 environment, lyx adds ams support automatically. 

This problem is unsolvable by clever guessing.  I was arguing that this
is the wrong way to go a week or so ago.  Have a look at lyx-devel's
archives if you are intreseted.
 
 What I am thinking is: if I am a first time lyx user, I open a document, 
 insert cases, error! I would instantly be scared away.

That's why ams should be on by default.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Herbert Voss

Andre Poenitz wrote:

 On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote:
 
I do not know how to swith on AMS ... but this is not a big deal to 
me. Maybe lyx can solve this problem by: once a user uses cases 
environment, lyx adds ams support automatically. 

 
 This problem is unsolvable by clever guessing.  I was arguing that this


I do not agree! You have most of the amsstuff in lib/symbols, f.ex.

...
yenmsa  85   0 mathord  x
checkmark  msa  88   0 mathord  x
circledR   msa 114   0 mathord  x
...
hexagonwasy  55  0 xx
...

it is no problem to add another (optional) column
where you define a package to which the symbol or
command depends. It is not only amsmath which is
irritating to new users, wasysym f.ex. too.

 That's why ams should be on by default.

no, should be _controlled_ by LyX

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 05:39:30PM +0200, Herbert Voss wrote:
 I do not agree! You have most of the amsstuff in lib/symbols, f.ex.
 ...
 hexagonwasy  55  0 xx

Nevertheless it breaks if a user does not want AMS but uses a hexagon
macro of his own. In this case LyX decides to use AMS and the user has no
way to switch it off.

Actually I really have better things to do than to have this argument
again. Nothing - really NOTHING as far as I am concerned - is going to
change in this area until 1.3 is out. So if anybody want to have a
discussion again please talk to /dev/null or tell me to unsubscribe (again)
from the list.

 it is no problem to add another (optional) column
 where you define a package to which the symbol or
 command depends. It is not only amsmath which is
 irritating to new users, wasysym f.ex. too.

Yes, that would be a good idea if we want to stick to the guessing
mechanism.
 
Andre'


-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 05:43:41PM +0200, Andre Poenitz wrote:
 Yes, that would be a good idea if we want to stick to the guessing
 mechanism.

I did not know that this has already been discussed in lyx-devl, and I 
do not have any better idea than you guys. If lyx refuses to guess, 
maybe it can do better when error occurs. (If cases + error -amsmath, 
remind user to add it.) This also involves big amount of work though.

-- 
Bo Peng



EPS figures not displaying

2002-10-07 Thread Gerardo Cisneros

Hi.

I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
as figures aren't displayed by LyX.  Even in LyX documentation I
get a box that contains the name of the file (e.g., mobius.eps in
Sec. 4.3 of the User Guide) and a message claiming Error converting
to loadable format.  Derivative files (.dvi, .ps, .pdf) do contain
the figures in the proper places, but it is irksome that figures
from PostScript files can no longer be seen in the LyX window.

Any suggestions to correct this behavior will be appreciated.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: EPS figures not displaying

2002-10-07 Thread Dekel Tsur

On Mon, Oct 07, 2002 at 03:19:36PM -0500, Gerardo Cisneros wrote:
 
 I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
 as figures aren't displayed by LyX.  Even in LyX documentation I
 get a box that contains the name of the file (e.g., mobius.eps in
 Sec. 4.3 of the User Guide) and a message claiming Error converting
 to loadable format.  Derivative files (.dvi, .ps, .pdf) do contain
 the figures in the proper places, but it is irksome that figures
 from PostScript files can no longer be seen in the LyX window.
 
 Any suggestions to correct this behavior will be appreciated.

Do Edit-reconfigure



Re: EPS figures not displaying

2002-10-07 Thread Gerardo Cisneros

On Mon, 7 Oct 2002, Dekel Tsur wrote:

 [...]
 Do Edit-reconfigure

Thank you very much.  That did the trick.

Saludos,

Gerardo




Re: rotfloat and floats

2002-10-07 Thread Dekel Tsur

On Mon, Oct 07, 2002 at 01:34:50AM +, E GCP wrote:
 I'm a newbie, so this question maybe dumb, but why if I use the rotfloat 
 package, my table for example cannot be a float in LyX? That is, it won't 
 work unless I delete the \begin_float tab  \end_float from the LyX 
 file. Will the table still behave like a float?

You can't have a float inside a float:
In your case, you put a table float inside a sideways table float.
You just need to use sideways table float.
See the attached file.


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{rotfloat}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
begin{sidewaystable}
\layout Caption

This is a floating table.
\layout Standard
\align center 

\begin_inset  Tabular
lyxtabular version=2 rows=2 columns=2
features rotate=false islongtable=false endhead=0 endfirsthead=0 endfoot=0 
endlastfoot=0
column alignment=center valignment=top leftline=true rightline=false width= 
special=
column alignment=center valignment=top leftline=true rightline=true width= 
special=
row topline=true bottomline=true newpage=false
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=false rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

col1
\end_inset 
/cell
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=true rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

col2
\end_inset 
/cell
/row
row topline=true bottomline=true newpage=false
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=false rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

a
\end_inset 
/cell
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=true rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

b
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\layout Standard


\latex latex 

\backslash 
end{sidewaystable}
\the_end



Re: cross (hard) reference entire text?

2002-10-07 Thread Dekel Tsur

On Sun, Oct 06, 2002 at 11:19:15PM -0400, Nirmal Govind wrote:
 Hi.. is there a way that I can cross reference the actual text itself
 and not just the label associated with the reference? So, say I have an
 equation in one file: Ax=B (label)
 
 Can I somehow reference this entire equation in another file so that at
 the point where I insert the cross reference, the equation Ax=B is
 inserted and not just label? I guess this is sort of a hard reference
 since it's the equivalent of copying and pasting but more efficient..

Use math macros.



Re: footnotes and minipage

2002-10-07 Thread Dekel Tsur

On Sun, Oct 06, 2002 at 06:22:01PM +, E GCP wrote:
 Thanks. I found my problem and now it works. However, I have two questions. 
 Is there a way to eliminate the line that is created above the footnotes? 
 It just doesn't look good in the format that I have. Second question, I 

Inside the float, add the following line (in latex mode):
\let\footnoterule=\relax

 have floating tables, but in a minipage it doesn't pay  attention to the 
 location command (i.e., [tb]) It puts the float at the end of the chapter. 
 Is there a way to control the location of a floating table in a minipage?

You can't have a float inside a minipage.
What you need is a minipage inside the float!



Re: EPS figures not displaying

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 10:26:47PM +0200, Dekel Tsur wrote:
 On Mon, Oct 07, 2002 at 03:19:36PM -0500, Gerardo Cisneros wrote:

  I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
  as figures aren't displayed by LyX.  Even in LyX documentation I
  get a box that contains the name of the file (e.g., mobius.eps in
  Sec. 4.3 of the User Guide) and a message claiming Error converting
  to loadable format.  Derivative files (.dvi, .ps, .pdf) do contain
  the figures in the proper places, but it is irksome that figures
  from PostScript files can no longer be seen in the LyX window.
  
  Any suggestions to correct this behavior will be appreciated.

 Do Edit-reconfigure

I did. I still have this problem. Anyway, what is the source of this 
problem? convert is in my path and I guess I can convert eps to some 
other format from command line.

-- 
Bo Peng



Re: EPS figures not displaying

2002-10-07 Thread Herbert Voss

Bo Peng wrote:

 I did. I still have this problem. Anyway, what is the source of this 
 problem? convert is in my path and I guess I can convert eps to some 
 other format from command line.


what does the log say when running lyx with debugging?

lyx -dbg graphics file.lyx

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




several lines as a sub/superscript in math mode

2002-10-07 Thread Luiz Eleno

Hello,
How to make a subscript --- or superscript --- consisting of several 
lines, in math mode, for example, for a sum?

regards,
Luiz




Re: EPS figures not displaying

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 11:34:26PM +0200, Herbert Voss wrote:
 Bo Peng wrote:

 I did. I still have this problem. Anyway, what is the source of this 
 problem? convert is in my path and I guess I can convert eps to some 
 other format from command line.

 what does the log say when running lyx with debugging?

 lyx -dbg graphics file.lyx

I create a new file with a eps figure. The result of opening this file 
with debugging is:

 % Setting debug level to graphics
 Debugging `graphics' (Graphics conversion and loading)
 Token: 'FormatVersion'
 Token: 'filename'
 Token: 'display'
 Token: 'size_type'
 Token: 'rotateOrigin'
 Token: 'lyxsize_type'
 Token: '\end_inset'
 Attempting to convert image file: ~/stat/stat410/p1.2.eps
 with recognised extension: eps.
 Recognised Fileformat: ps
 Recognised Fileformat: ps


The file contains ps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/home/bpeng/stat/stat410/p1.2.eps'
infile_base='/home/bpeng/stat/stat410/p1.2'
outfile='/tmp/lyx_tmpdir24223yAa4tV/gconvert024223AAa4tV.xpm'

convert PS:${infile} XPM:${outfile}

if [ $? -ne 0 ]; then
'rm' -f ${outfile}
exit 1
fi

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir24320yYaaGV/p1.xpm'

'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi


Image conversion failed.


THe version of convert is:

Version: (#)ImageMagick 5.3.8 09/01/01 Q:16 http://www.imagemagick.org
Copyright: Copyright (C) 2001 ImageMagick Studio


I am working on Solaris 2.8, lyx 2.1.

I will test if convert can convert eps to xpm in command line.


-- 
Bo Peng



Nesting

2002-10-07 Thread Daniel Carrera

Hello,

I want to put a list inside a list.  And the documentation is very
frustrating.  When you read the section on Nesting environments, you first
get an introduction on who LyX sees things, and why nesting is cool.  Then
it says,

  How do you put a list inside a list?
   By now the answer should be obvious, you nest them.

This is a very frustrating and useless description to have in the section
that is supposed to show me how to nest things in the first place.  If I
want to know how to nest things, and your response is by nesting them,
that's less than useless.

Could someone *please* tell me how I can nest environments?  I just want
to put a list inside another.  That's it.

I've tried highlighting a portion of text and clicking on a new kind of
list, I've tried semi-random key combinations.  I really don't know what
I'm supposed to do.

Also, could someone update the documentation so that it contains a
meaningful answer?  I'm sure that nesting lists is very easy, but you
can't expect me to just guess how.

I hope that someone can help.

Daniel Carrera   ___ ___
Graduate Teaching Assistant  ||  |   ___ ___ ||  |
University of Maryland   || _|__/  _\___/  _\|| _|
 ||(___(  ((  (__||((_)
Teaching should be such that what is ||  |  \___/   \___/||  |
offered is perceived as a valuable   ||  | ___   ||  |
gift and not as a hard duty. || _|/  _\__|| _|
 ||(_(  (||((_)
  --Albert Einstein  ||  |\___/  ||  |
 ||  |   ||  |




Re: Nesting

2002-10-07 Thread Gerardo Cisneros

On Mon, 7 Oct 2002, Daniel Carrera wrote:
 [...]
 Could someone *please* tell me how I can nest environments?  I just want
 to put a list inside another.  That's it.

I believe Shift-Alt-RightArrow does what you want.  You'll see a red
bracket on the left margin for each level you've nested into.  Use
Shift-Alt-LeftArrow to go back.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: Nesting

2002-10-07 Thread Daniel Carrera

I tried Shift-Alt-RightArrow.  It didn't do anything, but I got the
message Changed environment depth( in possible range, maybe not).

Maybe I need to do something to change the possible range?
Perhaps Shift-Alt-Rightarrow only works after you already have some nested
lists.

 On Mon, 7 Oct 2002, Daniel Carrera wrote:
  [...]
  Could someone *please* tell me how I can nest environments?  I just want
  to put a list inside another.  That's it.

 I believe Shift-Alt-RightArrow does what you want.  You'll see a red
 bracket on the left margin for each level you've nested into.  Use
 Shift-Alt-LeftArrow to go back.

 Saludos,

Daniel Carrera   ___ ___
Graduate Teaching Assistant  ||  |   ___ ___ ||  |
University of Maryland   || _|__/  _\___/  _\|| _|
 ||(___(  ((  (__||((_)
Teaching should be such that what is ||  |  \___/   \___/||  |
offered is perceived as a valuable   ||  | ___   ||  |
gift and not as a hard duty. || _|/  _\__|| _|
 ||(_(  (||((_)
  --Albert Einstein  ||  |\___/  ||  |
 ||  |   ||  |





Re: Nesting

2002-10-07 Thread Gerardo Cisneros

Daniel,

 [...]
 Maybe I need to do something to change the possible range?
 Perhaps Shift-Alt-Rightarrow only works after you already have some nested
 lists.

Yes.  It only works if you're already in a list-type environment.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: Nesting

2002-10-07 Thread Daniel Carrera

 Yes.  It only works if you're already in a list-type environment.

No, I mean that if I am in a list-type environment, and I press
Shift-Alt-RightArrow, nothing happens.

I think I need to find another way of getting the nested lists before I
can start using Shift-Alt-*Arrow

Daniel Carrera   ___ ___
Graduate Teaching Assistant  ||  |   ___ ___ ||  |
University of Maryland   || _|__/  _\___/  _\|| _|
 ||(___(  ((  (__||((_)
Teaching should be such that what is ||  |  \___/   \___/||  |
offered is perceived as a valuable   ||  | ___   ||  |
gift and not as a hard duty. || _|/  _\__|| _|
 ||(_(  (||((_)
  --Albert Einstein  ||  |\___/  ||  |
 ||  |   ||  |




Re: Redhat install: libforms RPM

2002-10-07 Thread Myriam Abramson


 The xforms-0.88-4 rpm on the LyX ftp site works for me, but
 libstdc++-libc6.1-2.so.3 was still missing. On rpmfind.net I found a
 package which contains this version:
 
 ftp://rpmfind.net/linux/contrib/libc6/i386/libstdc++-2.95.1_2.10.0-3.i386.rpm
 
 Unfortunately on RH7.2 this conflicts with other packages
 (libstdc++-2.96-108.7.2 and compat-libstdc++-6.2-2.9.0.16).  
 
 So the solution was to manually copy the libstdc++-3-libc6.1-2-2.10.0.so
 file from the rpm package to /usr/lib, and run ldconfig. 
 

How did  you extract this file from the rpm? 


-- 
   myriam




Re: Redhat install: libforms RPM

2002-10-07 Thread Kayvan A. Sylvan

On Mon, Oct 07, 2002 at 10:24:11PM -0400, Myriam Abramson wrote:
 
  The xforms-0.88-4 rpm on the LyX ftp site works for me, but
  libstdc++-libc6.1-2.so.3 was still missing. On rpmfind.net I found a
  package which contains this version:
  
  ftp://rpmfind.net/linux/contrib/libc6/i386/libstdc++-2.95.1_2.10.0-3.i386.rpm
  
  Unfortunately on RH7.2 this conflicts with other packages
  (libstdc++-2.96-108.7.2 and compat-libstdc++-6.2-2.9.0.16).  
  
  So the solution was to manually copy the libstdc++-3-libc6.1-2-2.10.0.so
  file from the rpm package to /usr/lib, and run ldconfig. 
  
 
 How did  you extract this file from the rpm? 

Probably with rpm2cpio

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)



Re: math from lyx - rtf

2002-10-07 Thread Nirmal Govind

 Word/Equations are embedded math equation objects. I have not seen any
 
 way to really convert latex formula to this format. The best you can
 do might be inserting the latex2html generated pictures into word.
 This can be done, I think, by some html to rtf translator.

Thanks Bo.. I was trying latex2html from within Lyx and the math part
wasn't getting converted.. but I exported the file to Latex and then ran
latex2html from the shell and it worked fine.. I guess this is probably
a decent way to do it till a way is found to convert math into rtf
directly...

nirmal





Re: EPS figures not displaying

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 05:15:56PM -0500, Bo Peng wrote:
 On Mon, Oct 07, 2002 at 11:34:26PM +0200, Herbert Voss wrote:
  Bo Peng wrote:

  I did. I still have this problem. Anyway, what is the source of this 
  problem? convert is in my path and I guess I can convert eps to some 
  other format from command line.

  what does the log say when running lyx with debugging?

  lyx -dbg graphics file.lyx

 I create a new file with a eps figure. The result of opening this file 
 with debugging is:

  % Setting debug level to graphics
  Debugging `graphics' (Graphics conversion and loading)
  Token: 'FormatVersion'
  Token: 'filename'
  Token: 'display'
  Token: 'size_type'
  Token: 'rotateOrigin'
  Token: 'lyxsize_type'
  Token: '\end_inset'
  Attempting to convert image file: ~/stat/stat410/p1.2.eps
  with recognised extension: eps.
  Recognised Fileformat: ps
  Recognised Fileformat: ps

 The file contains ps format data.
 Converting it to xpm format.
 Conversion script:

 #!/bin/sh
 infile='/home/bpeng/stat/stat410/p1.2.eps'
 infile_base='/home/bpeng/stat/stat410/p1.2'
 outfile='/tmp/lyx_tmpdir24223yAa4tV/gconvert024223AAa4tV.xpm'

 convert PS:${infile} XPM:${outfile}

 if [ $? -ne 0 ]; then
 'rm' -f ${outfile}
 exit 1
 fi

 if [ ! -f ${outfile} ]; then
 if [ -f ${outfile}.0 ]; then
 'mv' -f ${outfile}.0 ${outfile}
 'rm' -f ${outfile}.?
 else
 exit 1
 fi
 fi

 fromfile=${outfile}
 tofile='/tmp/lyx_tmpdir24320yYaaGV/p1.xpm'

 'mv' -f ${fromfile} ${tofile}
 if [ $? -ne 0 ]; then
 'cp' -f ${fromfile} ${tofile}
 if [ $? -ne 0 ]; then
 exit 1
 fi
 'rm' -f ${fromfile}
 fi

 Image conversion failed.

The strange part is: The image conversion succeed! I can actually see 
/tmp/lyx_tmpdir24320yYaaGV/p1.xpm after I see the image conversion 
failed error message. Might there be something wrong with the display 
of xpm file on my system?

-- 
Bo Peng



Re: math from lyx - rtf

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 11:57:08PM -0400, Nirmal Govind wrote:
  Word/Equations are embedded math equation objects. I have not seen any
  
  way to really convert latex formula to this format. The best you can
  do might be inserting the latex2html generated pictures into word.
  This can be done, I think, by some html to rtf translator.

 Thanks Bo.. I was trying latex2html from within Lyx and the math part
 wasn't getting converted.. but I exported the file to Latex and then ran
 latex2html from the shell and it worked fine.. I guess this is probably
 a decent way to do it till a way is found to convert math into rtf
 directly...

I guess you need to change the parameters of latex2html to whatever you 
use outside of lyx. (Edit - Preference - Conversion) Anyway, a shell 
script or make file will do the job nicely.

Since word can open html file, you can export .lyx to .html file (better 
with -no_subdir parameter to get a single html file), open it with word 
and save to doc format. 

BTW, I heard that Scientific Workplace has a tex2rtf program, I did not 
get a chance to play with it though.



-- 
Bo Peng



Re: several lines as a sub/superscript in math mode

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 06:52:39PM -0300, Luiz Eleno wrote:
 Hello,
 How to make a subscript --- or superscript --- consisting of several 
 lines, in math mode, for example, for a sum?

You can put anything in a subscript or superscript, including an array or
subarray or similar.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: several lines as a sub/superscript in math mode

2002-10-07 Thread Herbert Voss

Luiz Eleno wrote:

 Hello,
 How to make a subscript --- or superscript --- consisting of several 
 lines, in math mode, for example, for a sum?


put the cursor right of the sum symbol, enter _ and then

{above \atop below}

or for more than two limits

{a\atop b\atop c ...}

Herbert




-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: several lines as a sub/superscript in math mode

2002-10-07 Thread Herbert Voss

Herbert Voss wrote:

 put the cursor right of the sum symbol, enter _ and then
 
 {above \atop below}
 
 or for more than two limits
 
 {a\atop b\atop c ...}


sorry, forgot to say that with amsmath.sty

\substack{...\\...\\...}

does the same.

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: List of figures

2002-10-07 Thread Andre Poenitz

On Sun, Oct 06, 2002 at 12:53:27PM +0200, I Wayan Warmada wrote:
 I have used LyX-1.3.0cvs because the problem of the previous version of
 LyX (1.2.0 and 1.2.1) in the \mathrm{} command. I have write a lot of
 chemical equation. Need a lot of time if I used 1.2.x series to type a
 chemical formula. The \mathrm{} problem is solved in the cvs version.

Would it help you to have some kind of chemical formula inset similar to
the math formula inset that puts everything into \mathrm automatically?

I was thinking about such a feature a while ago...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote:
 This is not a big prolem but it would be better to avoid this kind of 
 problem by adding amsmath to the default style.

No good as some people don't want AMS...

Note that you can switch on AMS using the preferences dialog.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: pdf(latex) export figure problems

2002-10-07 Thread Andre Poenitz

On Fri, Oct 04, 2002 at 10:36:51AM -0400, Wolfgang Engelmann wrote:
 I export a lyx file to pdf(latex).
 Only a few figures are shown by the acrobat reader (4.0).
 Of most of them the place is reserved for the figure, but stays empty. 

I've seen such behaviour with broken .eps figures which drew a big white
background rectangle after the real drawing...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Patches

2002-10-07 Thread Robin Turner

Can anyone explain in really simple terms how to apply patches to CVS 
code (or point me to an appropriate page)?

Thanks,

Robin
-- 
We do not imprison ourselves with laws, or impoverish ourselves with 
money - Iain Banks

Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: List of figures

2002-10-07 Thread I Wayan Warmada

Andre Poenitz wrote:

Would it help you to have some kind of chemical formula inset similar to
the math formula inset that puts everything into \mathrm automatically?

I was thinking about such a feature a while ago...
  

Yes. I always type a chemical formula as \mathrm. It would be great if 
it possible to add such feature in lyx
to help writing chemical formulas easily. Thank's.

Wayan




Re: Patches

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 11:39:39AM +0300, Robin Turner wrote:
 Can anyone explain in really simple terms how to apply patches to CVS 
 code (or point me to an appropriate page)?

Change into the proper directory  (usually lyx-devel/ or lyx-devel/src/)
and  do a  'patch -p0  patch.diff' there. Sometimes it is necessary to
replace the '0' by some other number..

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: consective enviroments.

2002-10-07 Thread Andre Poenitz

On Wed, Oct 02, 2002 at 03:47:19PM -0500, Bo Peng wrote:
 Is there a better way?

None that I am aware of. This is a major shortcoming of the way paragraphs
are handled currently. No clean solution I am afraid...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: inline conversion between math and text

2002-10-07 Thread Andre Poenitz

On Thu, Oct 03, 2002 at 02:52:19PM +0900, Jorgen Johansson wrote:
 Is there a quicker way to add remove lines from the split evironment 
 inside the math environment?

M-c w i   for _i_nserting a ro_w_
M-c w d   for _d_eleting a ro_w_

 Is it possible to covert (inline) from math to text with some command?

Hm... not really. You can mark the formula and press C-l to convert it into
a ERT inset which will contain the textual representation of the formula.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



HTML editing

2002-10-07 Thread Graham Borland


I'm using Lyx to edit a structured document which must be presented in
HTML. I've found that I get the best results by using latex2html as
the final conversion tool.

A couple of questions:

1) On starting Lyx, I get this error message:

  LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]

Here's my lyxrc file:

\html_command latex2html -no_subdir -no_navigation -verbosity 0 -info
0 -split 0 -show_section_numbers '$$FName'



2) The output mostly looks OK, with the exception of code
snippets. I'm using the LyX-Code style in my document, but this
doesn't appear in the HTML as fixed-width text. The intermediate Latex
file seems to directly reference this Lyx-Code style rather than
something which latex2html could understand like {tt} (I hope you know
what I mean even if the syntax is wrong). How can I fix this?



-- 
Graham Borland   Picsel Technologies Ltd
[EMAIL PROTECTED]  Glasgow, Scotland




Re: HTML editing

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 02:17:41PM +0100, Graham Borland wrote:
 I'm using Lyx to edit a structured document which must be presented in
 HTML. I've found that I get the best results by using latex2html as
 the final conversion tool.

What version of LyX?

 A couple of questions:
 
 1) On starting Lyx, I get this error message:
 
   LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]
 
 Here's my lyxrc file:
 
 \html_command latex2html -no_subdir -no_navigation -verbosity 0 -info
 0 -split 0 -show_section_numbers '$$FName'

I'd rather expect a line saying 

  \converter latex html latex2html $$i 

or such.
 
 2) The output mostly looks OK, with the exception of code
 snippets. I'm using the LyX-Code style in my document, but this
 doesn't appear in the HTML as fixed-width text. The intermediate Latex
 file seems to directly reference this Lyx-Code style rather than
 something which latex2html could understand like {tt} (I hope you know
 what I mean even if the syntax is wrong). How can I fix this?

E.g. by adjusting the LyX-Code definition in layout/lyxmacros.inc or by
teaching latex2html wht to do whit lyxcode. I don't know which one is
easier, though.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: HTML editing

2002-10-07 Thread José Abílio Oliveira Matos

On Monday 07 October 2002 14:17, Graham Borland wrote:
 I'm using Lyx to edit a structured document which must be presented in
 HTML. I've found that I get the best results by using latex2html as
 the final conversion tool.

 A couple of questions:

 1) On starting Lyx, I get this error message:

   LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]

 Here's my lyxrc file:

 \html_command latex2html -no_subdir -no_navigation -verbosity 0 -info
 0 -split 0 -show_section_numbers '$$FName'

  Most probably this was left from a previous version. You did upgraded and 
that definition remained on the lyxrc file. The preference file, if present, 
now takes precende over lyxrc.

-- 
José Abílio



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 10:04:02AM +0200, Andre Poenitz wrote:
 On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote:
  This is not a big prolem but it would be better to avoid this kind of 
  problem by adding amsmath to the default style.

 No good as some people don't want AMS...

 Note that you can switch on AMS using the preferences dialog.

I do not know how to swith on AMS ... but this is not a big deal to 
me. Maybe lyx can solve this problem by: once a user uses cases 
environment, lyx adds ams support automatically. 

What I am thinking is: if I am a first time lyx user, I open a document, 
insert cases, error! I would instantly be scared away.

-- 
Bo Peng



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote:
 I do not know how to swith on AMS ... but this is not a big deal to 
 me. Maybe lyx can solve this problem by: once a user uses cases 
 environment, lyx adds ams support automatically. 

This problem is unsolvable by clever guessing.  I was arguing that this
is the wrong way to go a week or so ago.  Have a look at lyx-devel's
archives if you are intreseted.
 
 What I am thinking is: if I am a first time lyx user, I open a document, 
 insert cases, error! I would instantly be scared away.

That's why ams should be on by default.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Herbert Voss

Andre Poenitz wrote:

 On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote:
 
I do not know how to swith on AMS ... but this is not a big deal to 
me. Maybe lyx can solve this problem by: once a user uses cases 
environment, lyx adds ams support automatically. 

 
 This problem is unsolvable by clever guessing.  I was arguing that this


I do not agree! You have most of the amsstuff in lib/symbols, f.ex.

...
yenmsa  85   0 mathord  x
checkmark  msa  88   0 mathord  x
circledR   msa 114   0 mathord  x
...
hexagonwasy  55  0 xx
...

it is no problem to add another (optional) column
where you define a package to which the symbol or
command depends. It is not only amsmath which is
irritating to new users, wasysym f.ex. too.

 That's why ams should be on by default.

no, should be _controlled_ by LyX

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 05:39:30PM +0200, Herbert Voss wrote:
 I do not agree! You have most of the amsstuff in lib/symbols, f.ex.
 ...
 hexagonwasy  55  0 xx

Nevertheless it breaks if a user does not want AMS but uses a hexagon
macro of his own. In this case LyX decides to use AMS and the user has no
way to switch it off.

Actually I really have better things to do than to have this argument
again. Nothing - really NOTHING as far as I am concerned - is going to
change in this area until 1.3 is out. So if anybody want to have a
discussion again please talk to /dev/null or tell me to unsubscribe (again)
from the list.

 it is no problem to add another (optional) column
 where you define a package to which the symbol or
 command depends. It is not only amsmath which is
 irritating to new users, wasysym f.ex. too.

Yes, that would be a good idea if we want to stick to the guessing
mechanism.
 
Andre'


-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 05:43:41PM +0200, Andre Poenitz wrote:
 Yes, that would be a good idea if we want to stick to the guessing
 mechanism.

I did not know that this has already been discussed in lyx-devl, and I 
do not have any better idea than you guys. If lyx refuses to guess, 
maybe it can do better when error occurs. (If cases + error -amsmath, 
remind user to add it.) This also involves big amount of work though.

-- 
Bo Peng



EPS figures not displaying

2002-10-07 Thread Gerardo Cisneros

Hi.

I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
as figures aren't displayed by LyX.  Even in LyX documentation I
get a box that contains the name of the file (e.g., mobius.eps in
Sec. 4.3 of the User Guide) and a message claiming Error converting
to loadable format.  Derivative files (.dvi, .ps, .pdf) do contain
the figures in the proper places, but it is irksome that figures
from PostScript files can no longer be seen in the LyX window.

Any suggestions to correct this behavior will be appreciated.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: EPS figures not displaying

2002-10-07 Thread Dekel Tsur

On Mon, Oct 07, 2002 at 03:19:36PM -0500, Gerardo Cisneros wrote:
 
 I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
 as figures aren't displayed by LyX.  Even in LyX documentation I
 get a box that contains the name of the file (e.g., mobius.eps in
 Sec. 4.3 of the User Guide) and a message claiming Error converting
 to loadable format.  Derivative files (.dvi, .ps, .pdf) do contain
 the figures in the proper places, but it is irksome that figures
 from PostScript files can no longer be seen in the LyX window.
 
 Any suggestions to correct this behavior will be appreciated.

Do Edit-reconfigure



Re: EPS figures not displaying

2002-10-07 Thread Gerardo Cisneros

On Mon, 7 Oct 2002, Dekel Tsur wrote:

 [...]
 Do Edit-reconfigure

Thank you very much.  That did the trick.

Saludos,

Gerardo




Re: rotfloat and floats

2002-10-07 Thread Dekel Tsur

On Mon, Oct 07, 2002 at 01:34:50AM +, E GCP wrote:
 I'm a newbie, so this question maybe dumb, but why if I use the rotfloat 
 package, my table for example cannot be a float in LyX? That is, it won't 
 work unless I delete the \begin_float tab  \end_float from the LyX 
 file. Will the table still behave like a float?

You can't have a float inside a float:
In your case, you put a table float inside a sideways table float.
You just need to use sideways table float.
See the attached file.


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{rotfloat}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
begin{sidewaystable}
\layout Caption

This is a floating table.
\layout Standard
\align center 

\begin_inset  Tabular
lyxtabular version=2 rows=2 columns=2
features rotate=false islongtable=false endhead=0 endfirsthead=0 endfoot=0 
endlastfoot=0
column alignment=center valignment=top leftline=true rightline=false width= 
special=
column alignment=center valignment=top leftline=true rightline=true width= 
special=
row topline=true bottomline=true newpage=false
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=false rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

col1
\end_inset 
/cell
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=true rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

col2
\end_inset 
/cell
/row
row topline=true bottomline=true newpage=false
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=false rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

a
\end_inset 
/cell
cell multicolumn=0 alignment=center valignment=top topline=true 
bottomline=false leftline=true rightline=true rotate=false usebox=none 
width= special=
\begin_inset Text

\layout Standard

b
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\layout Standard


\latex latex 

\backslash 
end{sidewaystable}
\the_end



Re: cross (hard) reference entire text?

2002-10-07 Thread Dekel Tsur

On Sun, Oct 06, 2002 at 11:19:15PM -0400, Nirmal Govind wrote:
 Hi.. is there a way that I can cross reference the actual text itself
 and not just the label associated with the reference? So, say I have an
 equation in one file: Ax=B (label)
 
 Can I somehow reference this entire equation in another file so that at
 the point where I insert the cross reference, the equation Ax=B is
 inserted and not just label? I guess this is sort of a hard reference
 since it's the equivalent of copying and pasting but more efficient..

Use math macros.



Re: footnotes and minipage

2002-10-07 Thread Dekel Tsur

On Sun, Oct 06, 2002 at 06:22:01PM +, E GCP wrote:
 Thanks. I found my problem and now it works. However, I have two questions. 
 Is there a way to eliminate the line that is created above the footnotes? 
 It just doesn't look good in the format that I have. Second question, I 

Inside the float, add the following line (in latex mode):
\let\footnoterule=\relax

 have floating tables, but in a minipage it doesn't pay  attention to the 
 location command (i.e., [tb]) It puts the float at the end of the chapter. 
 Is there a way to control the location of a floating table in a minipage?

You can't have a float inside a minipage.
What you need is a minipage inside the float!



Re: EPS figures not displaying

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 10:26:47PM +0200, Dekel Tsur wrote:
 On Mon, Oct 07, 2002 at 03:19:36PM -0500, Gerardo Cisneros wrote:

  I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
  as figures aren't displayed by LyX.  Even in LyX documentation I
  get a box that contains the name of the file (e.g., mobius.eps in
  Sec. 4.3 of the User Guide) and a message claiming Error converting
  to loadable format.  Derivative files (.dvi, .ps, .pdf) do contain
  the figures in the proper places, but it is irksome that figures
  from PostScript files can no longer be seen in the LyX window.
  
  Any suggestions to correct this behavior will be appreciated.

 Do Edit-reconfigure

I did. I still have this problem. Anyway, what is the source of this 
problem? convert is in my path and I guess I can convert eps to some 
other format from command line.

-- 
Bo Peng



Re: EPS figures not displaying

2002-10-07 Thread Herbert Voss

Bo Peng wrote:

 I did. I still have this problem. Anyway, what is the source of this 
 problem? convert is in my path and I guess I can convert eps to some 
 other format from command line.


what does the log say when running lyx with debugging?

lyx -dbg graphics file.lyx

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




several lines as a sub/superscript in math mode

2002-10-07 Thread Luiz Eleno

Hello,
How to make a subscript --- or superscript --- consisting of several 
lines, in math mode, for example, for a sum?

regards,
Luiz




Re: EPS figures not displaying

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 11:34:26PM +0200, Herbert Voss wrote:
 Bo Peng wrote:

 I did. I still have this problem. Anyway, what is the source of this 
 problem? convert is in my path and I guess I can convert eps to some 
 other format from command line.

 what does the log say when running lyx with debugging?

 lyx -dbg graphics file.lyx

I create a new file with a eps figure. The result of opening this file 
with debugging is:

 % Setting debug level to graphics
 Debugging `graphics' (Graphics conversion and loading)
 Token: 'FormatVersion'
 Token: 'filename'
 Token: 'display'
 Token: 'size_type'
 Token: 'rotateOrigin'
 Token: 'lyxsize_type'
 Token: '\end_inset'
 Attempting to convert image file: ~/stat/stat410/p1.2.eps
 with recognised extension: eps.
 Recognised Fileformat: ps
 Recognised Fileformat: ps


The file contains ps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/home/bpeng/stat/stat410/p1.2.eps'
infile_base='/home/bpeng/stat/stat410/p1.2'
outfile='/tmp/lyx_tmpdir24223yAa4tV/gconvert024223AAa4tV.xpm'

convert PS:${infile} XPM:${outfile}

if [ $? -ne 0 ]; then
'rm' -f ${outfile}
exit 1
fi

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir24320yYaaGV/p1.xpm'

'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi


Image conversion failed.


THe version of convert is:

Version: (#)ImageMagick 5.3.8 09/01/01 Q:16 http://www.imagemagick.org
Copyright: Copyright (C) 2001 ImageMagick Studio


I am working on Solaris 2.8, lyx 2.1.

I will test if convert can convert eps to xpm in command line.


-- 
Bo Peng



Nesting

2002-10-07 Thread Daniel Carrera

Hello,

I want to put a list inside a list.  And the documentation is very
frustrating.  When you read the section on Nesting environments, you first
get an introduction on who LyX sees things, and why nesting is cool.  Then
it says,

  How do you put a list inside a list?
   By now the answer should be obvious, you nest them.

This is a very frustrating and useless description to have in the section
that is supposed to show me how to nest things in the first place.  If I
want to know how to nest things, and your response is by nesting them,
that's less than useless.

Could someone *please* tell me how I can nest environments?  I just want
to put a list inside another.  That's it.

I've tried highlighting a portion of text and clicking on a new kind of
list, I've tried semi-random key combinations.  I really don't know what
I'm supposed to do.

Also, could someone update the documentation so that it contains a
meaningful answer?  I'm sure that nesting lists is very easy, but you
can't expect me to just guess how.

I hope that someone can help.

Daniel Carrera   ___ ___
Graduate Teaching Assistant  ||  |   ___ ___ ||  |
University of Maryland   || _|__/  _\___/  _\|| _|
 ||(___(  ((  (__||((_)
Teaching should be such that what is ||  |  \___/   \___/||  |
offered is perceived as a valuable   ||  | ___   ||  |
gift and not as a hard duty. || _|/  _\__|| _|
 ||(_(  (||((_)
  --Albert Einstein  ||  |\___/  ||  |
 ||  |   ||  |




Re: Nesting

2002-10-07 Thread Gerardo Cisneros

On Mon, 7 Oct 2002, Daniel Carrera wrote:
 [...]
 Could someone *please* tell me how I can nest environments?  I just want
 to put a list inside another.  That's it.

I believe Shift-Alt-RightArrow does what you want.  You'll see a red
bracket on the left margin for each level you've nested into.  Use
Shift-Alt-LeftArrow to go back.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: Nesting

2002-10-07 Thread Daniel Carrera

I tried Shift-Alt-RightArrow.  It didn't do anything, but I got the
message Changed environment depth( in possible range, maybe not).

Maybe I need to do something to change the possible range?
Perhaps Shift-Alt-Rightarrow only works after you already have some nested
lists.

 On Mon, 7 Oct 2002, Daniel Carrera wrote:
  [...]
  Could someone *please* tell me how I can nest environments?  I just want
  to put a list inside another.  That's it.

 I believe Shift-Alt-RightArrow does what you want.  You'll see a red
 bracket on the left margin for each level you've nested into.  Use
 Shift-Alt-LeftArrow to go back.

 Saludos,

Daniel Carrera   ___ ___
Graduate Teaching Assistant  ||  |   ___ ___ ||  |
University of Maryland   || _|__/  _\___/  _\|| _|
 ||(___(  ((  (__||((_)
Teaching should be such that what is ||  |  \___/   \___/||  |
offered is perceived as a valuable   ||  | ___   ||  |
gift and not as a hard duty. || _|/  _\__|| _|
 ||(_(  (||((_)
  --Albert Einstein  ||  |\___/  ||  |
 ||  |   ||  |





Re: Nesting

2002-10-07 Thread Gerardo Cisneros

Daniel,

 [...]
 Maybe I need to do something to change the possible range?
 Perhaps Shift-Alt-Rightarrow only works after you already have some nested
 lists.

Yes.  It only works if you're already in a list-type environment.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: Nesting

2002-10-07 Thread Daniel Carrera

 Yes.  It only works if you're already in a list-type environment.

No, I mean that if I am in a list-type environment, and I press
Shift-Alt-RightArrow, nothing happens.

I think I need to find another way of getting the nested lists before I
can start using Shift-Alt-*Arrow

Daniel Carrera   ___ ___
Graduate Teaching Assistant  ||  |   ___ ___ ||  |
University of Maryland   || _|__/  _\___/  _\|| _|
 ||(___(  ((  (__||((_)
Teaching should be such that what is ||  |  \___/   \___/||  |
offered is perceived as a valuable   ||  | ___   ||  |
gift and not as a hard duty. || _|/  _\__|| _|
 ||(_(  (||((_)
  --Albert Einstein  ||  |\___/  ||  |
 ||  |   ||  |




Re: Redhat install: libforms RPM

2002-10-07 Thread Myriam Abramson


 The xforms-0.88-4 rpm on the LyX ftp site works for me, but
 libstdc++-libc6.1-2.so.3 was still missing. On rpmfind.net I found a
 package which contains this version:
 
 ftp://rpmfind.net/linux/contrib/libc6/i386/libstdc++-2.95.1_2.10.0-3.i386.rpm
 
 Unfortunately on RH7.2 this conflicts with other packages
 (libstdc++-2.96-108.7.2 and compat-libstdc++-6.2-2.9.0.16).  
 
 So the solution was to manually copy the libstdc++-3-libc6.1-2-2.10.0.so
 file from the rpm package to /usr/lib, and run ldconfig. 
 

How did  you extract this file from the rpm? 


-- 
   myriam




Re: Redhat install: libforms RPM

2002-10-07 Thread Kayvan A. Sylvan

On Mon, Oct 07, 2002 at 10:24:11PM -0400, Myriam Abramson wrote:
 
  The xforms-0.88-4 rpm on the LyX ftp site works for me, but
  libstdc++-libc6.1-2.so.3 was still missing. On rpmfind.net I found a
  package which contains this version:
  
  ftp://rpmfind.net/linux/contrib/libc6/i386/libstdc++-2.95.1_2.10.0-3.i386.rpm
  
  Unfortunately on RH7.2 this conflicts with other packages
  (libstdc++-2.96-108.7.2 and compat-libstdc++-6.2-2.9.0.16).  
  
  So the solution was to manually copy the libstdc++-3-libc6.1-2-2.10.0.so
  file from the rpm package to /usr/lib, and run ldconfig. 
  
 
 How did  you extract this file from the rpm? 

Probably with rpm2cpio

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)



Re: math from lyx - rtf

2002-10-07 Thread Nirmal Govind

 Word/Equations are embedded math equation objects. I have not seen any
 
 way to really convert latex formula to this format. The best you can
 do might be inserting the latex2html generated pictures into word.
 This can be done, I think, by some html to rtf translator.

Thanks Bo.. I was trying latex2html from within Lyx and the math part
wasn't getting converted.. but I exported the file to Latex and then ran
latex2html from the shell and it worked fine.. I guess this is probably
a decent way to do it till a way is found to convert math into rtf
directly...

nirmal





Re: EPS figures not displaying

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 05:15:56PM -0500, Bo Peng wrote:
 On Mon, Oct 07, 2002 at 11:34:26PM +0200, Herbert Voss wrote:
  Bo Peng wrote:

  I did. I still have this problem. Anyway, what is the source of this 
  problem? convert is in my path and I guess I can convert eps to some 
  other format from command line.

  what does the log say when running lyx with debugging?

  lyx -dbg graphics file.lyx

 I create a new file with a eps figure. The result of opening this file 
 with debugging is:

  % Setting debug level to graphics
  Debugging `graphics' (Graphics conversion and loading)
  Token: 'FormatVersion'
  Token: 'filename'
  Token: 'display'
  Token: 'size_type'
  Token: 'rotateOrigin'
  Token: 'lyxsize_type'
  Token: '\end_inset'
  Attempting to convert image file: ~/stat/stat410/p1.2.eps
  with recognised extension: eps.
  Recognised Fileformat: ps
  Recognised Fileformat: ps

 The file contains ps format data.
 Converting it to xpm format.
 Conversion script:

 #!/bin/sh
 infile='/home/bpeng/stat/stat410/p1.2.eps'
 infile_base='/home/bpeng/stat/stat410/p1.2'
 outfile='/tmp/lyx_tmpdir24223yAa4tV/gconvert024223AAa4tV.xpm'

 convert PS:${infile} XPM:${outfile}

 if [ $? -ne 0 ]; then
 'rm' -f ${outfile}
 exit 1
 fi

 if [ ! -f ${outfile} ]; then
 if [ -f ${outfile}.0 ]; then
 'mv' -f ${outfile}.0 ${outfile}
 'rm' -f ${outfile}.?
 else
 exit 1
 fi
 fi

 fromfile=${outfile}
 tofile='/tmp/lyx_tmpdir24320yYaaGV/p1.xpm'

 'mv' -f ${fromfile} ${tofile}
 if [ $? -ne 0 ]; then
 'cp' -f ${fromfile} ${tofile}
 if [ $? -ne 0 ]; then
 exit 1
 fi
 'rm' -f ${fromfile}
 fi

 Image conversion failed.

The strange part is: The image conversion succeed! I can actually see 
/tmp/lyx_tmpdir24320yYaaGV/p1.xpm after I see the image conversion 
failed error message. Might there be something wrong with the display 
of xpm file on my system?

-- 
Bo Peng



Re: math from lyx - rtf

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 11:57:08PM -0400, Nirmal Govind wrote:
  Word/Equations are embedded math equation objects. I have not seen any
  
  way to really convert latex formula to this format. The best you can
  do might be inserting the latex2html generated pictures into word.
  This can be done, I think, by some html to rtf translator.

 Thanks Bo.. I was trying latex2html from within Lyx and the math part
 wasn't getting converted.. but I exported the file to Latex and then ran
 latex2html from the shell and it worked fine.. I guess this is probably
 a decent way to do it till a way is found to convert math into rtf
 directly...

I guess you need to change the parameters of latex2html to whatever you 
use outside of lyx. (Edit - Preference - Conversion) Anyway, a shell 
script or make file will do the job nicely.

Since word can open html file, you can export .lyx to .html file (better 
with -no_subdir parameter to get a single html file), open it with word 
and save to doc format. 

BTW, I heard that Scientific Workplace has a tex2rtf program, I did not 
get a chance to play with it though.



-- 
Bo Peng



Re: several lines as a sub/superscript in math mode

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 06:52:39PM -0300, Luiz Eleno wrote:
 Hello,
 How to make a subscript --- or superscript --- consisting of several 
 lines, in math mode, for example, for a sum?

You can put anything in a subscript or superscript, including an array or
subarray or similar.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: several lines as a sub/superscript in math mode

2002-10-07 Thread Herbert Voss

Luiz Eleno wrote:

 Hello,
 How to make a subscript --- or superscript --- consisting of several 
 lines, in math mode, for example, for a sum?


put the cursor right of the sum symbol, enter _ and then

{above \atop below}

or for more than two limits

{a\atop b\atop c ...}

Herbert




-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: several lines as a sub/superscript in math mode

2002-10-07 Thread Herbert Voss

Herbert Voss wrote:

 put the cursor right of the sum symbol, enter _ and then
 
 {above \atop below}
 
 or for more than two limits
 
 {a\atop b\atop c ...}


sorry, forgot to say that with amsmath.sty

\substack{...\\...\\...}

does the same.

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: List of figures

2002-10-07 Thread Andre Poenitz

On Sun, Oct 06, 2002 at 12:53:27PM +0200, I Wayan Warmada wrote:
> I have used LyX-1.3.0cvs because the problem of the previous version of
> LyX (1.2.0 and 1.2.1) in the \mathrm{} command. I have write a lot of
> chemical equation. Need a lot of time if I used 1.2.x series to type a
> chemical formula. The \mathrm{} problem is solved in the cvs version.

Would it help you to have some kind of "chemical formula inset" similar to
the "math formula inset" that puts everything into \mathrm automatically?

I was thinking about such a feature a while ago...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote:
> This is not a big prolem but it would be better to avoid this kind of 
> problem by adding amsmath to the default style.

No good as some people don't want AMS...

Note that you can "switch on" AMS using the preferences dialog.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: pdf(latex) export figure problems

2002-10-07 Thread Andre Poenitz

On Fri, Oct 04, 2002 at 10:36:51AM -0400, Wolfgang Engelmann wrote:
> I export a lyx file to pdf(latex).
> Only a few figures are shown by the acrobat reader (4.0).
> Of most of them the place is reserved for the figure, but stays empty. 

I've seen such behaviour with broken .eps figures which drew a big white
"background" rectangle after the "real drawing"...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Patches

2002-10-07 Thread Robin Turner

Can anyone explain in really simple terms how to apply patches to CVS 
code (or point me to an appropriate page)?

Thanks,

Robin
-- 
"We do not imprison ourselves with laws, or impoverish ourselves with 
money" - Iain Banks

Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: List of figures

2002-10-07 Thread I Wayan Warmada

Andre Poenitz wrote:

>Would it help you to have some kind of "chemical formula inset" similar to
>the "math formula inset" that puts everything into \mathrm automatically?
>
>I was thinking about such a feature a while ago...
>  
>
Yes. I always type a chemical formula as \mathrm. It would be great if 
it possible to add such feature in lyx
to help writing chemical formulas easily. Thank's.

Wayan




Re: Patches

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 11:39:39AM +0300, Robin Turner wrote:
> Can anyone explain in really simple terms how to apply patches to CVS 
> code (or point me to an appropriate page)?

Change into the proper directory  (usually lyx-devel/ or lyx-devel/src/)
and  do a  'patch -p0 < patch.diff' there. Sometimes it is necessary to
replace the '0' by some other number..

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: consective enviroments.

2002-10-07 Thread Andre Poenitz

On Wed, Oct 02, 2002 at 03:47:19PM -0500, Bo Peng wrote:
> Is there a better way?

None that I am aware of. This is a major shortcoming of the way paragraphs
are handled currently. No clean solution I am afraid...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: inline conversion between math and text

2002-10-07 Thread Andre Poenitz

On Thu, Oct 03, 2002 at 02:52:19PM +0900, Jorgen Johansson wrote:
> Is there a quicker way to add remove lines from the split evironment 
> inside the math environment?

M-c w i   for _i_nserting a ro_w_
M-c w d   for _d_eleting a ro_w_

> Is it possible to covert (inline) from math to text with some command?

Hm... not really. You can mark the formula and press C-l to convert it into
a ERT inset which will contain the textual representation of the formula.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



HTML editing

2002-10-07 Thread Graham Borland


I'm using Lyx to edit a structured document which must be presented in
HTML. I've found that I get the best results by using latex2html as
the final conversion tool.

A couple of questions:

1) On starting Lyx, I get this error message:

  LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]

Here's my lyxrc file:

\html_command "latex2html -no_subdir -no_navigation -verbosity 0 -info
0 -split 0 -show_section_numbers '$$FName'"



2) The output mostly looks OK, with the exception of code
snippets. I'm using the LyX-Code style in my document, but this
doesn't appear in the HTML as fixed-width text. The intermediate Latex
file seems to directly reference this Lyx-Code style rather than
something which latex2html could understand like {tt} (I hope you know
what I mean even if the syntax is wrong). How can I fix this?



-- 
Graham Borland   Picsel Technologies Ltd
[EMAIL PROTECTED]  Glasgow, Scotland




Re: HTML editing

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 02:17:41PM +0100, Graham Borland wrote:
> I'm using Lyx to edit a structured document which must be presented in
> HTML. I've found that I get the best results by using latex2html as
> the final conversion tool.

What version of LyX?

> A couple of questions:
> 
> 1) On starting Lyx, I get this error message:
> 
>   LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]
> 
> Here's my lyxrc file:
> 
> \html_command "latex2html -no_subdir -no_navigation -verbosity 0 -info
> 0 -split 0 -show_section_numbers '$$FName'"

I'd rather expect a line saying 

  \converter latex html "latex2html $$i" ""

or such.
 
> 2) The output mostly looks OK, with the exception of code
> snippets. I'm using the LyX-Code style in my document, but this
> doesn't appear in the HTML as fixed-width text. The intermediate Latex
> file seems to directly reference this Lyx-Code style rather than
> something which latex2html could understand like {tt} (I hope you know
> what I mean even if the syntax is wrong). How can I fix this?

E.g. by adjusting the LyX-Code definition in layout/lyxmacros.inc or by
teaching latex2html wht to do whit "lyxcode". I don't know which one is
easier, though.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: HTML editing

2002-10-07 Thread José Abílio Oliveira Matos

On Monday 07 October 2002 14:17, Graham Borland wrote:
> I'm using Lyx to edit a structured document which must be presented in
> HTML. I've found that I get the best results by using latex2html as
> the final conversion tool.
>
> A couple of questions:
>
> 1) On starting Lyx, I get this error message:
>
>   LyX: Unknown tag `\html_command' [around line 9 of file ~/.lyx/lyxrc]
>
> Here's my lyxrc file:
>
> \html_command "latex2html -no_subdir -no_navigation -verbosity 0 -info
> 0 -split 0 -show_section_numbers '$$FName'"

  Most probably this was left from a previous version. You did upgraded and 
that definition remained on the lyxrc file. The preference file, if present, 
now takes precende over lyxrc.

-- 
José Abílio



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 10:04:02AM +0200, Andre Poenitz wrote:
> On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote:
> > This is not a big prolem but it would be better to avoid this kind of 
> > problem by adding amsmath to the default style.

> No good as some people don't want AMS...

> Note that you can "switch on" AMS using the preferences dialog.

I do not know how to "swith on" AMS ... but this is not a big deal to 
me. Maybe lyx can solve this problem by: once a user uses cases 
environment, lyx adds ams support automatically. 

What I am thinking is: if I am a first time lyx user, I open a document, 
insert cases, error! I would instantly be scared away.

-- 
Bo Peng



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote:
> I do not know how to "swith on" AMS ... but this is not a big deal to 
> me. Maybe lyx can solve this problem by: once a user uses cases 
> environment, lyx adds ams support automatically. 

This problem is unsolvable by clever guessing.  I was arguing that this
is the wrong way to go a week or so ago.  Have a look at lyx-devel's
archives if you are intreseted.
 
> What I am thinking is: if I am a first time lyx user, I open a document, 
> insert cases, error! I would instantly be scared away.

That's why ams should be on by default.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Herbert Voss

Andre Poenitz wrote:

> On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote:
> 
>>I do not know how to "swith on" AMS ... but this is not a big deal to 
>>me. Maybe lyx can solve this problem by: once a user uses cases 
>>environment, lyx adds ams support automatically. 
>>
> 
> This problem is unsolvable by clever guessing.  I was arguing that this


I do not agree! You have most of the amsstuff in lib/symbols, f.ex.

...
yenmsa  85   0 mathord  x
checkmark  msa  88   0 mathord  x
circledR   msa 114   0 mathord  x
...
hexagonwasy  55  0 xx
...

it is no problem to add another (optional) column
where you define a package to which the symbol or
command depends. It is not only amsmath which is
irritating to new users, wasysym f.ex. too.

> That's why ams should be on by default.

no, should be _controlled_ by LyX

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz

On Mon, Oct 07, 2002 at 05:39:30PM +0200, Herbert Voss wrote:
> I do not agree! You have most of the amsstuff in lib/symbols, f.ex.
> ...
> hexagonwasy  55  0 xx

Nevertheless it breaks if a user does not want AMS but uses a "hexagon"
macro of his own. In this case LyX decides to use AMS and the user has no
way to switch it off.

Actually I really have better things to do than to have this argument
again. Nothing - really NOTHING as far as I am concerned - is going to
change in this area until 1.3 is out. So if anybody want to have a
discussion again please talk to /dev/null or tell me to unsubscribe (again)
from the list.

> it is no problem to add another (optional) column
> where you define a package to which the symbol or
> command depends. It is not only amsmath which is
> irritating to new users, wasysym f.ex. too.

Yes, that would be a good idea if we want to stick to the guessing
mechanism.
 
Andre'


-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng

On Mon, Oct 07, 2002 at 05:43:41PM +0200, Andre Poenitz wrote:
> Yes, that would be a good idea if we want to stick to the guessing
> mechanism.

I did not know that this has already been discussed in lyx-devl, and I 
do not have any better idea than you guys. If lyx refuses to guess, 
maybe it can do better when error occurs. (If cases + error -amsmath, 
remind user to add it.) This also involves big amount of work though.

-- 
Bo Peng



EPS figures not displaying

2002-10-07 Thread Gerardo Cisneros

Hi.

I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
as figures aren't displayed by LyX.  Even in LyX documentation I
get a box that contains the name of the file (e.g., mobius.eps in
Sec. 4.3 of the User Guide) and a message claiming "Error converting
to loadable format".  Derivative files (.dvi, .ps, .pdf) do contain
the figures in the proper places, but it is irksome that figures
from PostScript files can no longer be seen in the LyX window.

Any suggestions to correct this behavior will be appreciated.

Saludos,

Gerardo
-- 
Dr. Gerardo Cisneros|SGI (Silicon Graphics, S.A. de C.V.)
Scientist/Principal SE  |Av. Vasco de Quiroga 3000, Col. Santa Fe
[EMAIL PROTECTED] |01210 Mexico, D.F., MEXICO |Vnet 925-1357
(+52-55)5267-1357   |http://www.sgi.com/




Re: EPS figures not displaying

2002-10-07 Thread Dekel Tsur

On Mon, Oct 07, 2002 at 03:19:36PM -0500, Gerardo Cisneros wrote:
 
> I upgraded LyX from 1.1.6 to 1.2.1, after which EPS files inserted
> as figures aren't displayed by LyX.  Even in LyX documentation I
> get a box that contains the name of the file (e.g., mobius.eps in
> Sec. 4.3 of the User Guide) and a message claiming "Error converting
> to loadable format".  Derivative files (.dvi, .ps, .pdf) do contain
> the figures in the proper places, but it is irksome that figures
> from PostScript files can no longer be seen in the LyX window.
> 
> Any suggestions to correct this behavior will be appreciated.

Do Edit->reconfigure



Re: EPS figures not displaying

2002-10-07 Thread Gerardo Cisneros

On Mon, 7 Oct 2002, Dekel Tsur wrote:

> [...]
> Do Edit->reconfigure

Thank you very much.  That did the trick.

Saludos,

Gerardo




Re: rotfloat and floats

2002-10-07 Thread Dekel Tsur

On Mon, Oct 07, 2002 at 01:34:50AM +, E GCP wrote:
> I'm a newbie, so this question maybe dumb, but why if I use the rotfloat 
> package, my table for example cannot be a float in LyX? That is, it won't 
> work unless I delete the "\begin_float tab"  "\end_float" from the LyX 
> file. Will the table still behave like a float?

You can't have a float inside a float:
In your case, you put a table float inside a sideways table float.
You just need to use sideways table float.
See the attached file.


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{rotfloat}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
begin{sidewaystable}
\layout Caption

This is a floating table.
\layout Standard
\align center 

\begin_inset  Tabular






\begin_inset Text

\layout Standard

col1
\end_inset 


\begin_inset Text

\layout Standard

col2
\end_inset 




\begin_inset Text

\layout Standard

a
\end_inset 


\begin_inset Text

\layout Standard

b
\end_inset 




\end_inset 


\layout Standard


\latex latex 

\backslash 
end{sidewaystable}
\the_end



Re: cross (hard) reference entire text?

2002-10-07 Thread Dekel Tsur

On Sun, Oct 06, 2002 at 11:19:15PM -0400, Nirmal Govind wrote:
> Hi.. is there a way that I can cross reference the actual text itself
> and not just the label associated with the reference? So, say I have an
> equation in one file: Ax=B (label)
> 
> Can I somehow reference this entire equation in another file so that at
> the point where I insert the cross reference, the equation Ax=B is
> inserted and not just "label"? I guess this is sort of a hard reference
> since it's the equivalent of copying and pasting but more efficient..

Use math macros.



Re: footnotes and minipage

2002-10-07 Thread Dekel Tsur

On Sun, Oct 06, 2002 at 06:22:01PM +, E GCP wrote:
> Thanks. I found my problem and now it works. However, I have two questions. 
> Is there a way to eliminate the line that is created above the footnotes? 
> It just doesn't look good in the format that I have. Second question, I 

Inside the float, add the following line (in latex mode):
\let\footnoterule=\relax

> have floating tables, but in a minipage it doesn't pay  attention to the 
> location command (i.e., [tb]) It puts the float at the end of the chapter. 
> Is there a way to control the location of a floating table in a minipage?

You can't have a float inside a minipage.
What you need is a minipage inside the float!



  1   2   >