Re: Possible bug on document encoding.

2008-04-02 Thread Juergen Spitzmueller
Rudi Gaelzer wrote:

> Enrico, I noticed that the bug is fixed.
> How do I proceed to patch my existing LyX installation (LyX 1.5.4 on
> Fedora 8) Or should I simply wait for an update?

If you can, try to checkout the stable branch from svn, as described here:
http://www.lyx.org/devel/cvs.php

Jürgen



Re: Possible bug on document encoding.

2008-04-02 Thread Rudi Gaelzer
On Tuesday 25 March 2008 19:21:29 Enrico Forestieri wrote:
> I did it:
>
> http://bugzilla.lyx.org/show_bug.cgi?id=4665
>
> --
> Enrico

Enrico, I noticed that the bug is fixed.
How do I proceed to patch my existing LyX installation (LyX 1.5.4 on Fedora 8)
Or should I simply wait for an update?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Possible bug on document encoding.

2008-03-25 Thread Enrico Forestieri
Enrico Forestieri writes:

> Rudi Gaelzer writes:
> 
>> I want to report this first here.  If you agree that this is a bug, I can 
>> file
>> a report...
> 
> Yes, this is a bug. Indeed, if you move the paragraph with accented chars
> in yadas_ascii.lyx before the figure float, everything works.
> Please, file a bug report.


I did it:

http://bugzilla.lyx.org/show_bug.cgi?id=4665

-- 
Enrico





Re: Possible bug on document encoding.

2008-03-24 Thread Enrico Forestieri
Rudi Gaelzer writes:

> I want to report this first here.  If you agree that this is a bug, I can 
> file 
> a report...

Yes, this is a bug. Indeed, if you move the paragraph with accented chars
in yadas_ascii.lyx before the figure float, everything works.
Please, file a bug report.

-- 
Enrico



Re: Possible bug on document encoding.

2008-03-24 Thread Uwe Stöhr

Rudi Gaelzer schrieb:

However, if I change the language encoding at Document -> Settings -> 
Language -> Encoding to ascii, I can neither process nor export the text to 
LaTeX.  This is the case of the yadas_ascii.lyx file attached.


On the last file, if I remove the figure float and/or the accented letters, 
then I can process/export the file again... this bug seems to occur when I 
have both, the float and the accented letters.


I get an output when I only remove the accented letters. The float does 
nothing. That you don't get an output with ASCII when using non-ASCII 
characters is logic. The safest way is to use the document language's 
default encoding.


regards Uwe


Possible bug on document encoding.

2008-03-23 Thread Rudi Gaelzer
I want to report this first here.  If you agree that this is a bug, I can file 
a report...

I want to export a LyX file containing figure floats to LaTeX using ASC II 
language encoding.  However, I detected something strange.

If I process (view dvi) and/or export the file using LaTeX default encoding 
(or utf8), everything works fine.  This is the case of the yadas.lyx file 
attached.

However, if I change the language encoding at Document -> Settings -> 
Language -> Encoding to ascii, I can neither process nor export the text to 
LaTeX.  This is the case of the yadas_ascii.lyx file attached.

On the last file, if I remove the figure float and/or the accented letters, 
then I can process/export the file again... this bug seems to occur when I 
have both, the float and the accented letters.

Is anyone detecting the same problem?
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


yadas.lyx
Description: application/lyx


yadas_ascii.lyx
Description: application/lyx


Re: Document Encoding

2007-09-21 Thread Uwe Stöhr

Ken schrieb:

Hi.  I am getting the error message:
"Some characters of your document are probably not representable in
the chosen encoding.
Changing the document encoding to utf8 could help."

Is there an easy way to find out where these problem characters are
(line numbers) because I am having a hard time finding them.


Start LyX from a console and open the document. When the error message appears, you can see in the 
console what characters are problematic.
Alternatively you delete chapter by chapter until the error message do no longer appear. Then you 
know where the problematic character is located. When you found the character, please report this to 
the list, maybe I forgot it in our unicode handling.


regards Uwe


Document Encoding

2007-09-21 Thread Ken
Hi.  I am getting the error message:
"Some characters of your document are probably not representable in
the chosen encoding.
Changing the document encoding to utf8 could help."

My document is in English without any intentional special characters
and I usually don't have this issue.  However I have cut and pasted a
lot of material into this document which may have the offending
characters (or coming in via the BibTex/bibliography).

Is there an easy way to find out where these problem characters are
(line numbers) because I am having a hard time finding them.

Thanks in advance for any suggestions.
Ken