Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-27 Thread Claus Hindsgaul

man, 2002-05-27 kl. 16:27 skrev Jean-Marc Lasgouttes:
> What font encoding do you use? Does it contain these characters?

I don't know. I used Encoding: "Default" in the layout dialog. The
problem was fixed with Encoding: "Auto".

I have been told that these choices mean (not easy to guess from the
GUI):
"Default" - TeX default  (I don't know where it is set)
"Auto"- Language default (Danish default i.e. ISO8859)

Claus Hindsgaul




Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-27 Thread Jean-Marc Lasgouttes

> "Claus" == Claus Hindsgaul <[EMAIL PROTECTED]> writes:

Claus> Hi, I just found out that on my computer the character ² and ³
Claus> (superscript 2 and 3 entered on the keyboard as "^" plus "2" or
Claus> "3") renders wrongly in the dvi, ps, and pdf output from LyX;
Claus> they are mangled into two different accented "S"'s. They appear
Claus> as expected on screen and in the html output though.

Claus> The workaround is to use math mode. Can anybody confirm this or
Claus> is it a local problem (e.g. missing fonts)

What font encoding do you use? Does it contain these characters?

JMarc



Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Claus Hindsgaul

Dekel Tsur skrev Fredag den 17. maj 2002 12:28:
> No, auto select the encoding according to the language of the document
> (it also allows you to use several encodings in a single document).

Wouldn't it give the user (like me) a better clue to rename "default" to
"TeX default" and "auto" to "Language default".

BTW none of these choices are currently translatable. They really should be 
(so should the units drop box mm, cm, in, ...). Just as you recently did 
for the country name drop box.

Claus





Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Dekel Tsur

On Fri, May 17, 2002 at 01:55:26PM +0200, Juergen Vigna wrote:
> 
> On 17-May-2002 Claus Hindsgaul wrote:
> 
> > How clever is "auto"? Would it make a better default for LyX than
> > "default"?
> 
> I think yes "auto" should be the default thing, but let's see what
> out experts say.

There are some problems with the current implementation of auto, which is 
why it wasn't made the default.



RE: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Juergen Vigna


On 17-May-2002 Claus Hindsgaul wrote:

> How clever is "auto"? Would it make a better default for LyX than
> "default"?

I think yes "auto" should be the default thing, but let's see what
out experts say.

 Jug

-- 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A  Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Bubble Memory, n.:
A derogatory term, usually referring to a person's intelligence.
See also "vacuum tube".




RE: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Claus Hindsgaul

fre, 2002-05-17 kl. 12:58 skrev Juergen Vigna:
> 
> On 17-May-2002 Claus Hindsgaul wrote:
> > fre, 2002-05-17 kl. 10:56 skrev Juergen Vigna:
> >> What screen fonts are you using? What latex encoding are you using?
> > 
> > Screen fonts: ISO8859-1
> > latex: How do I find out?
> 
> LaTeX most probably has the normal 7bit encoding. But just use
> auto as default and you'll get the right encoding in most cases :)
> I don't know where to find the default encoding but I think it's
> dependant of the .cls file you use.

How clever is "auto"? Would it make a better default for LyX than
"default"?

Claus




Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Dekel Tsur

On Fri, May 17, 2002 at 12:12:36PM +0200, Juergen Vigna wrote:
> On 17-May-2002 Garst R. Reese wrote:
> > seemed to work right with default. And what does "auto" mean?
> 
> I think "auto" checks if you have "latin1" chars in your document and
> sets enconding to latin1 in that case (maybe also for oter latin encodings)

No, auto select the encoding according to the language of the document
(it also allows you to use several encodings in a single document).



Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Juergen Vigna


On 17-May-2002 Garst R. Reese wrote:
> Juergen Vigna wrote:
> 
>> (as for US latin1 does not work well ;)
>> 
> That's news to me. Can you elaborate? I use latin1 because I a sometimes
> need french accents and have not seen any problems, whereas nothing ever
> seemed to work right with default. And what does "auto" mean?

Didn't you see the smily (well today is friday and I wouldn't have to put
that there so I was wrong). I just said that the tetex distributions are
made for "standard" american who only has to use "7bit" chars. So the
default encoding is not latin1 (which uses 8bit chars).

I think "auto" checks if you have "latin1" chars in your document and
sets enconding to latin1 in that case (maybe also for oter latin encodings)

   Jug

-- 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A  Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Very few things happen at the right time, and the rest do not happen
at all.  The conscientious historian will correct these defects.
-- Herodotus




Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Juergen Vigna


On 17-May-2002 Claus Hindsgaul wrote:

> What defines my "default" encoding? As a Dane, I generally use iso8859-1
> (Latin1), but something must be wrong.

Default is the one of you LaTeX installation and it normally isn't latin1
(as for US latin1 does not work well ;)

 Jug

-- 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A  Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

There are some things worth dying for.
-- Kirk, "Errand of Mercy", stardate 3201.7




RE: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Juergen Vigna


On 17-May-2002 Claus Hindsgaul wrote:
> Hi,
> 
> I just found out that on my computer the character ² and ³ (superscript
> 2 and 3 entered on the keyboard as "^" plus "2" or "3") renders wrongly
> in the dvi, ps, and pdf output from LyX; they are mangled into two
> different accented "S"'s.
> They appear as expected on screen and in the html output though.
> 
> The workaround is to use math mode. Can anybody confirm this or is it a
> local problem (e.g. missing fonts)
> 
> I run LyX 1.2.0cvs on Debian Woody.

What screen fonts are you using? What latex encoding are you using?
I've seen yesterday that inserting a ü gives another char in the
output if you have latin1 screen fonts and latin2 latex encoding.
It seems to me you suffer the same stuff. If you always work with
a certain latex encoding you should make sure to use the same screen
font encoding.

   Jug

-- 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A  Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Bacon's not the only thing that's cured by hanging from a string.




Re: Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Claus Hindsgaul

fre, 2002-05-17 kl. 10:10 skrev Kornel Benko:
> > I just found out that on my computer the character ² and ³ (superscript
> > 2 and 3 entered on the keyboard as "^" plus "2" or "3") renders wrongly
> > in the dvi, ps, and pdf output from LyX; they are mangled into two
> > different accented "S"'s.
> > They appear as expected on screen and in the html output though.
> 
> Cannot confirm. It is working here. I am using iso8859-15 as screen-fonts.
> DVI-Output is ok too. (TeX encoding T1)


Hmm, I fixed it by going into Document->Layout and choosing encoding
"auto" og "latin1" instead of "default". 

What defines my "default" encoding? As a Dane, I generally use iso8859-1
(Latin1), but something must be wrong.

Claus Hindsgaul




Rendering of ^2 and ^3 in 1.2.0

2002-05-17 Thread Claus Hindsgaul

Hi,

I just found out that on my computer the character ² and ³ (superscript
2 and 3 entered on the keyboard as "^" plus "2" or "3") renders wrongly
in the dvi, ps, and pdf output from LyX; they are mangled into two
different accented "S"'s.
They appear as expected on screen and in the html output though.

The workaround is to use math mode. Can anybody confirm this or is it a
local problem (e.g. missing fonts)

I run LyX 1.2.0cvs on Debian Woody.

Claus Hindsgaul