Re: HELP!

1999-05-11 Thread Risto . Kuusisto

One solution (which i have already posted to this lyx-users list) is to
find out the proper
rpm's for RedHat. After installing xforms and lyx using glint in RedHat
5.2, kernel 2.0.36
i got rid of exactly similar messages in my system.  Then what is the
difference in
source code level ? I have no idea of that.

BR:Risto


From: [EMAIL PROTECTED] on 12.05.99 09:13

To:   [EMAIL PROTECTED] @ inet
cc:   [EMAIL PROTECTED] @ inet
Subject:  HELP!

I am running RH 5.2 kernel 2.2.7 and I have tried both lyx-0.12 and
lyx-1.0.3pre2 and I get the following two errors:
1. When i type lyx i get an Alert window with the following error
message:
  LyX wasn't able to find it's layout descriptions!
 Check that the file "textclass.lst" is installed
correctly.  Sorry, has to
 exit :-(

I get around the problem by typing lyx -sysdir /usr/local/share/lyx
(from the man page)

2. When I load a file I cannot view it with viewdvi, or postscript view.

I get the following Alert three times:
 Error: Could not change to directory:
 /tmp/lyx_tmp11766aaa/lyx_bufrtmp11766aaa
 Success

I suspect this has to do with improper configuration but any help would
be appreciated!

TIA,

Clive.





HELP!

1999-05-11 Thread Clive Andeson

I am running RH 5.2 kernel 2.2.7 and I have tried both lyx-0.12 and
lyx-1.0.3pre2 and I get the following two errors:
1. When i type lyx i get an Alert window with the following error
message:
  LyX wasn't able to find it's layout descriptions!
 Check that the file "textclass.lst" is installed
correctly.  Sorry, has to
 exit :-(

I get around the problem by typing lyx -sysdir /usr/local/share/lyx
(from the man page)

2. When I load a file I cannot view it with viewdvi, or postscript view.

I get the following Alert three times:
 Error: Could not change to directory:
 /tmp/lyx_tmp11766aaa/lyx_bufrtmp11766aaa
 Success

I suspect this has to do with improper configuration but any help would
be appreciated!

TIA,

Clive.



Re: update DVI?

1999-05-11 Thread Gordon A. Fox

Thanks a lot!

Gordon

At 01:49 PM 5/11/99 -0700, Kayvan Aghaiepour Sylvan wrote:
>This was fixed recently. Apply the following patch to your source and
>recompile and all should be well.
>
>Index: filetools.C
>===
>RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/filetools.C,v
>retrieving revision 1.2
>retrieving revision 1.3
>diff -u -r1.2 -r1.3
>--- filetools.C1999/02/11 14:46:11 1.2
>+++ filetools.C1999/05/07 13:09:00 1.3
>@@ -517,7 +517,7 @@
>   delete[] with_drive;
> #endif
>   } else
>-  TempBase = safer_getcwd();
>+  TempBase = GetCWD(); //safer_getcwd();
> #ifdef __EMX__
>   if (AbsolutePath(TempRel))
>   return TempBase.substring(0,1) + TempRel;
> 
***
Dr. Gordon A. Fox
Dept. of Biology
San Diego State University (Office: LS-216)
San Diego, CA 92182-4614
Voice: (619) 594-0356
Fax: (619) 594-5676
http://www.sciences.sdsu.edu/Faculty/Gordon.Fox/
***



update DVI?

1999-05-11 Thread Kayvan Aghaiepour Sylvan

This was fixed recently. Apply the following patch to your source and
recompile and all should be well.

Index: filetools.C
===
RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/filetools.C,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- filetools.C 1999/02/11 14:46:11 1.2
+++ filetools.C 1999/05/07 13:09:00 1.3
@@ -517,7 +517,7 @@
delete[] with_drive;
 #endif
} else
-   TempBase = safer_getcwd();
+   TempBase = GetCWD(); //safer_getcwd();
 #ifdef __EMX__
if (AbsolutePath(TempRel))
return TempBase.substring(0,1) + TempRel;



update DVI?

1999-05-11 Thread Gordon A. Fox

I have Lyx 1.02 on my machine. It runs fine, except for one thing: if I
have updated the DVI file once during a Lyx session, it won't update it
again! 

In other words, if I edit a file, save it, update DVI, it works once, but
if I edit some more, and save, the "update DVI" command does nothing! I've
checked the temporary directory, and a new .tex file has been written
(which I can then run latex on, and get a .dvi file from), but Lyx doesn't
seem to execute this command a 2nd time.

Is there some way to fix this? Seems like a bug to me.

Cheers,
Gordon
***
Dr. Gordon A. Fox
Dept. of Biology
San Diego State University (Office: LS-216)
San Diego, CA 92182-4614
Voice: (619) 594-0356
Fax: (619) 594-5676
http://www.sciences.sdsu.edu/Faculty/Gordon.Fox/
***



fonts (fwd)

1999-05-11 Thread Michael Hanke

Hi,

Some days ago, I was posting the following question to the mailing
list. Unfortunately, I did not get an answers about changing fonts in
xforms widgets. Does somebody know a solution?

Thank you very much.
Best wishes
Michael

-- Forwarded message --
Date: Sat, 8 May 1999 16:49:30 +0200 (MET DST)
From: Michael Hanke <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: fonts


Hi,

I just met another problem: I have a large screen now. While Ican
change the fontsize of fonts in the document very easily using the
popup, this is not possible for the fonts in other windows. The
letters in the latex preamble window are almost unreadable on my
screen. How can the fonts of menus, popup windows and the like be
changed? Am I missing something?

Thanks.

Michael

+---+
|  Michael HankeRoyal Institute of Technology   |
|   NADA|
|   S-10044 Stockholm   |
|   Sweden  |
+---+
|  Visiting address:Lindstedtsvaegen 3  |
|  Phone:   + (46) (8) 790 6278 |
|  Fax: + (46) (8) 790 0930 |
|  Email:   [EMAIL PROTECTED]   |
|   [EMAIL PROTECTED]   |
+---+




Re: Accents in math mode

1999-05-11 Thread Jean-Marc Lasgouttes

> "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> writes:

Jean-Pierre>  Hello, What follows is rather for the developers' list,
Jean-Pierre> but it may be of interest for all.

Jean-Pierre> The UserGuide gives in section 5.1.11 a table of the
Jean-Pierre> available accent functions in math mode, with the
Jean-Pierre> corresponding functions in text mode.

Jean-Pierre> Following a request of a colleague about the
Jean-Pierre> implementation of ddot, I could easily replace the
Jean-Pierre> \ddot{x} I used up to now by:

Jean-Pierre> \bind "M-m S-quotedbl" "math-insert ddot"

I'd rather use

\bind "M-m ~S-quotedbl" "accent-umlaut"

I just added that to math.bind.

JMarc



Accents in math mode

1999-05-11 Thread Jean-Pierre.Chretien

 Hello,
 
What follows is rather for the developers' list, but it may
be of interest for all.

The UserGuide gives in section 5.1.11 a table of
the available accent functions in math mode, with the corresponding
functions in text mode.

Following a request of a colleague about the implementation of ddot,
I could easily replace the \ddot{x} I used up to now by:

\bind "M-m S-quotedbl"  "math-insert ddot"

in the local math.bind file.

Perhaps this could be made standard, unless there is a reason
to leave some of the bindings unaffected ?

-- 
Jean-Pierre



Re: Need reference on view dvi, view postscript

1999-05-11 Thread Jean-Marc Lasgouttes

> "Hugh" == Hugh Lawson <[EMAIL PROTECTED]> writes:

Hugh> Now here is my little problem.  I can't find the section in the
Hugh> abundant documentation that deals with what happens when you
Hugh> click "view dvi" or "view postscript".  When you do this for the
Hugh> first time on a file, much time is taken to do something I don't
Hugh> understand.  I think latex is running and fonts are being
Hugh> compiled, something like that, but I don't understand these
Hugh> issues.  I have little understanding of latex.

This is not really documented because it depends on your TeX
implmentation. The idea is that teTeX computes the font bitmaps when
they are needed and stores them for later use. This means that for the
first uses, typesetting may take a while. However, if this occurs
again for the same document later, then there is a bug somewhere. I
think there are scripts named 'allcm' or 'allec' which can be used to
precompute fonts.

JMarc



Re: [schaeff@packet.net] LyX Feedback

1999-05-11 Thread Jean-Marc Lasgouttes

> "Christopher" == Christopher Sawtell <[EMAIL PROTECTED]> writes:

>> I've gone through the docs carefully but haven't found the thing
>> that I need.  If I'm correct, there's no way to make lyx emulate vi
>> keystrokes.  Am I right about this?

>> lyx is impressive.  Except for its lack of a vi mode, it is exactly
>> the tool I need for my work.  Is there any effort under way to give
>> it a vi option?  Have any other users requested such a thing?  I'm
>> not qualified to build it myself, but would be glad to assist if
>> others were interested.

Christopher> That would be a nice feature wouldn't it.?I'd propably
Christopher> use it if it were available, as vi is my
Christopher> ``mother-tongue'' editor, but imvho there are more
Christopher> important things to do first.

As far as I remember, someone on the list was working on something
like that some time ago... Was it Joacim?

Christopher> The feature I long for is to be able to use any Type1
Christopher> font so that I could do more ``fancy'' typesetting.

This is doable, as long as you do not want to use too many different
fonts in the same document. It would not be fancy, in any case...

Christopher> And I'd like to see some of the KLyX features integrated
Christopher> into the code.  The CTRL-arrow to move the cursor by a
Christopher> word is very nice. ( same as OS/2 )

Huh? Ctrl-arrow works pretty well here...

Christopher> btw, has the problem of the numbers being reset back to
Christopher> `1' when you try to put an itemised list inside an
Christopher> enumuration been fixed yet?

It works perfectly well, provided that you increase the environment
depth of the itemised list (explained in the User Guide).

Christopher> Also how do you make a reference to an enumeration number
Christopher> change automatically if you put another item in the enum.

Just add a label here, and make a reference to it.

Christopher> I tried to use the SGML output mode and found that there
Christopher> was a limitation on the font styles available. ( e.g. No
Christopher> sans-serif )

Christopher> For me, getting the SGML mode to really sing is by far
Christopher> the most important work to be done. ( Good looking print
Christopher> & nice HTML pages )

LyX currently has support for the LinuxDoc SGML DTD, which indeed has
these limitations (HTML has many of these too, unless you plan to
hardcode fonts). There is some work going on to support the DocBook
DTD, which is supposedly more powerful.

JMarc