Discussion:
Import plain latex from Scientific word
Mark Salmon
2013-02-26 10:41:23 UTC
Permalink
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.

Any help urgently very much appreciated.
Many thanks
Mark
Scott Kostyshak
2013-02-26 11:14:28 UTC
Permalink
Hi Mark,
Post by Mark Salmon
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.
LyX does try to save after importing:
http://www.lyx.org/trac/ticket/8236

But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?

In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
happen to be using Ubuntu, you can try the newest development version:
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).

Best,

Scott
Mark Salmon
2013-02-26 11:24:56 UTC
Permalink
Hi Scott,
Thanks for your reply. I don't know if it is saving the file or not-
that¹s just my reasoning. The problem is that as soon as I click on
import- plain latex- within a second it flashes to the folder where the
file I want to import is and immediately closes that window and returns me
to the virgin new file without giving me the chance to select the file to
import. It all happens so fast. I just select import- plain latex and
within a second I am back in the new empty file!!!
Thanks
Mark
Post by Scott Kostyshak
Hi Mark,
Post by Mark Salmon
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.
http://www.lyx.org/trac/ticket/8236
But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?
In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).
Best,
Scott
Gyorgy SZEIDL
2013-02-26 11:27:54 UTC
Permalink
hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
Post by Scott Kostyshak
Hi Mark,
Post by Mark Salmon
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.
http://www.lyx.org/trac/ticket/8236
But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?
In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).
Best,
Scott
Mark Salmon
2013-02-26 11:32:59 UTC
Permalink
Hi Gyorgy,
Yes I did use the portable tex option when coming out of Sciword. I is a
problem with all my files not just one.
Thanks,
Mark
Post by Gyorgy SZEIDL
hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
Post by Scott Kostyshak
Hi Mark,
Post by Mark Salmon
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.
http://www.lyx.org/trac/ticket/8236
But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?
In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).
Best,
Scott
Mark Salmon
2013-02-26 11:34:48 UTC
Permalink
Buffer import latex appears in the bottom left hand corner of the screen
for a few more seconds when it goes away and is replaced by font
default????
Thanks
Post by Gyorgy SZEIDL
hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
Post by Scott Kostyshak
Hi Mark,
Post by Mark Salmon
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.
http://www.lyx.org/trac/ticket/8236
But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?
In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).
Best,
Scott
Mark Salmon
2013-02-26 11:46:44 UTC
Permalink
OK - I have more information on my problemŠ
If I close down Lyx and start up again I can import the files- AS LONG AS
I DO NOT OPEN A NEW FILE. If I try and open a new file and import into
that it fails again as I have described.However if I just directly import
then it works fine. I now have to close down Lyx each time and open it
again I need to input a file as I can only do this -- i.e. Import once
each time.-- otherwise I get the flash glance of my folder and return to
the newly opened empty file.
Thanks
Mark
Post by Scott Kostyshak
Hi Mark,
Post by Mark Salmon
Hi,
I would be grateful for some urgent help. I am trying to transfer lecture
slides (Beamer) from Scientific word into Lyx 2.0.5. I have followed the
wiki advice and saved from Sci word as plain latex. Then I open a new file
in Lyx and try and import the file- a see for about 2 seconds the folder in
which I have stored my old sci word files and then it closes and takes me
back to the empty Lyx file- so I cannot actually select the file I want to
import. Its almost as if Lyx is immediately trying to save the new file- I
don't know whats going on but it just doesn't give me the chance to import
th file after I select import.
http://www.lyx.org/trac/ticket/8236
But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?
In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).
Best,
Scott
Scott Kostyshak
2013-02-26 11:58:39 UTC
Permalink
OK - I have more information on my problemŠ
If I close down Lyx and start up again I can import the files- AS LONG AS
I DO NOT OPEN A NEW FILE. If I try and open a new file and import into
that it fails again as I have described.However if I just directly import
then it works fine. I now have to close down Lyx each time and open it
again I need to input a file as I can only do this -- i.e. Import once
each time.-- otherwise I get the flash glance of my folder and return to
the newly opened empty file.
Thanks
Mark
Glad to hear that you can import the files. That's great news. It
sounds like you might be right -- that the saving is the problem. I
wonder if LyX is trying to save to the same file as one of the
documents that is already open.

What operating system are you on?

Scott
Mark Salmon
2013-02-26 12:53:18 UTC
Permalink
Hi Scott,
Its a MAC OSX 10.8.2, ermmm-- let me think more about the saving issue and
if I find anything more I'll get back. Got to get my lecture ready first
tho now I am back in business- somewhat! I close down the whole machine
and try again completely from fresh.
Thanks for your help and Gyorgy and Murat
Cheers,
Mark
Post by Scott Kostyshak
OK - I have more information on my problemŠ
If I close down Lyx and start up again I can import the files- AS LONG AS
I DO NOT OPEN A NEW FILE. If I try and open a new file and import into
that it fails again as I have described.However if I just directly import
then it works fine. I now have to close down Lyx each time and open it
again I need to input a file as I can only do this -- i.e. Import once
each time.-- otherwise I get the flash glance of my folder and return to
the newly opened empty file.
Thanks
Mark
Glad to hear that you can import the files. That's great news. It
sounds like you might be right -- that the saving is the problem. I
wonder if LyX is trying to save to the same file as one of the
documents that is already open.
What operating system are you on?
Scott
Scott Kostyshak
2013-02-28 15:51:32 UTC
Permalink
Post by Mark Salmon
Hi Scott,
Its a MAC OSX 10.8.2, ermmm-- let me think more about the saving issue and
if I find anything more I'll get back. Got to get my lecture ready first
tho now I am back in business- somewhat! I close down the whole machine
and try again completely from fresh.
Thanks for your help and Gyorgy and Murat
Cheers,
Mark
Hi Mark,

I updated the bug report
(http://www.lyx.org/trac/ticket/8236#comment:6) to mention that the
bug you're reporting might be related. If you have anything to add or
are able to figure out more about what's going on (e.g. when the bug
is triggered and when not), please add it to the report.

Thanks,

Scott

Murat Yildizoglu
2013-02-26 12:44:23 UTC
Permalink
Mark,

If you have several files to import, maybe the command line tex2lyx
utility can be more convenient.
It lives somewhere inside the Lyx installation folder (on OSX:
/Applications/LyX.app/Contents/MacOS/tex2lyx).

Here is the help page I get when I do tex2lyx -h :

Usage: tex2lyx [options] infile.tex [outfile.lyx]
Options:
-c textclass Declare the textclass.
-e encoding Set the default encoding (latex name).
-f Force overwrite of .lyx files.
-help Print this message and quit.
-n translate a noweb (aka literate programming) file.
-roundtrip re-export created .lyx file infile.lyx.lyx to
infile.lyx.tex.
-s syntaxfile read additional syntax file.
-sysdir SYSDIR Set system directory to SYSDIR.
Default: /Applications/LyX.app/Contents/Resources/
-userdir USERDIR Set user directory to USERDIR.
Default: /Users/myildi/Library/Application
Support/LyX-2.0/
-version Summarize version and build info.
Paths:
The program searches for the files "encodings", "lyxmodules.lst",
"textclass.lst", "syntax.default", and "unicodesymbols", first in
"USERDIR", then in "SYSDIR". The subdirectories "USERDIR/layouts"
and "SYSDIR/layouts" are searched for layout and module files.
Check the tex2lyx man page for more details.
26 février 2013 12:46
OK - I have more information on my problemS(
If I close down Lyx and start up again I can import the files- AS LONG AS
I DO NOT OPEN A NEW FILE. If I try and open a new file and import into
that it fails again as I have described.However if I just directly import
then it works fine. I now have to close down Lyx each time and open it
again I need to input a file as I can only do this -- i.e. Import once
each time.-- otherwise I get the flash glance of my folder and return to
the newly opened empty file.
Thanks
Mark
26 février 2013 12:14
Hi Mark,
http://www.lyx.org/trac/ticket/8236
But I'm not sure that's the problem. Is it a problem that it tries to
save? Is the folder write-protected? Do you get an error?
In general, it's difficult to import non-simple LaTeX into LyX. There
have been a lot of improvements to LaTeX importing recently. If you
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
(If I had to guess, though, I do not think this would solve your problem).
Best,
Scott
--
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info
<mailto:***@u-bordeaux4.fr>
Loading...