Re: pb with screen font in math mode

2004-01-21 Thread Philippe Laroque
Jose' Matos wrote:
On Wednesday 21 January 2004 3:51 pm, Philippe Laroque wrote:

Hello,


Thanks in advance and sorry if the question has already been asked
142857 times before, I'm new to the ML ;-)


  No, with this one it is 142858. ;-)

  Do you the latex-xft-fonts package installed?
Yes I have.
To be sure, I uninstalled and re-installed it: no change :-(
Thanks for answering!
PL
--
Philippe Laroque - Universite de Cergy-Pontoise / dept. informatique
2, rue Adolphe Chauvin - BP 222 - 95302 Cergy-Pontoise cedex
01 34 25 65 86 - [EMAIL PROTECTED]


Re: pb with screen font in math mode

2004-01-21 Thread Philippe Laroque
Jean-Pierre.Chretien wrote:
Date: Wed, 21 Jan 2004 16:51:38 +0100
From: Philippe Laroque <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: pb with screen font in math mode


Hello,

I'm running Lyx 1.3.3 on a mandrake 9.2 box. When I installed and 
compiled lyx, it worked fine until one day (when I suppose I installed 
some RPM that made things wrong!).
It is not a serious problem but annoying enough for me to send a call 
for help! Lyx does not display all math symbols correctly on screen 
since that day. For instance, I get a square instead of the sigma sign, 
or a filled small diamond instead of the "=>" sign, etc.

Can someone tell me what to do to come back to the previous, correct 
situation ?


The font server seems broken, have you restarted the X server already ?
Does lyx -x reconfigure changes anything ?
Yes I did, didn't change anything...
and lyx -x reconfigure doesn't change anything aither ;-)
Thanks for answering anyway !

Phil

--
Philippe Laroque - Universite de Cergy-Pontoise / dept. informatique
2, rue Adolphe Chauvin - BP 222 - 95302 Cergy-Pontoise cedex
01 34 25 65 86 - [EMAIL PROTECTED]


Figure reference numbers not incrementing

2004-01-21 Thread Rich Shepard
  Sorry folks. Just when I think I have everything under control again, I
stumble over a new problem.

  In one chapter I have multiple figures inserted in floats (all .eps
format) and each one has been given a distinct label. In the text I
reference each figure with a cross-reference to that distinct label.

  Curiously, when I view the dvi output (ctrl-d), each figure caption is
properly numbered (Figure 8.1, Figure 8.2, Figure 8.3) but the references
are all to "Figure 8.1". No obvious error jumps out at me. I'm quite
puzzled.

  Ideas?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Text-mode Accents in Math Mode

2004-01-21 Thread Rich Shepard
On Wed, 21 Jan 2004, Nirmal Govind wrote:

> Hmm... actually, a way that I find easy to achieve the above is as
> follows: enter math mode, hit Ctrl-M, type "A", hit right arrow (you exit
> text-within-math-mode), now select the A that you entered by using
> Shift+left-arrow, then do a tilde on it with an Alt-p-& (i.e.
> Alt-p-Shift-7) or by selecting it from the math panel... maybe this will
> help..

nirmal,

  I'll try that for the next equation.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Text-mode Accents in Math Mode

2004-01-21 Thread Nirmal Govind
this doesn't looks good, when A is a kind of variable and s'hould be in
italic mode. \mathaccent`~A is the better way.


  By trial-and-error I worked it out. I need a combination of spaces and
right-arrows (or up arrows) to get back out of \textmf mode. Very slow and
-- for me -- highly error prone. Your way looks quicker and more certain.
Hmm... actually, a way that I find easy to achieve the above is as 
follows: enter math mode, hit Ctrl-M, type "A", hit right arrow (you 
exit text-within-math-mode), now select the A that you entered by 
using Shift+left-arrow, then do a tilde on it with an Alt-p-& (i.e. 
Alt-p-Shift-7) or by selecting it from the math panel... maybe this 
will help..

nirmal



Re: Inserting a complex, multiling equation

2004-01-21 Thread Nirmal Govind
  What I did, when in the right-side box, was to select the regular text mode
from the text button menu on the math panel, then use ctrl-space to space
the words.
Selecting "normal text mode" from the math panel is the same as 
Ctrl-M while in the math mode. In either case, you don't need to do 
a Ctrl-space to get a regular space when you're in this 
normal-text-within-math-mode, just hit the space bar and the usual 
space will show up...

nirmal



Re: Converting from PostScript to LaTex

2004-01-21 Thread Nirmal Govind
Conversion word -> latex works quite well (far better than wvClaenLaTeX) if
you use Staroffice/OpenOffice.Org to convert from word to OpenOffice.org
Writer format and then use writer2latex (see
http://www.hj-gym.dk/~hj/writer2latex/) to convert to LaTeX.
I even got formulas right. Although my OpenOffice.org had some problems to
display them correctly, writer2latex understood them.
Georg - do you know of any way to convert latex to rtf or doc that 
does better than latex2rtf? My tables and figures get messed up 
using latex2rtf... bib also does but that's not too much of a 
concern right now.. I tried exporting from LyX to HTML and then 
opened that in Openoffice and that looked better (some of the math 
was still messed up)..   I then exported it to sxw (writer format) 
and then opened the sxw file and saved as .doc but when I open the 
doc file, it's completely messed up - the text flows vertically down 
for some reason.. that may have to do with Openoffice's saveas 
feature so I'll have to play around with it or try the cvs 
version... thought I'd check on the list in the meanwhile ..

Thanks,
nirmal


Re: Text-mode Accents in Math Mode

2004-01-21 Thread Rich Shepard
On Wed, 21 Jan 2004, Herbert Voss wrote:

> $\mathaccent`~A=\{(x,\mu_{\mathaccent`~A}(x))|(x\in U)\}$
> mark it with the cursor and hit ctrl-m, then it will be
> converted to math.

Herbert,

  I like that. Looks quicker to type it in TeX mode then convert it to math
mode.

> this doesn't looks good, when A is a kind of variable and s'hould be in
> italic mode. \mathaccent`~A is the better way.

  By trial-and-error I worked it out. I need a combination of spaces and
right-arrows (or up arrows) to get back out of \textmf mode. Very slow and
-- for me -- highly error prone. Your way looks quicker and more certain.

Many thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Text-mode Accents in Math Mode

2004-01-21 Thread Herbert Voss
Rich Shepard wrote:
On Wed, 21 Jan 2004, Rich Shepard wrote:


 Is there a more efficient/better/proper way of using a over-tilde on a
letter in math mode?


  Now I need some guidance on how to use the tilde-over-A as a subscript in
an inline equation. I typed this:
	\textrm{\~ A }=\{(x,\mu_{\textrm{\~ A}}(x))|(x\in U)\}
$\mathaccent`~A=\{(x,\mu_{\mathaccent`~A}(x))|(x\in U)\}$

mark it with the cursor and hit ctrl-m, then it will be
converted to math.
your solution also works, when you put it between the $ ...$

the equation. I don't know if the "\textrm{\~A}" should be in another set of
curly braces.
this doesn't looks good, when A is a kind of variable and
s'hould be in italic mode. \mathaccent`~A is the better way.
HErbert




Re: Text-mode Accents in Math Mode

2004-01-21 Thread Rich Shepard
On Wed, 21 Jan 2004, Rich Shepard wrote:

>   Is there a more efficient/better/proper way of using a over-tilde on a
> letter in math mode?

  Now I need some guidance on how to use the tilde-over-A as a subscript in
an inline equation. I typed this:

\textrm{\~ A }=\{(x,\mu_{\textrm{\~ A}}(x))|(x\in U)\}

but it generates errors when compiling.

  I suspect that I did not properly enter the subscript on the right side of
the equation. I don't know if the "\textrm{\~A}" should be in another set of
curly braces.

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Text-mode Accents in Math Mode

2004-01-21 Thread Rich Shepard
  This is an easy one, I promise. :-)

  I need to use uppercase letters surmounted with a tilde as symbols for
fuzzy sets. In text mode, I can write \~{A} and it comes out perfectly when
I view the output. However, in math mode I use the panel's text button/menu
to select "normal text mode" and that works.

  Is there a more efficient/better/proper way of using a over-tilde on a
letter in math mode?

TIA,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: More multiline equation frustration

2004-01-21 Thread Rich Shepard
On Wed, 21 Jan 2004, Herbert Voss wrote:

> you forget to enable the use of amsmath (radiobutton
> in preferences or \usepackage[amsmath} in preamble).

Herbert,

  Yes! I discovered the problem and was just going to write. In Uwe's
example I saw, "use amsmath 1". In my file it was "use amsmath 0". Changed
my file and it compiles.

  It was not that I forget; I didn't know to do add the amsmath package in
the preamble. This was not "intuitive" for me. :-)

  Whew! This was a major stumbling block and I learned a lesson not soon
forgotten: use the amsmath package if there will be equations in the text.

Many, many thanks to all of you,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: More multiline equation frustration

2004-01-21 Thread Herbert Voss
Rich Shepard wrote:
Misplaced alignment tab character &.
 1, &
\textrm{if and only if}\\
you forget to enable the use of amsmath (radiobutton
in preferences or \usepackage[amsmath} in preamble).
Then all three will work, except that the last one
shouldn't have the first \\.
Herbert




Re: More multiline equation frustration

2004-01-21 Thread Rich Shepard
On Tue, 20 Jan 2004, Uwe Stöhr wrote:

> But better keep on using the \cases environment.
> I hope this helps.

 I've done extensive experimentation this morning. Following are three code
fragments: one of mine that compiles, one of mine that doesn't compile, and
the one Uwe sent to me:

This compiles:

\begin_inset Formula \[
\mu_{A}(x)=\begin{cases}
1,\\
0,\end{cases}\]
\end_inset

This does not compile:

\begin_inset Formula \[
\mu_{A}(x)=\begin{cases}
1, & \textrm{if and only if}\\
0,\end{cases}\]
\end_inset

And this is Uwe's example:

\begin_inset Formula \[
\mu_{a}(x)=\begin{cases}
\\1 & \textrm{if and only if}\, x\in A\\
0 & \textrm{if and only if}\, x\notin A\end{cases}\]
\end_inset

  Uwe's example has two back-slashes immediately prior to the '1'; my
versions do not. The only effect of the two back-slashes is to add a
spurious extra row on top.

  The difference between my two versions was created when I used the mouse
to place the cursor in the right-side box on the top row, selected 'normal
text mode' from the math panel's text menu, and typed "if and only if". The
error box contains:

Misplaced alignment tab character &.
 1, &
\textrm{if and only if}\\
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type   \&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing ' now just to see what is salvageable.

  Will someone please explain this to me? I cannot figure out what I'm not
doing correctly so my equation will compile when completed.

TIA,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: pb with screen font in math mode

2004-01-21 Thread Jose' Matos
On Wednesday 21 January 2004 3:51 pm, Philippe Laroque wrote:
> Hello,

> Thanks in advance and sorry if the question has already been asked
> 142857 times before, I'm new to the ML ;-)

  No, with this one it is 142858. ;-)

  Do you the latex-xft-fonts package installed?

  It is a rpm package also, so...

> PL

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: Inserting a complex, multiling equation

2004-01-21 Thread Rich Shepard
On Wed, 21 Jan 2004, Nirmal Govind wrote:

> Sounds like you got hold of some documentation already..

Hi, Nirmal,

  Yes. I did a lot of reading and found useful information. Now the only
remaining task is for me to learn why it won't compile without errors.

> If the text is entered in texth-within-math-mode (you can do a Ctrl-M
> while you're in the math-mode to enter text-within-math-mode), then you
> can just hit space and it'll show up as a space.. if you want a space
> while in math-mode then try \, or \ followed immediately by a space.. they
> put spaces with varying widths.. I think (but I'm not sure) that \, is the
> space you want between two characters in math mode -- such as for
> a,b ..  would be great if someone could confirm this...

  What I did, when in the right-side box, was to select the regular text mode
from the text button menu on the math panel, then use ctrl-space to space
the words.

  The LaTeX generated by this (as seen in the .lyx file) appears equivalent
to a working example, but just will not compile. Yes, this is frustrating,
especially when I'm against a deadline by my publisher for the book. Sigh.

  You folks are all terrific. I really appreciate the help.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: pb with screen font in math mode

2004-01-21 Thread Jean-Pierre.Chretien

>>Date: Wed, 21 Jan 2004 16:51:38 +0100
>>From: Philippe Laroque <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: pb with screen font in math mode

>>Hello,
>>
>>I'm running Lyx 1.3.3 on a mandrake 9.2 box. When I installed and 
>>compiled lyx, it worked fine until one day (when I suppose I installed 
>>some RPM that made things wrong!).
>>It is not a serious problem but annoying enough for me to send a call 
>>for help! Lyx does not display all math symbols correctly on screen 
>>since that day. For instance, I get a square instead of the sigma sign, 
>>or a filled small diamond instead of the "=>" sign, etc.
>>
>>Can someone tell me what to do to come back to the previous, correct 
>>situation ?

The font server seems broken, have you restarted the X server already ?
Does lyx -x reconfigure changes anything ?

-- 
Jean-Pierre



pb with screen font in math mode

2004-01-21 Thread Philippe Laroque
Hello,

I'm running Lyx 1.3.3 on a mandrake 9.2 box. When I installed and 
compiled lyx, it worked fine until one day (when I suppose I installed 
some RPM that made things wrong!).
It is not a serious problem but annoying enough for me to send a call 
for help! Lyx does not display all math symbols correctly on screen 
since that day. For instance, I get a square instead of the sigma sign, 
or a filled small diamond instead of the "=>" sign, etc.

Can someone tell me what to do to come back to the previous, correct 
situation ?

Thanks in advance and sorry if the question has already been asked 
142857 times before, I'm new to the ML ;-)

PL
--
Philippe Laroque - Universite de Cergy-Pontoise / dept. informatique
2, rue Adolphe Chauvin - BP 222 - 95302 Cergy-Pontoise cedex
01 34 25 65 86 - [EMAIL PROTECTED]


Re: Inserting a complex, multiling equation

2004-01-21 Thread Nirmal Govind
Hi Rich,

As an aside, is there a place in some documentation where the use of each
little blue box in math mode is explained? That I've not seen and it would
probably help me with learning new math mode entry tasks.
Sounds like you got hold of some documentation already..

in this situation, enter the "1," in the left side blue box and "if and only
if x \in A" in the right side blue box, then press ctrl-[Enter]?
I think so.. that's worked fine for me so far.

  Also, when entering the conditional, what is the proper format for spacing
between words? A keyboard space moves me out of the math box; so does a
If the text is entered in texth-within-math-mode (you can do a 
Ctrl-M while you're in the math-mode to enter 
text-within-math-mode), then you can just hit space and it'll show 
up as a space.. if you want a space while in math-mode then try \, 
or \ followed immediately by a space.. they put spaces with varying 
widths.. I think (but I'm not sure) that \, is the space you want 
between two characters in math mode -- such as for a,b .. 
would be great if someone could confirm this...

nirmal



Re: conversion and revision mode

2004-01-21 Thread Matej Cepl
On Wednesday 21 of January 2004 04:47, Harold Mouras wrote:
> could you let me know about your best solution to convert lyx
> files in rtf files readable under WORD for other users?

I had usually the best results with exporting to HTML (which can 
be happily read by any Word newer than Word97 inclusive). But, 
you can try any latex2rtf and similar -- check the paralel 
thread about conversion from PostScript (which is actually about 
conversion from Word).

> I would have another basic question: would exist under lyx a
> comparable revision mode than the one existing under word and
> allowing to see corrections done by other users of the same
> file.

There is an unmaintained patch for it available on www.lyx.org 
(search "tracking change site:lyx.org" on Google), but I really 
do not think it is compatible with 1.3.3. It will be officially 
available in 1.4.0, but that it won't be available for a long 
time, I am afraid.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
-- vi FAQ



pgp0.pgp
Description: signature


Re: Converting from PostScript to LaTex

2004-01-21 Thread Tuukka Toivonen
On Mon, 19 Jan 2004, Daniel Tahin wrote:

>Also my question: is there a software that converts a PostScript or a pdf-file
>to LaTex?

There's program "pdftohtml" that converts pdf to html and it did
quite good work too, relatively.

But I think there isn't a good way to convert HTML into LaTeX.
Less good ways, yes.



conversion and revision mode

2004-01-21 Thread Harold Mouras
Dear Lyx users,

could you let me know about your best solution to convert lyx files in rtf
files readable under WORD for other users?

I would have another basic question: would exist under lyx a comparable
revision mode than the one existing under word and allonwing to see
corrections done by other users of the same file.

Thank you very much in advance,

Harold


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/2004



pagebackref option under lyx

2004-01-21 Thread harmel
Hello

I use lyx 1.3.3 for Win and Miktex 2.4. My Question: I have insert in
the document preamble the pdftex option pagebackref, but latex runs only
three times and i become not the links in the bibliography. Gives a
option under lyx to run latex four times?

Thanks jojo