Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
Reported as bug 5364.
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 2:11 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> I discovered the problem. I had folder names with spaces and accented
>> letters. I renamed the folders and everything was alright. Seems that
>> filenames don't have relative paths, but absolute ones, making tex2lyx
>> crash in the process when the path has spaces. Is this a bug?
>
> Yes, this is a known bug. folder and file names must not have any non-ASCII
> character.
> But as tex2lyx is a program of its own, we need to fix this separately. Can
> you therefore please report this as new bug to bugzilla.lyx.org ?
>
> thanks and regards
> Uwe
>


Re: tex2lyx problem

2008-10-15 Thread Uwe Stöhr

Julio Rojas schrieb:


I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?


Yes, this is a known bug. folder and file names must not have any non-ASCII 
character.
But as tex2lyx is a program of its own, we need to fix this separately. Can you therefore please 
report this as new bug to bugzilla.lyx.org ?


thanks and regards
Uwe


Re: tex2lyx problem

2008-10-15 Thread Julio Rojas
I discovered the problem. I had folder names with spaces and accented
letters. I renamed the folders and everything was alright. Seems that
filenames don't have relative paths, but absolute ones, making tex2lyx
crash in the process when the path has spaces. Is this a bug?
-
Julio Rojas
[EMAIL PROTECTED]



On Wed, Oct 15, 2008 at 12:19 AM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> Nope. I even removed all the content, leaving the preamble and the
>> abstract, but it didn't work. I have tried with a tex file generated
>> from a lyx export and it worked fine.
>
> I have no problems to import the TeX file you sent me. When compiling the
> result to a PDF, I only get a LaTeX-error, that the keywords environment is
> unknown, but that is because you used the article document class.
>
> regards Uwe
>


Re: tex2lyx problem

2008-10-14 Thread Uwe Stöhr

Julio Rojas schrieb:


Nope. I even removed all the content, leaving the preamble and the
abstract, but it didn't work. I have tried with a tex file generated
from a lyx export and it worked fine.


I have no problems to import the TeX file you sent me. When compiling the result to a PDF, I only 
get a LaTeX-error, that the keywords environment is unknown, but that is because you used the 
article document class.


regards Uwe


Re: tex2lyx problem

2008-10-14 Thread Julio Rojas
Sent to your email address Uwe.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Oct 14, 2008 at 1:59 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> Nope.
>
> Could you send me a SMALL version of the TeX file?
>
> regards Uwe
>


Re: tex2lyx problem

2008-10-14 Thread Uwe Stöhr

Julio Rojas schrieb:


Nope.


Could you send me a SMALL version of the TeX file?

regards Uwe


Re: tex2lyx problem

2008-10-14 Thread Julio Rojas
Nope. I even removed all the content, leaving the preamble and the
abstract, but it didn't work. I have tried with a tex file generated
from a lyx export and it worked fine.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Oct 14, 2008 at 12:18 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Julio Rojas schrieb:
>
>> tex2lyx -fd mm1.tex mm1.lyx
>
> Does it work when you use LyX's menu File->Import->LaTeX instead?
>
> regards Uwe
>


Re: tex2lyx problem

2008-10-14 Thread Uwe Stöhr

Julio Rojas schrieb:


tex2lyx -fd mm1.tex mm1.lyx


Does it work when you use LyX's menu File->Import->LaTeX instead?

regards Uwe


tex2lyx problem

2008-10-14 Thread Julio Rojas
Hi, I'm trying to run tex2lyx on a file and the following message is presented:

tex2lyx -fd mm1.tex mm1.lyx
Creating file /media/KINGSTON/Artculos/MM1 Simulation/Eitan/mm1.tex
Could not open output file "/media/KINGSTON/Artculos/MM1
Simulation/Eitan/mm1.tex" for writing.

No more output is generated. Any ideas?

Julio Rojas
[EMAIL PROTECTED]