Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Uwe Stöhr
Andre Poenitz schrieb: Ok. I don't see really the big problem here. #3035 is about getting a few spaces not right as far as I can tell from the pdf output I see. While this is certainly not nice it is hardly "major", and I also don't understand why this is so fundamental that it stops any furt

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Andre Poenitz
On Sat, Oct 11, 2008 at 01:42:53PM +0200, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >> I tend to send them in a second mail marked by "Urmph" or similar. > > I got it now, it is OK by me. > >>> But besides this, I'm very happy that someone started to work on >>> tex2lyx's Unicode support. As I w

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Andre Poenitz
On Sun, Oct 12, 2008 at 03:41:29PM +0200, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >>> So my proposal is to look at the inputenc option. When no option is >>> given or there is no inputenc package, we use plain ASCII as also >>> LaTeX would do this. >> >> In this file there is no inputenc fiel

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Uwe Stöhr
Andre Poenitz schrieb: So my proposal is to look at the inputenc option. When no option is given or there is no inputenc package, we use plain ASCII as also LaTeX would do this. In this file there is no inputenc field but still non-7bit chars. XeLaTeX seems to assume utf8 by default. Yes i

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Andre Poenitz
On Sun, Oct 12, 2008 at 03:06:50PM +0200, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >>> http://bugzilla.lyx.org/show_bug.cgi?id=4299 >> >> Well, the problem here, is of course, that the .tex file does not contain any >> hint what kind of encoding the file contents has. > > I don't think so. LaTeX

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Uwe Stöhr
Andre Poenitz schrieb: http://bugzilla.lyx.org/show_bug.cgi?id=4299 Well, the problem here, is of course, that the .tex file does not contain any hint what kind of encoding the file contents has. I don't think so. LaTeX has to be informed about the encoding a file has, the same as we have to

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-12 Thread Andre Poenitz
On Sat, Oct 11, 2008 at 01:42:53PM +0200, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >> I tend to send them in a second mail marked by "Urmph" or similar. > > I got it now, it is OK by me. > >>> But besides this, I'm very happy that someone started to work on >>> tex2lyx's Unicode support. As I w

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-11 Thread Uwe Stöhr
Andre Poenitz schrieb: I tend to send them in a second mail marked by "Urmph" or similar. I got it now, it is OK by me. But besides this, I'm very happy that someone started to work on tex2lyx's Unicode support. As I wrote some times ago to the list, tex2lyx cannot be developed for further

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-11 Thread Andre Poenitz
On Fri, Oct 10, 2008 at 09:29:37PM +0200, Andre Poenitz wrote: > > The attached patch makes tex2lyx convert the following correct to .lyx > format: > > --- snip --- > \documentclass{article} > \usepackage{inputenc} > \inputencoding{utf8} > \begin{docume

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-10 Thread rgheck
Andre Poenitz wrote: The attached patch makes tex2lyx convert the following correct to .lyx format: --- snip --- \documentclass{article} \usepackage{inputenc} \inputencoding{utf8} \begin{document} \section{Őasdcsad} \end{document} -

[patch] make tex2lyx utf8 encoding in some cases

2008-10-10 Thread Andre Poenitz
The attached patch makes tex2lyx convert the following correct to .lyx format: --- snip --- \documentclass{article} \usepackage{inputenc} \inputencoding{utf8} \begin{document} \section{Őasdcsad} \end{document} --- snip --