Re: Math question, how to do this?

2001-08-18 Thread Herbert Voss

Mohammad Reza Danesh wrote:
> 
> I'm trying to get summation indexes in right position (please see the attached
> .pdf and .lyx files). Looks like lyx is making mistake on interpreting index
> positions when its combined with fractions. Can anyone on list confirm this or
> let me know if there is work around for it?

there is a whole section in the UserGuide.lyx which
describes this kind of math-stuff:

5.1.6 Sums and Integrals

would be nice for the doc-team and their work, when you pay 
attention for the layout->help topics  ;-)

attached your test-file with both formula-styles:
super/subscript and over/under limits

Herbert

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

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

your formula
\begin_inset Formula \begin{equation}
\label{4-6}
k_{i}=\frac{k_{DO_{i}}}{\sum ^{n}_{i=1}k_{DO_{j}}}
\end{equation}

\end_inset 


\layout Standard

and my formula ;-)
\layout Standard


\begin_inset Formula \begin{equation}
\label{4-7}
k_{i}=\frac{k_{DO_{i}}}{\sum\limits ^{n}_{i=1}k_{DO_{j}}}
\end{equation}

\end_inset 


\layout Standard

LyX does it all ...
 :-)
\the_end



Re: this is wonderful! (LyX) bit of help needed

2001-08-18 Thread Christopher M. Jones

Do you have xdvi installed on your system? Alternatively, you could try to 
view Postscript. This will require gv or the like.


On Saturday 18 August 2001 07:35 pm, you wrote:
> i just installed LyX and it said to see the great output by going to
> -View- and selecting dvi -my xterm said there was some sort of
> unfound command error with "splash" or something or other...
>
> any idea what i'm referring to and what to fix? or where to find the
> necessary info?
>
> TIA
>
> max



this is wonderful! (LyX) bit of help needed

2001-08-18 Thread get86

i just installed LyX and it said to see the great output by going to 
-View- and selecting dvi -my xterm said there was some sort of 
unfound command error with "splash" or something or other...

any idea what i'm referring to and what to fix? or where to find the 
necessary info?

TIA

max



Math question, how to do this?

2001-08-18 Thread Mohammad Reza Danesh

I'm trying to get summation indexes in right position (please see the attached
.pdf and .lyx files). Looks like lyx is making mistake on interpreting index
positions when its combined with fractions. Can anyone on list confirm this or
let me know if there is work around for it?

Thanks,
-Mohammad

 test.lyx
 test.pdf


Re: Problems with forms.h (again)

2001-08-18 Thread John Levon

On Sat, Aug 18, 2001 at 12:18:24PM -0400, Jochen F. Rick wrote:

> ** Cannot find libforms or libxforms. Please check that the xforms library
>is correctly installed on your system.
> 
> ** Cannot find forms.h. Please check that the forms library
>is correctly installed on your system.
> 
> Reading the INSTALL file, I see that I need xforms. I download it from 
> the site and decompress it. Now, I try to use --with-extra-lib= and 
> --with-extra-inf= flags. The first problem goes away, but the second one 

I assume you mean inc not inf ;)

What were the exact directories ? Can you send me (privately) your config.log 
file (sorry what lyx version are you trying to compile ?)

thanks
john

-- 
"If it is "all Greek to you", perhaps a trip to Athens is in order."
- jjohn, /.



Problems with forms.h (again)

2001-08-18 Thread Jochen F. Rick

Hi, LyX seems really cool; I want to start playing around with it badly, 
but can't seem to get it to work. I've searched the e-mail list and can't 
seem to find a good answer to my problem, so I'll try it here.

First, let me explain that I don't have root access to the RedHat6.2 
system that I'm trying to install it on, so I want to install it 
(lyx-1.1.6fix3) in my home directory. At the end of running configure, I 
get this message:

 The following problems have been detected by configure. 
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find libforms or libxforms. Please check that the xforms library
   is correctly installed on your system.

** Cannot find forms.h. Please check that the forms library
   is correctly installed on your system.

Reading the INSTALL file, I see that I need xforms. I download it from 
the site and decompress it. Now, I try to use --with-extra-lib= and 
--with-extra-inf= flags. The first problem goes away, but the second one 
remains. I check the directory and sure enough there is a "forms.h" file 
in there. Yet, configure cannot find it. I tried tricking it by using 
--with-extra-prefix= flag, but that didn't work. So, I'm at a loss.

Any help?

Peace and Luck!

Je77



Re: colour pictures in Lyx..why is the printing so poor?

2001-08-18 Thread Ronny Buchmann

* Dekel Tsur <[EMAIL PROTECTED]> [2001-08-18 11:41] wrote:
> On Fri, Aug 17, 2001 at 06:48:10PM +0100, G.M.Laudone wrote:
> > Hi guys,
> > I'm a total newbie to Linux and to Lyx but i find it useful and
> > fascinating...I'm just typing a quite important report and i'm using
> > Lyx...it's great but I've noticed that when I print colour pics(both
> > previously converted to eps and ps or inserted straight as jpeg) the
> > quality of the printing(i'm using a HP Deskjet 640C) is  a bit poor...it
> > looks all  "dotty" and a bit dark...i don't know if I have to change
> > some of the settings or is the conversion from jpg to eps to be
> > blamed...in which case...any suggestion?? any software which does it
> 
> It is possible that you are not using a correct driver for your printer.
i also think its a driver problem

you should use the DJ6xxP driver from hpinkjet.sf.net

-- 
ronny



Re: Autoconf check for lyx with linuxdoc

2001-08-18 Thread Jose Abilio Oliveira Matos

On Tue, Aug 14, 2001 at 06:04:31PM -0700, Arien Malec wrote:
> I'm using lyx (1.1.6fix3) as a front-end to build Linuxdoc SGML. I've had some
> problems with users either not using a version of Lyx that supports this, or
> who haven't configured Lyx with sgmltools support, so I thought I'd write an
> Autoconf macro to check whether Lyx support Linuxdoc.

  We do this at configure stage.

  Also do Edit->Reconfigure
  
  it has a line that says:

+checking for linuxdoc class linuxdoc...  yes

  That is enough.
  
  In reality we only search for sgml2lyx to be present in the system PATH,
assuming from there that the version 1 of sgml-tools is installed.

  We use it then to preview the document in dvi, ps or html.
  
> I thought to query Lyx itself and see, but couldn't find a command line
> argument to check (I could just run lyx -e linuxdoc empty.lyx, but I *think*
> that on older version of Lyx that'll run the full UI, which would not be
> desirable in a configure script).
> 
> I noted the textclass.lst file in the Lyx share directory, and thought that if
> it answered to:
> 
> grep "^\"linuxdoc" "$LYXLIBDIR/textclass.lst
> 
> Then I would be OK (I note, however, that textclass.lst in my environment
> mentions docbook, but Lyx doesn't support export to DocBook (?)).

  Yes it does. Notice that the sgmltools package version 2 or 3 support
docbook, and lyx autodetects that on the configuration step.

> The man page for Lyx says: 
> The system directory is determined by searching for the  file  "chkconfig.ltx".
>Directories are searched in this order:
>1) -sysdir command line parameter
>2) LYX_DIR_11x environment variable
>3) Maybe /TOP_SRCDIR/lib
>4) /../share//
>5)hardcodedlyx_dir(usually   /usr/local/share/lyx   on  
> UNIX   and
>%X11ROOT%\XFree86\lib\X11\lyx on OS/2 with XFree)
> 
> Ack. What's this about TOP_SRCDIR??? Anyhow, my strategy is to search for
> chkconfig.ltx following the above search (but ignoring OS/2, alas), and then,
> in that dir, do the above mentioned grep to search for linuxdoc support.

  lyx -x reconfigure gives you that but leaves the window opened.
  
  Please tell me if you have further doubts...
  
-- 
José



Re: colour pictures in Lyx..why is the printing so poor?

2001-08-18 Thread Dekel Tsur

On Fri, Aug 17, 2001 at 06:48:10PM +0100, G.M.Laudone wrote:
> Hi guys,
> I'm a total newbie to Linux and to Lyx but i find it useful and
> fascinating...I'm just typing a quite important report and i'm using
> Lyx...it's great but I've noticed that when I print colour pics(both
> previously converted to eps and ps or inserted straight as jpeg) the
> quality of the printing(i'm using a HP Deskjet 640C) is  a bit poor...it
> looks all  "dotty" and a bit dark...i don't know if I have to change
> some of the settings or is the conversion from jpg to eps to be
> blamed...in which case...any suggestion?? any software which does it

It is possible that you are not using a correct driver for your printer.



Re: What's the simplest possible way to create a new Document Class?

2001-08-18 Thread Dekel Tsur

On Fri, Aug 17, 2001 at 04:11:55PM -0400, Steve Litt wrote:
> Thanks so much Christopher. I was indeed able to modify article to 
> helloworld. I hiccupped on the next step, where I renamed article.layout to 
> harticle.layout. My helloworld went away. There's something special about the 
> filename article.layout, but I couldn't find it:

The problem is that lyx assumes (if not told otherwise) that foo.layout uses 
foo.cls.
Since you don't have harticle.cls on your system, it doesn't display your new
class.
The solution is to use

\DeclareLaTeXClass[article]{hello world}