Re: Lyx2.1 problem with metafile2eps converter

2014-05-10 Thread aparsloe

On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:

Hi,

I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images from adobe reader with the embedded 
tool and paste directly on lyx (ctrl+V)... I have a error message "Can not open Metafle to EPS converter 
printer" (without "i" on "Metafle" :o)

When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe the 
same error occur... Any idea ?

Thanks

Didier
I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the 
copy and paste works without problems, so this looks like a problem at 
your end rather than with LyX.


Andrew


Re: is it possible to create a lyx file as flat ASCII file?

2014-05-10 Thread Thirsty Camel
Hey, that is new for me. Thanks a lot, I will have a look

Still, if anyone can tell me if the lyx-file format has any hidden data or
quirks that would be most welcome. If I know I can create lyx files without
using lyx (e.g. emacs or python), that would be very useful.

Many thanks




2014-05-10 17:30 GMT-03:00 Stephan Witt :

> Am 10.05.2014 um 17:35 schrieb Thirsty Camel :
>
> > Nope, I would not like to export
> >
> > What I would like is:
> > 1. create a plain text file (*.lyx)
> > 2. import into main document
> >
> > One step more: ideally I would like to use a script to select all
> figures in a folder and create a lyx file that can be imported into the
> main document.
>
> LyX is scriptable. But you need a running instance.
>
> See the chapter about the LyX Server in the Additional Manual.
>
> Perhaps this is helpful to solve your task.
>
> Stephan
>
> > 2014-05-10 5:09 GMT-03:00 Stephan Witt :
> > Am 10.05.2014 um 02:36 schrieb Thirsty Camel :
> >
> > > Hmm, I spent quite a lot of time doing that without much success even
> with very simple files. Is there anyone who has working tried and made it
> work?
> > >
> > > Is it necessary to copy the complete header of lyx files - is there a
> minimum header and footer?
> >
> > Is "Export => Simple Text" what you want?
>
>


Re: is it possible to create a lyx file as flat ASCII file?

2014-05-10 Thread Stephan Witt
Am 10.05.2014 um 17:35 schrieb Thirsty Camel :

> Nope, I would not like to export
> 
> What I would like is:
> 1. create a plain text file (*.lyx)
> 2. import into main document
> 
> One step more: ideally I would like to use a script to select all figures in 
> a folder and create a lyx file that can be imported into the main document.

LyX is scriptable. But you need a running instance.

See the chapter about the LyX Server in the Additional Manual.

Perhaps this is helpful to solve your task.

Stephan

> 2014-05-10 5:09 GMT-03:00 Stephan Witt :
> Am 10.05.2014 um 02:36 schrieb Thirsty Camel :
> 
> > Hmm, I spent quite a lot of time doing that without much success even with 
> > very simple files. Is there anyone who has working tried and made it work?
> >
> > Is it necessary to copy the complete header of lyx files - is there a 
> > minimum header and footer?
> 
> Is "Export => Simple Text" what you want?



Lyx2.1 problem with metafile2eps converter

2014-05-10 Thread didiergabory
Hi,

I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images from 
adobe reader with the embedded tool and paste directly on lyx (ctrl+V)... I 
have a error message "Can not open Metafle to EPS converter printer" (without 
"i" on "Metafle" :o)

When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe the 
same error occur... Any idea ?

Thanks

Didier


Re: is it possible to create a lyx file as flat ASCII file?

2014-05-10 Thread Thirsty Camel
Nope, I would not like to export

What I would like is:
1. create a plain text file (*.lyx)
2. import into main document

One step more: ideally I would like to use a script to select all figures
in a folder and create a lyx file that can be imported into the main
document.


2014-05-10 5:09 GMT-03:00 Stephan Witt :

> Am 10.05.2014 um 02:36 schrieb Thirsty Camel :
>
> > Hmm, I spent quite a lot of time doing that without much success even
> with very simple files. Is there anyone who has working tried and made it
> work?
> >
> > Is it necessary to copy the complete header of lyx files - is there a
> minimum header and footer?
>
> Is "Export => Simple Text" what you want?
>
> Stephan
>
>


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner
Alas, not [auto]...at least, not in LyX 2.0.8. Other settings were already  
as you specified.


It doesn't throw an error, but the language isn't being set to english, so  
blindtext is outputting lorem ipsum, not english and math as it should.


attempt at quasi-MWE and pdf output attached. Note absence of math, though  
\setmathfont is working now.


Actually, ntitai, I tried this originally...before  putting  
\usepackage[english]{babel} (as the blintext manual directs) in the  
language custom area (which now works), and that's where I came in...the  
circle is complete. hakunamatata.


david

PS I haven't updated to LyX 2.1 yet...no, I'll confess: I mean I did  
update, but got errors with my files (apparently others too...); I rolled  
back and was going to try again, but as I was cleaning up/backing up the  
files I needed, got snagged in this blindtext problem...you caught me :-)



On Sat, 10 May 2014 17:02:11 +0900, Guenter Milde   
wrote:



On 2014-05-10, asllearner wrote:

This I knew not. But, you are quite correct, it works charmingly.



(specifically, in the language package custom
area:\usepackage{polyglossia}, and in preamble:
\setdefaultlanguage{english} )


Then, you can also do this a more "LyXish" way:

 * Document>Settings>Fonts  [x] use non-TeX fonts
 * Document>Settings>Language language-package [auto]  (or polyglossia)
 * Document>Settings>Language English
Günter





--
Using Opera's mail client: http://www.opera.com/mail/

blindtext polyglossia test.lyx
Description: Binary data


blindtext_polyglossia_test.pdf
Description: Adobe PDF document


Re: is it possible to create a lyx file as flat ASCII file?

2014-05-10 Thread Guenter Milde
On 2014-05-10, Thirsty Camel wrote:
>
> Hmm, I spent quite a lot of time doing that without much success even with
> very simple files. Is there anyone who has working tried and made it work?
>
> Is it necessary to copy the complete header of lyx files - is there a
> minimum header and footer?

I don't know the absolute minimum, but I woudl use LyX to create a
template (empty document or some dummy content or to-be-customized
content) and then use this as a base for the script-generated LyX-file.

Günter



Re: is it possible to create a lyx file as flat ASCII file?

2014-05-10 Thread Stephan Witt
Am 10.05.2014 um 02:36 schrieb Thirsty Camel :

> Hmm, I spent quite a lot of time doing that without much success even with 
> very simple files. Is there anyone who has working tried and made it work?
> 
> Is it necessary to copy the complete header of lyx files - is there a minimum 
> header and footer?

Is "Export => Simple Text" what you want?

Stephan



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread Guenter Milde
On 2014-05-10, asllearner wrote:
> This I knew not. But, you are quite correct, it works charmingly.

> (specifically, in the language package custom  
> area:\usepackage{polyglossia}, and in preamble:  
> \setdefaultlanguage{english} )

Then, you can also do this a more "LyXish" way:

 * Document>Settings>Fonts  [x] use non-TeX fonts
 * Document>Settings>Language language-package [auto]  (or polyglossia)
 * Document>Settings>Language English
 
Günter