Re: Import docx to lyx

2023-06-03 Thread Dr Eberhard W Lisse
That requires the use of Word. And costs money.

el


On 02/06/2023 17:57, Jack Lyon wrote:
> LyXConverter does a great job:
>
> https://www.editorium.com/lyxconverter.htm
>
> Full disclosure: I wrote it. :)
>
> Best wishes,
> Jack Lyon

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-03 Thread Dr Eberhard W Lisse
Use the Ultra-Clean option :-)-O

el
On 02/06/2023 14:51, Rich Shepard wrote:
> On Fri, 2 Jun 2023, Dr Eberhard W Lisse wrote:
> 
>> Have you tried Libre Office and the Writer2Latex plug in?
> 
> el,
> 
> Thank you. I didn't know about that plug-in, which will be useful for me,
> too.
> 
> Best regards,
> 
> Rich


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-02 Thread Jack Lyon

LyXConverter does a great job:

https://www.editorium.com/lyxconverter.htm

Full disclosure: I wrote it. :)

Best wishes,
Jack Lyon

On 6/2/2023 6:54 AM, Benedict Holland wrote:
I've tried it. If it works for you, I think that's great. It generated 
really bad formatting for me in my use cases, which is why I forgot 
about it.


Thanks,
Ben

On Fri, Jun 2, 2023, 8:51 AM Rich Shepard  
wrote:


On Fri, 2 Jun 2023, Dr Eberhard W Lisse wrote:

> Have you tried Libre Office and the Writer2Latex plug in?

el,

Thank you. I didn't know about that plug-in, which will be useful
for me,
too.

Best regards,

Rich
-- 
lyx-users mailing list

lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-02 Thread Rich Shepard

On Fri, 2 Jun 2023, Benedict Holland wrote:


I've tried it. If it works for you, I think that's great. It generated
really bad formatting for me in my use cases, which is why I forgot about
it.


Ben,

It's rare for me to need to transfer a Word doc to LaTeX. I'll keep the
plug-in in mind should the need arise.

Thanks for sharing your experiences,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-02 Thread Benedict Holland
I've tried it. If it works for you, I think that's great. It generated
really bad formatting for me in my use cases, which is why I forgot about
it.

Thanks,
Ben

On Fri, Jun 2, 2023, 8:51 AM Rich Shepard  wrote:

> On Fri, 2 Jun 2023, Dr Eberhard W Lisse wrote:
>
> > Have you tried Libre Office and the Writer2Latex plug in?
>
> el,
>
> Thank you. I didn't know about that plug-in, which will be useful for me,
> too.
>
> Best regards,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-02 Thread Rich Shepard

On Fri, 2 Jun 2023, Dr Eberhard W Lisse wrote:


Have you tried Libre Office and the Writer2Latex plug in?


el,

Thank you. I didn't know about that plug-in, which will be useful for me,
too.

Best regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-02 Thread Dr Eberhard W Lisse
Have you tried Libre Office and the Writer2Latex plug in?

And, LyX (or rather LateX) doesn't use (multiple) blank lines.

el


On 01/06/2023 20:58, Matthias Schmidt wrote:
> Hello,
> 
>  
> 
> I want to convert a Word docx-document into a Lyx document. 
> 
> I have tried several online converters that convert docx to tex. When I
> import these tex files into Lyx, the result is reasonably okay, but all
> these online converters cannot recognise blank lines.
> 
> Is there a way to transfer a docx document with all formatting, spaces
> an blanc lines to Lyx?


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import docx to lyx

2023-06-01 Thread Benedict Holland
>From experience, no. It is really not hard to format a docx to latex though.

Really, you are only thinking about lines and some special formatting.
Tables, images, headers, footers, and more make it very complicated. The
formats are diametrically opposite. Docx keeps information on every glif on
the page. Latex keeps markup and text separately with packages to fill in
blanks like biblatex and tables.

If you really need to, I would just do it manually. It's not too much work.
I've had to do it a few times on even large documents.

Thanks
Ben

On Thu, Jun 1, 2023, 6:21 PM Matthias Schmidt  wrote:

> Hello,
>
>
>
> I want to convert a Word docx-document into a Lyx document.
>
> I have tried several online converters that convert docx to tex. When I
> import these tex files into Lyx, the result is reasonably okay, but all
> these online converters cannot recognise blank lines.
>
> Is there a way to transfer a docx document with all formatting, spaces an
> blanc lines to Lyx?
>
>
>
> *-- *Mit freundlichen Grüßen
>
> *Matthias Schmidt *mailto:g...@schmidtfamilie.de 
> 
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import utf-8 encoded latex

2019-11-19 Thread Guenter Milde
On 2019-11-18, Guenter Milde wrote:
> On 2019-11-18, Neal Becker wrote:
>> I'm trying to import a latex table that is in utf-8 and includes some 
>> non-ascii
>> (specifically, the π character).

>> When I try to import to lyx, this character is mangled.

>> If I run tex2lyx manually I get the same result.

>> Both emacs and 'file' say my latex is utf-8.

>> Any ideas?

> Manually convert with `tex2lyx -e utf8` ?

Also, while the preamble line 

   \usepackage[utf8]{inputenc}
   
is no longer required since utf8 became the fallback encoding, it is still
wise to include it to clearly mark the intended encoding.


Günter


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import utf-8 encoded latex

2019-11-19 Thread Jean-Marc Lasgouttes

Le 18/11/2019 à 19:43, Neal Becker a écrit :

I'm trying to import a latex table that is in utf-8 and includes some non-ascii
(specifically, the π character).

When I try to import to lyx, this character is mangled.

If I run tex2lyx manually I get the same result.

Both emacs and 'file' say my latex is utf-8.


Could you show an example file to us? What TeX engine do you use with it?

JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import utf-8 encoded latex

2019-11-18 Thread Guenter Milde
On 2019-11-18, Neal Becker wrote:
> I'm trying to import a latex table that is in utf-8 and includes some 
> non-ascii
> (specifically, the π character).

> When I try to import to lyx, this character is mangled.

> If I run tex2lyx manually I get the same result.

> Both emacs and 'file' say my latex is utf-8.

> Any ideas?

Manually convert with `tex2lyx -e utf8` ?

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Import LaTeX (plain) dialog

2019-03-04 Thread Maria Gouskova
On Fri, Mar 1, 2019 at 1:50 PM Paul A. Rubin  wrote:
>
> On 3/1/19 2:08 AM, Kornel Benko wrote:
> > Am Donnerstag, 28. Februar 2019 23:22:06 CET schrieb Paul A. Rubin 
> > :
> >> On 2/28/19 5:48 PM, Jean-Marc Lasgouttes wrote:
> >>> Le 28/02/2019 à 21:58, Paul A. Rubin a écrit :
>  I'm on my laptop now, which is running a newer version of Mint (19.1
>  Tessa) than my desktop but the same desktop environment (MATE) and
>  the same version of LyX (2.3.2, installed from Liviu's repo), and on
>  my laptop I see the same phenomenon that you do. Not only does the
>  file dialog not show the .tex files, the layout of the dialog matches
>  your screen shot (and not my screen shot from Sylvia).
> 
>  As time permits, I'll try to run the desktop and laptop side by side
>  and see if I can figure out where the difference occurs.
> >>> Could it be a metter of using native file dialogs or not? This is the
> >>> newish \use_native_filedialog setting in preferences (or in lyxrc.dist).
> >>>
> >>> Sorry, I cannot check right now.
> >>>
> >>> JMarc
> >>>
> >> JMarc:
> >>
> >> Where would I find that setting. I don't see it anywhere in the
> >> preferences dialog, and it's not in any file I can find.
> > In preferences add the line
> >   \use_native_filedialog false
> > or
> >   \use_native_filedialog true
> >
> >> Paul
> >   Kornel
> >
> JMarc and Kornel (and Riki and Scott on the dev list): Thanks. This has
> no effect on my desktop, but eliminates the symptoms on the laptop.
>
> Maria and John: If you care to, try adding "\use_native_dialog false" to
> ~/.lyx/preferences and see if that helps. It fixed my laptop.

This did it, thanks!

Maria


Re: Import LaTeX (plain) dialog

2019-03-01 Thread Paul A. Rubin

On 3/1/19 2:08 AM, Kornel Benko wrote:

Am Donnerstag, 28. Februar 2019 23:22:06 CET schrieb Paul A. Rubin 
:

On 2/28/19 5:48 PM, Jean-Marc Lasgouttes wrote:

Le 28/02/2019 à 21:58, Paul A. Rubin a écrit :

I'm on my laptop now, which is running a newer version of Mint (19.1
Tessa) than my desktop but the same desktop environment (MATE) and
the same version of LyX (2.3.2, installed from Liviu's repo), and on
my laptop I see the same phenomenon that you do. Not only does the
file dialog not show the .tex files, the layout of the dialog matches
your screen shot (and not my screen shot from Sylvia).

As time permits, I'll try to run the desktop and laptop side by side
and see if I can figure out where the difference occurs.

Could it be a metter of using native file dialogs or not? This is the
newish \use_native_filedialog setting in preferences (or in lyxrc.dist).

Sorry, I cannot check right now.

JMarc


JMarc:

Where would I find that setting. I don't see it anywhere in the
preferences dialog, and it's not in any file I can find.

In preferences add the line
\use_native_filedialog false
or
\use_native_filedialog true


Paul

Kornel

JMarc and Kornel (and Riki and Scott on the dev list): Thanks. This has 
no effect on my desktop, but eliminates the symptoms on the laptop.


Maria and John: If you care to, try adding "\use_native_dialog false" to 
~/.lyx/preferences and see if that helps. It fixed my laptop.


Paul



Re: Import LaTeX (plain) dialog

2019-02-28 Thread Kornel Benko
Am Donnerstag, 28. Februar 2019 23:22:06 CET schrieb Paul A. Rubin 
:
> On 2/28/19 5:48 PM, Jean-Marc Lasgouttes wrote:
> > Le 28/02/2019 à 21:58, Paul A. Rubin a écrit :
> >> I'm on my laptop now, which is running a newer version of Mint (19.1 
> >> Tessa) than my desktop but the same desktop environment (MATE) and 
> >> the same version of LyX (2.3.2, installed from Liviu's repo), and on 
> >> my laptop I see the same phenomenon that you do. Not only does the 
> >> file dialog not show the .tex files, the layout of the dialog matches 
> >> your screen shot (and not my screen shot from Sylvia).
> >>
> >> As time permits, I'll try to run the desktop and laptop side by side 
> >> and see if I can figure out where the difference occurs.
> >
> > Could it be a metter of using native file dialogs or not? This is the 
> > newish \use_native_filedialog setting in preferences (or in lyxrc.dist).
> >
> > Sorry, I cannot check right now.
> >
> > JMarc
> >
> JMarc:
> 
> Where would I find that setting. I don't see it anywhere in the 
> preferences dialog, and it's not in any file I can find.

In preferences add the line
\use_native_filedialog false
or
\use_native_filedialog true

> Paul

Kornel




signature.asc
Description: This is a digitally signed message part.


Re: Import LaTeX (plain) dialog

2019-02-28 Thread Paul A. Rubin

On 2/28/19 5:48 PM, Jean-Marc Lasgouttes wrote:

Le 28/02/2019 à 21:58, Paul A. Rubin a écrit :
I'm on my laptop now, which is running a newer version of Mint (19.1 
Tessa) than my desktop but the same desktop environment (MATE) and 
the same version of LyX (2.3.2, installed from Liviu's repo), and on 
my laptop I see the same phenomenon that you do. Not only does the 
file dialog not show the .tex files, the layout of the dialog matches 
your screen shot (and not my screen shot from Sylvia).


As time permits, I'll try to run the desktop and laptop side by side 
and see if I can figure out where the difference occurs.


Could it be a metter of using native file dialogs or not? This is the 
newish \use_native_filedialog setting in preferences (or in lyxrc.dist).


Sorry, I cannot check right now.

JMarc


JMarc:

Where would I find that setting. I don't see it anywhere in the 
preferences dialog, and it's not in any file I can find.


Paul



Re: Import LaTeX (plain) dialog

2019-02-28 Thread Jean-Marc Lasgouttes

Le 28/02/2019 à 21:58, Paul A. Rubin a écrit :
I'm on my laptop now, which is running a newer version of Mint (19.1 
Tessa) than my desktop but the same desktop environment (MATE) and the 
same version of LyX (2.3.2, installed from Liviu's repo), and on my 
laptop I see the same phenomenon that you do. Not only does the file 
dialog not show the .tex files, the layout of the dialog matches your 
screen shot (and not my screen shot from Sylvia).


As time permits, I'll try to run the desktop and laptop side by side and 
see if I can figure out where the difference occurs.


Could it be a metter of using native file dialogs or not? This is the 
newish \use_native_filedialog setting in preferences (or in lyxrc.dist).


Sorry, I cannot check right now.

JMarc



Re: Import LaTeX (plain) dialog

2019-02-28 Thread Paul A. Rubin

On 2/28/19 8:24 AM, Maria Gouskova wrote:

Hi all,

Hopefully a quickie--I cannot tell if it's an OS issue or a LyX GUI
issue. I'm on Linux Mint Sarah, LyX 2.3.2. When I go to
File>Import>LaTeX (plain), and the LaTeX file type is chosen in the
drop-down menu in the file open dialog, no .tex files show up. All
files (including .tex ones) are visible when I choose "All Files".

And unrelatedly, in the Export As dialog, the drop-down file type menu
has a number of duplicates: six different LaTeX options, unlabeled,
four Plain Texts, and several Open Documents.

Maria
I'm on my laptop now, which is running a newer version of Mint (19.1 
Tessa) than my desktop but the same desktop environment (MATE) and the 
same version of LyX (2.3.2, installed from Liviu's repo), and on my 
laptop I see the same phenomenon that you do. Not only does the file 
dialog not show the .tex files, the layout of the dialog matches your 
screen shot (and not my screen shot from Sylvia).


As time permits, I'll try to run the desktop and laptop side by side and 
see if I can figure out where the difference occurs.


Paul



Re: Import LaTeX (plain) dialog

2019-02-28 Thread Maria Gouskova
On Thu, Feb 28, 2019 at 1:34 PM Paul A. Rubin  wrote:
>
> On 2/28/19 12:50 PM, Maria Gouskova wrote:
> > On Thu, Feb 28, 2019 at 11:00 AM Paul A. Rubin  wrote:
> >> On 2/28/19 10:39 AM, Maria Gouskova wrote:
> >>> On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin  wrote:
> >>>
> >> Interesting. What version of Qt do you use (4.8.7 here), and what
> >> desktop environment for Sarah (MATE here)? Did you compile LyX yourself
> >> or get a binary somewhere?
> > The desktop environment is Cinnamon.  But it's not Cinnamon vs.
> > MATE--I just logged into MATE and it's got the same issue here.
> Does your file dialog look the same in MATE, or does it look like mine?
> In particular, in MATE does the file filter ("Files of type:") show the
> full details ("LaTeX (plain) (*.tex)")?
> >

No, I am having the same problem regardless of the desktop
environment. MATE and Cinnamon both show an empty window and no .tex
files are visible until I select "All files".

> I wonder if this could be a MIME-type issue? If you go to the relevant
> directory in your file manager (Caja in my case), right click one of the
> .tex files and click on "Properties", what type is it? On my system, the
> MIME type is "TeX document (text/x-tex)".

No, the MIME type is correct (same as yours)--.tex files are TeX documents.


Re: Import LaTeX (plain) dialog

2019-02-28 Thread John Kane
I never noticed before but I am seeing the same blank vs All files display
with Lyx 2.3.2 with Ubuntu 18.04

On Thu, 28 Feb 2019 at 13:35, Paul A. Rubin  wrote:

> On 2/28/19 12:50 PM, Maria Gouskova wrote:
> > On Thu, Feb 28, 2019 at 11:00 AM Paul A. Rubin 
> wrote:
> >> On 2/28/19 10:39 AM, Maria Gouskova wrote:
> >>> On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin 
> wrote:
> >>>
> >> Interesting. What version of Qt do you use (4.8.7 here), and what
> >> desktop environment for Sarah (MATE here)? Did you compile LyX yourself
> >> or get a binary somewhere?
> > The desktop environment is Cinnamon.  But it's not Cinnamon vs.
> > MATE--I just logged into MATE and it's got the same issue here.
> Does your file dialog look the same in MATE, or does it look like mine?
> In particular, in MATE does the file filter ("Files of type:") show the
> full details ("LaTeX (plain) (*.tex)")?
> >
> > Here is the LyX build Info, in case that helps:
> >
> > LyX 2.3.2 (2018-12-08)
> > Configuration
> > Host type: x86_64-pc-linux-gnu
> > Special build flags: build=release std-regex use-hunspell use-aspell
> use-enchant
> > Bundled libraries: (none)
> > C++ Compiler: g++ (5.4.0)
> > C++ Compiler flags: -O2 -std=c++14
> > C++ Compiler user flags:
> > Linker flags:
> > Linker user flags:
> > Qt Frontend:
> > Qt version: 4.8.7
> > Packaging: posix
> > LyX binary dir: /usr/bin
> > LyX files dir: /usr/share/lyx
> That's an exact match to what I have.
> >
> > I cannot remember how I installed LyX originally, to be honest. But I
> > have this in my var/lib/apt/lists:
> >
> > ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_InRelease
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-amd64_Packages
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-i386_Packages
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_i18n_Translation-en
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_source_Sources
> >
> > Which I think means that at some point I added Liviu's PPA and have
> > been just getting it with apt updates.
> I use Liviu's PPA, and I have all the same files except the last one. I
> install binaries from the PPA.
> >
> >> Your file dialog looks substantially different from mine (screen shot
> >> attached). Some of that may be MATE v. Cinnamon (or whatever you're
> >> using), but I find it interesting that your filter drop-down just says
> >> "LaTeX" whereas mine is specific as to the "flavor" of LaTeX. The window
> >> title is properly specific (and matches what I get). The reason I'm so
> >> interested in the filter button is that I'm wondering whether the filter
> >> you are getting is incorrect (for instance, fails to specify .tex as the
> >> extension it wants).
> > I am fairly sure this is a virgin install, without any configuration
> > tinkering--I don't do much personalizing because I switch between
> > machines so much.
> >
> > Maria
> >
> >
> I wonder if this could be a MIME-type issue? If you go to the relevant
> directory in your file manager (Caja in my case), right click one of the
> .tex files and click on "Properties", what type is it? On my system, the
> MIME type is "TeX document (text/x-tex)".
>
> Paul
>
>

-- 
John Kane
Kingston ON Canada


Re: Import LaTeX (plain) dialog

2019-02-28 Thread Paul A. Rubin

On 2/28/19 12:50 PM, Maria Gouskova wrote:

On Thu, Feb 28, 2019 at 11:00 AM Paul A. Rubin  wrote:

On 2/28/19 10:39 AM, Maria Gouskova wrote:

On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin  wrote:


Interesting. What version of Qt do you use (4.8.7 here), and what
desktop environment for Sarah (MATE here)? Did you compile LyX yourself
or get a binary somewhere?

The desktop environment is Cinnamon.  But it's not Cinnamon vs.
MATE--I just logged into MATE and it's got the same issue here.
Does your file dialog look the same in MATE, or does it look like mine? 
In particular, in MATE does the file filter ("Files of type:") show the 
full details ("LaTeX (plain) (*.tex)")?


Here is the LyX build Info, in case that helps:

LyX 2.3.2 (2018-12-08)
Configuration
Host type: x86_64-pc-linux-gnu
Special build flags: build=release std-regex use-hunspell use-aspell use-enchant
Bundled libraries: (none)
C++ Compiler: g++ (5.4.0)
C++ Compiler flags: -O2 -std=c++14
C++ Compiler user flags:
Linker flags:
Linker user flags:
Qt Frontend:
Qt version: 4.8.7
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx

That's an exact match to what I have.


I cannot remember how I installed LyX originally, to be honest. But I
have this in my var/lib/apt/lists:

ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_InRelease
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-amd64_Packages
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-i386_Packages
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_i18n_Translation-en
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_source_Sources

Which I think means that at some point I added Liviu's PPA and have
been just getting it with apt updates.
I use Liviu's PPA, and I have all the same files except the last one. I 
install binaries from the PPA.



Your file dialog looks substantially different from mine (screen shot
attached). Some of that may be MATE v. Cinnamon (or whatever you're
using), but I find it interesting that your filter drop-down just says
"LaTeX" whereas mine is specific as to the "flavor" of LaTeX. The window
title is properly specific (and matches what I get). The reason I'm so
interested in the filter button is that I'm wondering whether the filter
you are getting is incorrect (for instance, fails to specify .tex as the
extension it wants).

I am fairly sure this is a virgin install, without any configuration
tinkering--I don't do much personalizing because I switch between
machines so much.

Maria


I wonder if this could be a MIME-type issue? If you go to the relevant 
directory in your file manager (Caja in my case), right click one of the 
.tex files and click on "Properties", what type is it? On my system, the 
MIME type is "TeX document (text/x-tex)".


Paul



Re: Import LaTeX (plain) dialog

2019-02-28 Thread Maria Gouskova
On Thu, Feb 28, 2019 at 11:00 AM Paul A. Rubin  wrote:
>
> On 2/28/19 10:39 AM, Maria Gouskova wrote:
> > On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin  wrote:
> >> On 2/28/19 8:24 AM, Maria Gouskova wrote:
> >>> Hi all,
> >>>
> >>> Hopefully a quickie--I cannot tell if it's an OS issue or a LyX GUI
> >>> issue. I'm on Linux Mint Sarah, LyX 2.3.2. When I go to
> >>> File>Import>LaTeX (plain), and the LaTeX file type is chosen in the
> >>> drop-down menu in the file open dialog, no .tex files show up. All
> >>> files (including .tex ones) are visible when I choose "All Files".
> >>>
> >>> And unrelatedly, in the Export As dialog, the drop-down file type menu
> >>> has a number of duplicates: six different LaTeX options, unlabeled,
> >>> four Plain Texts, and several Open Documents.
> >>>
> >>> Maria
> >> Maria,
> >>
> >> I'm also on Mint Sarah, LyX 2.3.2. When I select File > Import > LaTeX
> >> (plain) and navigate to a folder containing .tex files, I see them (with
> >> the filter set to "LaTeX (plain) (*.tex)"). Can you upload a screen shot
> >> of what you are seeing (or not seeing)? It would help if you used a
> >> small directory, so that all the files appeared in the window (no
> >> scrolling required).
> > Screenshots attached.
> >
> > I've verified that this is an issue on both of my Mint Sarah
> > installations. I didn't copy the configurations between these, so it's
> > independent. (And the one that the screenshots are from is barely
> > configured--not my main machine for writing).
> >
> >
> Interesting. What version of Qt do you use (4.8.7 here), and what
> desktop environment for Sarah (MATE here)? Did you compile LyX yourself
> or get a binary somewhere?

The desktop environment is Cinnamon.  But it's not Cinnamon vs.
MATE--I just logged into MATE and it's got the same issue here.

Here is the LyX build Info, in case that helps:

LyX 2.3.2 (2018-12-08)
Configuration
Host type: x86_64-pc-linux-gnu
Special build flags: build=release std-regex use-hunspell use-aspell use-enchant
Bundled libraries: (none)
C++ Compiler: g++ (5.4.0)
C++ Compiler flags: -O2 -std=c++14
C++ Compiler user flags:
Linker flags:
Linker user flags:
Qt Frontend:
Qt version: 4.8.7
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx

I cannot remember how I installed LyX originally, to be honest. But I
have this in my var/lib/apt/lists:

ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_InRelease
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-amd64_Packages
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-i386_Packages
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_i18n_Translation-en
ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_source_Sources

Which I think means that at some point I added Liviu's PPA and have
been just getting it with apt updates.

> Your file dialog looks substantially different from mine (screen shot
> attached). Some of that may be MATE v. Cinnamon (or whatever you're
> using), but I find it interesting that your filter drop-down just says
> "LaTeX" whereas mine is specific as to the "flavor" of LaTeX. The window
> title is properly specific (and matches what I get). The reason I'm so
> interested in the filter button is that I'm wondering whether the filter
> you are getting is incorrect (for instance, fails to specify .tex as the
> extension it wants).

I am fairly sure this is a virgin install, without any configuration
tinkering--I don't do much personalizing because I switch between
machines so much.

Maria


> Also, I misspoke (slightly) -- I forgot I had upgraded from Sarah to
> Sylvia. It made no difference in how LyX works, at least for me.
>
> Paul
>


Re: Import LaTeX (plain) dialog

2019-02-28 Thread Kornel Benko
Am Donnerstag, 28. Februar 2019 10:39:11 CET schrieb Maria Gouskova 
:
> > I'm also on Mint Sarah, LyX 2.3.2. When I select File > Import > LaTeX
> > (plain) and navigate to a folder containing .tex files, I see them (with
> > the filter set to "LaTeX (plain) (*.tex)"). Can you upload a screen shot
> > of what you are seeing (or not seeing)? It would help if you used a
> > small directory, so that all the files appeared in the window (no
> > scrolling required).
> 
> Screenshots attached.
> 
> I've verified that this is an issue on both of my Mint Sarah
> installations. I didn't copy the configurations between these, so it's
> independent. (And the one that the screenshots are from is barely
> configured--not my main machine for writing).
> 

I use mint too, and here it works with lyx2.3 and also with lyx2.4.dev.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Import LaTeX (plain) dialog

2019-02-28 Thread Paul A. Rubin

On 2/28/19 10:39 AM, Maria Gouskova wrote:

On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin  wrote:

On 2/28/19 8:24 AM, Maria Gouskova wrote:

Hi all,

Hopefully a quickie--I cannot tell if it's an OS issue or a LyX GUI
issue. I'm on Linux Mint Sarah, LyX 2.3.2. When I go to
File>Import>LaTeX (plain), and the LaTeX file type is chosen in the
drop-down menu in the file open dialog, no .tex files show up. All
files (including .tex ones) are visible when I choose "All Files".

And unrelatedly, in the Export As dialog, the drop-down file type menu
has a number of duplicates: six different LaTeX options, unlabeled,
four Plain Texts, and several Open Documents.

Maria

Maria,

I'm also on Mint Sarah, LyX 2.3.2. When I select File > Import > LaTeX
(plain) and navigate to a folder containing .tex files, I see them (with
the filter set to "LaTeX (plain) (*.tex)"). Can you upload a screen shot
of what you are seeing (or not seeing)? It would help if you used a
small directory, so that all the files appeared in the window (no
scrolling required).

Screenshots attached.

I've verified that this is an issue on both of my Mint Sarah
installations. I didn't copy the configurations between these, so it's
independent. (And the one that the screenshots are from is barely
configured--not my main machine for writing).


Interesting. What version of Qt do you use (4.8.7 here), and what 
desktop environment for Sarah (MATE here)? Did you compile LyX yourself 
or get a binary somewhere?


Your file dialog looks substantially different from mine (screen shot 
attached). Some of that may be MATE v. Cinnamon (or whatever you're 
using), but I find it interesting that your filter drop-down just says 
"LaTeX" whereas mine is specific as to the "flavor" of LaTeX. The window 
title is properly specific (and matches what I get). The reason I'm so 
interested in the filter button is that I'm wondering whether the filter 
you are getting is incorrect (for instance, fails to specify .tex as the 
extension it wants).


Also, I misspoke (slightly) -- I forgot I had upgraded from Sarah to 
Sylvia. It made no difference in how LyX works, at least for me.


Paul



Re: Import LaTeX (plain) dialog

2019-02-28 Thread Maria Gouskova
On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin  wrote:
>
> On 2/28/19 8:24 AM, Maria Gouskova wrote:
> > Hi all,
> >
> > Hopefully a quickie--I cannot tell if it's an OS issue or a LyX GUI
> > issue. I'm on Linux Mint Sarah, LyX 2.3.2. When I go to
> > File>Import>LaTeX (plain), and the LaTeX file type is chosen in the
> > drop-down menu in the file open dialog, no .tex files show up. All
> > files (including .tex ones) are visible when I choose "All Files".
> >
> > And unrelatedly, in the Export As dialog, the drop-down file type menu
> > has a number of duplicates: six different LaTeX options, unlabeled,
> > four Plain Texts, and several Open Documents.
> >
> > Maria
> Maria,
>
> I'm also on Mint Sarah, LyX 2.3.2. When I select File > Import > LaTeX
> (plain) and navigate to a folder containing .tex files, I see them (with
> the filter set to "LaTeX (plain) (*.tex)"). Can you upload a screen shot
> of what you are seeing (or not seeing)? It would help if you used a
> small directory, so that all the files appeared in the window (no
> scrolling required).

Screenshots attached.

I've verified that this is an issue on both of my Mint Sarah
installations. I didn't copy the configurations between these, so it's
independent. (And the one that the screenshots are from is barely
configured--not my main machine for writing).



> Regarding the Export As dialog, the file filter options there match the
> file formats recognized by LyX (Tools > Preferences... > File Handling >
> Formats > Format:). I don't use most of them, but I presume the
> assumption is that source files for various formats might contain some
> differences. If the length of the filter list is bothersome, I suppose
> you could always delete the ones you do not anticipate using (Remove
> button in the file handling dialog).
>
> Paul
>
>


Re: Import LaTeX (plain) dialog

2019-02-28 Thread Jean-Marc Lasgouttes

Le 28/02/2019 à 15:36, Paul A. Rubin a écrit :
Regarding the Export As dialog, the file filter options there match the 
file formats recognized by LyX (Tools > Preferences... > File Handling > 
Formats > Format:). I don't use most of them, but I presume the 
assumption is that source files for various formats might contain some 
differences. If the length of the filter list is bothersome, I suppose 
you could always delete the ones you do not anticipate using (Remove 
button in the file handling dialog).


If the formats have been created by Reconfigure, I suspect that removing 
them will not help.


And indeed, there are differences with some of the variants (but not all 
pf them).


JMarc


Re: Import LaTeX (plain) dialog

2019-02-28 Thread Paul A. Rubin

On 2/28/19 8:24 AM, Maria Gouskova wrote:

Hi all,

Hopefully a quickie--I cannot tell if it's an OS issue or a LyX GUI
issue. I'm on Linux Mint Sarah, LyX 2.3.2. When I go to
File>Import>LaTeX (plain), and the LaTeX file type is chosen in the
drop-down menu in the file open dialog, no .tex files show up. All
files (including .tex ones) are visible when I choose "All Files".

And unrelatedly, in the Export As dialog, the drop-down file type menu
has a number of duplicates: six different LaTeX options, unlabeled,
four Plain Texts, and several Open Documents.

Maria

Maria,

I'm also on Mint Sarah, LyX 2.3.2. When I select File > Import > LaTeX 
(plain) and navigate to a folder containing .tex files, I see them (with 
the filter set to "LaTeX (plain) (*.tex)"). Can you upload a screen shot 
of what you are seeing (or not seeing)? It would help if you used a 
small directory, so that all the files appeared in the window (no 
scrolling required).


Regarding the Export As dialog, the file filter options there match the 
file formats recognized by LyX (Tools > Preferences... > File Handling > 
Formats > Format:). I don't use most of them, but I presume the 
assumption is that source files for various formats might contain some 
differences. If the length of the filter list is bothersome, I suppose 
you could always delete the ones you do not anticipate using (Remove 
button in the file handling dialog).


Paul




Re: Import Literatur /Citation

2016-03-22 Thread Dr Eberhard Lisse
Steffi,

RTFM :-)-O

And if it does not work, you must make a minimal example, ie copy the
work into a new file, and remove everything from it which does not
produce the error.

If that doesn't lead to a solution you post that file with a
corresponding BIB file of a few entries and probably someone will
figure it out.


el

On 2016-03-18 18:41, Steffi Meindl wrote:
> Hi!
> 
> I am new user of lyx.  I Need it to write scientific publicaitons
> thus I have to insert citations every now and then in my test and
> make Literaturlist at the end of the document.
> 
> For my literatur I use Mendeley.
> 
>  
> 
> But how can I insert citations ?  I don´t find my Literatur/ papers
> though I have already syncronized my mendeley library with bibTex
> 
> I don´t have any Literatur in my LYX file ( see below)
> 
>  
> 
>  
> 
> And there is also nothing about this in the tutorial
> 
>  
> 
> Hope you can help me
> 
>  
> 
> Sincerely
> 
> Stefanie Meindl



Re: Import Literatur /Citation

2016-03-19 Thread Joel Kulesza
Stefanie,

The UserGuide has a section on Bibliography and BibTeX — this is probably
what you want.

Short version: Insert -> List/TOC -> BibTeX Bibliography, Add, Browse, , choose style, OK.

Then, Insert -> Citation.

Hope this helps,
Joel

On Fri, Mar 18, 2016 at 12:41 PM, Steffi Meindl  wrote:

> Hi!
>
> I am new user of lyx. I Need it to write scientific publicaitons thus I
> have to insert citations every now and then in my test and make
> Literaturlist at the end of the document.
>
> For my literatur I use Mendeley.
>
>
>
> But how can I insert citations ? I don´t find my Literatur/ papers though
> I  have already syncronized my mendeley library with bibTex
>
> I don´t have any Literatur in my LYX file ( see below)
>
>
>
>
>
> And there is also nothing about this in the tutorial
>
>
>
> Hope you can help me
>
>
>
> Sincerely
>
> Stefanie Meindl
>
>
>
> Gesendet von Mail  für
> Windows 10
>
>
>


Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev reuven.se...@gmail.com wrote:
 Hi,
 How can import a LaTeX file into LyX so that the LaTeX macros are imported
 into LyX math macros?


Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19t=26277

Scott


Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev reuven.se...@gmail.com wrote:
 Hi,
 How can import a LaTeX file into LyX so that the LaTeX macros are imported
 into LyX math macros?


Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19t=26277

Scott


Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev  wrote:
> Hi,
> How can import a LaTeX file into LyX so that the LaTeX macros are imported
> into LyX math macros?
>

Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19=26277

Scott


Re: Import of text in a Lyx Tex section (ctrl-L) omits carriage returns

2014-11-07 Thread Liviu Andronic
On Fri, Nov 7, 2014 at 7:03 PM, aldus 85 pc_de...@outlook.fr wrote:
 Hello !



 Sorry for this stupid question :



 I frequently import Tex fragments in a Tex insert (ctrl-L). The shame is
 that it looses all the carriage returns (CR) in the process : I have to
 enter them manually …

 I tried a find/replace but I can’t replace with a CR nor I can easily
 identify where to make the replacement.



 Is there a way to proceed such as “Paste special” or anything else easy not
 to loose the CR ?

Try ctrl+shift+v.

Liviu




 Thanks !



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: Import of text in a Lyx Tex section (ctrl-L) omits carriage returns

2014-11-07 Thread aldus 85
It worked !

Thank you so much !


 Le 7 nov. 2014 à 21:18, Liviu Andronic landronim...@gmail.com a écrit :
 
 On Fri, Nov 7, 2014 at 7:03 PM, aldus 85 pc_de...@outlook.fr wrote:
 Hello !
 
 
 
 Sorry for this stupid question :
 
 
 
 I frequently import Tex fragments in a Tex insert (ctrl-L). The shame is
 that it looses all the carriage returns (CR) in the process : I have to
 enter them manually …
 
 I tried a find/replace but I can’t replace with a CR nor I can easily
 identify where to make the replacement.
 
 
 
 Is there a way to proceed such as “Paste special” or anything else easy not
 to loose the CR ?
 Try ctrl+shift+v.
 
 Liviu
 
 
 
 
 Thanks !
 
 
 
 -- 
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Import of text in a Lyx Tex section (ctrl-L) omits carriage returns

2014-11-07 Thread Liviu Andronic
On Fri, Nov 7, 2014 at 7:03 PM, aldus 85 pc_de...@outlook.fr wrote:
 Hello !



 Sorry for this stupid question :



 I frequently import Tex fragments in a Tex insert (ctrl-L). The shame is
 that it looses all the carriage returns (CR) in the process : I have to
 enter them manually …

 I tried a find/replace but I can’t replace with a CR nor I can easily
 identify where to make the replacement.



 Is there a way to proceed such as “Paste special” or anything else easy not
 to loose the CR ?

Try ctrl+shift+v.

Liviu




 Thanks !



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: Import of text in a Lyx Tex section (ctrl-L) omits carriage returns

2014-11-07 Thread aldus 85
It worked !

Thank you so much !


 Le 7 nov. 2014 à 21:18, Liviu Andronic landronim...@gmail.com a écrit :
 
 On Fri, Nov 7, 2014 at 7:03 PM, aldus 85 pc_de...@outlook.fr wrote:
 Hello !
 
 
 
 Sorry for this stupid question :
 
 
 
 I frequently import Tex fragments in a Tex insert (ctrl-L). The shame is
 that it looses all the carriage returns (CR) in the process : I have to
 enter them manually …
 
 I tried a find/replace but I can’t replace with a CR nor I can easily
 identify where to make the replacement.
 
 
 
 Is there a way to proceed such as “Paste special” or anything else easy not
 to loose the CR ?
 Try ctrl+shift+v.
 
 Liviu
 
 
 
 
 Thanks !
 
 
 
 -- 
 Do you think you know what math is?
 http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
 Or what it means to be intelligent?
 http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
 Think again:
 http://www.ideasroadshow.com/library



Re: Import of text in a Lyx Tex section (ctrl-L) omits carriage returns

2014-11-07 Thread Liviu Andronic
On Fri, Nov 7, 2014 at 7:03 PM, aldus 85  wrote:
> Hello !
>
>
>
> Sorry for this stupid question :
>
>
>
> I frequently import Tex fragments in a Tex insert (ctrl-L). The shame is
> that it looses all the carriage returns (CR) in the process : I have to
> enter them manually …
>
> I tried a find/replace but I can’t replace with a CR nor I can easily
> identify where to make the replacement.
>
>
>
> Is there a way to proceed such as “Paste special” or anything else easy not
> to loose the CR ?
>
Try ctrl+shift+v.

Liviu


>
>
> Thanks !



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: Import of text in a Lyx Tex section (ctrl-L) omits carriage returns

2014-11-07 Thread aldus 85
It worked !

Thank you so much !


> Le 7 nov. 2014 à 21:18, "Liviu Andronic"  a écrit :
> 
>> On Fri, Nov 7, 2014 at 7:03 PM, aldus 85  wrote:
>> Hello !
>> 
>> 
>> 
>> Sorry for this stupid question :
>> 
>> 
>> 
>> I frequently import Tex fragments in a Tex insert (ctrl-L). The shame is
>> that it looses all the carriage returns (CR) in the process : I have to
>> enter them manually …
>> 
>> I tried a find/replace but I can’t replace with a CR nor I can easily
>> identify where to make the replacement.
>> 
>> 
>> 
>> Is there a way to proceed such as “Paste special” or anything else easy not
>> to loose the CR ?
> Try ctrl+shift+v.
> 
> Liviu
> 
> 
>> 
>> 
>> Thanks !
> 
> 
> 
> -- 
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think again:
> http://www.ideasroadshow.com/library



Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
 Is it possible to import Docbook files into LyX?
 
 Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
 Is it possible to import Docbook files into LyX?
 
 Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
> Is it possible to import Docbook files into LyX?
> 
> Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: Import tex file and reinterpret layout structure

2013-05-31 Thread Richard Heck

On 05/31/2013 11:51 AM, Yann Le Du wrote:

Hello,

I've unsuccessfully tried to find a solution to that problem: I write 
in Lyx using AMS book. I export to tex and reimport. The layout is 
lost, replaced by ERT. How may I ask Lyx to parse the file and 
interpret the layout nicely ?


All layouts or lost, or some?

rh



Re: Import tex file and reinterpret layout structure

2013-05-31 Thread Richard Heck

On 05/31/2013 11:51 AM, Yann Le Du wrote:

Hello,

I've unsuccessfully tried to find a solution to that problem: I write 
in Lyx using AMS book. I export to tex and reimport. The layout is 
lost, replaced by ERT. How may I ask Lyx to parse the file and 
interpret the layout nicely ?


All layouts or lost, or some?

rh



Re: Import tex file and reinterpret layout structure

2013-05-31 Thread Richard Heck

On 05/31/2013 11:51 AM, Yann Le Du wrote:

Hello,

I've unsuccessfully tried to find a solution to that problem: I write 
in Lyx using AMS book. I export to tex and reimport. The layout is 
lost, replaced by ERT. How may I ask Lyx to parse the file and 
interpret the layout nicely ?


All layouts or lost, or some?

rh



Re: import tex-file to lyx with containing ERT-information

2013-05-16 Thread Tino Langer

Hello Uwe,

I tried it with the following snippet of tex-code
...
\multicolumn{6}{|l|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
...

Here, \cellcolor[gray]{0.7} should be surrounded by an ERT. But in LyX 
it isn't it. Have it to be marked as one command?


Many thanks - Tino

Am 15.05.2013 23:55, schrieb Uwe Stöhr:

Am 15.05.2013 11:07, schrieb Tino Langer:

from an own delevolped softwaretool I export statistics via 
tex-files, which I then import in lyx to
use it in different documents. In a special case I generate tables 
and I want to format some table
cells with the latex command \cellcolor. When I do this in lyx, I 
insert an ERT and insert the latex

code.

My question is how the 'generated' latex-code have to be, that the 
tex2lyx-converter generates an

ERT for the resulting lyx-file.


tex2lyx generates TeX-code for all things it don't understand. So the 
easiest way is to leave everything as it is.
For the LaTeX code generated by LyX for your table, use the menu 
View-View Source.


regards Uwe




Re: import tex-file to lyx with containing ERT-information

2013-05-16 Thread Uwe Stöhr

Am 16.05.2013 22:07, schrieb Tino Langer:


I tried it with the following snippet of tex-code
...
\multicolumn{6}{|l|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
...

Here, \cellcolor[gray]{0.7} should be surrounded by an ERT. But in LyX it isn't 
it. Have it to be
marked as one command?


You found a bug. Attached is the original LyX-file. When you export this to TeX you get the attached 
TeX file. When you import the TeX file (which contains your command), you get the attached result. 
And in the result the square brackets are indeed not in TeX-code so the document is uncompilable.

Could you please report this bug to our bugtracker:
http://www.lyx.org/trac/wiki/BugTrackerHome
(set the component to tex2lyx and CC uwestoehr)

regards Uwe
%% LyX 2.0.6 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
\usepackage{colortbl}

\makeatother

\usepackage{babel}
\begin{document}
\begin{tabular}{|cc|}
\multicolumn{6}{|c|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
  \tabularnewline
\end{tabular}
\end{document}


tex2lyx-original.lyx
Description: application/lyx


tex2lyx-test.lyx
Description: application/lyx


Re: import tex-file to lyx with containing ERT-information

2013-05-16 Thread Tino Langer

Hello Uwe,

I tried it with the following snippet of tex-code
...
\multicolumn{6}{|l|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
...

Here, \cellcolor[gray]{0.7} should be surrounded by an ERT. But in LyX 
it isn't it. Have it to be marked as one command?


Many thanks - Tino

Am 15.05.2013 23:55, schrieb Uwe Stöhr:

Am 15.05.2013 11:07, schrieb Tino Langer:

from an own delevolped softwaretool I export statistics via 
tex-files, which I then import in lyx to
use it in different documents. In a special case I generate tables 
and I want to format some table
cells with the latex command \cellcolor. When I do this in lyx, I 
insert an ERT and insert the latex

code.

My question is how the 'generated' latex-code have to be, that the 
tex2lyx-converter generates an

ERT for the resulting lyx-file.


tex2lyx generates TeX-code for all things it don't understand. So the 
easiest way is to leave everything as it is.
For the LaTeX code generated by LyX for your table, use the menu 
View-View Source.


regards Uwe




Re: import tex-file to lyx with containing ERT-information

2013-05-16 Thread Uwe Stöhr

Am 16.05.2013 22:07, schrieb Tino Langer:


I tried it with the following snippet of tex-code
...
\multicolumn{6}{|l|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
...

Here, \cellcolor[gray]{0.7} should be surrounded by an ERT. But in LyX it isn't 
it. Have it to be
marked as one command?


You found a bug. Attached is the original LyX-file. When you export this to TeX you get the attached 
TeX file. When you import the TeX file (which contains your command), you get the attached result. 
And in the result the square brackets are indeed not in TeX-code so the document is uncompilable.

Could you please report this bug to our bugtracker:
http://www.lyx.org/trac/wiki/BugTrackerHome
(set the component to tex2lyx and CC uwestoehr)

regards Uwe
%% LyX 2.0.6 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
\usepackage{colortbl}

\makeatother

\usepackage{babel}
\begin{document}
\begin{tabular}{|cc|}
\multicolumn{6}{|c|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
  \tabularnewline
\end{tabular}
\end{document}


tex2lyx-original.lyx
Description: application/lyx


tex2lyx-test.lyx
Description: application/lyx


Re: import tex-file to lyx with containing ERT-information

2013-05-16 Thread Tino Langer

Hello Uwe,

I tried it with the following snippet of tex-code
...
\multicolumn{6}{|l|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
...

Here, \cellcolor[gray]{0.7} should be surrounded by an ERT. But in LyX 
it isn't it. Have it to be marked as one command?


Many thanks - Tino

Am 15.05.2013 23:55, schrieb Uwe Stöhr:

Am 15.05.2013 11:07, schrieb Tino Langer:

from an own delevolped softwaretool I export statistics via 
tex-files, which I then import in lyx to
use it in different documents. In a special case I generate tables 
and I want to format some table
cells with the latex command \cellcolor. When I do this in lyx, I 
insert an ERT and insert the latex

code.

My question is how the 'generated' latex-code have to be, that the 
tex2lyx-converter generates an

ERT for the resulting lyx-file.


tex2lyx generates TeX-code for all things it don't understand. So the 
easiest way is to leave everything as it is.
For the LaTeX code generated by LyX for your table, use the menu 
View->View Source.


regards Uwe




Re: import tex-file to lyx with containing ERT-information

2013-05-16 Thread Uwe Stöhr

Am 16.05.2013 22:07, schrieb Tino Langer:


I tried it with the following snippet of tex-code
...
\multicolumn{6}{|l|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
...

Here, \cellcolor[gray]{0.7} should be surrounded by an ERT. But in LyX it isn't 
it. Have it to be
marked as one command?


You found a bug. Attached is the original LyX-file. When you export this to TeX you get the attached 
TeX file. When you import the TeX file (which contains your command), you get the attached result. 
And in the result the square brackets are indeed not in TeX-code so the document is uncompilable.

Could you please report this bug to our bugtracker:
http://www.lyx.org/trac/wiki/BugTrackerHome
(set the component to "tex2lyx" and CC "uwestoehr")

regards Uwe
%% LyX 2.0.6 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
\usepackage{colortbl}

\makeatother

\usepackage{babel}
\begin{document}
\begin{tabular}{|cc|}
\multicolumn{6}{|c|}{\cellcolor[gray]{0.7}HIER EIN TEXT}\tabularnewline
 &  &  &  &  & \tabularnewline
\end{tabular}
\end{document}


tex2lyx-original.lyx
Description: application/lyx


tex2lyx-test.lyx
Description: application/lyx


Re: import tex-file to lyx with containing ERT-information

2013-05-15 Thread Uwe Stöhr

Am 15.05.2013 11:07, schrieb Tino Langer:


from an own delevolped softwaretool I export statistics via tex-files, which I 
then import in lyx to
use it in different documents. In a special case I generate tables and I want 
to format some table
cells with the latex command \cellcolor. When I do this in lyx, I insert an ERT 
and insert the latex
code.

My question is how the 'generated' latex-code have to be, that the 
tex2lyx-converter generates an
ERT for the resulting lyx-file.


tex2lyx generates TeX-code for all things it don't understand. So the easiest way is to leave 
everything as it is.

For the LaTeX code generated by LyX for your table, use the menu View-View 
Source.

regards Uwe


Re: import tex-file to lyx with containing ERT-information

2013-05-15 Thread Uwe Stöhr

Am 15.05.2013 11:07, schrieb Tino Langer:


from an own delevolped softwaretool I export statistics via tex-files, which I 
then import in lyx to
use it in different documents. In a special case I generate tables and I want 
to format some table
cells with the latex command \cellcolor. When I do this in lyx, I insert an ERT 
and insert the latex
code.

My question is how the 'generated' latex-code have to be, that the 
tex2lyx-converter generates an
ERT for the resulting lyx-file.


tex2lyx generates TeX-code for all things it don't understand. So the easiest way is to leave 
everything as it is.

For the LaTeX code generated by LyX for your table, use the menu View-View 
Source.

regards Uwe


Re: import tex-file to lyx with containing ERT-information

2013-05-15 Thread Uwe Stöhr

Am 15.05.2013 11:07, schrieb Tino Langer:


from an own delevolped softwaretool I export statistics via tex-files, which I 
then import in lyx to
use it in different documents. In a special case I generate tables and I want 
to format some table
cells with the latex command \cellcolor. When I do this in lyx, I insert an ERT 
and insert the latex
code.

My question is how the 'generated' latex-code have to be, that the 
tex2lyx-converter generates an
ERT for the resulting lyx-file.


tex2lyx generates TeX-code for all things it don't understand. So the easiest way is to leave 
everything as it is.

For the LaTeX code generated by LyX for your table, use the menu View->View 
Source.

regards Uwe


Re: Import plain latex from Scientific word

2013-02-28 Thread Scott Kostyshak
On Tue, Feb 26, 2013 at 7:53 AM, Mark Salmon markhsal...@gmail.com wrote:
 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


Re: Import plain latex from Scientific word

2013-02-28 Thread Scott Kostyshak
On Tue, Feb 26, 2013 at 7:53 AM, Mark Salmon markhsal...@gmail.com wrote:
 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


Re: Import plain latex from Scientific word

2013-02-28 Thread Scott Kostyshak
On Tue, Feb 26, 2013 at 7:53 AM, Mark Salmon  wrote:
> 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Scott Kostyshak
Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com wrote:
 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:14, Scott Kostyshak skost...@princeton.edu wrote:

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Gyorgy SZEIDL

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com wrote:

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





Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:27, Gyorgy SZEIDL gyorgy.sze...@uni-miskolc.hu wrote:

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
 Hi Mark,

 On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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






Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:27, Gyorgy SZEIDL gyorgy.sze...@uni-miskolc.hu wrote:

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
 Hi Mark,

 On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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






Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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



On 26/02/2013 11:14, Scott Kostyshak skost...@princeton.edu wrote:

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Scott Kostyshak
On Tue, Feb 26, 2013 at 6:46 AM, Mark Salmon markhsal...@gmail.com wrote:
 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Murat Yildizoglu
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.



   	   
   	Mark Salmon  
  26 fvrier 2013 
12:46
  OK - I have more 
information on my problemIf I close down Lyx and start up again I 
can import the files- AS LONG ASI DO NOT OPEN A NEW FILE. If I try 
and  open a new file and import intothat it fails again as I have 
described.However if I just directly importthen it works fine. I now
 have to close down Lyx each time and open itagain I need to input a
 file as I can only do this -- i.e. Import onceeach time.-- 
otherwise I get the flash glance of my folder and return tothe newly
 opened empty file.ThanksMark
   	   
   	Scott Kostyshak  
  26 fvrier 2013 
12:14
  Hi Mark,LyX
 does try to save after importing:http://www.lyx.org/trac/ticket/8236But
 I'm not sure that's the problem. Is it a problem that it tries tosave?
 Is the folder write-protected? Do you get an error?In general, 
it's difficult to import non-simple LaTeX into LyX. Therehave been a
 lot of improvements to LaTeX importing recently. If youhappen 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


-- Prof. Murat YildizogluUniversit
 Montesquieu Bordeaux IVGREThA (UMR CNRS 5113)Avenue Lon 
Duguit33608 Pessac cedexFranceBureau :
 E-331
Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info







Re: Import plain latex from Scientific word

2013-02-26 Thread 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

On 26/02/2013 11:58, Scott Kostyshak skost...@princeton.edu wrote:

On Tue, Feb 26, 2013 at 6:46 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Scott Kostyshak
Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com wrote:
 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:14, Scott Kostyshak skost...@princeton.edu wrote:

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Gyorgy SZEIDL

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com wrote:

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





Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:27, Gyorgy SZEIDL gyorgy.sze...@uni-miskolc.hu wrote:

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
 Hi Mark,

 On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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






Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:27, Gyorgy SZEIDL gyorgy.sze...@uni-miskolc.hu wrote:

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy
 Hi Mark,

 On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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






Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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



On 26/02/2013 11:14, Scott Kostyshak skost...@princeton.edu wrote:

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Scott Kostyshak
On Tue, Feb 26, 2013 at 6:46 AM, Mark Salmon markhsal...@gmail.com wrote:
 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Murat Yildizoglu
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.



   	   
   	Mark Salmon  
  26 fvrier 2013 
12:46
  OK - I have more 
information on my problemIf I close down Lyx and start up again I 
can import the files- AS LONG ASI DO NOT OPEN A NEW FILE. If I try 
and  open a new file and import intothat it fails again as I have 
described.However if I just directly importthen it works fine. I now
 have to close down Lyx each time and open itagain I need to input a
 file as I can only do this -- i.e. Import onceeach time.-- 
otherwise I get the flash glance of my folder and return tothe newly
 opened empty file.ThanksMark
   	   
   	Scott Kostyshak  
  26 fvrier 2013 
12:14
  Hi Mark,LyX
 does try to save after importing:http://www.lyx.org/trac/ticket/8236But
 I'm not sure that's the problem. Is it a problem that it tries tosave?
 Is the folder write-protected? Do you get an error?In general, 
it's difficult to import non-simple LaTeX into LyX. Therehave been a
 lot of improvements to LaTeX importing recently. If youhappen 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


-- Prof. Murat YildizogluUniversit
 Montesquieu Bordeaux IVGREThA (UMR CNRS 5113)Avenue Lon 
Duguit33608 Pessac cedexFranceBureau :
 E-331
Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info







Re: Import plain latex from Scientific word

2013-02-26 Thread 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

On 26/02/2013 11:58, Scott Kostyshak skost...@princeton.edu wrote:

On Tue, Feb 26, 2013 at 6:46 AM, Mark Salmon markhsal...@gmail.com
wrote:
 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Scott Kostyshak
Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon  wrote:
> 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:14, "Scott Kostyshak"  wrote:

>Hi Mark,
>
>On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon 
>wrote:
>> 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Gyorgy SZEIDL

hi mark,
have you used the portable option when saving the file
in swp?
best regards
györgy

Hi Mark,

On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon  wrote:

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





Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:27, "Gyorgy SZEIDL"  wrote:

>hi mark,
>have you used the portable option when saving the file
>in swp?
>best regards
>györgy
>> Hi Mark,
>>
>> On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon 
>>wrote:
>>> 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
>>
>




Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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

On 26/02/2013 11:27, "Gyorgy SZEIDL"  wrote:

>hi mark,
>have you used the portable option when saving the file
>in swp?
>best regards
>györgy
>> Hi Mark,
>>
>> On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon 
>>wrote:
>>> 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
>>
>




Re: Import plain latex from Scientific word

2013-02-26 Thread Mark Salmon
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



On 26/02/2013 11:14, "Scott Kostyshak"  wrote:

>Hi Mark,
>
>On Tue, Feb 26, 2013 at 5:41 AM, Mark Salmon 
>wrote:
>> 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




Re: Import plain latex from Scientific word

2013-02-26 Thread Scott Kostyshak
On Tue, Feb 26, 2013 at 6:46 AM, Mark Salmon  wrote:
> 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


Re: Import plain latex from Scientific word

2013-02-26 Thread Murat Yildizoglu
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.



   	   
   	Mark Salmon  
  26 février 2013 
12:46
  OK - I have more 
information on my problemŠIf I close down Lyx and start up again I 
can import the files- AS LONG ASI DO NOT OPEN A NEW FILE. If I try 
and  open a new file and import intothat it fails again as I have 
described.However if I just directly importthen it works fine. I now
 have to close down Lyx each time and open itagain I need to input a
 file as I can only do this -- i.e. Import onceeach time.-- 
otherwise I get the flash glance of my folder and return tothe newly
 opened empty file.ThanksMark
   	   
   	Scott Kostyshak  
  26 février 2013 
12:14
  Hi Mark,LyX
 does try to save after importing:http://www.lyx.org/trac/ticket/8236But
 I'm not sure that's the problem. Is it a problem that it tries tosave?
 Is the folder write-protected? Do you get an error?In general, 
it's difficult to import non-simple LaTeX into LyX. Therehave been a
 lot of improvements to LaTeX importing recently. If youhappen 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


-- Prof. Murat YildizogluUniversité
 Montesquieu Bordeaux IV GREThA (UMR CNRS 5113)Avenue Léon 
Duguit33608 Pessac cedexFranceBureau :
 E-331
Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info







Re: Import plain latex from Scientific word

2013-02-26 Thread 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

On 26/02/2013 11:58, "Scott Kostyshak"  wrote:

>On Tue, Feb 26, 2013 at 6:46 AM, Mark Salmon 
>wrote:
>> 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




RE: Import Latex vs AMS Layout

2012-11-15 Thread R.Prihatin
Dear Richard,

Attached please find the files: the original lyx file (sample1.lyx), the 
exported latex file (sampletex.tex), and the imported back lyx file 
(sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

Thank you in advance for your help.

Regards,

Rahayu


From: Richard Heck [rgh...@lyx.org]
Sent: Tuesday, November 13, 2012 7:18 PM
To: Prihatin, R. (Rahayu); lyx-users
Subject: Re: Import Latex vs AMS Layout

On 10/22/2012 10:16 AM, Rahayu wrote:
 I enjoy working with LyX very much,
 however I have to exchange .tex files with my colleagues,
 because Latex is the common format for them.
 So I export my work in LyX to .tex format, however when I get my
 file back, and I need to import the .tex file to LyX again,
 it doesn't recognize the Theorem and appear in
 ERT or latex box, which is so inconvenient.

 Anyone could help please?

What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Richard



sample1.lyx
Description: sample1.lyx


sampletex.lyx
Description: sampletex.lyx


sampletex.tex
Description: sampletex.tex


Re: Import Latex vs AMS Layout

2012-11-15 Thread Scott Kostyshak
On Thu, Nov 15, 2012 at 4:06 AM,  r.priha...@utwente.nl wrote:
 Dear Richard,

 Attached please find the files: the original lyx file (sample1.lyx), the 
 exported latex file (sampletex.tex), and the imported back lyx file 
 (sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

From what I understand, this depends on
http://www.lyx.org/trac/ticket/5702 . This bug is fixed in trunk, so
you will have to wait until 2.1 or possibly 2.0.6. If you happen to be
using Ubuntu, it's very easy to install the PPA and get the
development version. Otherwise, you would need to compile LyX.

Scott


RE: Import Latex vs AMS Layout

2012-11-15 Thread R.Prihatin
Dear Richard,

Attached please find the files: the original lyx file (sample1.lyx), the 
exported latex file (sampletex.tex), and the imported back lyx file 
(sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

Thank you in advance for your help.

Regards,

Rahayu


From: Richard Heck [rgh...@lyx.org]
Sent: Tuesday, November 13, 2012 7:18 PM
To: Prihatin, R. (Rahayu); lyx-users
Subject: Re: Import Latex vs AMS Layout

On 10/22/2012 10:16 AM, Rahayu wrote:
 I enjoy working with LyX very much,
 however I have to exchange .tex files with my colleagues,
 because Latex is the common format for them.
 So I export my work in LyX to .tex format, however when I get my
 file back, and I need to import the .tex file to LyX again,
 it doesn't recognize the Theorem and appear in
 ERT or latex box, which is so inconvenient.

 Anyone could help please?

What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Richard



sample1.lyx
Description: sample1.lyx


sampletex.lyx
Description: sampletex.lyx


sampletex.tex
Description: sampletex.tex


Re: Import Latex vs AMS Layout

2012-11-15 Thread Scott Kostyshak
On Thu, Nov 15, 2012 at 4:06 AM,  r.priha...@utwente.nl wrote:
 Dear Richard,

 Attached please find the files: the original lyx file (sample1.lyx), the 
 exported latex file (sampletex.tex), and the imported back lyx file 
 (sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

From what I understand, this depends on
http://www.lyx.org/trac/ticket/5702 . This bug is fixed in trunk, so
you will have to wait until 2.1 or possibly 2.0.6. If you happen to be
using Ubuntu, it's very easy to install the PPA and get the
development version. Otherwise, you would need to compile LyX.

Scott


RE: Import Latex vs AMS Layout

2012-11-15 Thread R.Prihatin
Dear Richard,

Attached please find the files: the original lyx file (sample1.lyx), the 
exported latex file (sampletex.tex), and the imported back lyx file 
(sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

Thank you in advance for your help.

Regards,

Rahayu


From: Richard Heck [rgh...@lyx.org]
Sent: Tuesday, November 13, 2012 7:18 PM
To: Prihatin, R. (Rahayu); lyx-users
Subject: Re: Import Latex vs AMS Layout

On 10/22/2012 10:16 AM, Rahayu wrote:
> I enjoy working with LyX very much,
> however I have to exchange .tex files with my colleagues,
> because Latex is the common format for them.
> So I export my work in LyX to .tex format, however when I get my
> file back, and I need to import the .tex file to LyX again,
> it doesn't recognize the Theorem and appear in
> ERT or latex box, which is so inconvenient.
>
> Anyone could help please?
>
What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Richard



sample1.lyx
Description: sample1.lyx


sampletex.lyx
Description: sampletex.lyx


sampletex.tex
Description: sampletex.tex


Re: Import Latex vs AMS Layout

2012-11-15 Thread Scott Kostyshak
On Thu, Nov 15, 2012 at 4:06 AM,   wrote:
> Dear Richard,
>
> Attached please find the files: the original lyx file (sample1.lyx), the 
> exported latex file (sampletex.tex), and the imported back lyx file 
> (sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

>From what I understand, this depends on
http://www.lyx.org/trac/ticket/5702 . This bug is fixed in trunk, so
you will have to wait until 2.1 or possibly 2.0.6. If you happen to be
using Ubuntu, it's very easy to install the PPA and get the
development version. Otherwise, you would need to compile LyX.

Scott


Re: Import Latex vs AMS Layout

2012-11-13 Thread Richard Heck

On 10/22/2012 10:16 AM, Rahayu wrote:

I enjoy working with LyX very much,
however I have to exchange .tex files with my colleagues,
because Latex is the common format for them.
So I export my work in LyX to .tex format, however when I get my
file back, and I need to import the .tex file to LyX again,
it doesn't recognize the Theorem and appear in
ERT or latex box, which is so inconvenient.

Anyone could help please?


What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Richard



Re: Import Latex vs AMS Layout

2012-11-13 Thread Georg Baum
Richard Heck wrote:

 On 10/22/2012 10:16 AM, Rahayu wrote:
 I enjoy working with LyX very much,
 however I have to exchange .tex files with my colleagues,
 because Latex is the common format for them.
 So I export my work in LyX to .tex format, however when I get my
 file back, and I need to import the .tex file to LyX again,
 it doesn't recognize the Theorem and appear in
 ERT or latex box, which is so inconvenient.

 Anyone could help please?

 What version of LyX are you using? Can you post the simplest possible
 example file that causes this problem for you?

Not needed, this is bug http://www.lyx.org/trac/ticket/5702. He sent the 
same mail privately to me on october 23rd, and I already answered. If I had 
known that others got the same mail my answer would have been different.


Georg



Re: Import Latex vs AMS Layout

2012-11-13 Thread Richard Heck

On 11/13/2012 02:25 PM, Georg Baum wrote:

Richard Heck wrote:


On 10/22/2012 10:16 AM, Rahayu wrote:

I enjoy working with LyX very much,
however I have to exchange .tex files with my colleagues,
because Latex is the common format for them.
So I export my work in LyX to .tex format, however when I get my
file back, and I need to import the .tex file to LyX again,
it doesn't recognize the Theorem and appear in
ERT or latex box, which is so inconvenient.

Anyone could help please?


What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Not needed, this is bug http://www.lyx.org/trac/ticket/5702. He sent the
same mail privately to me on october 23rd, and I already answered. If I had
known that others got the same mail my answer would have been different.


Ahh, that one again. Looks like I answered an old email

rh



Re: Import Latex vs AMS Layout

2012-11-13 Thread Richard Heck

On 10/22/2012 10:16 AM, Rahayu wrote:

I enjoy working with LyX very much,
however I have to exchange .tex files with my colleagues,
because Latex is the common format for them.
So I export my work in LyX to .tex format, however when I get my
file back, and I need to import the .tex file to LyX again,
it doesn't recognize the Theorem and appear in
ERT or latex box, which is so inconvenient.

Anyone could help please?


What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Richard



Re: Import Latex vs AMS Layout

2012-11-13 Thread Georg Baum
Richard Heck wrote:

 On 10/22/2012 10:16 AM, Rahayu wrote:
 I enjoy working with LyX very much,
 however I have to exchange .tex files with my colleagues,
 because Latex is the common format for them.
 So I export my work in LyX to .tex format, however when I get my
 file back, and I need to import the .tex file to LyX again,
 it doesn't recognize the Theorem and appear in
 ERT or latex box, which is so inconvenient.

 Anyone could help please?

 What version of LyX are you using? Can you post the simplest possible
 example file that causes this problem for you?

Not needed, this is bug http://www.lyx.org/trac/ticket/5702. He sent the 
same mail privately to me on october 23rd, and I already answered. If I had 
known that others got the same mail my answer would have been different.


Georg



Re: Import Latex vs AMS Layout

2012-11-13 Thread Richard Heck

On 11/13/2012 02:25 PM, Georg Baum wrote:

Richard Heck wrote:


On 10/22/2012 10:16 AM, Rahayu wrote:

I enjoy working with LyX very much,
however I have to exchange .tex files with my colleagues,
because Latex is the common format for them.
So I export my work in LyX to .tex format, however when I get my
file back, and I need to import the .tex file to LyX again,
it doesn't recognize the Theorem and appear in
ERT or latex box, which is so inconvenient.

Anyone could help please?


What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Not needed, this is bug http://www.lyx.org/trac/ticket/5702. He sent the
same mail privately to me on october 23rd, and I already answered. If I had
known that others got the same mail my answer would have been different.


Ahh, that one again. Looks like I answered an old email

rh



Re: Import Latex vs AMS Layout

2012-11-13 Thread Richard Heck

On 10/22/2012 10:16 AM, Rahayu wrote:

I enjoy working with LyX very much,
however I have to exchange .tex files with my colleagues,
because Latex is the common format for them.
So I export my work in LyX to .tex format, however when I get my
file back, and I need to import the .tex file to LyX again,
it doesn't recognize the Theorem and appear in
ERT or latex box, which is so inconvenient.

Anyone could help please?


What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Richard



Re: Import Latex vs AMS Layout

2012-11-13 Thread Georg Baum
Richard Heck wrote:

> On 10/22/2012 10:16 AM, Rahayu wrote:
>> I enjoy working with LyX very much,
>> however I have to exchange .tex files with my colleagues,
>> because Latex is the common format for them.
>> So I export my work in LyX to .tex format, however when I get my
>> file back, and I need to import the .tex file to LyX again,
>> it doesn't recognize the Theorem and appear in
>> ERT or latex box, which is so inconvenient.
>>
>> Anyone could help please?
>>
> What version of LyX are you using? Can you post the simplest possible
> example file that causes this problem for you?

Not needed, this is bug http://www.lyx.org/trac/ticket/5702. He sent the 
same mail privately to me on october 23rd, and I already answered. If I had 
known that others got the same mail my answer would have been different.


Georg



Re: Import Latex vs AMS Layout

2012-11-13 Thread Richard Heck

On 11/13/2012 02:25 PM, Georg Baum wrote:

Richard Heck wrote:


On 10/22/2012 10:16 AM, Rahayu wrote:

I enjoy working with LyX very much,
however I have to exchange .tex files with my colleagues,
because Latex is the common format for them.
So I export my work in LyX to .tex format, however when I get my
file back, and I need to import the .tex file to LyX again,
it doesn't recognize the Theorem and appear in
ERT or latex box, which is so inconvenient.

Anyone could help please?


What version of LyX are you using? Can you post the simplest possible
example file that causes this problem for you?

Not needed, this is bug http://www.lyx.org/trac/ticket/5702. He sent the
same mail privately to me on october 23rd, and I already answered. If I had
known that others got the same mail my answer would have been different.


Ahh, that one again. Looks like I answered an old email

rh



Re: import ms word

2012-09-19 Thread Richard Heck

On 09/19/2012 08:05 AM, Csikos Bela wrote:

Hello:

In openSUSE 11.2 system lyx 2.0.2 had File-
Import-MS Word option. In openSUSE 12.1 lyx
2.0.4 this option is missing.
Was it removed from lyx, or does it require some
dependency?

Seems to require wvCleanLatex.

rh



Re: import ms word

2012-09-19 Thread Richard Heck

On 09/19/2012 08:05 AM, Csikos Bela wrote:

Hello:

In openSUSE 11.2 system lyx 2.0.2 had File-
Import-MS Word option. In openSUSE 12.1 lyx
2.0.4 this option is missing.
Was it removed from lyx, or does it require some
dependency?

Seems to require wvCleanLatex.

rh



Re: import ms word

2012-09-19 Thread Richard Heck

On 09/19/2012 08:05 AM, Csikos Bela wrote:

Hello:

In openSUSE 11.2 system lyx 2.0.2 had File->
Import->MS Word option. In openSUSE 12.1 lyx
2.0.4 this option is missing.
Was it removed from lyx, or does it require some
dependency?

Seems to require wvCleanLatex.

rh



  1   2   3   4   5   6   >