Re: multicol and alignment ( lyx-1.1.6fix1 )

2001-03-14 Thread Tuukka Toivonen

On Wed, 14 Mar 2001, Robin Gerard wrote:

 I have a problem of alignment when I use multicol.

I have no idea what was wrong with your document. I couldn't fix
it. However, I created a new document and copied and pasted the lines from
your document to it and it seems to work fine. It's attached.



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\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


\lang french
Soit les fonctions \SpecialChar ~

\begin_inset Formula \( f \)
\end_inset 

 \SpecialChar ~
 et \SpecialChar ~
 
\begin_inset Formula \( g \)
\end_inset 

 \SpecialChar ~
dfinies par :
\layout Standard


\latex latex 

\backslash 
begin{multicols}{2}
\layout Standard
\noindent 

\lang french

\begin_inset Formula \begin{eqnarray*}
f  :  R\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, }\, 
\, R\\
x\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \: }\, \, f\left( 
x\right) =x-3
\end{eqnarray*}

\end_inset 


\layout Standard
\noindent 

\lang french

\begin_inset Formula \begin{eqnarray*}
g  :  R\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, }\, 
\, R\\
x\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \: }\, \, f\left( 
x\right) =x+3
\end{eqnarray*}

\end_inset 


\layout Standard


\latex latex 

\backslash 
end{multicols}
\layout Standard

text continues here
\the_end



unsuscribe

2001-03-14 Thread Edwin Hoff






Re: Missing \begin{document}

2001-03-14 Thread Jean-Marc Lasgouttes

 "Dekel" == Dekel Tsur [EMAIL PROTECTED] writes:

Dekel On Tue, Mar 13, 2001 at 12:05:58PM +, George De Bruin
Dekel wrote:
   I downloaded and installed lyx-1.1.6fix1 and when I try to
 process   (convert to LaTeX od print) the file I get the error
 message: \missing{begin{document} The problem is
 that the program sometime before `beginning' the   document,
 calls the file english.cfg.   How can tjis be fixed?   This
 might be the result of an unclosed { in the preamble.
 
 While this may be true, might I suggest then that there is
 something going wrong between LyX 1.1.5 and 1.1.6? I have a number
 of files that I was working on in 1.1.5 that never exhibited this
 problem, but the moment I opened them in 1.1.6 they started
 exhibiting this exact same problem.

Dekel Do you have an example document ?

Dekel One difference between 1.1.5 and 1.1.6 is that the latter
Dekel always use babel, but I don't know if that is the cause of the
Dekel problem.

This may happen if there is somewhere a file called english.cfg which
is not a latex file... I had the problem here when someone decided
that installing the latex2rtf support files in the tex tree was a good
idea.

So the problem is to find out what this english.cfg file is. What does
"kpsewhich english.cfg" say?

JMarc



Re: pop-up menus are always on the foreground

2001-03-14 Thread Jean-Marc Lasgouttes

 "Hezi" == Hezi Gildor [EMAIL PROTECTED] writes:

Hezi hi, i am using 1.1.6fix1 on a redhat 6.2 when i open a pop-up
Hezi menu like Layout-Character, it "insist" to stay in the
Hezi foreground. i can move it aside, but cannot have my main Lyx
Hezi screen partially cover it.

Hezi is it a bug/change in the new version?

I think this will be fixed in next 1.2 version. This is a bad
interaction between the windows properties and your window manager.

JMarc



Re: Sugestions for a new LaTex Preamble Environment

2001-03-14 Thread Guenter Milde

On 13 Mar 2001 14:15:40 Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  "Dekel" == Dekel Tsur [EMAIL PROTECTED] writes:
 
 Dekel It should not hard to write a command for case 1 (called
 Dekel \setcommand for example):
 
 I think that this command is a bad idea (and does not exist in latex
 for the same reason): it is clear that most first time users will use
 this version (why would they do anything else?) and then, after they
 have redefined \def to some nifty value, will get even more confused.
 

Considering this, I have to expand my table with a 5th case:

 | command already defined | command not defined  | LaTeX command 
  ---
   1 | use my version  | use my version   | (Dekel's \setcommand)
   2 | use default version | use my version   | \providecommand
   3 | use default version | warn me (i.e. error) | {} 
   4 | warn me (i.e. error)| use my version   | \newcommand
 5 | use my version  | warn me (i.e. error) | \renewcommand


May be, the least confusing way would be to offer case 4 and 5 (with 4 as
default). Then the user will get clear feedback if something unexpected
happens. 

* 1 simple but dangerous

* 2 might be usefull in circumstances where the macro shall be reused in
different situations (e.g. with/without AMS).

* 3 would offer a possibility to "teach" LyX a WYSIWYM replacement for a
nonstandard extension (e.g. from an unsupported/partially supported
package). -- might be usefull, as LaTeX is too manifold (and there are
too many packages) as LyX could support everything by default.

* 4 "simple" macro: that is what it is now (although only for math mode)

* 5 for redefining with visual feedback (e.g. use \varomega for \omega)
Use With Care!!


 We should not help people to shoot themselves in the foot.

However, we should not guard them by measures that prevent them from
walking.



--
[EMAIL PROTECTED]






Re: pop-up menus are always on the foreground

2001-03-14 Thread John Levon

On 14 Mar 2001, Jean-Marc Lasgouttes wrote:

  "Hezi" == Hezi Gildor [EMAIL PROTECTED] writes:
 
 Hezi hi, i am using 1.1.6fix1 on a redhat 6.2 when i open a pop-up
 Hezi menu like Layout-Character, it "insist" to stay in the
 Hezi foreground. i can move it aside, but cannot have my main Lyx
 Hezi screen partially cover it.
 
 Hezi is it a bug/change in the new version?
 
 I think this will be fixed in next 1.2 version.

actually I don't think it will be :(

My TRANSIENT change surprisingly didn't alter this behaviour of the
xforms forms under certain window managers. I thought it would, but no ...

lyx 1.0.4 shows the same behaviour with kde1 wm. I suspect xforms is doing
something bad here; I should investigate further and see if there is
a work around.

thanks
john

-- 
"Never use a big word when a diminutive one would suffice.
Be more or less specific. Use words correctly, irregardless of how others use
them. Proofread carefully to see if you any words out.
Eschew ampersands  abbreviations, etc. No sentence fragments."
- Basic rules of journalism




hyperref and math in headers

2001-03-14 Thread Tuukka Toivonen

I spend really long time for debugging and finally noticed why I couldn't
get hyperref working:
pdflatex gives errors if there are math in numbered sections. Are there
any workaround (except "don't do that")?




Different alignment in a column

2001-03-14 Thread Martin Adorni

Hi,

before asking you I've to tell you that I'm still using lyx1.1.5fix1.

My question is whether it is possible to set different alignments (left,
right, center) within one column by dialog. The dialog 'Table layout'
sets the alignment of the whole column. The 'paragraph layout' sets the
alignment of the whole table.

Up to now I'm managing this with a parbox within the cell. Are there
'smarter' solutions (dialogs) in later versions?

Regards
Martin



changing bibtex command

2001-03-14 Thread Stefano Ghirlanda

Hi,
I am experimenting on a wrapper script around bibtex. I remember there
is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
but I can't remember how... I have tried the following without
success:

\bibtex_command mybibtex
\bibtex mybibtex
\Command bibtex mybibtex
\command bibtex mybibtex

without success... Any help appreciated,
Thanks

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: hyperref and math in headers

2001-03-14 Thread Herbert Voss



Tuukka Toivonen wrote:

 I spend really long time for debugging and finally noticed why I couldn't
 get hyperref working:
 pdflatex gives errors if there are math in numbered sections. Are there
 any workaround (except "don't do that")?

try a \protect before your lyx mathbox or

\newcommand\myMath{ .. lyx blue math box ...}
and than in your title
bla... \protect\myMath ...

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: hyperref and math in headers

2001-03-14 Thread Tuukka Toivonen

On Wed, 14 Mar 2001, Herbert Voss wrote:

  pdflatex gives errors if there are math in numbered sections. Are there

 try a \protect before your lyx mathbox or

Doesn't help. And it seems that LyX outputs two \protects automatically in
the TeX anyway.

 \newcommand\myMath{ .. lyx blue math box ...}
 and than in your title
 bla... \protect\myMath ...

Still gives errors.

Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
blue box. Not a wysiwym way, but I'm not going to put complex formulas
anyway in headers.

I learned the $-math way from looking Maxima's TeX output. What is the
difference between this and what LyX does anyway? Why should I use one of
them instead of another?




Re: Missing \begin{document}

2001-03-14 Thread George De Bruin

I downloaded and installed lyx-1.1.6fix1 and when I try to process
(convert to LaTeX od print) the file I get the error message:
   
\missing{begin{document}
   
The problem is that the program sometime before `beginning' the
document, calls the file english.cfg.
How can tjis be fixed?
  
   This might be the result of an unclosed { in the preamble.
 
  While this may be true, might I suggest then that there is something
  going wrong between LyX 1.1.5 and 1.1.6?  I have a number of files that I
  was working on in 1.1.5 that never exhibited this problem, but the moment
  I opened them in 1.1.6 they started exhibiting this exact same problem.

 Do you have an example document ?

 One difference between 1.1.5 and 1.1.6 is that the latter always use babel,
 but I don't know if that is the cause of the problem.

Hi Dekel,

I did some checking, and I found some validity in Nick Burgan's message: the 
documents that are still stored in my ~/gdb/My Documents directory still show 
this problem. (A short example attached at the end of this message.)  This 
same document, when placed in ~/gdb does not show this problem.  However, I 
know that in the past other documents in my ~/gdb directory have shown this 
problem as well.  However, since that time, I have done as others suggested 
and opened the LyX files in emacs to check for any mangled contents.  And, I 
think I even this did not resolve the problem.

If my memory serves me, I went ahead and re-imported the files into a new 
file to correct the problem. (Then I went ahead and removed the old file, and 
renamed the new file to the old name.)  During the import process, I do 
recall seeing babel files in my home directory, but believe that I removed 
them as I did the rest of the cleanup.



Re: Missing \begin{document}
From: Nick Burgan [EMAIL PROTECTED]
To: root [EMAIL PROTECTED],  [EMAIL PROTECTED]
Date: Wed, 14 Mar 2001 18:45:44 +1030

[...]

When I first installed 1.1.6fix1 I was having the same problem. After messing 
around for ages what seemed to be causing the problem was that I had a space 
in the name of the directory in which the file was located. If you remove any 
spaces or other strange characters (dashes "-" etc ) from the everywhere in 
the directory tree of the file the problem goes away. Or if you move the file 
to another appropriately named directory and open it from there, there is no 
problem.

I hope this is of some help

-



#This file was created by sndchsr Wed Sep 13 22:57:17 2000
#LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding latin1
\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 Title

Staff Recommendation By: George
\layout Standard


\begin_inset Quotes eld
\end_inset 

\SpecialChar \ldots{}
 really 
\emph on 
fine
\emph toggle 
 performances by a really 
\emph on 
fine
\emph toggle 
 modern music ensemble\SpecialChar \ldots{}

\begin_inset Quotes erd
\end_inset 

 is how Frank Zappa introduces this performance of compositions culled from
 his 30+ year career as a composer, musician and band leader.
 These are some of his most engaging, evocative and provocative pieces superbly
 performed in a form accessible to both new and experienced listeners.
 See why many consider Frank Zappa to be one of the most influential composers
 of the century.
\the_end



Ghostscript error and LyX instability

2001-03-14 Thread Kevin W. Bowman


I'm getting the following error when I run LyX 1.1.5fix2:

Aladdin Ghostscript 6.01: Cannot get ghostview property.
 Unable to open the initial device, quitting.
GS [5266] error 65280 E:1 255 S:0 0

I'm not sure if these are related, but LyX is becoming unstable in that
it crashes after I try to click on some of the menus.  I'm not sure how
do go about finding the problem.

Any ideas??

Thanks!!

Kevin

--
-|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
-|
"I cannot express strongly enough my unbound
admiration for the greatness of mind of the men
who conceived [the heliocentric system] and held
it to be true...in violent opposition to their
own senses.."
--Galileo Galilei "The Two Principle Systems"
-|





Re: hyperref and math in headers

2001-03-14 Thread Herbert Voss



 \newcommand\myMath{ .. lyx blue math box ...}
 and than in your title
 bla... \protect\myMath ...
 
 
 Still gives errors.

i have no problem with a lyx-mathbox in a section title.
latest cvs-version.

 Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
 blue box. Not a wysiwym way, but I'm not going to put complex formulas
 anyway in headers.
 
 I learned the $-math way from looking Maxima's TeX output. What is the
 difference between this and what LyX does anyway? Why should I use one of
 them instead of another?

$N=32$ is equivalent to \( N=32 \) or \begin{math}N=32\end{math}

lyx prefers \( ... \) for inline math.

Herbert

-- 
http://perce.de/lyx/




LyX instability: addendum

2001-03-14 Thread Kevin W. Bowman


I previously mentioned that LyX 1.1.5fix2 has been instable, but I've
narrowed the problem: whenever I click on the Refs menu, LyX crashes.
This does not appear to occur with any of the other menus.  Has anyone
experienced this problem before?

Thanks,

Kevin

--
-|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
-|
"I cannot express strongly enough my unbound
admiration for the greatness of mind of the men
who conceived [the heliocentric system] and held
it to be true...in violent opposition to their
own senses.."
--Galileo Galilei "The Two Principle Systems"
-|





Re: changing bibtex command

2001-03-14 Thread Herbert Voss



Stefano Ghirlanda wrote:

 Hi,
 I am experimenting on a wrapper script around bibtex. I remember there
 is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
 but I can't remember how... I have tried the following without
 success:
 
 \bibtex_command mybibtex
 \bibtex mybibtex
 \Command bibtex mybibtex
 \command bibtex mybibtex

have a look at

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

there may be a similiar problem
Herbert



-- 
http://perce.de/lyx/




Re: alignment in tables

2001-03-14 Thread Dekel Tsur

On Tue, Mar 13, 2001 at 10:41:58PM +0100, Herbert Voss wrote:
 p{2cm}{\raggedleft}

You probably meant {\raggedleft}p{2cm}, but this will generate the same
error since \raggedleft redefines the \\ macro.
The solution is to use
{\let\temp=\\\raggedleft\let\\=\temp}p{2cm}

(you also need to put \usepackage{array} in the preamble).

 leave the width-field blank. you can choose horizontal-alignment

You can set the width to 2cm so you get WYSIWYM



Re: alignment in tables

2001-03-14 Thread Herbert Voss



Dekel Tsur wrote:

 On Tue, Mar 13, 2001 at 10:41:58PM +0100, Herbert Voss wrote:
 
 p{2cm}{\raggedleft}
 
 
 You probably meant {\raggedleft}p{2cm}, but this will generate the same
 error since \raggedleft redefines the \\ macro.

no, i meant exactly that!

the tex-code for my demo-table is:

\begin{tabular}{|m{1cm}|c|c|c|p{2cm}{\raggedleft}|}

why should this generate an error?


 You can set the width to 2cm so you get WYSIWYM
as i said ...
Herbert

-- 
http://perce.de/lyx/




Re: hyperref and math in headers

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 02:54:12PM +0200, Tuukka Toivonen wrote:
 I spend really long time for debugging and finally noticed why I couldn't
 get hyperref working:
 pdflatex gives errors if there are math in numbered sections. Are there
 any workaround (except "don't do that")?

I can put math in sections (but not a matrix) when using hyperref.
Maybe you should try to get a newer version of hyperref.




Re: hyperref and math in headers

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 07:23:18PM +0200, Tuukka Toivonen wrote:
 Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
 blue box. Not a wysiwym way, but I'm not going to put complex formulas
 anyway in headers.
 
 I learned the $-math way from looking Maxima's TeX output. What is the
 difference between this and what LyX does anyway? Why should I use one of
 them instead of another?

Perhaps $ is not fragile ?



Re: Different alignment in a column

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 03:21:38PM +0100, Martin Adorni wrote:
 Hi,
 
 before asking you I've to tell you that I'm still using lyx1.1.5fix1.
 
 My question is whether it is possible to set different alignments (left,
 right, center) within one column by dialog. The dialog 'Table layout'
 sets the alignment of the whole column. The 'paragraph layout' sets the
 alignment of the whole table.

You can do this even with 1.1.5:
Go to the desired cell, open the table dialog, press the Multicolumn button,
and then press the desired alignment button.



help needed with indexes

2001-03-14 Thread Carlo Salinari



Hello list,

I've been working on a big lyx file (800 Kb) for a 
while,
and now I have a problem:

how can I make multiple indexes?

I want, i.e., a separated Names Index, Places 
Index, Quotations Index etc.
and the "Add Index List" command seems inadequate 
for that.

I tryed with some inline \latex and \makeindex 
hack, but I did not
find a solution. Has anyone solved this 
problem?

Thanks,
  Carlo 
Salinari


Re: LyX instability: addendum

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 09:43:05AM -0800, Kevin W. Bowman wrote:
 
 I previously mentioned that LyX 1.1.5fix2 has been instable, but I've
 narrowed the problem: whenever I click on the Refs menu, LyX crashes.
 This does not appear to occur with any of the other menus.  Has anyone
 experienced this problem before?

This does sound like you have a wrong version of the XForms library (a version
that was compiled for glibc 2.0), so you do need to install the correct
version.




Re: help needed with indexes

2001-03-14 Thread Herbert Voss



Carlo Salinari wrote:


 how can I make multiple indexes?
 
  
 
 I want, i.e., a separated Names Index, Places Index, Quotations Index etc.
 
 and the "Add Index List" command seems inadequate for that.
 
 I tryed with some inline \latex and \makeindex hack, but I did not
 
 find a solution. Has anyone solved this problem?

have a look at

http://www.dante.de/CTAN/help/Catalogue/entries/index.html

Herbert



-- 
http://perce.de/lyx/




Re: alignment in tables

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 09:56:36PM +0100, Herbert Voss wrote:

  p{2cm}{\raggedleft}
  
  
  You probably meant {\raggedleft}p{2cm}, but this will generate the same
  error since \raggedleft redefines the \\ macro.
 
 no, i meant exactly that!
 
 the tex-code for my demo-table is:
 
 \begin{tabular}{|m{1cm}|c|c|c|p{2cm}{\raggedleft}|}
 
 why should this generate an error?

I got a little bit confused...
Your suggestion will not generate an error, but it will work only if there
is one paragraph in each cell.



Re: help needed with indexes

2001-03-14 Thread Carlo Salinari


- Original Message -
From: "Herbert Voss" [EMAIL PROTECTED]
To: "Carlo Salinari" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 10:18 PM
Subject: Re: help needed with indexes




 Carlo Salinari wrote:


  how can I make multiple indexes?
 
 
 
  I want, i.e., a separated Names Index, Places Index, Quotations Index
etc.
 
  and the "Add Index List" command seems inadequate for that.
 
  I tryed with some inline \latex and \makeindex hack, but I did not
 
  find a solution. Has anyone solved this problem?

 have a look at

 http://www.dante.de/CTAN/help/Catalogue/entries/index.html

 Herbert

Looks good, but I couldn't find the "camel.sty" file.
Any hint?

Thanks,
Carlo





Re: multicol and alignment ( lyx-1.1.6fix1 )

2001-03-14 Thread Robin Gerard

On Wed, Mar 14, 2001 at 11:17:36AM +0200, Tuukka Toivonen wrote:
 On Wed, 14 Mar 2001, Robin Gerard wrote:
 
  I have a problem of alignment when I use multicol.
 
 I have no idea what was wrong with your document. I couldn't fix
 it. However, I created a new document and copied and pasted the lines from
 your document to it and it seems to work fine. It's attached.
 
Thanks Tuukka it is exactly what y needed.

Thanks to you all.

-- 
 Gerard 
   




Re: Hitting the wrong key

2001-03-14 Thread Keeper of the Key to Time

On Thursday 08 March 2001 21:44, Allan Rae wrote:
 On Thu, 8 Mar 2001, Michael Zapf wrote:
  I don't know if anybody ever encountered the same problem - but probably
  I'm just too clumsy when typing...

  I think that either the emphasize key should be relocated or that the
  close/revert actions should be multi-key sequences. Or that there are no
  shortcuts in the dialog window.

 You should switch to emacs keybindings that way you can use:
   C-x C-c to quit lyx
   C-x k to kill the buffer
   M-f d to revert the buffer

 Then you'll only be concerned that
   C-w is cut
   C-r is reverse search (in normal emacs but not bound in our case)

humor
Or, change keyboard layout to Dvorak. ;)  This way, W and R are on the 
opposite side of the keyboard from E. Adjusting to that will only take a 
couple of weeks longer than switching to Emacs bindings from CUA. It also 
hasn't made me any less clumsy, but now my mistakes are less painful since my 
fingers don't have to move as much. :)
/humor

I do like your suggestion about changing bindings, though. What I'd probably 
do in that case is just disable keyboard shortcuts for "Close file" and 
"Revert", figuring if I needed them I could use the menus.

-- 
// Carl Hudkins :: ICQ 5723399
//
// "Wake me when it's over, touch my face
//  Tell me every word has been erased..."  --TMBG



1.2-cvs and math-ed

2001-03-14 Thread Mats Rhen

Is there something broken in math-ed? 
The possibility to make single rows unnumbered is no longer... 
The last .rpm I used where this worked is from 6 of march.

I've got a "Display formula" with 3 col's and 9 row's, row 2, 5,6 and 7 is
to be unnumbered.

I'm using Kayvan Sylvan's .rpm of LyX-1.2 on RH7.0.





Re: multicol and alignment ( lyx-1.1.6fix1 )

2001-03-14 Thread Tuukka Toivonen

On Wed, 14 Mar 2001, Robin Gerard wrote:

 I have a problem of alignment when I use multicol.

I have no idea what was wrong with your document. I couldn't fix
it. However, I created a new document and copied and pasted the lines from
your document to it and it seems to work fine. It's attached.



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\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


\lang french
Soit les fonctions \SpecialChar ~

\begin_inset Formula \( f \)
\end_inset 

 \SpecialChar ~
 et \SpecialChar ~
 
\begin_inset Formula \( g \)
\end_inset 

 \SpecialChar ~
dfinies par :
\layout Standard


\latex latex 

\backslash 
begin{multicols}{2}
\layout Standard
\noindent 

\lang french

\begin_inset Formula \begin{eqnarray*}
f  :  R\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, }\, 
\, R\\
x\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \: }\, \, f\left( 
x\right) =x-3
\end{eqnarray*}

\end_inset 


\layout Standard
\noindent 

\lang french

\begin_inset Formula \begin{eqnarray*}
g  :  R\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, }\, 
\, R\\
x\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \: }\, \, f\left( 
x\right) =x+3
\end{eqnarray*}

\end_inset 


\layout Standard


\latex latex 

\backslash 
end{multicols}
\layout Standard

text continues here
\the_end



unsuscribe

2001-03-14 Thread Edwin Hoff






Re: Missing \begin{document}

2001-03-14 Thread Jean-Marc Lasgouttes

 "Dekel" == Dekel Tsur [EMAIL PROTECTED] writes:

Dekel On Tue, Mar 13, 2001 at 12:05:58PM +, George De Bruin
Dekel wrote:
   I downloaded and installed lyx-1.1.6fix1 and when I try to
 process   (convert to LaTeX od print) the file I get the error
 message: \missing{begin{document} The problem is
 that the program sometime before `beginning' the   document,
 calls the file english.cfg.   How can tjis be fixed?   This
 might be the result of an unclosed { in the preamble.
 
 While this may be true, might I suggest then that there is
 something going wrong between LyX 1.1.5 and 1.1.6? I have a number
 of files that I was working on in 1.1.5 that never exhibited this
 problem, but the moment I opened them in 1.1.6 they started
 exhibiting this exact same problem.

Dekel Do you have an example document ?

Dekel One difference between 1.1.5 and 1.1.6 is that the latter
Dekel always use babel, but I don't know if that is the cause of the
Dekel problem.

This may happen if there is somewhere a file called english.cfg which
is not a latex file... I had the problem here when someone decided
that installing the latex2rtf support files in the tex tree was a good
idea.

So the problem is to find out what this english.cfg file is. What does
"kpsewhich english.cfg" say?

JMarc



Re: pop-up menus are always on the foreground

2001-03-14 Thread Jean-Marc Lasgouttes

 "Hezi" == Hezi Gildor [EMAIL PROTECTED] writes:

Hezi hi, i am using 1.1.6fix1 on a redhat 6.2 when i open a pop-up
Hezi menu like Layout-Character, it "insist" to stay in the
Hezi foreground. i can move it aside, but cannot have my main Lyx
Hezi screen partially cover it.

Hezi is it a bug/change in the new version?

I think this will be fixed in next 1.2 version. This is a bad
interaction between the windows properties and your window manager.

JMarc



Re: Sugestions for a new LaTex Preamble Environment

2001-03-14 Thread Guenter Milde

On 13 Mar 2001 14:15:40 Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  "Dekel" == Dekel Tsur [EMAIL PROTECTED] writes:
 
 Dekel It should not hard to write a command for case 1 (called
 Dekel \setcommand for example):
 
 I think that this command is a bad idea (and does not exist in latex
 for the same reason): it is clear that most first time users will use
 this version (why would they do anything else?) and then, after they
 have redefined \def to some nifty value, will get even more confused.
 

Considering this, I have to expand my table with a 5th case:

 | command already defined | command not defined  | LaTeX command 
  ---
   1 | use my version  | use my version   | (Dekel's \setcommand)
   2 | use default version | use my version   | \providecommand
   3 | use default version | warn me (i.e. error) | {} 
   4 | warn me (i.e. error)| use my version   | \newcommand
 5 | use my version  | warn me (i.e. error) | \renewcommand


May be, the least confusing way would be to offer case 4 and 5 (with 4 as
default). Then the user will get clear feedback if something unexpected
happens. 

* 1 simple but dangerous

* 2 might be usefull in circumstances where the macro shall be reused in
different situations (e.g. with/without AMS).

* 3 would offer a possibility to "teach" LyX a WYSIWYM replacement for a
nonstandard extension (e.g. from an unsupported/partially supported
package). -- might be usefull, as LaTeX is too manifold (and there are
too many packages) as LyX could support everything by default.

* 4 "simple" macro: that is what it is now (although only for math mode)

* 5 for redefining with visual feedback (e.g. use \varomega for \omega)
Use With Care!!


 We should not help people to shoot themselves in the foot.

However, we should not guard them by measures that prevent them from
walking.



--
[EMAIL PROTECTED]






Re: pop-up menus are always on the foreground

2001-03-14 Thread John Levon

On 14 Mar 2001, Jean-Marc Lasgouttes wrote:

  "Hezi" == Hezi Gildor [EMAIL PROTECTED] writes:
 
 Hezi hi, i am using 1.1.6fix1 on a redhat 6.2 when i open a pop-up
 Hezi menu like Layout-Character, it "insist" to stay in the
 Hezi foreground. i can move it aside, but cannot have my main Lyx
 Hezi screen partially cover it.
 
 Hezi is it a bug/change in the new version?
 
 I think this will be fixed in next 1.2 version.

actually I don't think it will be :(

My TRANSIENT change surprisingly didn't alter this behaviour of the
xforms forms under certain window managers. I thought it would, but no ...

lyx 1.0.4 shows the same behaviour with kde1 wm. I suspect xforms is doing
something bad here; I should investigate further and see if there is
a work around.

thanks
john

-- 
"Never use a big word when a diminutive one would suffice.
Be more or less specific. Use words correctly, irregardless of how others use
them. Proofread carefully to see if you any words out.
Eschew ampersands  abbreviations, etc. No sentence fragments."
- Basic rules of journalism




hyperref and math in headers

2001-03-14 Thread Tuukka Toivonen

I spend really long time for debugging and finally noticed why I couldn't
get hyperref working:
pdflatex gives errors if there are math in numbered sections. Are there
any workaround (except "don't do that")?




Different alignment in a column

2001-03-14 Thread Martin Adorni

Hi,

before asking you I've to tell you that I'm still using lyx1.1.5fix1.

My question is whether it is possible to set different alignments (left,
right, center) within one column by dialog. The dialog 'Table layout'
sets the alignment of the whole column. The 'paragraph layout' sets the
alignment of the whole table.

Up to now I'm managing this with a parbox within the cell. Are there
'smarter' solutions (dialogs) in later versions?

Regards
Martin



changing bibtex command

2001-03-14 Thread Stefano Ghirlanda

Hi,
I am experimenting on a wrapper script around bibtex. I remember there
is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
but I can't remember how... I have tried the following without
success:

\bibtex_command mybibtex
\bibtex mybibtex
\Command bibtex mybibtex
\command bibtex mybibtex

without success... Any help appreciated,
Thanks

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: hyperref and math in headers

2001-03-14 Thread Herbert Voss



Tuukka Toivonen wrote:

 I spend really long time for debugging and finally noticed why I couldn't
 get hyperref working:
 pdflatex gives errors if there are math in numbered sections. Are there
 any workaround (except "don't do that")?

try a \protect before your lyx mathbox or

\newcommand\myMath{ .. lyx blue math box ...}
and than in your title
bla... \protect\myMath ...

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: hyperref and math in headers

2001-03-14 Thread Tuukka Toivonen

On Wed, 14 Mar 2001, Herbert Voss wrote:

  pdflatex gives errors if there are math in numbered sections. Are there

 try a \protect before your lyx mathbox or

Doesn't help. And it seems that LyX outputs two \protects automatically in
the TeX anyway.

 \newcommand\myMath{ .. lyx blue math box ...}
 and than in your title
 bla... \protect\myMath ...

Still gives errors.

Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
blue box. Not a wysiwym way, but I'm not going to put complex formulas
anyway in headers.

I learned the $-math way from looking Maxima's TeX output. What is the
difference between this and what LyX does anyway? Why should I use one of
them instead of another?




Re: Missing \begin{document}

2001-03-14 Thread George De Bruin

I downloaded and installed lyx-1.1.6fix1 and when I try to process
(convert to LaTeX od print) the file I get the error message:
   
\missing{begin{document}
   
The problem is that the program sometime before `beginning' the
document, calls the file english.cfg.
How can tjis be fixed?
  
   This might be the result of an unclosed { in the preamble.
 
  While this may be true, might I suggest then that there is something
  going wrong between LyX 1.1.5 and 1.1.6?  I have a number of files that I
  was working on in 1.1.5 that never exhibited this problem, but the moment
  I opened them in 1.1.6 they started exhibiting this exact same problem.

 Do you have an example document ?

 One difference between 1.1.5 and 1.1.6 is that the latter always use babel,
 but I don't know if that is the cause of the problem.

Hi Dekel,

I did some checking, and I found some validity in Nick Burgan's message: the 
documents that are still stored in my ~/gdb/My Documents directory still show 
this problem. (A short example attached at the end of this message.)  This 
same document, when placed in ~/gdb does not show this problem.  However, I 
know that in the past other documents in my ~/gdb directory have shown this 
problem as well.  However, since that time, I have done as others suggested 
and opened the LyX files in emacs to check for any mangled contents.  And, I 
think I even this did not resolve the problem.

If my memory serves me, I went ahead and re-imported the files into a new 
file to correct the problem. (Then I went ahead and removed the old file, and 
renamed the new file to the old name.)  During the import process, I do 
recall seeing babel files in my home directory, but believe that I removed 
them as I did the rest of the cleanup.



Re: Missing \begin{document}
From: Nick Burgan [EMAIL PROTECTED]
To: root [EMAIL PROTECTED],  [EMAIL PROTECTED]
Date: Wed, 14 Mar 2001 18:45:44 +1030

[...]

When I first installed 1.1.6fix1 I was having the same problem. After messing 
around for ages what seemed to be causing the problem was that I had a space 
in the name of the directory in which the file was located. If you remove any 
spaces or other strange characters (dashes "-" etc ) from the everywhere in 
the directory tree of the file the problem goes away. Or if you move the file 
to another appropriately named directory and open it from there, there is no 
problem.

I hope this is of some help

-



#This file was created by sndchsr Wed Sep 13 22:57:17 2000
#LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding latin1
\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 Title

Staff Recommendation By: George
\layout Standard


\begin_inset Quotes eld
\end_inset 

\SpecialChar \ldots{}
 really 
\emph on 
fine
\emph toggle 
 performances by a really 
\emph on 
fine
\emph toggle 
 modern music ensemble\SpecialChar \ldots{}

\begin_inset Quotes erd
\end_inset 

 is how Frank Zappa introduces this performance of compositions culled from
 his 30+ year career as a composer, musician and band leader.
 These are some of his most engaging, evocative and provocative pieces superbly
 performed in a form accessible to both new and experienced listeners.
 See why many consider Frank Zappa to be one of the most influential composers
 of the century.
\the_end



Ghostscript error and LyX instability

2001-03-14 Thread Kevin W. Bowman


I'm getting the following error when I run LyX 1.1.5fix2:

Aladdin Ghostscript 6.01: Cannot get ghostview property.
 Unable to open the initial device, quitting.
GS [5266] error 65280 E:1 255 S:0 0

I'm not sure if these are related, but LyX is becoming unstable in that
it crashes after I try to click on some of the menus.  I'm not sure how
do go about finding the problem.

Any ideas??

Thanks!!

Kevin

--
-|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
-|
"I cannot express strongly enough my unbound
admiration for the greatness of mind of the men
who conceived [the heliocentric system] and held
it to be true...in violent opposition to their
own senses.."
--Galileo Galilei "The Two Principle Systems"
-|





Re: hyperref and math in headers

2001-03-14 Thread Herbert Voss



 \newcommand\myMath{ .. lyx blue math box ...}
 and than in your title
 bla... \protect\myMath ...
 
 
 Still gives errors.

i have no problem with a lyx-mathbox in a section title.
latest cvs-version.

 Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
 blue box. Not a wysiwym way, but I'm not going to put complex formulas
 anyway in headers.
 
 I learned the $-math way from looking Maxima's TeX output. What is the
 difference between this and what LyX does anyway? Why should I use one of
 them instead of another?

$N=32$ is equivalent to \( N=32 \) or \begin{math}N=32\end{math}

lyx prefers \( ... \) for inline math.

Herbert

-- 
http://perce.de/lyx/




LyX instability: addendum

2001-03-14 Thread Kevin W. Bowman


I previously mentioned that LyX 1.1.5fix2 has been instable, but I've
narrowed the problem: whenever I click on the Refs menu, LyX crashes.
This does not appear to occur with any of the other menus.  Has anyone
experienced this problem before?

Thanks,

Kevin

--
-|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
-|
"I cannot express strongly enough my unbound
admiration for the greatness of mind of the men
who conceived [the heliocentric system] and held
it to be true...in violent opposition to their
own senses.."
--Galileo Galilei "The Two Principle Systems"
-|





Re: changing bibtex command

2001-03-14 Thread Herbert Voss



Stefano Ghirlanda wrote:

 Hi,
 I am experimenting on a wrapper script around bibtex. I remember there
 is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
 but I can't remember how... I have tried the following without
 success:
 
 \bibtex_command mybibtex
 \bibtex mybibtex
 \Command bibtex mybibtex
 \command bibtex mybibtex

have a look at

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

there may be a similiar problem
Herbert



-- 
http://perce.de/lyx/




Re: alignment in tables

2001-03-14 Thread Dekel Tsur

On Tue, Mar 13, 2001 at 10:41:58PM +0100, Herbert Voss wrote:
 p{2cm}{\raggedleft}

You probably meant {\raggedleft}p{2cm}, but this will generate the same
error since \raggedleft redefines the \\ macro.
The solution is to use
{\let\temp=\\\raggedleft\let\\=\temp}p{2cm}

(you also need to put \usepackage{array} in the preamble).

 leave the width-field blank. you can choose horizontal-alignment

You can set the width to 2cm so you get WYSIWYM



Re: alignment in tables

2001-03-14 Thread Herbert Voss



Dekel Tsur wrote:

 On Tue, Mar 13, 2001 at 10:41:58PM +0100, Herbert Voss wrote:
 
 p{2cm}{\raggedleft}
 
 
 You probably meant {\raggedleft}p{2cm}, but this will generate the same
 error since \raggedleft redefines the \\ macro.

no, i meant exactly that!

the tex-code for my demo-table is:

\begin{tabular}{|m{1cm}|c|c|c|p{2cm}{\raggedleft}|}

why should this generate an error?


 You can set the width to 2cm so you get WYSIWYM
as i said ...
Herbert

-- 
http://perce.de/lyx/




Re: hyperref and math in headers

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 02:54:12PM +0200, Tuukka Toivonen wrote:
 I spend really long time for debugging and finally noticed why I couldn't
 get hyperref working:
 pdflatex gives errors if there are math in numbered sections. Are there
 any workaround (except "don't do that")?

I can put math in sections (but not a matrix) when using hyperref.
Maybe you should try to get a newer version of hyperref.




Re: hyperref and math in headers

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 07:23:18PM +0200, Tuukka Toivonen wrote:
 Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
 blue box. Not a wysiwym way, but I'm not going to put complex formulas
 anyway in headers.
 
 I learned the $-math way from looking Maxima's TeX output. What is the
 difference between this and what LyX does anyway? Why should I use one of
 them instead of another?

Perhaps $ is not fragile ?



Re: Different alignment in a column

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 03:21:38PM +0100, Martin Adorni wrote:
 Hi,
 
 before asking you I've to tell you that I'm still using lyx1.1.5fix1.
 
 My question is whether it is possible to set different alignments (left,
 right, center) within one column by dialog. The dialog 'Table layout'
 sets the alignment of the whole column. The 'paragraph layout' sets the
 alignment of the whole table.

You can do this even with 1.1.5:
Go to the desired cell, open the table dialog, press the Multicolumn button,
and then press the desired alignment button.



help needed with indexes

2001-03-14 Thread Carlo Salinari



Hello list,

I've been working on a big lyx file (800 Kb) for a 
while,
and now I have a problem:

how can I make multiple indexes?

I want, i.e., a separated Names Index, Places 
Index, Quotations Index etc.
and the "Add Index List" command seems inadequate 
for that.

I tryed with some inline \latex and \makeindex 
hack, but I did not
find a solution. Has anyone solved this 
problem?

Thanks,
  Carlo 
Salinari


Re: LyX instability: addendum

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 09:43:05AM -0800, Kevin W. Bowman wrote:
 
 I previously mentioned that LyX 1.1.5fix2 has been instable, but I've
 narrowed the problem: whenever I click on the Refs menu, LyX crashes.
 This does not appear to occur with any of the other menus.  Has anyone
 experienced this problem before?

This does sound like you have a wrong version of the XForms library (a version
that was compiled for glibc 2.0), so you do need to install the correct
version.




Re: help needed with indexes

2001-03-14 Thread Herbert Voss



Carlo Salinari wrote:


 how can I make multiple indexes?
 
  
 
 I want, i.e., a separated Names Index, Places Index, Quotations Index etc.
 
 and the "Add Index List" command seems inadequate for that.
 
 I tryed with some inline \latex and \makeindex hack, but I did not
 
 find a solution. Has anyone solved this problem?

have a look at

http://www.dante.de/CTAN/help/Catalogue/entries/index.html

Herbert



-- 
http://perce.de/lyx/




Re: alignment in tables

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 09:56:36PM +0100, Herbert Voss wrote:

  p{2cm}{\raggedleft}
  
  
  You probably meant {\raggedleft}p{2cm}, but this will generate the same
  error since \raggedleft redefines the \\ macro.
 
 no, i meant exactly that!
 
 the tex-code for my demo-table is:
 
 \begin{tabular}{|m{1cm}|c|c|c|p{2cm}{\raggedleft}|}
 
 why should this generate an error?

I got a little bit confused...
Your suggestion will not generate an error, but it will work only if there
is one paragraph in each cell.



Re: help needed with indexes

2001-03-14 Thread Carlo Salinari


- Original Message -
From: "Herbert Voss" [EMAIL PROTECTED]
To: "Carlo Salinari" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 10:18 PM
Subject: Re: help needed with indexes




 Carlo Salinari wrote:


  how can I make multiple indexes?
 
 
 
  I want, i.e., a separated Names Index, Places Index, Quotations Index
etc.
 
  and the "Add Index List" command seems inadequate for that.
 
  I tryed with some inline \latex and \makeindex hack, but I did not
 
  find a solution. Has anyone solved this problem?

 have a look at

 http://www.dante.de/CTAN/help/Catalogue/entries/index.html

 Herbert

Looks good, but I couldn't find the "camel.sty" file.
Any hint?

Thanks,
Carlo





Re: multicol and alignment ( lyx-1.1.6fix1 )

2001-03-14 Thread Robin Gerard

On Wed, Mar 14, 2001 at 11:17:36AM +0200, Tuukka Toivonen wrote:
 On Wed, 14 Mar 2001, Robin Gerard wrote:
 
  I have a problem of alignment when I use multicol.
 
 I have no idea what was wrong with your document. I couldn't fix
 it. However, I created a new document and copied and pasted the lines from
 your document to it and it seems to work fine. It's attached.
 
Thanks Tuukka it is exactly what y needed.

Thanks to you all.

-- 
 Gerard 
   




Re: Hitting the wrong key

2001-03-14 Thread Keeper of the Key to Time

On Thursday 08 March 2001 21:44, Allan Rae wrote:
 On Thu, 8 Mar 2001, Michael Zapf wrote:
  I don't know if anybody ever encountered the same problem - but probably
  I'm just too clumsy when typing...

  I think that either the emphasize key should be relocated or that the
  close/revert actions should be multi-key sequences. Or that there are no
  shortcuts in the dialog window.

 You should switch to emacs keybindings that way you can use:
   C-x C-c to quit lyx
   C-x k to kill the buffer
   M-f d to revert the buffer

 Then you'll only be concerned that
   C-w is cut
   C-r is reverse search (in normal emacs but not bound in our case)

humor
Or, change keyboard layout to Dvorak. ;)  This way, W and R are on the 
opposite side of the keyboard from E. Adjusting to that will only take a 
couple of weeks longer than switching to Emacs bindings from CUA. It also 
hasn't made me any less clumsy, but now my mistakes are less painful since my 
fingers don't have to move as much. :)
/humor

I do like your suggestion about changing bindings, though. What I'd probably 
do in that case is just disable keyboard shortcuts for "Close file" and 
"Revert", figuring if I needed them I could use the menus.

-- 
// Carl Hudkins :: ICQ 5723399
//
// "Wake me when it's over, touch my face
//  Tell me every word has been erased..."  --TMBG



1.2-cvs and math-ed

2001-03-14 Thread Mats Rhen

Is there something broken in math-ed? 
The possibility to make single rows unnumbered is no longer... 
The last .rpm I used where this worked is from 6 of march.

I've got a "Display formula" with 3 col's and 9 row's, row 2, 5,6 and 7 is
to be unnumbered.

I'm using Kayvan Sylvan's .rpm of LyX-1.2 on RH7.0.





Re: multicol and alignment ( lyx-1.1.6fix1 )

2001-03-14 Thread Tuukka Toivonen

On Wed, 14 Mar 2001, Robin Gerard wrote:

> I have a problem of alignment when I use multicol.

I have no idea what was wrong with your document. I couldn't fix
it. However, I created a new document and copied and pasted the lines from
your document to it and it seems to work fine. It's attached.



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\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


\lang french
Soit les fonctions \SpecialChar ~

\begin_inset Formula \( f \)
\end_inset 

 \SpecialChar ~
 et \SpecialChar ~
 
\begin_inset Formula \( g \)
\end_inset 

 \SpecialChar ~
définies par :
\layout Standard


\latex latex 

\backslash 
begin{multicols}{2}
\layout Standard
\noindent 

\lang french

\begin_inset Formula \begin{eqnarray*}
f & : & R\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, }\, 
\, R\\
 &  & x\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \: }\, \, f\left( 
x\right) =x-3
\end{eqnarray*}

\end_inset 


\layout Standard
\noindent 

\lang french

\begin_inset Formula \begin{eqnarray*}
g & : & R\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, \, }\, 
\, R\\
 &  & x\, \, \overrightarrow{\, \, \, \, \, \, \, \, \, \, \, \: }\, \, f\left( 
x\right) =x+3
\end{eqnarray*}

\end_inset 


\layout Standard


\latex latex 

\backslash 
end{multicols}
\layout Standard

text continues here
\the_end



unsuscribe

2001-03-14 Thread Edwin Hoff






Re: Missing \begin{document}

2001-03-14 Thread Jean-Marc Lasgouttes

> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> On Tue, Mar 13, 2001 at 12:05:58PM +, George De Bruin
Dekel> wrote:
>> > > I downloaded and installed lyx-1.1.6fix1 and when I try to
>> process > > (convert to LaTeX od print) the file I get the error
>> message: > > > > \missing{begin{document} > > > > The problem is
>> that the program sometime before `beginning' the > > document,
>> calls the file english.cfg. > > How can tjis be fixed? > > This
>> might be the result of an unclosed { in the preamble.
>> 
>> While this may be true, might I suggest then that there is
>> something going wrong between LyX 1.1.5 and 1.1.6? I have a number
>> of files that I was working on in 1.1.5 that never exhibited this
>> problem, but the moment I opened them in 1.1.6 they started
>> exhibiting this exact same problem.

Dekel> Do you have an example document ?

Dekel> One difference between 1.1.5 and 1.1.6 is that the latter
Dekel> always use babel, but I don't know if that is the cause of the
Dekel> problem.

This may happen if there is somewhere a file called english.cfg which
is not a latex file... I had the problem here when someone decided
that installing the latex2rtf support files in the tex tree was a good
idea.

So the problem is to find out what this english.cfg file is. What does
"kpsewhich english.cfg" say?

JMarc



Re: pop-up menus are always on the foreground

2001-03-14 Thread Jean-Marc Lasgouttes

> "Hezi" == Hezi Gildor <[EMAIL PROTECTED]> writes:

Hezi> hi, i am using 1.1.6fix1 on a redhat 6.2 when i open a pop-up
Hezi> menu like Layout->Character, it "insist" to stay in the
Hezi> foreground. i can move it aside, but cannot have my main Lyx
Hezi> screen partially cover it.

Hezi> is it a bug/change in the new version?

I think this will be fixed in next 1.2 version. This is a bad
interaction between the windows properties and your window manager.

JMarc



Re: Sugestions for a new LaTex Preamble Environment

2001-03-14 Thread Guenter Milde

On 13 Mar 2001 14:15:40 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
> 
> Dekel> It should not hard to write a command for case 1 (called
> Dekel> \setcommand for example):
> 
> I think that this command is a bad idea (and does not exist in latex
> for the same reason): it is clear that most first time users will use
> this version (why would they do anything else?) and then, after they
> have redefined \def to some nifty value, will get even more confused.
> 

Considering this, I have to expand my table with a 5th case:

> >| command already defined | command not defined  | LaTeX command 
> > ---
> >  1 | use my version  | use my version   | (Dekel's \setcommand)
> >  2 | use default version | use my version   | \providecommand
> >  3 | use default version | warn me (i.e. error) | {} 
> >  4 | warn me (i.e. error)| use my version   | \newcommand
 5 | use my version  | warn me (i.e. error) | \renewcommand


May be, the least confusing way would be to offer case 4 and 5 (with 4 as
default). Then the user will get clear feedback if something unexpected
happens. 

* 1 simple but dangerous

* 2 might be usefull in circumstances where the macro shall be reused in
different situations (e.g. with/without AMS).

* 3 would offer a possibility to "teach" LyX a WYSIWYM replacement for a
nonstandard extension (e.g. from an unsupported/partially supported
package). -- might be usefull, as LaTeX is too manifold (and there are
too many packages) as LyX could support everything by default.

* 4 "simple" macro: that is what it is now (although only for math mode)

* 5 for redefining with visual feedback (e.g. use \varomega for \omega)
Use With Care!!


> We should not help people to shoot themselves in the foot.

However, we should not guard them by measures that prevent them from
walking.



--
[EMAIL PROTECTED]






Re: pop-up menus are always on the foreground

2001-03-14 Thread John Levon

On 14 Mar 2001, Jean-Marc Lasgouttes wrote:

> > "Hezi" == Hezi Gildor <[EMAIL PROTECTED]> writes:
> 
> Hezi> hi, i am using 1.1.6fix1 on a redhat 6.2 when i open a pop-up
> Hezi> menu like Layout->Character, it "insist" to stay in the
> Hezi> foreground. i can move it aside, but cannot have my main Lyx
> Hezi> screen partially cover it.
> 
> Hezi> is it a bug/change in the new version?
> 
> I think this will be fixed in next 1.2 version.

actually I don't think it will be :(

My TRANSIENT change surprisingly didn't alter this behaviour of the
xforms forms under certain window managers. I thought it would, but no ...

lyx 1.0.4 shows the same behaviour with kde1 wm. I suspect xforms is doing
something bad here; I should investigate further and see if there is
a work around.

thanks
john

-- 
"Never use a big word when a diminutive one would suffice.
Be more or less specific. Use words correctly, irregardless of how others use
them. Proofread carefully to see if you any words out.
Eschew ampersands & abbreviations, etc. No sentence fragments."
- Basic rules of journalism




hyperref and math in headers

2001-03-14 Thread Tuukka Toivonen

I spend really long time for debugging and finally noticed why I couldn't
get hyperref working:
pdflatex gives errors if there are math in numbered sections. Are there
any workaround (except "don't do that")?




Different alignment in a column

2001-03-14 Thread Martin Adorni

Hi,

before asking you I've to tell you that I'm still using lyx1.1.5fix1.

My question is whether it is possible to set different alignments (left,
right, center) within one column by dialog. The dialog 'Table layout'
sets the alignment of the whole column. The 'paragraph layout' sets the
alignment of the whole table.

Up to now I'm managing this with a parbox within the cell. Are there
'smarter' solutions (dialogs) in later versions?

Regards
Martin



changing bibtex command

2001-03-14 Thread Stefano Ghirlanda

Hi,
I am experimenting on a wrapper script around bibtex. I remember there
is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
but I can't remember how... I have tried the following without
success:

\bibtex_command mybibtex
\bibtex mybibtex
\Command bibtex mybibtex
\command bibtex mybibtex

without success... Any help appreciated,
Thanks

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: hyperref and math in headers

2001-03-14 Thread Herbert Voss



Tuukka Toivonen wrote:

> I spend really long time for debugging and finally noticed why I couldn't
> get hyperref working:
> pdflatex gives errors if there are math in numbered sections. Are there
> any workaround (except "don't do that")?

try a \protect before your lyx mathbox or

\newcommand\myMath{ .. lyx blue math box ...}
and than in your title
bla... \protect\myMath ...

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: hyperref and math in headers

2001-03-14 Thread Tuukka Toivonen

On Wed, 14 Mar 2001, Herbert Voss wrote:

> > pdflatex gives errors if there are math in numbered sections. Are there

> try a \protect before your lyx mathbox or

Doesn't help. And it seems that LyX outputs two \protects automatically in
the TeX anyway.

> \newcommand\myMath{ .. lyx blue math box ...}
> and than in your title
> bla... \protect\myMath ...

Still gives errors.

Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
blue box. Not a wysiwym way, but I'm not going to put complex formulas
anyway in headers.

I learned the $-math way from looking Maxima's TeX output. What is the
difference between this and what LyX does anyway? Why should I use one of
them instead of another?




Re: Missing \begin{document}

2001-03-14 Thread George De Bruin

> > > > I downloaded and installed lyx-1.1.6fix1 and when I try to process
> > > > (convert to LaTeX od print) the file I get the error message:
> > > >
> > > > \missing{begin{document}
> > > >
> > > > The problem is that the program sometime before `beginning' the
> > > > document, calls the file english.cfg.
> > > > How can tjis be fixed?
> > >
> > > This might be the result of an unclosed { in the preamble.
> >
> > While this may be true, might I suggest then that there is something
> > going wrong between LyX 1.1.5 and 1.1.6?  I have a number of files that I
> > was working on in 1.1.5 that never exhibited this problem, but the moment
> > I opened them in 1.1.6 they started exhibiting this exact same problem.
>
> Do you have an example document ?
>
> One difference between 1.1.5 and 1.1.6 is that the latter always use babel,
> but I don't know if that is the cause of the problem.

Hi Dekel,

I did some checking, and I found some validity in Nick Burgan's message: the 
documents that are still stored in my ~/gdb/My Documents directory still show 
this problem. (A short example attached at the end of this message.)  This 
same document, when placed in ~/gdb does not show this problem.  However, I 
know that in the past other documents in my ~/gdb directory have shown this 
problem as well.  However, since that time, I have done as others suggested 
and opened the LyX files in emacs to check for any mangled contents.  And, I 
think I even this did not resolve the problem.

If my memory serves me, I went ahead and re-imported the files into a new 
file to correct the problem. (Then I went ahead and removed the old file, and 
renamed the new file to the old name.)  During the import process, I do 
recall seeing babel files in my home directory, but believe that I removed 
them as I did the rest of the cleanup.



Re: Missing \begin{document}
From: Nick Burgan <[EMAIL PROTECTED]>
To: root <[EMAIL PROTECTED]>,  [EMAIL PROTECTED]
Date: Wed, 14 Mar 2001 18:45:44 +1030

[...]

When I first installed 1.1.6fix1 I was having the same problem. After messing 
around for ages what seemed to be causing the problem was that I had a space 
in the name of the directory in which the file was located. If you remove any 
spaces or other strange characters (dashes "-" etc ) from the everywhere in 
the directory tree of the file the problem goes away. Or if you move the file 
to another appropriately named directory and open it from there, there is no 
problem.

I hope this is of some help

-



#This file was created by  Wed Sep 13 22:57:17 2000
#LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding latin1
\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 Title

Staff Recommendation By: George
\layout Standard


\begin_inset Quotes eld
\end_inset 

\SpecialChar \ldots{}
 really 
\emph on 
fine
\emph toggle 
 performances by a really 
\emph on 
fine
\emph toggle 
 modern music ensemble\SpecialChar \ldots{}

\begin_inset Quotes erd
\end_inset 

 is how Frank Zappa introduces this performance of compositions culled from
 his 30+ year career as a composer, musician and band leader.
 These are some of his most engaging, evocative and provocative pieces superbly
 performed in a form accessible to both new and experienced listeners.
 See why many consider Frank Zappa to be one of the most influential composers
 of the century.
\the_end



Ghostscript error and LyX instability

2001-03-14 Thread Kevin W. Bowman


I'm getting the following error when I run LyX 1.1.5fix2:

Aladdin Ghostscript 6.01: Cannot get ghostview property.
 Unable to open the initial device, quitting.
GS [5266] error 65280 E:1 255 S:0 0

I'm not sure if these are related, but LyX is becoming unstable in that
it crashes after I try to click on some of the menus.  I'm not sure how
do go about finding the problem.

Any ideas??

Thanks!!

Kevin

--
-|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
-|
"I cannot express strongly enough my unbound
admiration for the greatness of mind of the men
who conceived [the heliocentric system] and held
it to be true...in violent opposition to their
own senses.."
--Galileo Galilei "The Two Principle Systems"
-|





Re: hyperref and math in headers

2001-03-14 Thread Herbert Voss



> \newcommand\myMath{ .. lyx blue math box ...}
>> and than in your title
>> bla... \protect\myMath ...
> 
> 
> Still gives errors.

i have no problem with a lyx-mathbox in a section title.
latest cvs-version.

> Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
> blue box. Not a wysiwym way, but I'm not going to put complex formulas
> anyway in headers.
> 
> I learned the $-math way from looking Maxima's TeX output. What is the
> difference between this and what LyX does anyway? Why should I use one of
> them instead of another?

$N=32$ is equivalent to \( N=32 \) or \begin{math}N=32\end{math}

lyx prefers \( ... \) for inline math.

Herbert

-- 
http://perce.de/lyx/




LyX instability: addendum

2001-03-14 Thread Kevin W. Bowman


I previously mentioned that LyX 1.1.5fix2 has been instable, but I've
narrowed the problem: whenever I click on the Refs menu, LyX crashes.
This does not appear to occur with any of the other menus.  Has anyone
experienced this problem before?

Thanks,

Kevin

--
-|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
-|
"I cannot express strongly enough my unbound
admiration for the greatness of mind of the men
who conceived [the heliocentric system] and held
it to be true...in violent opposition to their
own senses.."
--Galileo Galilei "The Two Principle Systems"
-|





Re: changing bibtex command

2001-03-14 Thread Herbert Voss



Stefano Ghirlanda wrote:

> Hi,
> I am experimenting on a wrapper script around bibtex. I remember there
> is a way to change the name of the bibtex executable in ~/.lyx/lyxrc
> but I can't remember how... I have tried the following without
> success:
> 
> \bibtex_command mybibtex
> \bibtex mybibtex
> \Command bibtex mybibtex
> \command bibtex mybibtex

have a look at

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

there may be a similiar problem
Herbert



-- 
http://perce.de/lyx/




Re: alignment in tables

2001-03-14 Thread Dekel Tsur

On Tue, Mar 13, 2001 at 10:41:58PM +0100, Herbert Voss wrote:
> p{2cm}<{\raggedleft}

You probably meant <{\raggedleft}p{2cm}, but this will generate the same
error since \raggedleft redefines the \\ macro.
The solution is to use
>{\let\temp=\\\raggedleft\let\\=\temp}p{2cm}

(you also need to put \usepackage{array} in the preamble).

> leave the width-field blank. you can choose horizontal-alignment

You can set the width to 2cm so you get WYSIWYM



Re: alignment in tables

2001-03-14 Thread Herbert Voss



Dekel Tsur wrote:

> On Tue, Mar 13, 2001 at 10:41:58PM +0100, Herbert Voss wrote:
> 
>> p{2cm}<{\raggedleft}
> 
> 
> You probably meant <{\raggedleft}p{2cm}, but this will generate the same
> error since \raggedleft redefines the \\ macro.

no, i meant exactly that!

the tex-code for my demo-table is:

\begin{tabular}{|m{1cm}|c|c|c|p{2cm}<{\raggedleft}|}

why should this generate an error?


> You can set the width to 2cm so you get WYSIWYM
as i said ...
Herbert

-- 
http://perce.de/lyx/




Re: hyperref and math in headers

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 02:54:12PM +0200, Tuukka Toivonen wrote:
> I spend really long time for debugging and finally noticed why I couldn't
> get hyperref working:
> pdflatex gives errors if there are math in numbered sections. Are there
> any workaround (except "don't do that")?

I can put math in sections (but not a matrix) when using hyperref.
Maybe you should try to get a newer version of hyperref.




Re: hyperref and math in headers

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 07:23:18PM +0200, Tuukka Toivonen wrote:
> Anyway, it seems I found a fix. I used $-math, eg. $N=32$ instead of LyX
> blue box. Not a wysiwym way, but I'm not going to put complex formulas
> anyway in headers.
> 
> I learned the $-math way from looking Maxima's TeX output. What is the
> difference between this and what LyX does anyway? Why should I use one of
> them instead of another?

Perhaps $ is not fragile ?



Re: Different alignment in a column

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 03:21:38PM +0100, Martin Adorni wrote:
> Hi,
> 
> before asking you I've to tell you that I'm still using lyx1.1.5fix1.
> 
> My question is whether it is possible to set different alignments (left,
> right, center) within one column by dialog. The dialog 'Table layout'
> sets the alignment of the whole column. The 'paragraph layout' sets the
> alignment of the whole table.

You can do this even with 1.1.5:
Go to the desired cell, open the table dialog, press the Multicolumn button,
and then press the desired alignment button.



help needed with indexes

2001-03-14 Thread Carlo Salinari



Hello list,
 
I've been working on a big lyx file (800 Kb) for a 
while,
and now I have a problem:
 
how can I make multiple indexes?
 
I want, i.e., a separated Names Index, Places 
Index, Quotations Index etc.
and the "Add Index List" command seems inadequate 
for that.
 
I tryed with some inline \latex and \makeindex 
hack, but I did not
find a solution. Has anyone solved this 
problem?
 
Thanks,
        Carlo 
Salinari


Re: LyX instability: addendum

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 09:43:05AM -0800, Kevin W. Bowman wrote:
> 
> I previously mentioned that LyX 1.1.5fix2 has been instable, but I've
> narrowed the problem: whenever I click on the Refs menu, LyX crashes.
> This does not appear to occur with any of the other menus.  Has anyone
> experienced this problem before?

This does sound like you have a wrong version of the XForms library (a version
that was compiled for glibc 2.0), so you do need to install the correct
version.




Re: help needed with indexes

2001-03-14 Thread Herbert Voss



Carlo Salinari wrote:


> how can I make multiple indexes?
> 
>  
> 
> I want, i.e., a separated Names Index, Places Index, Quotations Index etc.
> 
> and the "Add Index List" command seems inadequate for that.
> 
> I tryed with some inline \latex and \makeindex hack, but I did not
> 
> find a solution. Has anyone solved this problem?

have a look at

http://www.dante.de/CTAN/help/Catalogue/entries/index.html

Herbert



-- 
http://perce.de/lyx/




Re: alignment in tables

2001-03-14 Thread Dekel Tsur

On Wed, Mar 14, 2001 at 09:56:36PM +0100, Herbert Voss wrote:

> >> p{2cm}<{\raggedleft}
> > 
> > 
> > You probably meant <{\raggedleft}p{2cm}, but this will generate the same
> > error since \raggedleft redefines the \\ macro.
> 
> no, i meant exactly that!
> 
> the tex-code for my demo-table is:
> 
> \begin{tabular}{|m{1cm}|c|c|c|p{2cm}<{\raggedleft}|}
> 
> why should this generate an error?

I got a little bit confused...
Your suggestion will not generate an error, but it will work only if there
is one paragraph in each cell.



Re: help needed with indexes

2001-03-14 Thread Carlo Salinari


- Original Message -
From: "Herbert Voss" <[EMAIL PROTECTED]>
To: "Carlo Salinari" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 10:18 PM
Subject: Re: help needed with indexes


>
>
> Carlo Salinari wrote:
>
>
> > how can I make multiple indexes?
> >
> >
> >
> > I want, i.e., a separated Names Index, Places Index, Quotations Index
etc.
> >
> > and the "Add Index List" command seems inadequate for that.
> >
> > I tryed with some inline \latex and \makeindex hack, but I did not
> >
> > find a solution. Has anyone solved this problem?
>
> have a look at
>
> http://www.dante.de/CTAN/help/Catalogue/entries/index.html
>
> Herbert

Looks good, but I couldn't find the "camel.sty" file.
Any hint?

Thanks,
Carlo





Re: multicol and alignment ( lyx-1.1.6fix1 )

2001-03-14 Thread Robin Gerard

On Wed, Mar 14, 2001 at 11:17:36AM +0200, Tuukka Toivonen wrote:
> On Wed, 14 Mar 2001, Robin Gerard wrote:
> 
> > I have a problem of alignment when I use multicol.
> 
> I have no idea what was wrong with your document. I couldn't fix
> it. However, I created a new document and copied and pasted the lines from
> your document to it and it seems to work fine. It's attached.
> 
Thanks Tuukka it is exactly what y needed.

Thanks to you all.

-- 
 Gerard 
   




Re: Hitting the wrong key

2001-03-14 Thread Keeper of the Key to Time

On Thursday 08 March 2001 21:44, Allan Rae wrote:
> On Thu, 8 Mar 2001, Michael Zapf wrote:
> > I don't know if anybody ever encountered the same problem - but probably
> > I'm just too clumsy when typing...

> > I think that either the emphasize key should be relocated or that the
> > close/revert actions should be multi-key sequences. Or that there are no
> > shortcuts in the dialog window.
>
> You should switch to emacs keybindings that way you can use:
>   C-x C-c to quit lyx
>   C-x k to kill the buffer
>   M-f d to revert the buffer
>
> Then you'll only be concerned that
>   C-w is cut
>   C-r is reverse search (in normal emacs but not bound in our case)


Or, change keyboard layout to Dvorak. ;)  This way, W and R are on the 
opposite side of the keyboard from E. Adjusting to that will only take a 
couple of weeks longer than switching to Emacs bindings from CUA. It also 
hasn't made me any less clumsy, but now my mistakes are less painful since my 
fingers don't have to move as much. :)


I do like your suggestion about changing bindings, though. What I'd probably 
do in that case is just disable keyboard shortcuts for "Close file" and 
"Revert", figuring if I needed them I could use the menus.

-- 
// Carl Hudkins :: ICQ 5723399
//
// "Wake me when it's over, touch my face
//  Tell me every word has been erased..."  --TMBG



1.2-cvs and math-ed

2001-03-14 Thread Mats Rhen

Is there something broken in math-ed? 
The possibility to make single rows unnumbered is no longer... 
The last .rpm I used where this worked is from 6 of march.

I've got a "Display formula" with 3 col's and 9 row's, row 2, 5,6 and 7 is
to be unnumbered.

I'm using Kayvan Sylvan's .rpm of LyX-1.2 on RH7.0.