Re: Words not added to personal dictionary? [UPDATE]

2014-03-24 Thread Stephan Witt
Am 24.03.2014 um 00:55 schrieb Rich Shepard rshep...@appl-ecosys.com:

 On Mon, 24 Mar 2014, Charlie Schroeder wrote:
 
 I had a closer look now. I'm on a Mac but this shouldn't make a
 difference.
 
  Why not? There are serious differences between Linux and BSD-based OSX.
 That's why there are separate download directories for them for many
 applications.

Because it's handled by C++ code in LyX and this code is portable and platform 
independent.

 
 This said I have to admit - I cannot reproduce your problem.
 
  That removes empathy.

This sentence I don't understand.

 One thing I can imagine to create problems is having multiple instances of 
 LyX open.
 
  Heh! One instance is sufficient for me.
 
 Possibly not in Mac, but in Debian Jessie and the same was the case in
 wheezy, aspell has a list of users words added in the /home/user
 directory.

This feature of aspell is independent of LyX's personal word list.

 
  Here, in ~/.lyx/ is a file called pwl_english.dict; in the LyX preferences
 under Language Settings - Spellchecker the default in the top dropdown box
 is Aspell; the other choices are Enchant and Hunspell, neither of which are
 on my systems.

LyX's not using the system programs. LyX has the code for the available spell
checkers linked in as shared library references. These libraries are on your
systems or LyX wouldn't start, AFAICS.

  In ~/.lyx/pwl_english.dict are the words that I've added, including those
 in the current document. So they are present, but each time I finish a
 chapter and spell check the document those words are highlighted and the
 tool pauses for me to tell it to ignore all. And, it doesn't do the latter,
 either; I need to tell it to ignore each instance of the same word which is
 in the dict file.

Are you able to provide a minimal working example file? I'd like to have a
LyX document and the pwl_english.dict file.

Stephan

Re: Words not added to personal dictionary? [UPDATE]

2014-03-24 Thread Rich Shepard

On Mon, 24 Mar 2014, Stephan Witt wrote:


Are you able to provide a minimal working example file? I'd like to have a
LyX document and the pwl_english.dict file.


Stephan,

  As this issue appeared only with the upgrade to the current version I will
see if it disappears with the next upgrade. I've been using lyx for more
than a decade and this has not before been an issue.

  And, I've no idea if a new, sample document would behave the same way.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: Templates from LyX-207-Bundle-3 Windows Installer

2014-03-24 Thread Alex Vergara Gil

Dear José
As you I don´t have full internet conection, but LyX works very well if you 
manage to install miktex correctly in your system, mainly miktex 2.9 which 
is the last version I have works as a charm.


Greetings and good luck
Alex

- Original Message - 
From: José Alejandro Lugo García jal...@uci.cu

To: lyx-users@lists.lyx.org
Sent: Friday, March 21, 2014 8:16 PM
Subject: Templates from LyX-207-Bundle-3 Windows Installer



Hi:
I don’t have the possibility of a full internet connection, so with some 
help, I reached the LyX-207-Bundle-3 installer for Windows. Install perfect. 
All great until I try to open some templates from File/New from Template 
(see “ 0 showing_templates.png”). Sadly many templates from this collection 
shows “errors” with missing dependencies that needs to be downloaded from 
internet (see “1 Show_error.png”). This problem don’t happen with Lyx on 
Ubuntu 12.04, where it seems that all dependencies are downloading 
automatically from the OS repositories during the installation process.


¿What is the possibility to fix this for people like me who has not full 
connection to the internet from Windows?


Regards, José.

I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 
de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu





__ Informacin de ESET NOD32 Antivirus, versin de la base de firmas 
de virus 9568 (20140320) __


ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com




Re: Help Installing a .cls file in LyX 2.0.7 (with MikTeX 2.9.4533)

2014-03-24 Thread Richard Heck

On 03/23/2014 10:14 PM, Carlos Gonzalez wrote:
I have already installed .cls files successfully (my college provided 
the .cls and .sty files). The problem is that I am trying to install 
another .cls file (with no accompanying .sty file) that I downloaded 
from a professional society (ASME) that they use for all their journals.


I installed it the same way I did for the previous files. It still 
does not appear in the document class. The .bst file ASME provides 
works fine but the .cls does not. When I open Lyx and look at ToolTek 
InformationLaTeK Classes, the file is there but when I go to select 
the document class, it is not there. I have no idea what's going on. I 
have attached the provided .cls file. Can anyone tell what's going on? 
Thanks.


The class file is the LaTeX half of the equation. To be able to use it, 
LyX also needs a layout file for it. This is basically a file that 
tells LyX what resources the class file provides. (It is really not 
possible for LyX to parse the class file and figure this out for 
itself.) The problem, then, is that there is no layout file for asme2e.


Just glancing through the file, it looks to me like a pretty standard 
sort of article class. So it will probably be usable, if not perfect, 
with the layout file I am attaching. This file should be put in the 
directory $USERDIR/layouts/. You can find your user directory by looking 
at HelpAbout LyX. Once you have put the layout file there, you will 
need to reconfigure LyX by going to ToolsReconfigure, and then restarting.


As I said, this should work to some extent, but it will need tweaking. 
Please see Chapter 5 of the Customization manual for how to do that. If 
you get it working well, let us know, and we can consider including it 
in future LyX versions.


Richard


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (ASME2E)}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.

Format 35
Input stdclass.inc

SecNumDepth 3
TocDepth3

NoStyle Chapter
NoCounter chapter
NoStyle Chapter*


Style Part
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Style Part*
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Re: 2 questions about new preference features

2014-03-24 Thread Itai Shaked
I don't know what 1 is used for. I also don't know what 2 was originally
meant for, but one use case in which I can see it being useful is when
working on a document with children.
Currently (version 2.0.6) when you close a parent document all of it's
children are automatically closed as well, although it may be more
convenient to work on some of the child documents without changing anything
in the parent document (thus you wouldn't want it to waste tab space).
This is different (I hope) from opening the child on it's own, because when
the parent is open you can see all references macros etc. defined in the
parent or in it's other children.

I have recently been working on a project in which there was a parent
document which only contained the framework of a book and included a macros
file and the other content as children, and most of the time I only worked
on one or more of it's children. Having it open but not showing could have
been useful in that case.


On Mon, Mar 24, 2014 at 1:06 AM, Uwe Stöhr uwesto...@web.de wrote:

 I am currently updating the documentation of the LyX preferences and have
 2 questions:

 1. Under Language Settings-Language there is now a default length unit.
 What is this used for?

 2. Under Look  Feel-Document Handling one can decide if the document is
 closed or hidden when its tab or view is closed. What is the benefit of
 hiding the document?

 thanks and regards
 Uwe



Re: 2 questions about new preference features

2014-03-24 Thread Jürgen Spitzmüller
2014-03-24 0:06 GMT+01:00 Uwe Stöhr:

 I am currently updating the documentation of the LyX preferences and have
 2 questions:

 1. Under Language Settings-Language there is now a default length unit.
 What is this used for?


It is used in all length combos as the default, if the object in question
(inset etc.) does by itself not define a different default. See for
instance Graphics, Tabular. It is also the default length if you change for
instance a hspace via context menu to custom, etc.

Jürgen


Re: Words not added to personal dictionary? [UPDATE]

2014-03-24 Thread Stephan Witt
Am 24.03.2014 um 00:55 schrieb Rich Shepard rshep...@appl-ecosys.com:

 On Mon, 24 Mar 2014, Charlie Schroeder wrote:
 
 I had a closer look now. I'm on a Mac but this shouldn't make a
 difference.
 
  Why not? There are serious differences between Linux and BSD-based OSX.
 That's why there are separate download directories for them for many
 applications.

Because it's handled by C++ code in LyX and this code is portable and platform 
independent.

 
 This said I have to admit - I cannot reproduce your problem.
 
  That removes empathy.

This sentence I don't understand.

 One thing I can imagine to create problems is having multiple instances of 
 LyX open.
 
  Heh! One instance is sufficient for me.
 
 Possibly not in Mac, but in Debian Jessie and the same was the case in
 wheezy, aspell has a list of users words added in the /home/user
 directory.

This feature of aspell is independent of LyX's personal word list.

 
  Here, in ~/.lyx/ is a file called pwl_english.dict; in the LyX preferences
 under Language Settings - Spellchecker the default in the top dropdown box
 is Aspell; the other choices are Enchant and Hunspell, neither of which are
 on my systems.

LyX's not using the system programs. LyX has the code for the available spell
checkers linked in as shared library references. These libraries are on your
systems or LyX wouldn't start, AFAICS.

  In ~/.lyx/pwl_english.dict are the words that I've added, including those
 in the current document. So they are present, but each time I finish a
 chapter and spell check the document those words are highlighted and the
 tool pauses for me to tell it to ignore all. And, it doesn't do the latter,
 either; I need to tell it to ignore each instance of the same word which is
 in the dict file.

Are you able to provide a minimal working example file? I'd like to have a
LyX document and the pwl_english.dict file.

Stephan

Re: Words not added to personal dictionary? [UPDATE]

2014-03-24 Thread Rich Shepard

On Mon, 24 Mar 2014, Stephan Witt wrote:


Are you able to provide a minimal working example file? I'd like to have a
LyX document and the pwl_english.dict file.


Stephan,

  As this issue appeared only with the upgrade to the current version I will
see if it disappears with the next upgrade. I've been using lyx for more
than a decade and this has not before been an issue.

  And, I've no idea if a new, sample document would behave the same way.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: Templates from LyX-207-Bundle-3 Windows Installer

2014-03-24 Thread Alex Vergara Gil

Dear José
As you I don´t have full internet conection, but LyX works very well if you 
manage to install miktex correctly in your system, mainly miktex 2.9 which 
is the last version I have works as a charm.


Greetings and good luck
Alex

- Original Message - 
From: José Alejandro Lugo García jal...@uci.cu

To: lyx-users@lists.lyx.org
Sent: Friday, March 21, 2014 8:16 PM
Subject: Templates from LyX-207-Bundle-3 Windows Installer



Hi:
I don’t have the possibility of a full internet connection, so with some 
help, I reached the LyX-207-Bundle-3 installer for Windows. Install perfect. 
All great until I try to open some templates from File/New from Template 
(see “ 0 showing_templates.png”). Sadly many templates from this collection 
shows “errors” with missing dependencies that needs to be downloaded from 
internet (see “1 Show_error.png”). This problem don’t happen with Lyx on 
Ubuntu 12.04, where it seems that all dependencies are downloading 
automatically from the OS repositories during the installation process.


¿What is the possibility to fix this for people like me who has not full 
connection to the internet from Windows?


Regards, José.

I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 
de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu





__ Informacin de ESET NOD32 Antivirus, versin de la base de firmas 
de virus 9568 (20140320) __


ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com




Re: Help Installing a .cls file in LyX 2.0.7 (with MikTeX 2.9.4533)

2014-03-24 Thread Richard Heck

On 03/23/2014 10:14 PM, Carlos Gonzalez wrote:
I have already installed .cls files successfully (my college provided 
the .cls and .sty files). The problem is that I am trying to install 
another .cls file (with no accompanying .sty file) that I downloaded 
from a professional society (ASME) that they use for all their journals.


I installed it the same way I did for the previous files. It still 
does not appear in the document class. The .bst file ASME provides 
works fine but the .cls does not. When I open Lyx and look at ToolTek 
InformationLaTeK Classes, the file is there but when I go to select 
the document class, it is not there. I have no idea what's going on. I 
have attached the provided .cls file. Can anyone tell what's going on? 
Thanks.


The class file is the LaTeX half of the equation. To be able to use it, 
LyX also needs a layout file for it. This is basically a file that 
tells LyX what resources the class file provides. (It is really not 
possible for LyX to parse the class file and figure this out for 
itself.) The problem, then, is that there is no layout file for asme2e.


Just glancing through the file, it looks to me like a pretty standard 
sort of article class. So it will probably be usable, if not perfect, 
with the layout file I am attaching. This file should be put in the 
directory $USERDIR/layouts/. You can find your user directory by looking 
at HelpAbout LyX. Once you have put the layout file there, you will 
need to reconfigure LyX by going to ToolsReconfigure, and then restarting.


As I said, this should work to some extent, but it will need tweaking. 
Please see Chapter 5 of the Customization manual for how to do that. If 
you get it working well, let us know, and we can consider including it 
in future LyX versions.


Richard


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (ASME2E)}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
# Transposed by Pascal André an...@via.ecp.fr
# Heavily modifed and enhanced by serveral developers.

Format 35
Input stdclass.inc

SecNumDepth 3
TocDepth3

NoStyle Chapter
NoCounter chapter
NoStyle Chapter*


Style Part
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Style Part*
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Re: 2 questions about new preference features

2014-03-24 Thread Itai Shaked
I don't know what 1 is used for. I also don't know what 2 was originally
meant for, but one use case in which I can see it being useful is when
working on a document with children.
Currently (version 2.0.6) when you close a parent document all of it's
children are automatically closed as well, although it may be more
convenient to work on some of the child documents without changing anything
in the parent document (thus you wouldn't want it to waste tab space).
This is different (I hope) from opening the child on it's own, because when
the parent is open you can see all references macros etc. defined in the
parent or in it's other children.

I have recently been working on a project in which there was a parent
document which only contained the framework of a book and included a macros
file and the other content as children, and most of the time I only worked
on one or more of it's children. Having it open but not showing could have
been useful in that case.


On Mon, Mar 24, 2014 at 1:06 AM, Uwe Stöhr uwesto...@web.de wrote:

 I am currently updating the documentation of the LyX preferences and have
 2 questions:

 1. Under Language Settings-Language there is now a default length unit.
 What is this used for?

 2. Under Look  Feel-Document Handling one can decide if the document is
 closed or hidden when its tab or view is closed. What is the benefit of
 hiding the document?

 thanks and regards
 Uwe



Re: 2 questions about new preference features

2014-03-24 Thread Jürgen Spitzmüller
2014-03-24 0:06 GMT+01:00 Uwe Stöhr:

 I am currently updating the documentation of the LyX preferences and have
 2 questions:

 1. Under Language Settings-Language there is now a default length unit.
 What is this used for?


It is used in all length combos as the default, if the object in question
(inset etc.) does by itself not define a different default. See for
instance Graphics, Tabular. It is also the default length if you change for
instance a hspace via context menu to custom, etc.

Jürgen


Re: Words not added to personal dictionary? [UPDATE]

2014-03-24 Thread Stephan Witt
Am 24.03.2014 um 00:55 schrieb Rich Shepard :

> On Mon, 24 Mar 2014, Charlie Schroeder wrote:
> 
>>> I had a closer look now. I'm on a Mac but this shouldn't make a
>>> difference.
> 
>  Why not? There are serious differences between Linux and BSD-based OSX.
> That's why there are separate download directories for them for many
> applications.

Because it's handled by C++ code in LyX and this code is portable and platform 
independent.

> 
>>> This said I have to admit - I cannot reproduce your problem.
> 
>  That removes empathy.

This sentence I don't understand.

>>> One thing I can imagine to create problems is having multiple instances of 
>>> LyX open.
> 
>  Heh! One instance is sufficient for me.
> 
>> Possibly not in Mac, but in Debian Jessie and the same was the case in
>> wheezy, aspell has a list of users words added in the /home/user
>> directory.

This feature of aspell is independent of LyX's personal word list.

> 
>  Here, in ~/.lyx/ is a file called pwl_english.dict; in the LyX preferences
> under Language Settings -> Spellchecker the default in the top dropdown box
> is Aspell; the other choices are Enchant and Hunspell, neither of which are
> on my systems.

LyX's not using the system programs. LyX has the code for the available spell
checkers linked in as shared library references. These libraries are on your
systems or LyX wouldn't start, AFAICS.

>  In ~/.lyx/pwl_english.dict are the words that I've added, including those
> in the current document. So they are present, but each time I finish a
> chapter and spell check the document those words are highlighted and the
> tool pauses for me to tell it to ignore all. And, it doesn't do the latter,
> either; I need to tell it to ignore each instance of the same word which is
> in the dict file.

Are you able to provide a minimal working example file? I'd like to have a
LyX document and the pwl_english.dict file.

Stephan

Re: Words not added to personal dictionary? [UPDATE]

2014-03-24 Thread Rich Shepard

On Mon, 24 Mar 2014, Stephan Witt wrote:


Are you able to provide a minimal working example file? I'd like to have a
LyX document and the pwl_english.dict file.


Stephan,

  As this issue appeared only with the upgrade to the current version I will
see if it disappears with the next upgrade. I've been using lyx for more
than a decade and this has not before been an issue.

  And, I've no idea if a new, sample document would behave the same way.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: Templates from LyX-207-Bundle-3 Windows Installer

2014-03-24 Thread Alex Vergara Gil

Dear José
As you I don´t have full internet conection, but LyX works very well if you 
manage to install miktex correctly in your system, mainly miktex 2.9 which 
is the last version I have works as a charm.


Greetings and good luck
Alex

- Original Message - 
From: "José Alejandro Lugo García" 

To: 
Sent: Friday, March 21, 2014 8:16 PM
Subject: Templates from LyX-207-Bundle-3 Windows Installer



Hi:
I don’t have the possibility of a full internet connection, so with some 
help, I reached the LyX-207-Bundle-3 installer for Windows. Install perfect. 
All great until I try to open some templates from File/New from Template 
(see “ 0 showing_templates.png”). Sadly many templates from this collection 
shows “errors” with missing dependencies that needs to be downloaded from 
internet (see “1 Show_error.png”). This problem don’t happen with Lyx on 
Ubuntu 12.04, where it seems that all dependencies are downloading 
automatically from the OS repositories during the installation process.


¿What is the possibility to fix this for people like me who has not full 
connection to the internet from Windows?


Regards, José.

I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 
de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu





__ Informacin de ESET NOD32 Antivirus, versin de la base de firmas 
de virus 9568 (20140320) __


ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com




Re: Help Installing a .cls file in LyX 2.0.7 (with MikTeX 2.9.4533)

2014-03-24 Thread Richard Heck

On 03/23/2014 10:14 PM, Carlos Gonzalez wrote:
I have already installed .cls files successfully (my college provided 
the .cls and .sty files). The problem is that I am trying to install 
another .cls file (with no accompanying .sty file) that I downloaded 
from a professional society (ASME) that they use for all their journals.


I installed it the same way I did for the previous files. It still 
does not appear in the document class. The .bst file ASME provides 
works fine but the .cls does not. When I open Lyx and look at Tool>Tek 
Information>LaTeK Classes, the file is there but when I go to select 
the document class, it is not there. I have no idea what's going on. I 
have attached the provided .cls file. Can anyone tell what's going on? 
Thanks.


The class file is the LaTeX half of the equation. To be able to use it, 
LyX also needs a "layout" file for it. This is basically a file that 
tells LyX what resources the class file provides. (It is really not 
possible for LyX to parse the class file and figure this out for 
itself.) The problem, then, is that there is no layout file for asme2e.


Just glancing through the file, it looks to me like a pretty standard 
sort of article class. So it will probably be usable, if not perfect, 
with the layout file I am attaching. This file should be put in the 
directory $USERDIR/layouts/. You can find your user directory by looking 
at Help>About LyX. Once you have put the layout file there, you will 
need to reconfigure LyX by going to Tools>Reconfigure, and then restarting.


As I said, this should work to some extent, but it will need tweaking. 
Please see Chapter 5 of the Customization manual for how to do that. If 
you get it working well, let us know, and we can consider including it 
in future LyX versions.


Richard


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (ASME2E)}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich 
# Transposed by Pascal André 
# Heavily modifed and enhanced by serveral developers.

Format 35
Input stdclass.inc

SecNumDepth 3
TocDepth3

NoStyle Chapter
NoCounter chapter
NoStyle Chapter*


Style Part
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Style Part*
Align Left
AlignPossible Left
TopSep2
BottomSep 1.5
Font
  SizeLarger
EndFont
End


Re: 2 questions about new preference features

2014-03-24 Thread Itai Shaked
I don't know what 1 is used for. I also don't know what 2 was originally
meant for, but one use case in which I can see it being useful is when
working on a document with children.
Currently (version 2.0.6) when you close a parent document all of it's
children are automatically closed as well, although it may be more
convenient to work on some of the child documents without changing anything
in the parent document (thus you wouldn't want it to "waste" tab space).
This is different (I hope) from opening the child on it's own, because when
the parent is open you can see all references macros etc. defined in the
parent or in it's other children.

I have recently been working on a project in which there was a parent
document which only contained the framework of a book and included a macros
file and the other content as children, and most of the time I only worked
on one or more of it's children. Having it open but not showing could have
been useful in that case.


On Mon, Mar 24, 2014 at 1:06 AM, Uwe Stöhr  wrote:

> I am currently updating the documentation of the LyX preferences and have
> 2 questions:
>
> 1. Under Language Settings->Language there is now a default length unit.
> What is this used for?
>
> 2. Under Look & Feel->Document Handling one can decide if the document is
> closed or hidden when its tab or view is closed. What is the benefit of
> hiding the document?
>
> thanks and regards
> Uwe
>


Re: 2 questions about new preference features

2014-03-24 Thread Jürgen Spitzmüller
2014-03-24 0:06 GMT+01:00 Uwe Stöhr:

> I am currently updating the documentation of the LyX preferences and have
> 2 questions:
>
> 1. Under Language Settings->Language there is now a default length unit.
> What is this used for?
>

It is used in all length combos as the default, if the object in question
(inset etc.) does by itself not define a different default. See for
instance Graphics, Tabular. It is also the default length if you change for
instance a hspace via context menu to "custom", etc.

Jürgen