Re: symbol R for real numbers

2000-03-15 Thread Staffan Ringbom

Try the following simple thing

Insert:

\usepackage{amsfonts}

in the latex preamble


then in the matheditor type:
 \mathbb{R}   or
\mathbb{N}   or
\mathbb{C}   or
\mathbb{Q}   or
\mathbb{Z}


best,

Staffan


P.S. I've found "The (not so) short quide to LaTeX - or LaTeX in 89 minutes"
useful
It can be found from several places e.g. via www.tug.org.





Re: symbol R for real numbers

2000-03-15 Thread Torsten Mueller

Try the following simple thing

Insert:

\usepackage{amsfonts}

in the latex preamble


then in the matheditor type:
 \mathbb{R}   or
\mathbb{N}   or
\mathbb{C}   or
\mathbb{Q}   or
\mathbb{Z}


this works, however, the result is not the correct symbol for reel number R.

This is why I had a deeper look at dsfont.sty proposed here earlier.
This package produces the correct results.

The problem is, that I cannot install this package correctly, because I do not
have access to the latex installation.
So I could not do step 4 of the installation procedure.

4. Move the files to their destination.

The filesare and are needed by
*.tfmTeX font metric files   TeX
*.fd font defintions TeX
*.stystyle files TeX
*.mf Metafont sourcesMetafont

So I copied the files to the directory where the lyx source is.
When I export to LATEX and call latex, then it works fine.

From LyX I get error messages:
MakeTeXTFM: 'mf \mode:=ljfour; mag:=1; scrollmode; input dsrom10' failed to make 
dsrom10.tfm.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running MakeTeXTFM dsrom8.tfm 
MakeTeXTFM: Running mf \mode:=ljfour; mag:=1; scrollmode; input dsrom8
This is METAFONT, Version 2.718 (C version 6.1)

kpathsea: Running MakeTeXMF dsrom8.mf 
! I can't find file `dsrom8.mf'.
* ...e:=ljfour; mag:=1; scrollmode; input dsrom8
  
Please type another input file name: 
! Emergency stop.
* ...e:=ljfour; mag:=1; scrollmode; input dsrom8


The problem seems to be, that LyX calls metafont automatically despite the
fonts are already there.

Any ideas how I could solve the problem?


Thanks,
Torsten



Re: LyX newsgroup: It's about time

2000-03-15 Thread Jan Ulrich Hasecke

  There is indeed a TeX/LaTeX newsgroup, and it is NOT overrun by spam.
  Take a look for yourself, comp.text.tex, and you'll see what I mean.

There are some questions in this group concerning LyX but not
many. 

New Lyx-Users will probably ask more questions concering LaTeX than
concerning LyX. So I think it is a good idea to read comp.text.tex,
when you are using LyX. There are marvelous things you can do with
TeX/LaTeX/pdfTeX etc.!

Ciao!
juh

-- 
juh's Sudelbuch --- Literatur und Satire per E-Mail
http://www.sudelbuch.de
Unterstützen Sie das Sudelbuch durch eine Spende.
http://www.sudelbuch.de/spende.html



Re: wild development ideas

2000-03-15 Thread Tuukka Toivonen

On Wed, 15 Mar 2000, Andre Poenitz wrote:

 Well, MuPAD is more or less free, 

Yes, but it is not GNU. Apparently it isn't even open source.

 Maple costs. The other day my boss

So it's out of question, IMHO.

 I can't compare any of them to Maxima though...

Reading http://www.sciface.com/products/demos/index.shtml, it seems that
MuPad is for practical purposes equivalent to Maxima. In fact the syntax
seems to be so similar that I wonder if it's derived from Macsyma.

The biggest difference is probably that MuPAD seems to have nice GUI. But
I think integrating GNU readline to Maxima would do the trick.

I'm not sure tough if Maxima has interval capabilities. Does Octave/Scilab
have? afaik they don't. (ie. for numeric error estimations).

But since Maxima is GNU, and is pretty decent, we/I should target
primarily for it instead of mupad (or something worse). Let's not do the
same mistake as with xforms, correct?-)

Of course generic XML/MathML import/export for both Maxima and LyX would
be the coolest thing but not necessarily the solution to the shortest path
problem. :)



Re: symbol R for real numbers

2000-03-15 Thread Alexander Wollmann

Torsten Mueller wrote:

 \usepackage{bbm} in the preamble,
 I couldnt find this package.
 I have only found sbbm.sty

 then you can use \mathbbm{R}, \mathbbm{N}, 
 with sbbm.sty there is a command \mathbb{}, but when I use this with R
 then I get a normal R and not with two lines at the left side (as I would
 have expected)

 Thanks,
 Torsten

On my machine, (RedHat 5.2) locate shows

[wollmann@euklid ~]$ locate bbm.sty
locate: warning: database `/var/lib/locatedb' is more than 8 days old
/usr/share/texmf/tex/latex/bbm/bbm.sty

Asking the rpm-Manager, this file belongs to

[wollmann@euklid ~]$ rpm -qf /usr/share/texmf/tex/latex/bbm/bbm.sty
tetex-latex-0.9-6
[wollmann@euklid ~]$

So check this.

 From another post

Torsten Mueller wrote:

 Try the following simple thing
 
 Insert:
 
 \usepackage{amsfonts}
 
 in the latex preamble
 
 
 then in the matheditor type:
  \mathbb{R}   or
 \mathbb{N}   or
 \mathbb{C}   or
 \mathbb{Q}   or
 \mathbb{Z}
 

 this works, however, the result is not the correct symbol for reel number R.

 This is why I had a deeper look at dsfont.sty proposed here earlier.
 This package produces the correct results.


I don´t like the "amsfonts real R" too, but the package bbm satisfied me. So you
should get this to work.

Greets, Alex.






bold math fonts for matrices

2000-03-15 Thread Tuukka Toivonen

Another font problem.

Normal variables are written in italics. All right.

Some things -- like functions -- are written in normal font. I can
get that using Alt-M-M in math mode. All right.

But how can I get bold font for things like matrices?

Or more generally: how to change the font type and attributes in math
mode? Is it even possible?



Re: wild development ideas

2000-03-15 Thread Tuukka Toivonen

On Wed, 15 Mar 2000, Jean-Pierre.Chretien wrote:

 equals ..." oops. What? Exactly, push the 'evaluate' button and the
 result is inserted. You are far more productive this way than launching
 a seperate application and do import and export manually.
 Andre'
 But this use is not so frequent: you need to work in a field
 where formal calculus is efficient.

Well, I guess it depends completely what you're doing. If I'm a student to
who a professor assigns, say 10 smallish problems/exercises, it's better
to just start writing the solutions to each of those in LyX, and
manipulating the formulas from inside LyX -- if needed -- than to jump
between Maxima and LyX and even then copying formulas by hand. Errors
happen easily too.

But if you're writing -- let's say a thesis -- the situation is probably
quite different. You have one big problem that you might want to solve
completely in you mathematics program and then only export the required
formulas to LyX.



Re: bold math fonts for matrices

2000-03-15 Thread Herbert Voss

Tuukka Toivonen wrote:
 
 Another font problem.
 
 Normal variables are written in italics. All right.
 
 Some things -- like functions -- are written in normal font. I can
 get that using Alt-M-M in math mode. All right.
 
 But how can I get bold font for things like matrices?
 
 Or more generally: how to change the font type and attributes in math
 mode? Is it even possible?

some times ago we had the same discussion. have a look at
the sample file. in latex preamlble you find all definitions.
The amslatex-fonts, especially ueur.fd, must be installed.

Herbert



-- 
[EMAIL PROTECTED]
http://www.perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\begin_preamble
\input{ueur.fd}
\DeclareMathVersion{euler}
\DeclareMathVersion{eulerbold}
\SetSymbolFont{letters}  {euler}{U}{eur} {m}{n}
\SetSymbolFont{letters}  {eulerbold}{U}{eur} {b}{n}
\SetSymbolFont{operators}{eulerbold}{OT1}{cmr} {bx}{n}
\SetSymbolFont{symbols}  {eulerbold}{OMS}{cmsy}{b}{n}
\SetMathAlphabet\mathsf{eulerbold}{OT1}{cmss}{bx}{n}
\SetMathAlphabet\mathit{eulerbold}{OT1}{cmr}{bx}{it}
\def\eulermath{\@nomath\eulermath
  \mathversion{euler}}
\def\uneulermath{\@nomath\uneulermath
  \mathversion{normal}}
\def\eulerbfmath{\@nomath\eulerbfmath
  \mathversion{eulerbold}}
\def\uneulerbfmath{\@nomath\uneulerbfmath
  \mathversion{normal}}
\newcommand{\bfmath}[1]{\mbox{\boldmath$#1$\unboldmath}}
\newcommand{\eumath}[1]{\mbox{\eulermath$#1$\uneulermath}}
\newcommand{\eubmath}[1]{\mbox{\eulerbfmath$#1$\uneulerbfmath}}
\let\newcommand=\providecommand
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\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

Here are some greek lowercase letters in the normal font
\begin_inset Formula 
\[
\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma ,\]

\end_inset 

 in the bold font
\begin_inset Formula 
\[
\bfmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

in the upright font
\begin_inset Formula 
\[
\eumath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

and in the bold upright font
\begin_inset Formula 
\[
\eubmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma }.\]

\end_inset 

If you want to use them only in exponents and in suffices, a kludge is required:
\begin_inset Formula 
\begin{eqnarray*}
X_{\zeta }^{\eta }X\bfmath {{}_{\zeta }^{\eta }}\\
X\eumath {{}_{\zeta }^{\eta }}X\eubmath {{}_{\zeta }^{\eta }}
\end{eqnarray*}

\end_inset 


\layout Standard

\the_end



how to unsubscribe?

2000-03-15 Thread uliw

Dear lyxers,

I'm sorry for the noise, but embarrassing enough, I lost my
list-server information mail, and I can't figure how to unsubscribe.

THX

Uli

-- 
Uli Wortmann   Fax (Switzerland) (1) 632  1080
Dept. of Geology   Fon3694
ETH-Zuerichhttp://www.erdw.ethz.ch/~bonk/bonk.html
Visit the SPOC-team at http://www.spoc.ethz.ch



Re: wild development ideas

2000-03-15 Thread Andre Poenitz

 Reading http://www.sciface.com/products/demos/index.shtml, it seems that
 MuPad is for practical purposes equivalent to Maxima. In fact the syntax
 seems to be so similar that I wonder if it's derived from Macsyma.

Definitely not. AFAIK MuPAD was build from scratch and has no connection
at all to Lisp.
 
 But since Maxima is GNU, and is pretty decent, we/I should target
 primarily for it instead of mupad (or something worse). Let's not do the
 same mistake as with xforms, correct?-)

 Of course generic XML/MathML import/export for both Maxima and LyX would
 be the coolest thing but not necessarily the solution to the shortest path
 problem. :)

An open easy-to-use interface is important. Indeed.

Andre'
-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Re: how to unsubscribe?

2000-03-15 Thread Andre Poenitz

 I'm sorry for the noise, but embarrassing enough, I lost my
 list-server information mail, and I can't figure how to unsubscribe.

Fortunately enough for people who tend to forget things like you and me
there is a List-Unsubsribe: header inserted automatically in every mail that
comes from the list. In my case it reads:

List-Unsubscribe: mailto:lyx-users-unsubscribe-andre.poenitz=\
[EMAIL PROTECTED]

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Presentation with FoilTeX

2000-03-15 Thread Emanuele Olivetti

As you probably know I'm at the end of my thesis...8-} . Now I'm trying to
set up the presentation; obviously I want to use LyX.
They say to me to use my notebook instead of that old-fashioned slides...
I'll prepare both of them, because I like slides. No way to use PowerPoint,
as they suggested. I don't want to mix heaven and hell!

Here is the problem:
I'll use ghostview (gv by Johannes Plass) on my notebook with a projector,
to show my LyX-slides; since the display is larger than tall, I'll use 
landscape A4 paper as default. But if I set landscape paper and RotateFoilHead
environnement, things go wrong and I get a portrait slide shown horizontally.
Using only Landscape paper or only RotateFoilHead goes wrong. If I set
"landscape", in the Extra Option of the document layout, I get the right 
thing, but text is truncated on the right (using gv). Is it a problem of LyX
or gv?

Which viewer shall I use to make the presentation? Is gv good for this?


If I can't find a solution I'll use portrait slides :-(



Thanks a lot


Emanuele
  



Re: Presentation with FoilTeX

2000-03-15 Thread Jean-Pierre.Chretien


Subject: Presentation with FoilTeX
To: [EMAIL PROTECTED] (Lyx User Mailing List)
Date: Tue, 14 Mar 2000 19:25:13 +0100 (MET)
From: Emanuele Olivetti [EMAIL PROTECTED]

As you probably know I'm at the end of my thesis...8-} . Now I'm trying to
set up the presentation; obviously I want to use LyX.
They say to me to use my notebook instead of that old-fashioned slides...
I'll prepare both of them, because I like slides. No way to use PowerPoint,
as they suggested. I don't want to mix heaven and hell!

Here is the problem:
I'll use ghostview (gv by Johannes Plass) on my notebook with a projector,
to show my LyX-slides; since the display is larger than tall, I'll use 
landscape A4 paper as default. But if I set landscape paper and RotateFoilHead
environnement, things go wrong and I get a portrait slide shown horizontally.
Using only Landscape paper or only RotateFoilHead goes wrong. If I set
"landscape", in the Extra Option of the document layout, I get the right 
thing, but text is truncated on the right (using gv). Is it a problem of LyX
or gv?

Which viewer shall I use to make the presentation? Is gv good for this?


If I can't find a solution I'll use portrait slides :-(



Thanks a lot


  Emanuele
  

It's a problem of a4paper/landscape...
I don't know about Foils, but here it goes with seminar:
 - a4paper+landscape produces 21x29.7 slide ready for printing, but
 not for viewing on a 4/3 screen
 - however ghosview is cute enough to undertand whats going on and
 rotate the paper;
 - Acrobat reader is not cute and insists upon viewing as a4paper like
 the printer (and I didnt find any Rotate button...)
 
So what you need (to use acrobat with the videoprojector) is a portait
sized as 29.7x21, which is NOT a standard paper format.
Fixing this size with geometry works fine with a plain document,
but I was not able to make it work with a seminar-derived class...

So ghostview should do it if you stick to a4/landscape.

IMHO, there should be a clean solution to this in the future, most
of the viewgraphs will never be printed in a4 or the like: as I mentioned, 4/3
(and perhaps 16/9 :-) should be present as a standard paper format
along with a4, letter, etc. This is clearly a LaTeX issue.

Regards

-- 
Jean-Pierre



landscape slides in postscript

2000-03-15 Thread Emanuele Olivetti

Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
the right part of the slide doesn't appear: the text is cut.
I haven't this problem with dvips, only with gv (by Johannes Plass).
Shall I use another viewer? Is it a problem with postscript?

I have to do a presentation (of my thesis, as usual) and I want to use
my notebook and a postscript viewer. Wich viewer is better?
Aladdin?
Johannes Plass? (default on RedHat)
GNU ghostview?

Thanks a lot


Emanuele


P.S.: As is said in Extended.lyx, I set "landscape" in extra option of
Layout-Document menu, and nothing else. Is it correct? 



Re: landscape slides in postscript

2000-03-15 Thread Jean-Pierre.Chretien


Subject: landscape slides in postscript
To: [EMAIL PROTECTED] (Lyx User Mailing List)
Date: Wed, 15 Mar 2000 15:52:53 +0100 (MET)
From: Emanuele Olivetti [EMAIL PROTECTED]

Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
the right part of the slide doesn't appear: the text is cut.
I haven't this problem with dvips, only with gv (by Johannes Plass).
Shall I use another viewer? Is it a problem with postscript?

I have to do a presentation (of my thesis, as usual) and I want to use
my notebook and a postscript viewer. Wich viewer is better?
Aladdin?
Johannes Plass? (default on RedHat)
GNU ghostview?

Aladdin here, with gv 5.50

-- 
Jean-Pierre



Re: wild development ideas

2000-03-15 Thread Uwe Amann



On Tue, 14 Mar 2000, Andre Poenitz wrote:
 Subject: Re: wild development ideas
 
  Sounds truly wild. If these programms have a scripting or macro
  language,
 
 Most of the interesting programs are scriptable. Maple e.g:
 
   echo "lprint(expand((x+1)^3));" | maple -q
 
   -- x^3+3*x^2+3*x+1
 
 The problem is parsing. First you have to convert from
 LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial
 since LaTeX does not preserve the logical structure of the formula
 - just think about indices etc. Calling Maple is the easy part.
 Converting back to LaTeX is not difficult either:
 
   echo "latex(expand((x+1)^3));" | maple -q
 
   -- {x}^{3}+3\,{x}^{2}+3\,x+1
 
 So if you come up with a decent LaTeX parser in C++ I am willing to
 implement the easy parts ;-)

While I agree with you, that a LaTeX parser would be very hard to
implement, why not try a different solution. I will try to describe
a solution which would give some of the benefits the initial poster
requested, while being simple enough to be implemented quite fast.

The basic principle is that while LaTeX does not preserve the logical
structure of the formula, there exists an input method for maple
that preserves it. Why not create an input mode for LyX, that allows 
to enter commands for maple, which are stored as plain text.
This is then passed over to maple (with an added latex(...) ) 
to evaluate, and the result can easily be displayed with the
capabilities of LyX. 

This would have the advantage that you won´t have to leave LyX
to perform computations, and that the commands which led to
a result are stored with the result.

The only disadvantage I can see with using this method 
would be that there are two different syntax standards for 
mathematical input in LyX. While this could be confusing for
new users of LyX, it should present no problem because anyone
who will use this feature will probably know maple and latex
syntax.

I used maple as an example, because it has a fairly simple and
not too proprietary syntax.Using Mathematica would require 
some additional work, because Mathematica´s latex output uses
special macros for many things. (At least the Version I am using)


I would be glad if some LyX-Developer could tell me if this
additions to LyX are possible.

Greetings
Uwe





Re: Using another language...

2000-03-15 Thread Dragutin Cvetkovic

Thanx for the tip...

However, although I did find a language that did satisfy my needs
(croatian) I am still wondering how can I create one more Language entry?
Basically, I came to the point where I realised that the Language definitions
are more part of Tex/LaTeX then Lyx... So, I was wondering, how can I add an
Language to Latex (and Lyx at the same time)?

I browsed through the short intro to latex 2e but seems like one cant
find a decent Latex documentation at all...

D.


On Tue, 14 Mar 2000, Stephan E. Schlierf wrote:
 On Mon, 13 Mar 2000, Dragutin Cvetkovic wrote:
 
  Greets,
  
  Well, the tiem has come when I finally have a very serious application
  of the whole LyX/LaTeX software, and I have come upon two problems.
  
  The first problem is as follows: When I insert a table of contents, it
  works just fine, except for the fact that it is written in english... is there
  a way to translate the "Contents" string or change it in some way? How is it
  done?
 
 Did you try to set the language of your document to a different but
 english (Layout - Document - Language) ?
 
  
  Another thing is that I have a table inserted in my document, however,
  I cannot make lines within a document to break, I cant insert breaks in lines
  in table cells... and this makes my table run out of the screen and paper... Is
  there a way to remedy this as well?
  
 
 Hm, I'm not quite sure whether I understood you:
 To insert a page break, just select Layout - Paragraph and mark the
 option Pagebreak as you need it.
 
 Concerning a table: select it, choose Layout - Table, specify a certain
 width per row and select the option Longtable. If you like to have
 linebreaks within one cell, select the option Linebreaks as well.
 
  Thanx!
  
  D
  
 
 Hope this helps.
 
 Regards
 
 Stephan
 
 --
 Stephan E. Schlierf M.A.
 -  Product Management  -
 PHONE:  ++49 9254 960632
 FAX:++49 9254 960159
 CSE GmbH Germany



Re: symbol R for real numbers

2000-03-15 Thread Kayvan A. Sylvan

 
 The problem is, that I cannot install this package correctly, because I do not
 have access to the latex installation.
 So I could not do step 4 of the installation procedure.
 
 4. Move the files to their destination.
 
 The filesare and are needed by
 *.tfmTeX font metric files   TeX
 *.fd font defintions TeX
 *.stystyle files TeX
 *.mf Metafont sourcesMetafont
 

You should install these wherever you want and then set the appropriate
enviroment variables:

MFINPUTSshould include the path to the *.mf files
TEXINPUTS   should include path to the *.sty files
TFMFONTSshould include the path to the .fm files

I don't know which environment variable points to *.fd files, though.

I looked most of this up in the web2c info file.

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: wild development ideas

2000-03-15 Thread Andre Poenitz

 I really don't see the point of being able to write matlab code
 from LyX;

Have you ever used Scientific Workplace?

Imagine something like LyX. You start writing 

"It is well know that the integral 


\int e^x sin^2 x dx

equals ..." oops. What? Exactly, push the 'evaluate' button and the
result is inserted. You are far more productive this way than launching
a seperate application and do import and export manually.

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Re: symbol R for real numbers

2000-03-15 Thread Torsten Mueller

\usepackage{bbm} in the preamble,
I couldnt find this package.
I have only found sbbm.sty


then you can use \mathbbm{R}, \mathbbm{N}, 
with sbbm.sty there is a command \mathbb{}, but when I use this with R
then I get a normal R and not with two lines at the left side (as I would
have expected)

Thanks,
Torsten



Re: Algorthim

2000-03-15 Thread Herbert Voss

"Diego A. Puertas F." wrote:
 
 1- I'm a spanish spoker. I have allready configured my thesis  so:
 
Chapter is Capítulo
Section is Sección

 and so on, but the float algorithm refuses to translate, it
keeps on saying "Algorithm". how can I overide this?

in latex preamble

\renewcommand{\ALG@name}{your spanish word for algorithm}

in german I use   \renewcommand{\ALG@name}{Algorithmus}

Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de/voss



Re: Multiple citations after a sentence

2000-03-15 Thread Herbert Voss

Kevin Gross wrote:
 
 Hi all!
 
 ...it was not until the advancement of molecular orbital theory that
 cycloaddition reactions were well understood [1,2,5].
 
 as opposed to the absolutely unacceptable :)
 
 ...it was not until the advancement of molecular orbital theory that
 cycloaddition reactions were well understood [1] [2] [5].
 
 Here, [1,2,5] refer to the 1st, 2nd and 5th entry in the References
 section.  If it makes any difference, I am using the article document
 class.  I am just looking for a quick fix (well, other than actually
 typing "[1,2,5]") as I hope to learn BibTeX soon.  But I'm looking for a
 fix that will allow dynamic updating of references, i.e. keep track of
 the reference numbers upon addition and deletion of reference entries,
 much the same as LyX does for cross-referencing.

if your bibtex-file is ok, than:

in latex: \cite{key1,key2,...}   just like: \cite{deitel:99,doberanz:96}

deitel:99 and doberanz:96 are the bibtex keys. if your keys are 1, 2, ..
than \cite{1,2}

with LyX   Insert-citation- choose the first bibtex entry from the
list
and add the next manually:
"deitel:99" from list and than "doberanz:96" from keyborad. alle entrys
must separated by comma.

Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de/voss



Re: Multiple citations after a sentence

2000-03-15 Thread Osvaldo Fornaro

Herbert Voss wrote:

 Kevin Gross wrote:
 
  Hi all!
 
  ...it was not until the advancement of molecular orbital theory that
  cycloaddition reactions were well understood [1,2,5].
 
  as opposed to the absolutely unacceptable :)
 
  ...it was not until the advancement of molecular orbital theory that
  cycloaddition reactions were well understood [1] [2] [5].
 
  Here, [1,2,5] refer to the 1st, 2nd and 5th entry in the References
  section.  If it makes any difference, I am using the article document
  class.  I am just looking for a quick fix (well, other than actually
  typing "[1,2,5]") as I hope to learn BibTeX soon.  But I'm looking for a
  fix that will allow dynamic updating of references, i.e. keep track of
  the reference numbers upon addition and deletion of reference entries,
  much the same as LyX does for cross-referencing.

 if your bibtex-file is ok, than:

 in latex: \cite{key1,key2,...}   just like: \cite{deitel:99,doberanz:96}

 deitel:99 and doberanz:96 are the bibtex keys. if your keys are 1, 2, ..
 than \cite{1,2}

 with LyX   Insert-citation- choose the first bibtex entry from the
 list
 and add the next manually:
 "deitel:99" from list and than "doberanz:96" from keyborad. alle entrys
 must separated by comma.

 Herbert

 --
 [EMAIL PROTECTED]
 http://www.perce.de/voss

Hi,

In addition to that, if you use
\uepackage{cite}
in the preamble, the citations will be ordered and without intermediate
references.  For example, [1,2,3,5] will be [1-3,5]

Hope this help

Osvaldo Fornaro
IFIMAT - Universidad Nacional del Centro
Argentina




Re: landscape slides in postscript

2000-03-15 Thread Allan Rae

On Wed, 15 Mar 2000, Emanuele Olivetti wrote:

 Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
 the right part of the slide doesn't appear: the text is cut.
 I haven't this problem with dvips, only with gv (by Johannes Plass).
 Shall I use another viewer? Is it a problem with postscript?
 
 P.S.: As is said in Extended.lyx, I set "landscape" in extra option of
 Layout-Document menu, and nothing else. Is it correct? 

The docs in Extended warn that landscape doesn't do any rotations.
It expects the paper/output to go to a landscape printer.  Thus
Foilhead and RotateFoilhead are effectively reversed.
Therefore if you have "landscape" set then you should use Foilhead's not
RotateFoilheads.

If you leave the dvips option in the extra_options field as well then
you'll probably get junk output.

I had similar problems preparing landscape foils when I wrote the FoilTeX
docs in Extended.  I think that's why I ended up making the dvips
extra_option the default setting because it worked for me then.
The landscape option seems to be more confusing than useful.
I just used "dvips"+RotateFoilhead -- although I didn't mix portrait and
landscape foils,  nobody should.

If you get a solution that works for you let me know so I can add some
more info to the docs.

Allan. (ARRae)



musixtex-musixflx class

2000-03-15 Thread bill jehle

Hi;
This is kind of off the wall and I have no idea how
difficult it would be, but has anyone written a
layout file to support a document class for musixtex? 

Bill Jehle
___

There -IS- no substitute for cubic inches.











  



Re: musixtex-musixflx class

2000-03-15 Thread Bobby D. Bryant

bill jehle wrote:

 Hi;
 This is kind of off the wall and I have no idea how
 difficult it would be, but has anyone written a
 layout file to support a document class for musixtex?

I like the idea. I just discovered MusixTeX over the weekend, and spent a night
writing a package to simplify entry of lute tablatures. It's a powerful tool, and
it begs for a WYSIWYM interface just like TeX/LaTeX did.

However, I don't see how LyX could help, at least not without substantial changes
to the UI.  As it is, I think you would have to put everything into LyX as TeX or
LaTeX literals, and thus you would not see them as music until you generated the
PostScript.  But that's exactly what happens when you use a text editor to do it,
so LyX would not be contributing much.  (An important exception being when you are
writing a document that is primarily text, but which happens to contain snatches
of music. If I ever had cause to do that, I would surely try to find a way to use
LyX for the text and MusixTeX for the music.)

In principle you could hack the LyX UI to support a WYSIWYM mode for music similar
to the one that now exists for math, but I suspect that we are talking about a
very substantial amount of hackage.  An alternative would be to write a custom
music setting program such as the embryonic Denemo front end for LilyPond
(http://denemo.sourceforge.net/), or just modify Denemo to support MusixTeX output
the way LyX supports LaTeX.

Naturally, I'd prefer WYSIWYM support for typesetting both music and text in a
single application, but I don't think any such thing currently exists. Surely not
for free.

Bobby Bryant
Austin, Texas




Re: symbol R for real numbers

2000-03-15 Thread Staffan Ringbom

Try the following simple thing

Insert:

\usepackage{amsfonts}

in the latex preamble


then in the matheditor type:
 \mathbb{R}   or
\mathbb{N}   or
\mathbb{C}   or
\mathbb{Q}   or
\mathbb{Z}


best,

Staffan


P.S. I've found "The (not so) short quide to LaTeX - or LaTeX in 89 minutes"
useful
It can be found from several places e.g. via www.tug.org.





Re: symbol R for real numbers

2000-03-15 Thread Torsten Mueller

Try the following simple thing

Insert:

\usepackage{amsfonts}

in the latex preamble


then in the matheditor type:
 \mathbb{R}   or
\mathbb{N}   or
\mathbb{C}   or
\mathbb{Q}   or
\mathbb{Z}


this works, however, the result is not the correct symbol for reel number R.

This is why I had a deeper look at dsfont.sty proposed here earlier.
This package produces the correct results.

The problem is, that I cannot install this package correctly, because I do not
have access to the latex installation.
So I could not do step 4 of the installation procedure.

4. Move the files to their destination.

The filesare and are needed by
*.tfmTeX font metric files   TeX
*.fd font defintions TeX
*.stystyle files TeX
*.mf Metafont sourcesMetafont

So I copied the files to the directory where the lyx source is.
When I export to LATEX and call latex, then it works fine.

From LyX I get error messages:
MakeTeXTFM: 'mf \mode:=ljfour; mag:=1; scrollmode; input dsrom10' failed to make 
dsrom10.tfm.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running MakeTeXTFM dsrom8.tfm 
MakeTeXTFM: Running mf \mode:=ljfour; mag:=1; scrollmode; input dsrom8
This is METAFONT, Version 2.718 (C version 6.1)

kpathsea: Running MakeTeXMF dsrom8.mf 
! I can't find file `dsrom8.mf'.
* ...e:=ljfour; mag:=1; scrollmode; input dsrom8
  
Please type another input file name: 
! Emergency stop.
* ...e:=ljfour; mag:=1; scrollmode; input dsrom8


The problem seems to be, that LyX calls metafont automatically despite the
fonts are already there.

Any ideas how I could solve the problem?


Thanks,
Torsten



Re: LyX newsgroup: It's about time

2000-03-15 Thread Jan Ulrich Hasecke

  There is indeed a TeX/LaTeX newsgroup, and it is NOT overrun by spam.
  Take a look for yourself, comp.text.tex, and you'll see what I mean.

There are some questions in this group concerning LyX but not
many. 

New Lyx-Users will probably ask more questions concering LaTeX than
concerning LyX. So I think it is a good idea to read comp.text.tex,
when you are using LyX. There are marvelous things you can do with
TeX/LaTeX/pdfTeX etc.!

Ciao!
juh

-- 
juh's Sudelbuch --- Literatur und Satire per E-Mail
http://www.sudelbuch.de
Unterstützen Sie das Sudelbuch durch eine Spende.
http://www.sudelbuch.de/spende.html



Re: wild development ideas

2000-03-15 Thread Tuukka Toivonen

On Wed, 15 Mar 2000, Andre Poenitz wrote:

 Well, MuPAD is more or less free, 

Yes, but it is not GNU. Apparently it isn't even open source.

 Maple costs. The other day my boss

So it's out of question, IMHO.

 I can't compare any of them to Maxima though...

Reading http://www.sciface.com/products/demos/index.shtml, it seems that
MuPad is for practical purposes equivalent to Maxima. In fact the syntax
seems to be so similar that I wonder if it's derived from Macsyma.

The biggest difference is probably that MuPAD seems to have nice GUI. But
I think integrating GNU readline to Maxima would do the trick.

I'm not sure tough if Maxima has interval capabilities. Does Octave/Scilab
have? afaik they don't. (ie. for numeric error estimations).

But since Maxima is GNU, and is pretty decent, we/I should target
primarily for it instead of mupad (or something worse). Let's not do the
same mistake as with xforms, correct?-)

Of course generic XML/MathML import/export for both Maxima and LyX would
be the coolest thing but not necessarily the solution to the shortest path
problem. :)



Re: symbol R for real numbers

2000-03-15 Thread Alexander Wollmann

Torsten Mueller wrote:

 \usepackage{bbm} in the preamble,
 I couldnt find this package.
 I have only found sbbm.sty

 then you can use \mathbbm{R}, \mathbbm{N}, 
 with sbbm.sty there is a command \mathbb{}, but when I use this with R
 then I get a normal R and not with two lines at the left side (as I would
 have expected)

 Thanks,
 Torsten

On my machine, (RedHat 5.2) locate shows

[wollmann@euklid ~]$ locate bbm.sty
locate: warning: database `/var/lib/locatedb' is more than 8 days old
/usr/share/texmf/tex/latex/bbm/bbm.sty

Asking the rpm-Manager, this file belongs to

[wollmann@euklid ~]$ rpm -qf /usr/share/texmf/tex/latex/bbm/bbm.sty
tetex-latex-0.9-6
[wollmann@euklid ~]$

So check this.

 From another post

Torsten Mueller wrote:

 Try the following simple thing
 
 Insert:
 
 \usepackage{amsfonts}
 
 in the latex preamble
 
 
 then in the matheditor type:
  \mathbb{R}   or
 \mathbb{N}   or
 \mathbb{C}   or
 \mathbb{Q}   or
 \mathbb{Z}
 

 this works, however, the result is not the correct symbol for reel number R.

 This is why I had a deeper look at dsfont.sty proposed here earlier.
 This package produces the correct results.


I don´t like the "amsfonts real R" too, but the package bbm satisfied me. So you
should get this to work.

Greets, Alex.






bold math fonts for matrices

2000-03-15 Thread Tuukka Toivonen

Another font problem.

Normal variables are written in italics. All right.

Some things -- like functions -- are written in normal font. I can
get that using Alt-M-M in math mode. All right.

But how can I get bold font for things like matrices?

Or more generally: how to change the font type and attributes in math
mode? Is it even possible?



Re: wild development ideas

2000-03-15 Thread Tuukka Toivonen

On Wed, 15 Mar 2000, Jean-Pierre.Chretien wrote:

 equals ..." oops. What? Exactly, push the 'evaluate' button and the
 result is inserted. You are far more productive this way than launching
 a seperate application and do import and export manually.
 Andre'
 But this use is not so frequent: you need to work in a field
 where formal calculus is efficient.

Well, I guess it depends completely what you're doing. If I'm a student to
who a professor assigns, say 10 smallish problems/exercises, it's better
to just start writing the solutions to each of those in LyX, and
manipulating the formulas from inside LyX -- if needed -- than to jump
between Maxima and LyX and even then copying formulas by hand. Errors
happen easily too.

But if you're writing -- let's say a thesis -- the situation is probably
quite different. You have one big problem that you might want to solve
completely in you mathematics program and then only export the required
formulas to LyX.



Re: bold math fonts for matrices

2000-03-15 Thread Herbert Voss

Tuukka Toivonen wrote:
 
 Another font problem.
 
 Normal variables are written in italics. All right.
 
 Some things -- like functions -- are written in normal font. I can
 get that using Alt-M-M in math mode. All right.
 
 But how can I get bold font for things like matrices?
 
 Or more generally: how to change the font type and attributes in math
 mode? Is it even possible?

some times ago we had the same discussion. have a look at
the sample file. in latex preamlble you find all definitions.
The amslatex-fonts, especially ueur.fd, must be installed.

Herbert



-- 
[EMAIL PROTECTED]
http://www.perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\begin_preamble
\input{ueur.fd}
\DeclareMathVersion{euler}
\DeclareMathVersion{eulerbold}
\SetSymbolFont{letters}  {euler}{U}{eur} {m}{n}
\SetSymbolFont{letters}  {eulerbold}{U}{eur} {b}{n}
\SetSymbolFont{operators}{eulerbold}{OT1}{cmr} {bx}{n}
\SetSymbolFont{symbols}  {eulerbold}{OMS}{cmsy}{b}{n}
\SetMathAlphabet\mathsf{eulerbold}{OT1}{cmss}{bx}{n}
\SetMathAlphabet\mathit{eulerbold}{OT1}{cmr}{bx}{it}
\def\eulermath{\@nomath\eulermath
  \mathversion{euler}}
\def\uneulermath{\@nomath\uneulermath
  \mathversion{normal}}
\def\eulerbfmath{\@nomath\eulerbfmath
  \mathversion{eulerbold}}
\def\uneulerbfmath{\@nomath\uneulerbfmath
  \mathversion{normal}}
\newcommand{\bfmath}[1]{\mbox{\boldmath$#1$\unboldmath}}
\newcommand{\eumath}[1]{\mbox{\eulermath$#1$\uneulermath}}
\newcommand{\eubmath}[1]{\mbox{\eulerbfmath$#1$\uneulerbfmath}}
\let\newcommand=\providecommand
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\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

Here are some greek lowercase letters in the normal font
\begin_inset Formula 
\[
\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma ,\]

\end_inset 

 in the bold font
\begin_inset Formula 
\[
\bfmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

in the upright font
\begin_inset Formula 
\[
\eumath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

and in the bold upright font
\begin_inset Formula 
\[
\eubmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma }.\]

\end_inset 

If you want to use them only in exponents and in suffices, a kludge is required:
\begin_inset Formula 
\begin{eqnarray*}
X_{\zeta }^{\eta }X\bfmath {{}_{\zeta }^{\eta }}\\
X\eumath {{}_{\zeta }^{\eta }}X\eubmath {{}_{\zeta }^{\eta }}
\end{eqnarray*}

\end_inset 


\layout Standard

\the_end



how to unsubscribe?

2000-03-15 Thread uliw

Dear lyxers,

I'm sorry for the noise, but embarrassing enough, I lost my
list-server information mail, and I can't figure how to unsubscribe.

THX

Uli

-- 
Uli Wortmann   Fax (Switzerland) (1) 632  1080
Dept. of Geology   Fon3694
ETH-Zuerichhttp://www.erdw.ethz.ch/~bonk/bonk.html
Visit the SPOC-team at http://www.spoc.ethz.ch



Re: wild development ideas

2000-03-15 Thread Andre Poenitz

 Reading http://www.sciface.com/products/demos/index.shtml, it seems that
 MuPad is for practical purposes equivalent to Maxima. In fact the syntax
 seems to be so similar that I wonder if it's derived from Macsyma.

Definitely not. AFAIK MuPAD was build from scratch and has no connection
at all to Lisp.
 
 But since Maxima is GNU, and is pretty decent, we/I should target
 primarily for it instead of mupad (or something worse). Let's not do the
 same mistake as with xforms, correct?-)

 Of course generic XML/MathML import/export for both Maxima and LyX would
 be the coolest thing but not necessarily the solution to the shortest path
 problem. :)

An open easy-to-use interface is important. Indeed.

Andre'
-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Re: how to unsubscribe?

2000-03-15 Thread Andre Poenitz

 I'm sorry for the noise, but embarrassing enough, I lost my
 list-server information mail, and I can't figure how to unsubscribe.

Fortunately enough for people who tend to forget things like you and me
there is a List-Unsubsribe: header inserted automatically in every mail that
comes from the list. In my case it reads:

List-Unsubscribe: mailto:lyx-users-unsubscribe-andre.poenitz=\
[EMAIL PROTECTED]

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Presentation with FoilTeX

2000-03-15 Thread Emanuele Olivetti

As you probably know I'm at the end of my thesis...8-} . Now I'm trying to
set up the presentation; obviously I want to use LyX.
They say to me to use my notebook instead of that old-fashioned slides...
I'll prepare both of them, because I like slides. No way to use PowerPoint,
as they suggested. I don't want to mix heaven and hell!

Here is the problem:
I'll use ghostview (gv by Johannes Plass) on my notebook with a projector,
to show my LyX-slides; since the display is larger than tall, I'll use 
landscape A4 paper as default. But if I set landscape paper and RotateFoilHead
environnement, things go wrong and I get a portrait slide shown horizontally.
Using only Landscape paper or only RotateFoilHead goes wrong. If I set
"landscape", in the Extra Option of the document layout, I get the right 
thing, but text is truncated on the right (using gv). Is it a problem of LyX
or gv?

Which viewer shall I use to make the presentation? Is gv good for this?


If I can't find a solution I'll use portrait slides :-(



Thanks a lot


Emanuele
  



Re: Presentation with FoilTeX

2000-03-15 Thread Jean-Pierre.Chretien


Subject: Presentation with FoilTeX
To: [EMAIL PROTECTED] (Lyx User Mailing List)
Date: Tue, 14 Mar 2000 19:25:13 +0100 (MET)
From: Emanuele Olivetti [EMAIL PROTECTED]

As you probably know I'm at the end of my thesis...8-} . Now I'm trying to
set up the presentation; obviously I want to use LyX.
They say to me to use my notebook instead of that old-fashioned slides...
I'll prepare both of them, because I like slides. No way to use PowerPoint,
as they suggested. I don't want to mix heaven and hell!

Here is the problem:
I'll use ghostview (gv by Johannes Plass) on my notebook with a projector,
to show my LyX-slides; since the display is larger than tall, I'll use 
landscape A4 paper as default. But if I set landscape paper and RotateFoilHead
environnement, things go wrong and I get a portrait slide shown horizontally.
Using only Landscape paper or only RotateFoilHead goes wrong. If I set
"landscape", in the Extra Option of the document layout, I get the right 
thing, but text is truncated on the right (using gv). Is it a problem of LyX
or gv?

Which viewer shall I use to make the presentation? Is gv good for this?


If I can't find a solution I'll use portrait slides :-(



Thanks a lot


  Emanuele
  

It's a problem of a4paper/landscape...
I don't know about Foils, but here it goes with seminar:
 - a4paper+landscape produces 21x29.7 slide ready for printing, but
 not for viewing on a 4/3 screen
 - however ghosview is cute enough to undertand whats going on and
 rotate the paper;
 - Acrobat reader is not cute and insists upon viewing as a4paper like
 the printer (and I didnt find any Rotate button...)
 
So what you need (to use acrobat with the videoprojector) is a portait
sized as 29.7x21, which is NOT a standard paper format.
Fixing this size with geometry works fine with a plain document,
but I was not able to make it work with a seminar-derived class...

So ghostview should do it if you stick to a4/landscape.

IMHO, there should be a clean solution to this in the future, most
of the viewgraphs will never be printed in a4 or the like: as I mentioned, 4/3
(and perhaps 16/9 :-) should be present as a standard paper format
along with a4, letter, etc. This is clearly a LaTeX issue.

Regards

-- 
Jean-Pierre



landscape slides in postscript

2000-03-15 Thread Emanuele Olivetti

Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
the right part of the slide doesn't appear: the text is cut.
I haven't this problem with dvips, only with gv (by Johannes Plass).
Shall I use another viewer? Is it a problem with postscript?

I have to do a presentation (of my thesis, as usual) and I want to use
my notebook and a postscript viewer. Wich viewer is better?
Aladdin?
Johannes Plass? (default on RedHat)
GNU ghostview?

Thanks a lot


Emanuele


P.S.: As is said in Extended.lyx, I set "landscape" in extra option of
Layout-Document menu, and nothing else. Is it correct? 



Re: landscape slides in postscript

2000-03-15 Thread Jean-Pierre.Chretien


Subject: landscape slides in postscript
To: [EMAIL PROTECTED] (Lyx User Mailing List)
Date: Wed, 15 Mar 2000 15:52:53 +0100 (MET)
From: Emanuele Olivetti [EMAIL PROTECTED]

Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
the right part of the slide doesn't appear: the text is cut.
I haven't this problem with dvips, only with gv (by Johannes Plass).
Shall I use another viewer? Is it a problem with postscript?

I have to do a presentation (of my thesis, as usual) and I want to use
my notebook and a postscript viewer. Wich viewer is better?
Aladdin?
Johannes Plass? (default on RedHat)
GNU ghostview?

Aladdin here, with gv 5.50

-- 
Jean-Pierre



Re: wild development ideas

2000-03-15 Thread Uwe Amann



On Tue, 14 Mar 2000, Andre Poenitz wrote:
 Subject: Re: wild development ideas
 
  Sounds truly wild. If these programms have a scripting or macro
  language,
 
 Most of the interesting programs are scriptable. Maple e.g:
 
   echo "lprint(expand((x+1)^3));" | maple -q
 
   -- x^3+3*x^2+3*x+1
 
 The problem is parsing. First you have to convert from
 LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial
 since LaTeX does not preserve the logical structure of the formula
 - just think about indices etc. Calling Maple is the easy part.
 Converting back to LaTeX is not difficult either:
 
   echo "latex(expand((x+1)^3));" | maple -q
 
   -- {x}^{3}+3\,{x}^{2}+3\,x+1
 
 So if you come up with a decent LaTeX parser in C++ I am willing to
 implement the easy parts ;-)

While I agree with you, that a LaTeX parser would be very hard to
implement, why not try a different solution. I will try to describe
a solution which would give some of the benefits the initial poster
requested, while being simple enough to be implemented quite fast.

The basic principle is that while LaTeX does not preserve the logical
structure of the formula, there exists an input method for maple
that preserves it. Why not create an input mode for LyX, that allows 
to enter commands for maple, which are stored as plain text.
This is then passed over to maple (with an added latex(...) ) 
to evaluate, and the result can easily be displayed with the
capabilities of LyX. 

This would have the advantage that you won´t have to leave LyX
to perform computations, and that the commands which led to
a result are stored with the result.

The only disadvantage I can see with using this method 
would be that there are two different syntax standards for 
mathematical input in LyX. While this could be confusing for
new users of LyX, it should present no problem because anyone
who will use this feature will probably know maple and latex
syntax.

I used maple as an example, because it has a fairly simple and
not too proprietary syntax.Using Mathematica would require 
some additional work, because Mathematica´s latex output uses
special macros for many things. (At least the Version I am using)


I would be glad if some LyX-Developer could tell me if this
additions to LyX are possible.

Greetings
Uwe





Re: Using another language...

2000-03-15 Thread Dragutin Cvetkovic

Thanx for the tip...

However, although I did find a language that did satisfy my needs
(croatian) I am still wondering how can I create one more Language entry?
Basically, I came to the point where I realised that the Language definitions
are more part of Tex/LaTeX then Lyx... So, I was wondering, how can I add an
Language to Latex (and Lyx at the same time)?

I browsed through the short intro to latex 2e but seems like one cant
find a decent Latex documentation at all...

D.


On Tue, 14 Mar 2000, Stephan E. Schlierf wrote:
 On Mon, 13 Mar 2000, Dragutin Cvetkovic wrote:
 
  Greets,
  
  Well, the tiem has come when I finally have a very serious application
  of the whole LyX/LaTeX software, and I have come upon two problems.
  
  The first problem is as follows: When I insert a table of contents, it
  works just fine, except for the fact that it is written in english... is there
  a way to translate the "Contents" string or change it in some way? How is it
  done?
 
 Did you try to set the language of your document to a different but
 english (Layout - Document - Language) ?
 
  
  Another thing is that I have a table inserted in my document, however,
  I cannot make lines within a document to break, I cant insert breaks in lines
  in table cells... and this makes my table run out of the screen and paper... Is
  there a way to remedy this as well?
  
 
 Hm, I'm not quite sure whether I understood you:
 To insert a page break, just select Layout - Paragraph and mark the
 option Pagebreak as you need it.
 
 Concerning a table: select it, choose Layout - Table, specify a certain
 width per row and select the option Longtable. If you like to have
 linebreaks within one cell, select the option Linebreaks as well.
 
  Thanx!
  
  D
  
 
 Hope this helps.
 
 Regards
 
 Stephan
 
 --
 Stephan E. Schlierf M.A.
 -  Product Management  -
 PHONE:  ++49 9254 960632
 FAX:++49 9254 960159
 CSE GmbH Germany



Re: symbol R for real numbers

2000-03-15 Thread Kayvan A. Sylvan

 
 The problem is, that I cannot install this package correctly, because I do not
 have access to the latex installation.
 So I could not do step 4 of the installation procedure.
 
 4. Move the files to their destination.
 
 The filesare and are needed by
 *.tfmTeX font metric files   TeX
 *.fd font defintions TeX
 *.stystyle files TeX
 *.mf Metafont sourcesMetafont
 

You should install these wherever you want and then set the appropriate
enviroment variables:

MFINPUTSshould include the path to the *.mf files
TEXINPUTS   should include path to the *.sty files
TFMFONTSshould include the path to the .fm files

I don't know which environment variable points to *.fd files, though.

I looked most of this up in the web2c info file.

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: wild development ideas

2000-03-15 Thread Andre Poenitz

 I really don't see the point of being able to write matlab code
 from LyX;

Have you ever used Scientific Workplace?

Imagine something like LyX. You start writing 

"It is well know that the integral 


\int e^x sin^2 x dx

equals ..." oops. What? Exactly, push the 'evaluate' button and the
result is inserted. You are far more productive this way than launching
a seperate application and do import and export manually.

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Re: symbol R for real numbers

2000-03-15 Thread Torsten Mueller

\usepackage{bbm} in the preamble,
I couldnt find this package.
I have only found sbbm.sty


then you can use \mathbbm{R}, \mathbbm{N}, 
with sbbm.sty there is a command \mathbb{}, but when I use this with R
then I get a normal R and not with two lines at the left side (as I would
have expected)

Thanks,
Torsten



Re: Algorthim

2000-03-15 Thread Herbert Voss

"Diego A. Puertas F." wrote:
 
 1- I'm a spanish spoker. I have allready configured my thesis  so:
 
Chapter is Capítulo
Section is Sección

 and so on, but the float algorithm refuses to translate, it
keeps on saying "Algorithm". how can I overide this?

in latex preamble

\renewcommand{\ALG@name}{your spanish word for algorithm}

in german I use   \renewcommand{\ALG@name}{Algorithmus}

Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de/voss



Re: Multiple citations after a sentence

2000-03-15 Thread Herbert Voss

Kevin Gross wrote:
 
 Hi all!
 
 ...it was not until the advancement of molecular orbital theory that
 cycloaddition reactions were well understood [1,2,5].
 
 as opposed to the absolutely unacceptable :)
 
 ...it was not until the advancement of molecular orbital theory that
 cycloaddition reactions were well understood [1] [2] [5].
 
 Here, [1,2,5] refer to the 1st, 2nd and 5th entry in the References
 section.  If it makes any difference, I am using the article document
 class.  I am just looking for a quick fix (well, other than actually
 typing "[1,2,5]") as I hope to learn BibTeX soon.  But I'm looking for a
 fix that will allow dynamic updating of references, i.e. keep track of
 the reference numbers upon addition and deletion of reference entries,
 much the same as LyX does for cross-referencing.

if your bibtex-file is ok, than:

in latex: \cite{key1,key2,...}   just like: \cite{deitel:99,doberanz:96}

deitel:99 and doberanz:96 are the bibtex keys. if your keys are 1, 2, ..
than \cite{1,2}

with LyX   Insert-citation- choose the first bibtex entry from the
list
and add the next manually:
"deitel:99" from list and than "doberanz:96" from keyborad. alle entrys
must separated by comma.

Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de/voss



Re: Multiple citations after a sentence

2000-03-15 Thread Osvaldo Fornaro

Herbert Voss wrote:

 Kevin Gross wrote:
 
  Hi all!
 
  ...it was not until the advancement of molecular orbital theory that
  cycloaddition reactions were well understood [1,2,5].
 
  as opposed to the absolutely unacceptable :)
 
  ...it was not until the advancement of molecular orbital theory that
  cycloaddition reactions were well understood [1] [2] [5].
 
  Here, [1,2,5] refer to the 1st, 2nd and 5th entry in the References
  section.  If it makes any difference, I am using the article document
  class.  I am just looking for a quick fix (well, other than actually
  typing "[1,2,5]") as I hope to learn BibTeX soon.  But I'm looking for a
  fix that will allow dynamic updating of references, i.e. keep track of
  the reference numbers upon addition and deletion of reference entries,
  much the same as LyX does for cross-referencing.

 if your bibtex-file is ok, than:

 in latex: \cite{key1,key2,...}   just like: \cite{deitel:99,doberanz:96}

 deitel:99 and doberanz:96 are the bibtex keys. if your keys are 1, 2, ..
 than \cite{1,2}

 with LyX   Insert-citation- choose the first bibtex entry from the
 list
 and add the next manually:
 "deitel:99" from list and than "doberanz:96" from keyborad. alle entrys
 must separated by comma.

 Herbert

 --
 [EMAIL PROTECTED]
 http://www.perce.de/voss

Hi,

In addition to that, if you use
\uepackage{cite}
in the preamble, the citations will be ordered and without intermediate
references.  For example, [1,2,3,5] will be [1-3,5]

Hope this help

Osvaldo Fornaro
IFIMAT - Universidad Nacional del Centro
Argentina




Re: landscape slides in postscript

2000-03-15 Thread Allan Rae

On Wed, 15 Mar 2000, Emanuele Olivetti wrote:

 Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
 the right part of the slide doesn't appear: the text is cut.
 I haven't this problem with dvips, only with gv (by Johannes Plass).
 Shall I use another viewer? Is it a problem with postscript?
 
 P.S.: As is said in Extended.lyx, I set "landscape" in extra option of
 Layout-Document menu, and nothing else. Is it correct? 

The docs in Extended warn that landscape doesn't do any rotations.
It expects the paper/output to go to a landscape printer.  Thus
Foilhead and RotateFoilhead are effectively reversed.
Therefore if you have "landscape" set then you should use Foilhead's not
RotateFoilheads.

If you leave the dvips option in the extra_options field as well then
you'll probably get junk output.

I had similar problems preparing landscape foils when I wrote the FoilTeX
docs in Extended.  I think that's why I ended up making the dvips
extra_option the default setting because it worked for me then.
The landscape option seems to be more confusing than useful.
I just used "dvips"+RotateFoilhead -- although I didn't mix portrait and
landscape foils,  nobody should.

If you get a solution that works for you let me know so I can add some
more info to the docs.

Allan. (ARRae)



musixtex-musixflx class

2000-03-15 Thread bill jehle

Hi;
This is kind of off the wall and I have no idea how
difficult it would be, but has anyone written a
layout file to support a document class for musixtex? 

Bill Jehle
___

There -IS- no substitute for cubic inches.











  



Re: musixtex-musixflx class

2000-03-15 Thread Bobby D. Bryant

bill jehle wrote:

 Hi;
 This is kind of off the wall and I have no idea how
 difficult it would be, but has anyone written a
 layout file to support a document class for musixtex?

I like the idea. I just discovered MusixTeX over the weekend, and spent a night
writing a package to simplify entry of lute tablatures. It's a powerful tool, and
it begs for a WYSIWYM interface just like TeX/LaTeX did.

However, I don't see how LyX could help, at least not without substantial changes
to the UI.  As it is, I think you would have to put everything into LyX as TeX or
LaTeX literals, and thus you would not see them as music until you generated the
PostScript.  But that's exactly what happens when you use a text editor to do it,
so LyX would not be contributing much.  (An important exception being when you are
writing a document that is primarily text, but which happens to contain snatches
of music. If I ever had cause to do that, I would surely try to find a way to use
LyX for the text and MusixTeX for the music.)

In principle you could hack the LyX UI to support a WYSIWYM mode for music similar
to the one that now exists for math, but I suspect that we are talking about a
very substantial amount of hackage.  An alternative would be to write a custom
music setting program such as the embryonic Denemo front end for LilyPond
(http://denemo.sourceforge.net/), or just modify Denemo to support MusixTeX output
the way LyX supports LaTeX.

Naturally, I'd prefer WYSIWYM support for typesetting both music and text in a
single application, but I don't think any such thing currently exists. Surely not
for free.

Bobby Bryant
Austin, Texas




Re: symbol R for real numbers

2000-03-15 Thread Staffan Ringbom

Try the following simple thing

Insert:

\usepackage{amsfonts}

in the latex preamble


then in the matheditor type:
 \mathbb{R}   or
\mathbb{N}   or
\mathbb{C}   or
\mathbb{Q}   or
\mathbb{Z}


best,

Staffan


P.S. I've found "The (not so) short quide to LaTeX - or LaTeX in 89 minutes"
useful
It can be found from several places e.g. via www.tug.org.





Re: symbol R for real numbers

2000-03-15 Thread Torsten Mueller

>Try the following simple thing
>
>Insert:
>
>\usepackage{amsfonts}
>
>in the latex preamble
>
>
>then in the matheditor type:
> \mathbb{R}   or
>\mathbb{N}   or
>\mathbb{C}   or
>\mathbb{Q}   or
>\mathbb{Z}
>

this works, however, the result is not the correct symbol for reel number R.

This is why I had a deeper look at dsfont.sty proposed here earlier.
This package produces the correct results.

The problem is, that I cannot install this package correctly, because I do not
have access to the latex installation.
So I could not do step 4 of the installation procedure.

4. Move the files to their destination.

The filesare and are needed by
*.tfmTeX font metric files   TeX
*.fd font defintions TeX
*.stystyle files TeX
*.mf Metafont sourcesMetafont

So I copied the files to the directory where the lyx source is.
When I export to LATEX and call latex, then it works fine.

>From LyX I get error messages:
MakeTeXTFM: 'mf \mode:=ljfour; mag:=1; scrollmode; input dsrom10' failed to make 
dsrom10.tfm.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running MakeTeXTFM dsrom8.tfm 
MakeTeXTFM: Running mf \mode:=ljfour; mag:=1; scrollmode; input dsrom8
This is METAFONT, Version 2.718 (C version 6.1)

kpathsea: Running MakeTeXMF dsrom8.mf 
! I can't find file `dsrom8.mf'.
<*> ...e:=ljfour; mag:=1; scrollmode; input dsrom8
  
Please type another input file name: 
! Emergency stop.
<*> ...e:=ljfour; mag:=1; scrollmode; input dsrom8


The problem seems to be, that LyX calls metafont automatically despite the
fonts are already there.

Any ideas how I could solve the problem?


Thanks,
Torsten



Re: LyX newsgroup: It's about time

2000-03-15 Thread Jan Ulrich Hasecke

> > There is indeed a TeX/LaTeX newsgroup, and it is NOT overrun by spam.
> > Take a look for yourself, comp.text.tex, and you'll see what I mean.

There are some questions in this group concerning LyX but not
many. 

New Lyx-Users will probably ask more questions concering LaTeX than
concerning LyX. So I think it is a good idea to read comp.text.tex,
when you are using LyX. There are marvelous things you can do with
TeX/LaTeX/pdfTeX etc.!

Ciao!
juh

-- 
juh's Sudelbuch --- Literatur und Satire per E-Mail
http://www.sudelbuch.de
Unterstützen Sie das Sudelbuch durch eine Spende.
http://www.sudelbuch.de/spende.html



Re: wild development ideas

2000-03-15 Thread Tuukka Toivonen

On Wed, 15 Mar 2000, Andre Poenitz wrote:

> Well, MuPAD is more or less free, 

Yes, but it is not GNU. Apparently it isn't even open source.

> Maple costs. The other day my boss

So it's out of question, IMHO.

> I can't compare any of them to Maxima though...

Reading http://www.sciface.com/products/demos/index.shtml, it seems that
MuPad is for practical purposes equivalent to Maxima. In fact the syntax
seems to be so similar that I wonder if it's derived from Macsyma.

The biggest difference is probably that MuPAD seems to have nice GUI. But
I think integrating GNU readline to Maxima would do the trick.

I'm not sure tough if Maxima has interval capabilities. Does Octave/Scilab
have? afaik they don't. (ie. for numeric error estimations).

But since Maxima is GNU, and is pretty decent, we/I should target
primarily for it instead of mupad (or something worse). Let's not do the
same mistake as with xforms, correct?-)

Of course generic XML/MathML import/export for both Maxima and LyX would
be the coolest thing but not necessarily the solution to the shortest path
problem. :)



Re: symbol R for real numbers

2000-03-15 Thread Alexander Wollmann

Torsten Mueller wrote:

> >\usepackage{bbm} in the preamble,
> I couldnt find this package.
> I have only found sbbm.sty
>
> >then you can use \mathbbm{R}, \mathbbm{N}, 
> with sbbm.sty there is a command \mathbb{}, but when I use this with R
> then I get a normal R and not with two lines at the left side (as I would
> have expected)
>
> Thanks,
> Torsten

On my machine, (RedHat 5.2) locate shows

[wollmann@euklid ~]$ locate bbm.sty
locate: warning: database `/var/lib/locatedb' is more than 8 days old
/usr/share/texmf/tex/latex/bbm/bbm.sty

Asking the rpm-Manager, this file belongs to

[wollmann@euklid ~]$ rpm -qf /usr/share/texmf/tex/latex/bbm/bbm.sty
tetex-latex-0.9-6
[wollmann@euklid ~]$

So check this.

> From another post

Torsten Mueller wrote:

> >Try the following simple thing
> >
> >Insert:
> >
> >\usepackage{amsfonts}
> >
> >in the latex preamble
> >
> >
> >then in the matheditor type:
> > \mathbb{R}   or
> >\mathbb{N}   or
> >\mathbb{C}   or
> >\mathbb{Q}   or
> >\mathbb{Z}
> >
>
> this works, however, the result is not the correct symbol for reel number R.
>
> This is why I had a deeper look at dsfont.sty proposed here earlier.
> This package produces the correct results.
>

I don´t like the "amsfonts real R" too, but the package bbm satisfied me. So you
should get this to work.

Greets, Alex.






bold math fonts for matrices

2000-03-15 Thread Tuukka Toivonen

Another font problem.

Normal variables are written in italics. All right.

Some things -- like functions -- are written in normal font. I can
get that using Alt-M-M in math mode. All right.

But how can I get bold font for things like matrices?

Or more generally: how to change the font type and attributes in math
mode? Is it even possible?



Re: wild development ideas

2000-03-15 Thread Tuukka Toivonen

On Wed, 15 Mar 2000, Jean-Pierre.Chretien wrote:

> >>equals ..." oops. What? Exactly, push the 'evaluate' button and the
> >>result is inserted. You are far more productive this way than launching
> >>a seperate application and do import and export manually.
> >>Andre'
> But this use is not so frequent: you need to work in a field
> where formal calculus is efficient.

Well, I guess it depends completely what you're doing. If I'm a student to
who a professor assigns, say 10 smallish problems/exercises, it's better
to just start writing the solutions to each of those in LyX, and
manipulating the formulas from inside LyX -- if needed -- than to jump
between Maxima and LyX and even then copying formulas by hand. Errors
happen easily too.

But if you're writing -- let's say a thesis -- the situation is probably
quite different. You have one big problem that you might want to solve
completely in you mathematics program and then only export the required
formulas to LyX.



Re: bold math fonts for matrices

2000-03-15 Thread Herbert Voss

Tuukka Toivonen wrote:
> 
> Another font problem.
> 
> Normal variables are written in italics. All right.
> 
> Some things -- like functions -- are written in normal font. I can
> get that using Alt-M-M in math mode. All right.
> 
> But how can I get bold font for things like matrices?
> 
> Or more generally: how to change the font type and attributes in math
> mode? Is it even possible?

some times ago we had the same discussion. have a look at
the sample file. in latex preamlble you find all definitions.
The amslatex-fonts, especially ueur.fd, must be installed.

Herbert



-- 
[EMAIL PROTECTED]
http://www.perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\begin_preamble
\input{ueur.fd}
\DeclareMathVersion{euler}
\DeclareMathVersion{eulerbold}
\SetSymbolFont{letters}  {euler}{U}{eur} {m}{n}
\SetSymbolFont{letters}  {eulerbold}{U}{eur} {b}{n}
\SetSymbolFont{operators}{eulerbold}{OT1}{cmr} {bx}{n}
\SetSymbolFont{symbols}  {eulerbold}{OMS}{cmsy}{b}{n}
\SetMathAlphabet\mathsf{eulerbold}{OT1}{cmss}{bx}{n}
\SetMathAlphabet\mathit{eulerbold}{OT1}{cmr}{bx}{it}
\def\eulermath{\@nomath\eulermath
  \mathversion{euler}}
\def\uneulermath{\@nomath\uneulermath
  \mathversion{normal}}
\def\eulerbfmath{\@nomath\eulerbfmath
  \mathversion{eulerbold}}
\def\uneulerbfmath{\@nomath\uneulerbfmath
  \mathversion{normal}}
\newcommand{\bfmath}[1]{\mbox{\boldmath$#1$\unboldmath}}
\newcommand{\eumath}[1]{\mbox{\eulermath$#1$\uneulermath}}
\newcommand{\eubmath}[1]{\mbox{\eulerbfmath$#1$\uneulerbfmath}}
\let\newcommand=\providecommand
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\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

Here are some greek lowercase letters in the normal font
\begin_inset Formula 
\[
\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma ,\]

\end_inset 

 in the bold font
\begin_inset Formula 
\[
\bfmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

in the upright font
\begin_inset Formula 
\[
\eumath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

and in the bold upright font
\begin_inset Formula 
\[
\eubmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma }.\]

\end_inset 

If you want to use them only in exponents and in suffices, a kludge is required:
\begin_inset Formula 
\begin{eqnarray*}
X_{\zeta }^{\eta } &  & X\bfmath {{}_{\zeta }^{\eta }}\\
X\eumath {{}_{\zeta }^{\eta }} &  & X\eubmath {{}_{\zeta }^{\eta }}
\end{eqnarray*}

\end_inset 


\layout Standard

\the_end



how to unsubscribe?

2000-03-15 Thread uliw

Dear lyxers,

I'm sorry for the noise, but embarrassing enough, I lost my
list-server information mail, and I can't figure how to unsubscribe.

THX

Uli

-- 
Uli Wortmann   Fax (Switzerland) (1) 632  1080
Dept. of Geology   Fon3694
ETH-Zuerichhttp://www.erdw.ethz.ch/~bonk/bonk.html
Visit the SPOC-team at http://www.spoc.ethz.ch



Re: wild development ideas

2000-03-15 Thread Andre Poenitz

> Reading http://www.sciface.com/products/demos/index.shtml, it seems that
> MuPad is for practical purposes equivalent to Maxima. In fact the syntax
> seems to be so similar that I wonder if it's derived from Macsyma.

Definitely not. AFAIK MuPAD was build from scratch and has no connection
at all to Lisp.
 
> But since Maxima is GNU, and is pretty decent, we/I should target
> primarily for it instead of mupad (or something worse). Let's not do the
> same mistake as with xforms, correct?-)

> Of course generic XML/MathML import/export for both Maxima and LyX would
> be the coolest thing but not necessarily the solution to the shortest path
> problem. :)

An open easy-to-use interface is important. Indeed.

Andre'
-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Re: how to unsubscribe?

2000-03-15 Thread Andre Poenitz

> I'm sorry for the noise, but embarrassing enough, I lost my
> list-server information mail, and I can't figure how to unsubscribe.

Fortunately enough for people who tend to forget things like you and me
there is a List-Unsubsribe: header inserted automatically in every mail that
comes from the list. In my case it reads:

List-Unsubscribe: 

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Presentation with FoilTeX

2000-03-15 Thread Emanuele Olivetti

As you probably know I'm at the end of my thesis...8-} . Now I'm trying to
set up the presentation; obviously I want to use LyX.
They say to me to use my notebook instead of that old-fashioned slides...
I'll prepare both of them, because I like slides. No way to use PowerPoint,
as they suggested. I don't want to mix heaven and hell!

Here is the problem:
I'll use ghostview (gv by Johannes Plass) on my notebook with a projector,
to show my LyX-slides; since the display is larger than tall, I'll use 
landscape A4 paper as default. But if I set landscape paper and RotateFoilHead
environnement, things go wrong and I get a portrait slide shown horizontally.
Using only Landscape paper or only RotateFoilHead goes wrong. If I set
"landscape", in the Extra Option of the document layout, I get the right 
thing, but text is truncated on the right (using gv). Is it a problem of LyX
or gv?

Which viewer shall I use to make the presentation? Is gv good for this?


If I can't find a solution I'll use portrait slides :-(



Thanks a lot


Emanuele
  



Re: Presentation with FoilTeX

2000-03-15 Thread Jean-Pierre.Chretien


>>Subject: Presentation with FoilTeX
>>To: [EMAIL PROTECTED] (Lyx User Mailing List)
>>Date: Tue, 14 Mar 2000 19:25:13 +0100 (MET)
>>From: Emanuele Olivetti <[EMAIL PROTECTED]>
>>
>>As you probably know I'm at the end of my thesis...8-} . Now I'm trying to
>>set up the presentation; obviously I want to use LyX.
>>They say to me to use my notebook instead of that old-fashioned slides...
>>I'll prepare both of them, because I like slides. No way to use PowerPoint,
>>as they suggested. I don't want to mix heaven and hell!
>>
>>Here is the problem:
>>I'll use ghostview (gv by Johannes Plass) on my notebook with a projector,
>>to show my LyX-slides; since the display is larger than tall, I'll use 
>>landscape A4 paper as default. But if I set landscape paper and RotateFoilHead
>>environnement, things go wrong and I get a portrait slide shown horizontally.
>>Using only Landscape paper or only RotateFoilHead goes wrong. If I set
>>"landscape", in the Extra Option of the document layout, I get the right 
>>thing, but text is truncated on the right (using gv). Is it a problem of LyX
>>or gv?
>>
>>Which viewer shall I use to make the presentation? Is gv good for this?
>>
>>
>>If I can't find a solution I'll use portrait slides :-(
>>
>>
>>
>>Thanks a lot
>>
>>
>>  Emanuele
>>  

It's a problem of a4paper/landscape...
I don't know about Foils, but here it goes with seminar:
 - a4paper+landscape produces 21x29.7 slide ready for printing, but
 not for viewing on a 4/3 screen
 - however ghosview is cute enough to undertand whats going on and
 rotate the paper;
 - Acrobat reader is not cute and insists upon viewing as a4paper like
 the printer (and I didnt find any Rotate button...)
 
So what you need (to use acrobat with the videoprojector) is a portait
sized as 29.7x21, which is NOT a standard paper format.
Fixing this size with geometry works fine with a plain document,
but I was not able to make it work with a seminar-derived class...

So ghostview should do it if you stick to a4/landscape.

IMHO, there should be a clean solution to this in the future, most
of the viewgraphs will never be printed in a4 or the like: as I mentioned, 4/3
(and perhaps 16/9 :-) should be present as a standard paper format
along with a4, letter, etc. This is clearly a LaTeX issue.

Regards

-- 
Jean-Pierre



landscape slides in postscript

2000-03-15 Thread Emanuele Olivetti

Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
the right part of the slide doesn't appear: the text is cut.
I haven't this problem with dvips, only with gv (by Johannes Plass).
Shall I use another viewer? Is it a problem with postscript?

I have to do a presentation (of my thesis, as usual) and I want to use
my notebook and a postscript viewer. Wich viewer is better?
Aladdin?
Johannes Plass? (default on RedHat)
GNU ghostview?

Thanks a lot


Emanuele


P.S.: As is said in Extended.lyx, I set "landscape" in extra option of
Layout->Document menu, and nothing else. Is it correct? 



Re: landscape slides in postscript

2000-03-15 Thread Jean-Pierre.Chretien


>>Subject: landscape slides in postscript
>>To: [EMAIL PROTECTED] (Lyx User Mailing List)
>>Date: Wed, 15 Mar 2000 15:52:53 +0100 (MET)
>>From: Emanuele Olivetti <[EMAIL PROTECTED]>
>>
>>Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
>>the right part of the slide doesn't appear: the text is cut.
>>I haven't this problem with dvips, only with gv (by Johannes Plass).
>>Shall I use another viewer? Is it a problem with postscript?
>>
>>I have to do a presentation (of my thesis, as usual) and I want to use
>>my notebook and a postscript viewer. Wich viewer is better?
>>Aladdin?
>>Johannes Plass? (default on RedHat)
>>GNU ghostview?

Aladdin here, with gv 5.50

-- 
Jean-Pierre



Re: wild development ideas

2000-03-15 Thread Uwe Amann



On Tue, 14 Mar 2000, Andre Poenitz wrote:
> Subject: Re: wild development ideas
> 
> > Sounds truly wild. If these programms have a scripting or macro
> > language,
> 
> Most of the interesting programs are scriptable. Maple e.g:
> 
>   echo "lprint(expand((x+1)^3));" | maple -q
> 
>   --> x^3+3*x^2+3*x+1
> 
> The problem is parsing. First you have to convert from
> LyX formula (sort of LaTeX) to Maple syntax which is *not* trivial
> since LaTeX does not preserve the logical structure of the formula
> - just think about indices etc. Calling Maple is the easy part.
> Converting back to LaTeX is not difficult either:
> 
>   echo "latex(expand((x+1)^3));" | maple -q
> 
>   --> {x}^{3}+3\,{x}^{2}+3\,x+1
> 
> So if you come up with a decent LaTeX parser in C++ I am willing to
> implement the easy parts ;-)

While I agree with you, that a LaTeX parser would be very hard to
implement, why not try a different solution. I will try to describe
a solution which would give some of the benefits the initial poster
requested, while being simple enough to be implemented quite fast.

The basic principle is that while LaTeX does not preserve the logical
structure of the formula, there exists an input method for maple
that preserves it. Why not create an input mode for LyX, that allows 
to enter commands for maple, which are stored as plain text.
This is then passed over to maple (with an added latex(...) ) 
to evaluate, and the result can easily be displayed with the
capabilities of LyX. 

This would have the advantage that you won´t have to leave LyX
to perform computations, and that the commands which led to
a result are stored with the result.

The only disadvantage I can see with using this method 
would be that there are two different syntax standards for 
mathematical input in LyX. While this could be confusing for
new users of LyX, it should present no problem because anyone
who will use this feature will probably know maple and latex
syntax.

I used maple as an example, because it has a fairly simple and
not too proprietary syntax.Using Mathematica would require 
some additional work, because Mathematica´s latex output uses
special macros for many things. (At least the Version I am using)


I would be glad if some LyX-Developer could tell me if this
additions to LyX are possible.

Greetings
Uwe





Re: Using another language...

2000-03-15 Thread Dragutin Cvetkovic

Thanx for the tip...

However, although I did find a language that did satisfy my needs
(croatian) I am still wondering how can I create one more Language entry?
Basically, I came to the point where I realised that the Language definitions
are more part of Tex/LaTeX then Lyx... So, I was wondering, how can I add an
Language to Latex (and Lyx at the same time)?

I browsed through the short intro to latex 2e but seems like one cant
find a decent Latex documentation at all...

D.


On Tue, 14 Mar 2000, Stephan E. Schlierf wrote:
> On Mon, 13 Mar 2000, Dragutin Cvetkovic wrote:
> 
> > Greets,
> > 
> > Well, the tiem has come when I finally have a very serious application
> > of the whole LyX/LaTeX software, and I have come upon two problems.
> > 
> > The first problem is as follows: When I insert a table of contents, it
> > works just fine, except for the fact that it is written in english... is there
> > a way to translate the "Contents" string or change it in some way? How is it
> > done?
> 
> Did you try to set the language of your document to a different but
> english (Layout -> Document -> Language) ?
> 
> > 
> > Another thing is that I have a table inserted in my document, however,
> > I cannot make lines within a document to break, I cant insert breaks in lines
> > in table cells... and this makes my table run out of the screen and paper... Is
> > there a way to remedy this as well?
> > 
> 
> Hm, I'm not quite sure whether I understood you:
> To insert a page break, just select Layout -> Paragraph and mark the
> option Pagebreak as you need it.
> 
> Concerning a table: select it, choose Layout -> Table, specify a certain
> width per row and select the option Longtable. If you like to have
> linebreaks within one cell, select the option Linebreaks as well.
> 
> > Thanx!
> > 
> > D
> > 
> 
> Hope this helps.
> 
> Regards
> 
> Stephan
> 
> --
> Stephan E. Schlierf M.A.
> -  Product Management  -
> PHONE:  ++49 9254 960632
> FAX:++49 9254 960159
> CSE GmbH Germany



Re: symbol R for real numbers

2000-03-15 Thread Kayvan A. Sylvan

> 
> The problem is, that I cannot install this package correctly, because I do not
> have access to the latex installation.
> So I could not do step 4 of the installation procedure.
> 
> 4. Move the files to their destination.
> 
> The filesare and are needed by
> *.tfmTeX font metric files   TeX
> *.fd font defintions TeX
> *.stystyle files TeX
> *.mf Metafont sourcesMetafont
> 

You should install these wherever you want and then set the appropriate
enviroment variables:

MFINPUTSshould include the path to the *.mf files
TEXINPUTS   should include path to the *.sty files
TFMFONTSshould include the path to the .fm files

I don't know which environment variable points to *.fd files, though.

I looked most of this up in the web2c info file.

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: wild development ideas

2000-03-15 Thread Andre Poenitz

> I really don't see the point of being able to write matlab code
> from LyX;

Have you ever used Scientific Workplace?

Imagine something like LyX. You start writing 

"It is well know that the integral 


\int e^x sin^2 x dx

equals ..." oops. What? Exactly, push the 'evaluate' button and the
result is inserted. You are far more productive this way than launching
a seperate application and do import and export manually.

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz . [EMAIL PROTECTED]



Re: symbol R for real numbers

2000-03-15 Thread Torsten Mueller

>\usepackage{bbm} in the preamble,
I couldnt find this package.
I have only found sbbm.sty


>then you can use \mathbbm{R}, \mathbbm{N}, 
with sbbm.sty there is a command \mathbb{}, but when I use this with R
then I get a normal R and not with two lines at the left side (as I would
have expected)

Thanks,
Torsten



Re: Algorthim

2000-03-15 Thread Herbert Voss

"Diego A. Puertas F." wrote:
> 
> 1- I'm a spanish spoker. I have allready configured my thesis  so:
> 
>Chapter is Capítulo
>Section is Sección
>
> and so on, but the float algorithm refuses to translate, it
>keeps on saying "Algorithm". how can I overide this?

in latex preamble

\renewcommand{\ALG@name}{your spanish word for algorithm}

in german I use   \renewcommand{\ALG@name}{Algorithmus}

Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de/voss



Re: Multiple citations after a sentence

2000-03-15 Thread Herbert Voss

Kevin Gross wrote:
> 
> Hi all!
> 
> ...it was not until the advancement of molecular orbital theory that
> cycloaddition reactions were well understood [1,2,5].
> 
> as opposed to the absolutely unacceptable :)
> 
> ...it was not until the advancement of molecular orbital theory that
> cycloaddition reactions were well understood [1] [2] [5].
> 
> Here, [1,2,5] refer to the 1st, 2nd and 5th entry in the References
> section.  If it makes any difference, I am using the article document
> class.  I am just looking for a quick fix (well, other than actually
> typing "[1,2,5]") as I hope to learn BibTeX soon.  But I'm looking for a
> fix that will allow dynamic updating of references, i.e. keep track of
> the reference numbers upon addition and deletion of reference entries,
> much the same as LyX does for cross-referencing.

if your bibtex-file is ok, than:

in latex: \cite{key1,key2,...}   just like: \cite{deitel:99,doberanz:96}

deitel:99 and doberanz:96 are the bibtex keys. if your keys are 1, 2, ..
than \cite{1,2}

with LyX   Insert->citation-> choose the first bibtex entry from the
list
and add the next manually:
"deitel:99" from list and than "doberanz:96" from keyborad. alle entrys
must separated by comma.

Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de/voss



Re: Multiple citations after a sentence

2000-03-15 Thread Osvaldo Fornaro

Herbert Voss wrote:

> Kevin Gross wrote:
> >
> > Hi all!
> >
> > ...it was not until the advancement of molecular orbital theory that
> > cycloaddition reactions were well understood [1,2,5].
> >
> > as opposed to the absolutely unacceptable :)
> >
> > ...it was not until the advancement of molecular orbital theory that
> > cycloaddition reactions were well understood [1] [2] [5].
> >
> > Here, [1,2,5] refer to the 1st, 2nd and 5th entry in the References
> > section.  If it makes any difference, I am using the article document
> > class.  I am just looking for a quick fix (well, other than actually
> > typing "[1,2,5]") as I hope to learn BibTeX soon.  But I'm looking for a
> > fix that will allow dynamic updating of references, i.e. keep track of
> > the reference numbers upon addition and deletion of reference entries,
> > much the same as LyX does for cross-referencing.
>
> if your bibtex-file is ok, than:
>
> in latex: \cite{key1,key2,...}   just like: \cite{deitel:99,doberanz:96}
>
> deitel:99 and doberanz:96 are the bibtex keys. if your keys are 1, 2, ..
> than \cite{1,2}
>
> with LyX   Insert->citation-> choose the first bibtex entry from the
> list
> and add the next manually:
> "deitel:99" from list and than "doberanz:96" from keyborad. alle entrys
> must separated by comma.
>
> Herbert
>
> --
> [EMAIL PROTECTED]
> http://www.perce.de/voss

Hi,

In addition to that, if you use
\uepackage{cite}
in the preamble, the citations will be ordered and without intermediate
references.  For example, [1,2,3,5] will be [1-3,5]

Hope this help

Osvaldo Fornaro
IFIMAT - Universidad Nacional del Centro
Argentina




Re: landscape slides in postscript

2000-03-15 Thread Allan Rae

On Wed, 15 Mar 2000, Emanuele Olivetti wrote:

> Hi, I tried to view landscape LyX slides (FoilTeX) with ghostview, but
> the right part of the slide doesn't appear: the text is cut.
> I haven't this problem with dvips, only with gv (by Johannes Plass).
> Shall I use another viewer? Is it a problem with postscript?
> 
> P.S.: As is said in Extended.lyx, I set "landscape" in extra option of
> Layout->Document menu, and nothing else. Is it correct? 

The docs in Extended warn that landscape doesn't do any rotations.
It expects the paper/output to go to a landscape printer.  Thus
Foilhead and RotateFoilhead are effectively reversed.
Therefore if you have "landscape" set then you should use Foilhead's not
RotateFoilheads.

If you leave the dvips option in the extra_options field as well then
you'll probably get junk output.

I had similar problems preparing landscape foils when I wrote the FoilTeX
docs in Extended.  I think that's why I ended up making the dvips
extra_option the default setting because it worked for me then.
The landscape option seems to be more confusing than useful.
I just used "dvips"+RotateFoilhead -- although I didn't mix portrait and
landscape foils,  nobody should.

If you get a solution that works for you let me know so I can add some
more info to the docs.

Allan. (ARRae)



musixtex-musixflx class

2000-03-15 Thread bill jehle

Hi;
This is kind of off the wall and I have no idea how
difficult it would be, but has anyone written a
layout file to support a document class for musixtex? 

Bill Jehle
___

There -IS- no substitute for cubic inches.











  



Re: musixtex-musixflx class

2000-03-15 Thread Bobby D. Bryant

bill jehle wrote:

> Hi;
> This is kind of off the wall and I have no idea how
> difficult it would be, but has anyone written a
> layout file to support a document class for musixtex?

I like the idea. I just discovered MusixTeX over the weekend, and spent a night
writing a package to simplify entry of lute tablatures. It's a powerful tool, and
it begs for a WYSIWYM interface just like TeX/LaTeX did.

However, I don't see how LyX could help, at least not without substantial changes
to the UI.  As it is, I think you would have to put everything into LyX as TeX or
LaTeX literals, and thus you would not see them as music until you generated the
PostScript.  But that's exactly what happens when you use a text editor to do it,
so LyX would not be contributing much.  (An important exception being when you are
writing a document that is primarily text, but which happens to contain snatches
of music. If I ever had cause to do that, I would surely try to find a way to use
LyX for the text and MusixTeX for the music.)

In principle you could hack the LyX UI to support a WYSIWYM mode for music similar
to the one that now exists for math, but I suspect that we are talking about a
very substantial amount of hackage.  An alternative would be to write a custom
music setting program such as the embryonic Denemo front end for LilyPond
(http://denemo.sourceforge.net/), or just modify Denemo to support MusixTeX output
the way LyX supports LaTeX.

Naturally, I'd prefer WYSIWYM support for typesetting both music and text in a
single application, but I don't think any such thing currently exists. Surely not
for free.

Bobby Bryant
Austin, Texas