User Dictionary on Mac

2014-06-09 Thread Dr Eberhard Lisse
Hi,

where is the user dictionary for the native spell checker for 2.1 located?

I added a misspelled word :-)-O

el



Re: User Dictionary on Mac

2014-06-09 Thread Stephan Witt
Am 09.06.2014 um 11:28 schrieb Dr Eberhard Lisse nos...@lisse.na:

 Hi,
 
 where is the user dictionary for the native spell checker for 2.1 located?
 
 I added a misspelled word :-)-O

The question is: how to remove the misspelled word, IMHO.

You position the cursor/pointer inside the misspelled word 
and use the context menu (right mouse button). In case of
a word in personal dictionary LyX offers you to remove it 
again.

Stephan

PS. Your original question isn't easily to answer.
The native spell checker is an OS service. I think it's
not worth the effort to find that answer because Apple is
free to change such details at any time.


Re: User Dictionary on Mac

2014-06-09 Thread Dr Eberhard Lisse
That's good enough for me,

thank you very much,

el

on 2014-06-09, 11:31 Stephan Witt said the following:
 Am 09.06.2014 um 11:28 schrieb Dr Eberhard Lisse nos...@lisse.na:
 
 Hi,

 where is the user dictionary for the native spell checker for 2.1 located?

 I added a misspelled word :-)-O
 
 The question is: how to remove the misspelled word, IMHO.
 
 You position the cursor/pointer inside the misspelled word 
 and use the context menu (right mouse button). In case of
 a word in personal dictionary LyX offers you to remove it 
 again.
 
 Stephan
 
 PS. Your original question isn't easily to answer.
 The native spell checker is an OS service. I think it's
 not worth the effort to find that answer because Apple is
 free to change such details at any time.
 

-- 
Dr. Eberhard W. Lisse  \/ Obstetrician  Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/


Re: Lualatex at startup

2014-06-09 Thread Julio Rojas
Thanks everybody. What I did was killing lualatex.exe at the very moment it
is started by the configuration script, which in turn continues without any
more hiccups until Lyx is started correctly.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Sun, Jun 8, 2014 at 4:32 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Sun, Jun 8, 2014 at 3:04 PM, Richard Heck rgh...@lyx.org wrote:

 On 06/07/2014 10:12 PM, Julio Rojas wrote:

 Dear all,

 I have just tried to install Lyx 2.1 on my Windows 7 PC on which I
 already had Lyx 2.0.6 and TexLive 2013, so I went the update way. During
 configuration, Lyx runs LuaLatex which in turn gets stuck and start
 bloating and eating all the resources. I tried killing the script
 (python.exe). Lyx starts telling me that there were no classes installed. I
 tried reconfigure, but had the same result.

 Has somebody had this problem?


 For some reason, the lualatex configuratoin check takes a very long time.
 I don't know why it would cause such huge problems, but if you want to work
 around this:


 It may due to LuaTex's caching of all the system fonts, carried out by (I
 believe) luaotfload at startup. It may take a long time if you have lots of
 installed fonts.

 S.

 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies Ph:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org



Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Murat Yildizoglu

Thanks Alex,
That opens new and nice perspectives.

I have just thought about another possibility: Since the Sage software 
uses Python as a glue, it must be also possible to use the Sage module 
for LyX to make computations in Python in Sage and include the results 
in the final PDF file.
That reminds me that I should check the Sage module for the last version 
of Lyx (have not had any time to look at it yet).


Best regards,

Murat

Alex Vergara Gil a écrit :

Dear Lyxers!
Studying a little of python and LyX I have reached to this feature 
that makes LyX show and process python graphics. Thanks to Rainer M 
Krug for the hints. I share this contribution for LyX under LGPL 
license, so everyone benefits from it. Good luck and happy lyxing!

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana Cuba
PS: If Rainer agree, pass him from acknowledgements to author list, 
please.


--
Université de Bordeaux http://www.u-bordeaux.fr CNRS 
http://www.cnrs.fr/aquitaine-limousin


Prof. Murat Yildizoglu mailto:yi...@u-bordeaux4.fr

GREThA (UMR CNRS 5113)
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

yildizoglu.info http://yildizoglu.info



Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Alex Vergara Gil
- Original Message - From: Kornel Benko Sent: Monday, June 09, 2014 
8:40 AM

Am Montag, 9. Juni 2014 um 08:07:16, schrieb Alex Vergara Gil a...@cphr.edu.cu
 Dear Lyxers!
 
 Studying a little of python and LyX I have reached to this feature that makes 
 LyX show and process python graphics. Thanks to Rainer M Krug for the hints. 
 I share this contribution for LyX under LGPL license, so everyone benefits 
 from it. Good luck and happy lyxing!
 
 Alex Vergara Gil
 MSc Nuclear Physics
 SSDL, CPHR, Havana Cuba
 
 PS: If Rainer agree, pass him from acknowledgements to author list, please.

  Trying
   # python example.pygr x.eps
  I saw, I had to install matplotlib and pandas. Thats OK, this example shows 
now in lyx too.
  Fortunately it was included in debian package manager.
Indeed, to obtain python graphics matplotlib is required, pandas is a robust 
library to handle with complex data. Both are in any package manager. The fact 
that this displays in lyx too is a very nice extra. My first intention was to 
have a module that insert python code and executes it, but this way is far 
simpler and reaches the same objective.
  But the try
   # python example2.pygr x.eps
  leads to
   ImportError: No module named seaborn
  After installing also python-pip and using
   # sudo pip install seaborn
  I got the expected output.
  This should be documented somewhere I think.
  Nice work.
   Kornel
In this case my intention was to show that any other python library can be used 
as well, and it is expected a little knowledge of python from the user, since 
it is the user itself who will build its own graphic script. But your hint is 
valid, it should be documented how to obtain extra python packages too.

Regards
Alex

Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Wolfgang Engelmann

where in lyx is this done?--
Define a new converter from Python graphics to EPS as

python $$i $$o

Wolfgang

Am 09.06.2014 15:07, schrieb Alex Vergara Gil:

Dear Lyxers!

Studying a little of python and LyX I have reached to this feature that makes 
LyX show and process python graphics. Thanks to Rainer M Krug for the hints. I 
share this contribution for LyX under LGPL license, so everyone benefits from 
it. Good luck and happy lyxing!

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana Cuba

PS: If Rainer agree, pass him from acknowledgements to author list, please.





Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Alex Vergara Gil

  - Original Message - 
  From: Wolfgang Engelmann 
  To: lyx-users@lists.lyx.org 
  Sent: Monday, June 09, 2014 12:55 PM
  Subject: Re: Python Graphics in LyX [was: Python bindings]


  where in lyx is this done?--
  Define a new converter from Python graphics to EPS as

  python $$i $$o

  Wolfgang


If you have followed the little manual you know in tools - preferences there is 
two options, one that says file types and the other says converters
in the first you define the Python graphics file type
in the second you define the converter

regards
Alex

How to include child documents in Lyx

2014-06-09 Thread umair durrani
I have asked this question on tex.stackexchange but got no answer so far. I am 
new to LaTeX and LyX. For writing my thesis I got 2 files from university: 
uw_masters_thesis.sty and sample_thesis.tex. The sample file contains 
\usepackage{uw_masters_thesis} in preamble. If I use LaTex I simply put both 
files in same directory and include child documents by using \include or \input 
in the sample_thesis.tex document.The embedded objects manual in LyX suggests 
to specify the Document Class of master document in child document. But in my 
case the document class is Report (Standard Class). In my understanding, what 
uses the style file is the \usepackage{uw_masters_thesis} in preamble.I am 
creating thesis chapters (child documents) in lyx without specifying any thing 
in Document Stettings. I want them to use the style provided by .sty file and 
finally include all of them in master document. How can I achieve this in Lyx. 
Please suggest a step by step solution.

Umair Durrani
Master's candidate 
Civil and Environmental Engineering
University of Windsor 

Re: reconfiguration fails (miktex)

2014-06-09 Thread Paul A . Rubin
I don't have ready access to a Windows partition with LyX 2.1 any more, so
I'm winging this a bit. I noticed your path to lyx.exe contained cygdrive:

 $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure

By any chance does that mean you have LyX installed on a machine running
Cygwin? Years ago I had problems with reconfiguring LyX because Cygwin had a
(broken, as I recall) version of latex that appeared on the command path
ahead of the MiKTeX version. If that's the case for you, moving MiKTeX's bin
directory ahead of the Cygwin bin directory on the system command path might
help. (I would put LyX's bin directory ahead of Cygwin's as well.)

Paul






Re: How to include child documents in Lyx

2014-06-09 Thread Benedict Holland
http://flukylogs.blogspot.com/2009/09/install-style-files-in-lyx.html

The .sty file is your style file. It is used for formatting. The
sample_thesis.tex file is a raw latex file (presumably so you can test the
style to make sure you get the required output). You do not ever want to
include these. They are not for that. What you want to do is import the sty
file and make it into a document class. Then you want to edit the file in
lyx. The PDF that you generate should be the same format as the sample.

I don't think that this is a trivial amount of work to get working but it
isn't too much. What you want to search for in google is lyx sty and it
comes up with a mess of useful links.

~Ben


On Mon, Jun 9, 2014 at 3:46 PM, umair durrani umairdurr...@outlook.com
wrote:

 I have asked this question on tex.stackexchange but got no answer so far. I
 am new to LaTeX and LyX. For writing my thesis I got 2 files from
 university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
 contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
 simply put both files in same directory and include child documents by
 using \include or \input in the sample_thesis.tex document.
 The embedded objects manual in LyX suggests to specify the Document Class of
 master document in child document. But in my case the document class is Report
 (Standard Class). In my understanding, what uses the style file is the
 \usepackage{uw_masters_thesis} in preamble.
 I am creating thesis chapters (child documents) in lyx without specifying
 any thing in Document Stettings. I want them to use the style provided by
 .sty file and finally include all of them in master document. How can I
 achieve this in Lyx. Please suggest a step by step solution.


 Umair Durrani
 Master's candidate
 Civil and Environmental Engineering
 University of Windsor



Re: Thesis formatting

2014-06-09 Thread PhilipPirrip
Remember that the commands in LaTeX are just macros, they collect any 
text and expand it where needed.


What you need is a command in the preamble of your LyX document of this 
kind:


\degree{Master of Science\\ \vspace{\baselineskip} in\\ 
\vspace{\baselineskip} Nuclear Engineering}



As I said, commands containing a @ have only been made for internal 
class use, they are not in user space.




User Dictionary on Mac

2014-06-09 Thread Dr Eberhard Lisse
Hi,

where is the user dictionary for the native spell checker for 2.1 located?

I added a misspelled word :-)-O

el



Re: User Dictionary on Mac

2014-06-09 Thread Stephan Witt
Am 09.06.2014 um 11:28 schrieb Dr Eberhard Lisse nos...@lisse.na:

 Hi,
 
 where is the user dictionary for the native spell checker for 2.1 located?
 
 I added a misspelled word :-)-O

The question is: how to remove the misspelled word, IMHO.

You position the cursor/pointer inside the misspelled word 
and use the context menu (right mouse button). In case of
a word in personal dictionary LyX offers you to remove it 
again.

Stephan

PS. Your original question isn't easily to answer.
The native spell checker is an OS service. I think it's
not worth the effort to find that answer because Apple is
free to change such details at any time.


Re: User Dictionary on Mac

2014-06-09 Thread Dr Eberhard Lisse
That's good enough for me,

thank you very much,

el

on 2014-06-09, 11:31 Stephan Witt said the following:
 Am 09.06.2014 um 11:28 schrieb Dr Eberhard Lisse nos...@lisse.na:
 
 Hi,

 where is the user dictionary for the native spell checker for 2.1 located?

 I added a misspelled word :-)-O
 
 The question is: how to remove the misspelled word, IMHO.
 
 You position the cursor/pointer inside the misspelled word 
 and use the context menu (right mouse button). In case of
 a word in personal dictionary LyX offers you to remove it 
 again.
 
 Stephan
 
 PS. Your original question isn't easily to answer.
 The native spell checker is an OS service. I think it's
 not worth the effort to find that answer because Apple is
 free to change such details at any time.
 

-- 
Dr. Eberhard W. Lisse  \/ Obstetrician  Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/


Re: Lualatex at startup

2014-06-09 Thread Julio Rojas
Thanks everybody. What I did was killing lualatex.exe at the very moment it
is started by the configuration script, which in turn continues without any
more hiccups until Lyx is started correctly.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Sun, Jun 8, 2014 at 4:32 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Sun, Jun 8, 2014 at 3:04 PM, Richard Heck rgh...@lyx.org wrote:

 On 06/07/2014 10:12 PM, Julio Rojas wrote:

 Dear all,

 I have just tried to install Lyx 2.1 on my Windows 7 PC on which I
 already had Lyx 2.0.6 and TexLive 2013, so I went the update way. During
 configuration, Lyx runs LuaLatex which in turn gets stuck and start
 bloating and eating all the resources. I tried killing the script
 (python.exe). Lyx starts telling me that there were no classes installed. I
 tried reconfigure, but had the same result.

 Has somebody had this problem?


 For some reason, the lualatex configuratoin check takes a very long time.
 I don't know why it would cause such huge problems, but if you want to work
 around this:


 It may due to LuaTex's caching of all the system fonts, carried out by (I
 believe) luaotfload at startup. It may take a long time if you have lots of
 installed fonts.

 S.

 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies Ph:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org



Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Murat Yildizoglu

Thanks Alex,
That opens new and nice perspectives.

I have just thought about another possibility: Since the Sage software 
uses Python as a glue, it must be also possible to use the Sage module 
for LyX to make computations in Python in Sage and include the results 
in the final PDF file.
That reminds me that I should check the Sage module for the last version 
of Lyx (have not had any time to look at it yet).


Best regards,

Murat

Alex Vergara Gil a écrit :

Dear Lyxers!
Studying a little of python and LyX I have reached to this feature 
that makes LyX show and process python graphics. Thanks to Rainer M 
Krug for the hints. I share this contribution for LyX under LGPL 
license, so everyone benefits from it. Good luck and happy lyxing!

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana Cuba
PS: If Rainer agree, pass him from acknowledgements to author list, 
please.


--
Université de Bordeaux http://www.u-bordeaux.fr CNRS 
http://www.cnrs.fr/aquitaine-limousin


Prof. Murat Yildizoglu mailto:yi...@u-bordeaux4.fr

GREThA (UMR CNRS 5113)
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

yildizoglu.info http://yildizoglu.info



Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Alex Vergara Gil
- Original Message - From: Kornel Benko Sent: Monday, June 09, 2014 
8:40 AM

Am Montag, 9. Juni 2014 um 08:07:16, schrieb Alex Vergara Gil a...@cphr.edu.cu
 Dear Lyxers!
 
 Studying a little of python and LyX I have reached to this feature that makes 
 LyX show and process python graphics. Thanks to Rainer M Krug for the hints. 
 I share this contribution for LyX under LGPL license, so everyone benefits 
 from it. Good luck and happy lyxing!
 
 Alex Vergara Gil
 MSc Nuclear Physics
 SSDL, CPHR, Havana Cuba
 
 PS: If Rainer agree, pass him from acknowledgements to author list, please.

  Trying
   # python example.pygr x.eps
  I saw, I had to install matplotlib and pandas. Thats OK, this example shows 
now in lyx too.
  Fortunately it was included in debian package manager.
Indeed, to obtain python graphics matplotlib is required, pandas is a robust 
library to handle with complex data. Both are in any package manager. The fact 
that this displays in lyx too is a very nice extra. My first intention was to 
have a module that insert python code and executes it, but this way is far 
simpler and reaches the same objective.
  But the try
   # python example2.pygr x.eps
  leads to
   ImportError: No module named seaborn
  After installing also python-pip and using
   # sudo pip install seaborn
  I got the expected output.
  This should be documented somewhere I think.
  Nice work.
   Kornel
In this case my intention was to show that any other python library can be used 
as well, and it is expected a little knowledge of python from the user, since 
it is the user itself who will build its own graphic script. But your hint is 
valid, it should be documented how to obtain extra python packages too.

Regards
Alex

Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Wolfgang Engelmann

where in lyx is this done?--
Define a new converter from Python graphics to EPS as

python $$i $$o

Wolfgang

Am 09.06.2014 15:07, schrieb Alex Vergara Gil:

Dear Lyxers!

Studying a little of python and LyX I have reached to this feature that makes 
LyX show and process python graphics. Thanks to Rainer M Krug for the hints. I 
share this contribution for LyX under LGPL license, so everyone benefits from 
it. Good luck and happy lyxing!

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana Cuba

PS: If Rainer agree, pass him from acknowledgements to author list, please.





Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Alex Vergara Gil

  - Original Message - 
  From: Wolfgang Engelmann 
  To: lyx-users@lists.lyx.org 
  Sent: Monday, June 09, 2014 12:55 PM
  Subject: Re: Python Graphics in LyX [was: Python bindings]


  where in lyx is this done?--
  Define a new converter from Python graphics to EPS as

  python $$i $$o

  Wolfgang


If you have followed the little manual you know in tools - preferences there is 
two options, one that says file types and the other says converters
in the first you define the Python graphics file type
in the second you define the converter

regards
Alex

How to include child documents in Lyx

2014-06-09 Thread umair durrani
I have asked this question on tex.stackexchange but got no answer so far. I am 
new to LaTeX and LyX. For writing my thesis I got 2 files from university: 
uw_masters_thesis.sty and sample_thesis.tex. The sample file contains 
\usepackage{uw_masters_thesis} in preamble. If I use LaTex I simply put both 
files in same directory and include child documents by using \include or \input 
in the sample_thesis.tex document.The embedded objects manual in LyX suggests 
to specify the Document Class of master document in child document. But in my 
case the document class is Report (Standard Class). In my understanding, what 
uses the style file is the \usepackage{uw_masters_thesis} in preamble.I am 
creating thesis chapters (child documents) in lyx without specifying any thing 
in Document Stettings. I want them to use the style provided by .sty file and 
finally include all of them in master document. How can I achieve this in Lyx. 
Please suggest a step by step solution.

Umair Durrani
Master's candidate 
Civil and Environmental Engineering
University of Windsor 

Re: reconfiguration fails (miktex)

2014-06-09 Thread Paul A . Rubin
I don't have ready access to a Windows partition with LyX 2.1 any more, so
I'm winging this a bit. I noticed your path to lyx.exe contained cygdrive:

 $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure

By any chance does that mean you have LyX installed on a machine running
Cygwin? Years ago I had problems with reconfiguring LyX because Cygwin had a
(broken, as I recall) version of latex that appeared on the command path
ahead of the MiKTeX version. If that's the case for you, moving MiKTeX's bin
directory ahead of the Cygwin bin directory on the system command path might
help. (I would put LyX's bin directory ahead of Cygwin's as well.)

Paul






Re: How to include child documents in Lyx

2014-06-09 Thread Benedict Holland
http://flukylogs.blogspot.com/2009/09/install-style-files-in-lyx.html

The .sty file is your style file. It is used for formatting. The
sample_thesis.tex file is a raw latex file (presumably so you can test the
style to make sure you get the required output). You do not ever want to
include these. They are not for that. What you want to do is import the sty
file and make it into a document class. Then you want to edit the file in
lyx. The PDF that you generate should be the same format as the sample.

I don't think that this is a trivial amount of work to get working but it
isn't too much. What you want to search for in google is lyx sty and it
comes up with a mess of useful links.

~Ben


On Mon, Jun 9, 2014 at 3:46 PM, umair durrani umairdurr...@outlook.com
wrote:

 I have asked this question on tex.stackexchange but got no answer so far. I
 am new to LaTeX and LyX. For writing my thesis I got 2 files from
 university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
 contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
 simply put both files in same directory and include child documents by
 using \include or \input in the sample_thesis.tex document.
 The embedded objects manual in LyX suggests to specify the Document Class of
 master document in child document. But in my case the document class is Report
 (Standard Class). In my understanding, what uses the style file is the
 \usepackage{uw_masters_thesis} in preamble.
 I am creating thesis chapters (child documents) in lyx without specifying
 any thing in Document Stettings. I want them to use the style provided by
 .sty file and finally include all of them in master document. How can I
 achieve this in Lyx. Please suggest a step by step solution.


 Umair Durrani
 Master's candidate
 Civil and Environmental Engineering
 University of Windsor



Re: Thesis formatting

2014-06-09 Thread PhilipPirrip
Remember that the commands in LaTeX are just macros, they collect any 
text and expand it where needed.


What you need is a command in the preamble of your LyX document of this 
kind:


\degree{Master of Science\\ \vspace{\baselineskip} in\\ 
\vspace{\baselineskip} Nuclear Engineering}



As I said, commands containing a @ have only been made for internal 
class use, they are not in user space.




User Dictionary on Mac

2014-06-09 Thread Dr Eberhard Lisse
Hi,

where is the user dictionary for the native spell checker for 2.1 located?

I added a misspelled word :-)-O

el



Re: User Dictionary on Mac

2014-06-09 Thread Stephan Witt
Am 09.06.2014 um 11:28 schrieb Dr Eberhard Lisse :

> Hi,
> 
> where is the user dictionary for the native spell checker for 2.1 located?
> 
> I added a misspelled word :-)-O

The question is: how to remove the misspelled word, IMHO.

You position the cursor/pointer inside the misspelled word 
and use the context menu (right mouse button). In case of
a word in personal dictionary LyX offers you to remove it 
again.

Stephan

PS. Your original question isn't easily to answer.
The native spell checker is an OS service. I think it's
not worth the effort to find that answer because Apple is
free to change such details at any time.


Re: User Dictionary on Mac

2014-06-09 Thread Dr Eberhard Lisse
That's good enough for me,

thank you very much,

el

on 2014-06-09, 11:31 Stephan Witt said the following:
> Am 09.06.2014 um 11:28 schrieb Dr Eberhard Lisse :
> 
>> Hi,
>>
>> where is the user dictionary for the native spell checker for 2.1 located?
>>
>> I added a misspelled word :-)-O
> 
> The question is: how to remove the misspelled word, IMHO.
> 
> You position the cursor/pointer inside the misspelled word 
> and use the context menu (right mouse button). In case of
> a word in personal dictionary LyX offers you to remove it 
> again.
> 
> Stephan
> 
> PS. Your original question isn't easily to answer.
> The native spell checker is an OS service. I think it's
> not worth the effort to find that answer because Apple is
> free to change such details at any time.
> 

-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/


Re: Lualatex at startup

2014-06-09 Thread Julio Rojas
Thanks everybody. What I did was killing lualatex.exe at the very moment it
is started by the configuration script, which in turn continues without any
more hiccups until Lyx is started correctly.

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Sun, Jun 8, 2014 at 4:32 PM, stefano franchi 
wrote:

>
>
>
> On Sun, Jun 8, 2014 at 3:04 PM, Richard Heck  wrote:
>
>> On 06/07/2014 10:12 PM, Julio Rojas wrote:
>>
>>> Dear all,
>>>
>>> I have just tried to install Lyx 2.1 on my Windows 7 PC on which I
>>> already had Lyx 2.0.6 and TexLive 2013, so I went the update way. During
>>> configuration, Lyx runs LuaLatex which in turn gets stuck and start
>>> bloating and eating all the resources. I tried killing the script
>>> (python.exe). Lyx starts telling me that there were no classes installed. I
>>> tried reconfigure, but had the same result.
>>>
>>> Has somebody had this problem?
>>>
>>
>> For some reason, the lualatex configuratoin check takes a very long time.
>> I don't know why it would cause such huge problems, but if you want to work
>> around this:
>>
>>
> It may due to LuaTex's caching of all the system fonts, carried out by (I
> believe) luaotfload at startup. It may take a long time if you have lots of
> installed fonts.
>
> S.
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic Studies Ph:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Murat Yildizoglu

Thanks Alex,
That opens new and nice perspectives.

I have just thought about another possibility: Since the Sage software 
uses Python as a glue, it must be also possible to use the Sage module 
for LyX to make computations in Python in Sage and include the results 
in the final PDF file.
That reminds me that I should check the Sage module for the last version 
of Lyx (have not had any time to look at it yet).


Best regards,

Murat

Alex Vergara Gil a écrit :

Dear Lyxers!
Studying a little of python and LyX I have reached to this feature 
that makes LyX show and process python graphics. Thanks to Rainer M 
Krug for the hints. I share this contribution for LyX under LGPL 
license, so everyone benefits from it. Good luck and happy lyxing!

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana Cuba
PS: If Rainer agree, pass him from acknowledgements to author list, 
please.


--
Université de Bordeaux  CNRS 



Prof. Murat Yildizoglu 

GREThA (UMR CNRS 5113)
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

yildizoglu.info 



Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Alex Vergara Gil
- Original Message - From: "Kornel Benko" Sent: Monday, June 09, 2014 
8:40 AM

Am Montag, 9. Juni 2014 um 08:07:16, schrieb Alex Vergara Gil 
> Dear Lyxers!
> 
> Studying a little of python and LyX I have reached to this feature that makes 
> LyX show and process python graphics. Thanks to Rainer M Krug for the hints. 
> I share this contribution for LyX under LGPL license, so everyone benefits 
> from it. Good luck and happy lyxing!
> 
> Alex Vergara Gil
> MSc Nuclear Physics
> SSDL, CPHR, Havana Cuba
> 
> PS: If Rainer agree, pass him from acknowledgements to author list, please.

  Trying
   # python example.pygr x.eps
  I saw, I had to install matplotlib and pandas. Thats OK, this example shows 
now in lyx too.
  Fortunately it was included in debian package manager.
Indeed, to obtain python graphics matplotlib is required, pandas is a robust 
library to handle with complex data. Both are in any package manager. The fact 
that this displays in lyx too is a very nice extra. My first intention was to 
have a module that insert python code and executes it, but this way is far 
simpler and reaches the same objective.
  But the try
   # python example2.pygr x.eps
  leads to
   ImportError: No module named seaborn
  After installing also python-pip and using
   # sudo pip install seaborn
  I got the expected output.
  This should be documented somewhere I think.
  Nice work.
   Kornel
In this case my intention was to show that any other python library can be used 
as well, and it is expected a little knowledge of python from the user, since 
it is the user itself who will build its own graphic script. But your hint is 
valid, it should be documented how to obtain extra python packages too.

Regards
Alex

Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Wolfgang Engelmann

where in lyx is this done?-->
Define a new converter from Python graphics to EPS as

python $$i $$o

Wolfgang

Am 09.06.2014 15:07, schrieb Alex Vergara Gil:

Dear Lyxers!

Studying a little of python and LyX I have reached to this feature that makes 
LyX show and process python graphics. Thanks to Rainer M Krug for the hints. I 
share this contribution for LyX under LGPL license, so everyone benefits from 
it. Good luck and happy lyxing!

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana Cuba

PS: If Rainer agree, pass him from acknowledgements to author list, please.





Re: Python Graphics in LyX [was: Python bindings]

2014-06-09 Thread Alex Vergara Gil

  - Original Message - 
  From: Wolfgang Engelmann 
  To: lyx-users@lists.lyx.org 
  Sent: Monday, June 09, 2014 12:55 PM
  Subject: Re: Python Graphics in LyX [was: Python bindings]


  where in lyx is this done?-->
  Define a new converter from Python graphics to EPS as

  python $$i $$o

  Wolfgang


If you have followed the little manual you know in tools - preferences there is 
two options, one that says file types and the other says converters
in the first you define the Python graphics file type
in the second you define the converter

regards
Alex

How to include child documents in Lyx

2014-06-09 Thread umair durrani
I have asked this question on tex.stackexchange but got no answer so far. I am 
new to LaTeX and LyX. For writing my thesis I got 2 files from university: 
uw_masters_thesis.sty and sample_thesis.tex. The sample file contains 
\usepackage{uw_masters_thesis} in preamble. If I use LaTex I simply put both 
files in same directory and include child documents by using \include or \input 
in the sample_thesis.tex document.The embedded objects manual in LyX suggests 
to specify the Document Class of master document in child document. But in my 
case the document class is Report (Standard Class). In my understanding, what 
uses the style file is the \usepackage{uw_masters_thesis} in preamble.I am 
creating thesis chapters (child documents) in lyx without specifying any thing 
in Document Stettings. I want them to use the style provided by .sty file and 
finally include all of them in master document. How can I achieve this in Lyx. 
Please suggest a step by step solution.

Umair Durrani
Master's candidate 
Civil and Environmental Engineering
University of Windsor 

Re: reconfiguration fails (miktex)

2014-06-09 Thread Paul A . Rubin
I don't have ready access to a Windows partition with LyX 2.1 any more, so
I'm winging this a bit. I noticed your path to lyx.exe contained "cygdrive":

> $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure

By any chance does that mean you have LyX installed on a machine running
Cygwin? Years ago I had problems with reconfiguring LyX because Cygwin had a
(broken, as I recall) version of latex that appeared on the command path
ahead of the MiKTeX version. If that's the case for you, moving MiKTeX's bin
directory ahead of the Cygwin bin directory on the system command path might
help. (I would put LyX's bin directory ahead of Cygwin's as well.)

Paul






Re: How to include child documents in Lyx

2014-06-09 Thread Benedict Holland
http://flukylogs.blogspot.com/2009/09/install-style-files-in-lyx.html

The .sty file is your style file. It is used for formatting. The
sample_thesis.tex file is a raw latex file (presumably so you can test the
style to make sure you get the required output). You do not ever want to
include these. They are not for that. What you want to do is import the sty
file and make it into a document class. Then you want to edit the file in
lyx. The PDF that you generate should be the same format as the sample.

I don't think that this is a trivial amount of work to get working but it
isn't too much. What you want to search for in google is "lyx sty" and it
comes up with a mess of useful links.

~Ben


On Mon, Jun 9, 2014 at 3:46 PM, umair durrani 
wrote:

> I have asked this question on tex.stackexchange but got no answer so far. I
> am new to LaTeX and LyX. For writing my thesis I got 2 files from
> university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
> contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
> simply put both files in same directory and include child documents by
> using \include or \input in the sample_thesis.tex document.
> The embedded objects manual in LyX suggests to specify the Document Class of
> master document in child document. But in my case the document class is Report
> (Standard Class). In my understanding, what uses the style file is the
> \usepackage{uw_masters_thesis} in preamble.
> I am creating thesis chapters (child documents) in lyx without specifying
> any thing in Document Stettings. I want them to use the style provided by
> .sty file and finally include all of them in master document. How can I
> achieve this in Lyx. Please suggest a step by step solution.
>
>
> Umair Durrani
> Master's candidate
> Civil and Environmental Engineering
> University of Windsor
>


Re: Thesis formatting

2014-06-09 Thread PhilipPirrip
Remember that the commands in LaTeX are just macros, they collect any 
text and expand it where needed.


What you need is a command in the preamble of your LyX document of this 
kind:


\degree{Master of Science\\ \vspace{\baselineskip} in\\ 
\vspace{\baselineskip} Nuclear Engineering}



As I said, commands containing a @ have only been made for internal 
class use, they are not in user space.