Re: Lyx2lyx script failure trying to open year old file

2014-11-03 Thread Jürgen Spitzmüller
Graham Smith wrote:
 I am trying to open a file in 2.1.2,  which is about a year old (last
 opened 30th October 2013, as I update it annually), but not sure which
 version of Lyx it was last edited in.
 
 I am getting an error that the file was created in an older version of lyx
 and the lyx2lyx script failed to recover it.
 
 It is one of two documents created at the same time, and the second
 document opens fine.
 
 This one however, gives this error message in Mavericks and Ubuntu 14.04.
 The debug message just says the same as the error message.
 
 
 I have attached the file, However it links to many  external graphics, so
 won't open as it is, but I am hoping that looking at the preamble etc might
 give a clue.
 
 I wonder if someone could have a look and suggest a solution.

This is bug 9298:
http://www.lyx.org/trac/ticket/9298

The bug has been fixed in the development branch and should get fixed for the 
next stable release as well.

Meanwhile, find attached a successfully converted (2.1.x) file.

Jürgen

 Many thanks,
 
 Graham



2013-10-29 R_GettingStarted Oct 2013.lyx
Description: application/lyx


Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com:

 On Sun, 2 Nov 2014 22:43:17 +0100
 Stephan Witt st.w...@gmx.net wrote:
 
 Can you try the Hunspell package, please?
 Enchant support in LyX 2.1 is not very good.
 
 I have exactly the same problem with hunspell. I compiled and installed it,
 added en_US and es_ES dictionaries, and tested it on a couple of text
 files from the console - no problem.
 
 When I start it from LyX, I get the message Spellchecker has no
 dictionaries

So, the dictionaries are not found.

The hunspell backend is better prepared for this situation, though.
You can open the message pane (in View menu) and enable debug messages
for Files used by LyX. Then make sure you've enabled the Hunspell 
checker in preferences. Now you can start the spell check and you'll see
the files/directories LyX is looking for dictionaries in message pane.

 Strange: I configured Hunspell in LyX and did an strace. In the strace
 output I found:
 
 open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3
 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 
 832) = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13f128000
 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
 close(3)= 0
 
 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3
 read(3, 
 \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) 
 = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13ee68000
 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
 close(3)= 0
 
 Why is aspell called after hunspell?

You're using LyX with backend support for more than one spell checker.
Every spell checker comes with it's own shared library.
These open calls are made on program startup to resolve the library function 
addresses.
Your strace output doesn't indicate any function call...

 No other hunspell directory or file is opened after this. Several
 aspell/enchant directories *are* opened. 

Where? What is an enchant directory?

Stephan

Re: dictionary not found

2014-11-03 Thread Marcelo Acuña
The problem with hunspell is that debian no have spanish dictionary for 
hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. 
 

 El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net 
escribió:
   

 Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com:

 On Sun, 2 Nov 2014 22:43:17 +0100
 Stephan Witt st.w...@gmx.net wrote:
 
 Can you try the Hunspell package, please?
 Enchant support in LyX 2.1 is not very good.
 
 I have exactly the same problem with hunspell. I compiled and installed it,
 added en_US and es_ES dictionaries, and tested it on a couple of text
 files from the console - no problem.
 
 When I start it from LyX, I get the message Spellchecker has no
 dictionaries

So, the dictionaries are not found.

The hunspell backend is better prepared for this situation, though.
You can open the message pane (in View menu) and enable debug messages
for Files used by LyX. Then make sure you've enabled the Hunspell 
checker in preferences. Now you can start the spell check and you'll see
the files/directories LyX is looking for dictionaries in message pane.

 Strange: I configured Hunspell in LyX and did an strace. In the strace
 output I found:
 
 open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3
 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 
 832) = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13f128000
 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
 close(3)                                = 0
 
 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3
 read(3, 
 \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) 
 = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13ee68000
 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
 close(3)                                = 0
 
 Why is aspell called after hunspell?

You're using LyX with backend support for more than one spell checker.
Every spell checker comes with it's own shared library.
These open calls are made on program startup to resolve the library function 
addresses.
Your strace output doesn't indicate any function call...

 No other hunspell directory or file is opened after this. Several
 aspell/enchant directories *are* opened. 

Where? What is an enchant directory?

Stephan

   

Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com:

 The problem with hunspell is that debian no have spanish dictionary for 
 hunspell.

Then you have to grab them from other source.

Which spell checker has a spanish dictionary?
 
 Plus I installed hunspell but is not recongized by lyx 2.1.x.

LyX has to be compiled with hunspell support. That's enough.
And you has to point it to the dictionaries if you have put them
to a non-standard place (/usr/share/myspell is standard for LyX).

Stephan

 El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net 
 escribió:
 
 
 Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com:
 
  On Sun, 2 Nov 2014 22:43:17 +0100
  Stephan Witt st.w...@gmx.net wrote:
  
  Can you try the Hunspell package, please?
  Enchant support in LyX 2.1 is not very good.
  
  I have exactly the same problem with hunspell. I compiled and installed it,
  added en_US and es_ES dictionaries, and tested it on a couple of text
  files from the console - no problem.
  
  When I start it from LyX, I get the message Spellchecker has no
  dictionaries
 
 So, the dictionaries are not found.
 
 The hunspell backend is better prepared for this situation, though.
 You can open the message pane (in View menu) and enable debug messages
 for Files used by LyX. Then make sure you've enabled the Hunspell 
 checker in preferences. Now you can start the spell check and you'll see
 the files/directories LyX is looking for dictionaries in message pane.
 
  Strange: I configured Hunspell in LyX and did an strace. In the strace
  output I found:
  
  open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3
  read(3, 
  \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) 
  = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
  mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
  0x7ff13f128000
  mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
  mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
  close(3)= 0
  
  open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3
  read(3, 
  \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 
  832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
  mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
  0x7ff13ee68000
  mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
  mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
  mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
  close(3)= 0
  
  Why is aspell called after hunspell?
 
 You're using LyX with backend support for more than one spell checker.
 Every spell checker comes with it's own shared library.
 These open calls are made on program startup to resolve the library function 
 addresses.
 Your strace output doesn't indicate any function call...
 
  No other hunspell directory or file is opened after this. Several
  aspell/enchant directories *are* opened. 
 
 Where? What is an enchant directory?
 
 
 Stephan
 
 



Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Dear LyX Users,

I would like to keep my LyX settings synchronized between my home and
work PCs. Is there a preferred way to do this?

I have plenty of space in my Dropbox account and was thinking about
just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
suspect there is a more efficient way to go about this.

Many thanks in advance,

BL

PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.


Re: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

I would certainly advise against this!

If you wish to synchronize a config file across machines you could use
SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
and synchronize arbitrary files on a given machine, not only those put
in a special folder. In addition to this, SpiderOak provides too
privacy (they never have plain-data access to anything that you put on
their servers). And SpiderOak Hive provides the exact same
functionality as the My Dropbox folder. The downside of SpiderOak's
flexibility is that it can be less intuitive than Dropbox, but this is
very easy to work around.

Regards,
Liviu

PS You can get an additional 1GB of free storage space (for at total
of 3GB) if you created your account using my referral link:
https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
. This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Dear Liviu,

Thanks for suggesting SpiderOak. It looks like a nice service.

Aside from the particular service I use, though, would it be
sufficient to synchronize a certain folder or set of folders (if so,
which ones?) or should I have it sync all of LyX and MikTeX?

Best,
BL


On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear Liviu,

 Thanks for suggesting SpiderOak. It looks like a nice service.

 Aside from the particular service I use, though, would it be
 sufficient to synchronize a certain folder or set of folders (if so,
 which ones?) or should I have it sync all of LyX and MikTeX?

I think for LyX it should suffice to backup: ~/.lyx

But for MikTeX, it would be  a tall order. I guess as long as you have
'Install packages on the fly' option enabled and run Tools 
REconfigure in LyX, MikTeX should install all relevant packages that
you might be using. This should take care of most sync issues, I
think.

Liviu


 Best,
 BL


 On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com 
 wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Good point about MikTeX - I don't recall making too many direct edits
to MikTeX, so it's probably not necessary to sync.

For LyX: here is a rough outline of the procedure I had in mind. Does
it seem sensible?

1. Install LyX on machine A.

2. [?] Do something out of the ordinary for a LyX installation, e.g.
putting ~/.lyx somewhere other than the default?

3. Back up ~/.lyx to SpiderOak.

4. Install LyX on machine B.

5. [?] Repeat of 2?

6. Sync ~/.lyx with SpiderOak, doing [?] to ensure that settings made
on Machine A are carried over to Machine B rather than overwritten.

Many thanks again for your help.

BL


On Mon, Nov 3, 2014 at 1:29 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear Liviu,

 Thanks for suggesting SpiderOak. It looks like a nice service.

 Aside from the particular service I use, though, would it be
 sufficient to synchronize a certain folder or set of folders (if so,
 which ones?) or should I have it sync all of LyX and MikTeX?

 I think for LyX it should suffice to backup: ~/.lyx

 But for MikTeX, it would be  a tall order. I guess as long as you have
 'Install packages on the fly' option enabled and run Tools 
 REconfigure in LyX, MikTeX should install all relevant packages that
 you might be using. This should take care of most sync issues, I
 think.

 Liviu


 Best,
 BL


 On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com 
 wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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



 --
 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: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 8:31 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Good point about MikTeX - I don't recall making too many direct edits
 to MikTeX, so it's probably not necessary to sync.

 For LyX: here is a rough outline of the procedure I had in mind. Does
 it seem sensible?

 1. Install LyX on machine A.

 2. [?] Do something out of the ordinary for a LyX installation, e.g.
 putting ~/.lyx somewhere other than the default?

No. Keep the .lyx config dir where it is on your system.


 3. Back up ~/.lyx to SpiderOak.

 4. Install LyX on machine B.

 5. [?] Repeat of 2?

No. Repeat of 3 on machine B this time.


 6. Sync ~/.lyx with SpiderOak, doing [?] to ensure that settings made
 on Machine A are carried over to Machine B rather than overwritten.

Once both folders are backed up in SpiderOak, you simply need to
define a new Sync in SpiderOak that links the two folders.

Liviu


 Many thanks again for your help.

 BL


 On Mon, Nov 3, 2014 at 1:29 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear Liviu,

 Thanks for suggesting SpiderOak. It looks like a nice service.

 Aside from the particular service I use, though, would it be
 sufficient to synchronize a certain folder or set of folders (if so,
 which ones?) or should I have it sync all of LyX and MikTeX?

 I think for LyX it should suffice to backup: ~/.lyx

 But for MikTeX, it would be  a tall order. I guess as long as you have
 'Install packages on the fly' option enabled and run Tools 
 REconfigure in LyX, MikTeX should install all relevant packages that
 you might be using. This should take care of most sync issues, I
 think.

 Liviu


 Best,
 BL


 On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com 
 wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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



 --
 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



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Great.

Just to clarify, by ~/.lyx and .lyx config dir, you mean the user
directory? (Listed on my W7 PC as ~\AppData\Roaming\LyX2.1\)


Re: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 8:46 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Great.

 Just to clarify, by ~/.lyx and .lyx config dir, you mean the user
 directory? (Listed on my W7 PC as ~\AppData\Roaming\LyX2.1\)

Yes, quite possibly (`~/.lyx` is on Linux). It should be the dir
containing the `preferences` file, etc.

Liviu


-- 
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: dictionary not found

2014-11-03 Thread John Coppens
On Mon, 3 Nov 2014 14:22:22 +0100
Stephan Witt st.w...@gmx.net wrote:

 You're using LyX with backend support for more than one spell checker.
 Every spell checker comes with it's own shared library.
 These open calls are made on program startup to resolve the library function 
 addresses.
 Your strace output doesn't indicate any function call...

I see... Thanks. 

Yes, the function calls are much later. If you like, I can send
you the entire trace gzipped. It's about 280k long. But the calls are to
Enchant, not to the selected Hunspell.
 
  No other hunspell directory or file is opened after this. Several
  aspell/enchant directories *are* opened. 
 
 Where? What is an enchant directory?

I mean the directories where the enchant dictionaries are first looked for
(/usr/share/enchant)

These are the directories LyX looks in:

/usr/share/myspell
/usr/local/share/lyx
/root/.lyx

I.e., it does not look into hunspell's own directory. So, it seems we have
to provide a symlink here?


John


Re: dictionary not found

2014-11-03 Thread John Coppens
On Mon, 3 Nov 2014 15:19:48 + (UTC)
Marcelo Acuña marceloacu...@yahoo.com wrote:

 The problem with hunspell is that debian no have spanish dictionary for 
 hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. 

Marcelo, you can use the dictionaries from LibreOffice (OpenOffice), Firefox 
and others. The extensions
are strange (.xpi and such), but they are actually .zip files. So you can 
rename them to something.zip,
unzip them, and copy the contents to where LyX expects them (I would suggest 
/usr/share/myspell/ )

John


Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 22:14 schrieb John Coppens j...@jcoppens.com:

 On Mon, 3 Nov 2014 14:22:22 +0100
 Stephan Witt st.w...@gmx.net wrote:
 
 You're using LyX with backend support for more than one spell checker.
 Every spell checker comes with it's own shared library.
 These open calls are made on program startup to resolve the library function 
 addresses.
 Your strace output doesn't indicate any function call...
 
 I see... Thanks. 
 
 Yes, the function calls are much later. If you like, I can send
 you the entire trace gzipped. It's about 280k long. But the calls are to
 Enchant, not to the selected Hunspell.

No, thanks. :)

But seriously, I'm using strace to investigate the doing of a closed source 
program.
LyX is open source and I'm able to look at the source for problem solving.

Enchant is not a spell checker library itself but a so called broker or wrapper 
library.
You configure enchant which spell checker should be used for a given language.
You have to analyze your configuration carefully to tell what really happens.
LyX cannot tell how enchant is handling the request to spell check some string.
Unfortunately there is no good logging and error handling for enchant calls in 
LyX.
That's why I recommend the use of hunspell with LyX instead.

What I do not understand, why enchant is used instead of hunspell.
Are you sure your hunspell preference setting is active?
As I wrote in an earlier message you should be able to see the
hunspell file lookup messages if the debug messages are enabled.

 No other hunspell directory or file is opened after this. Several
 aspell/enchant directories *are* opened. 
 
 Where? What is an enchant directory?
 
 I mean the directories where the enchant dictionaries are first looked for
 (/usr/share/enchant)
 
 These are the directories LyX looks in:
 
 /usr/share/myspell
 /usr/local/share/lyx
 /root/.lyx
 
 I.e., it does not look into hunspell's own directory. So, it seems we have
 to provide a symlink here?

LyX's preference pane has an input field to define the path were to lookup
the hunspell dictionaries. No need for a symlink. I don't know how to
configure enchant to look at the correct place, sorry.

Stephan

How to convert Lyx file into doc?

2014-11-03 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Dear all, would be grateful for a bit of advice.

I often need to share my files (soft copy, in Lyx) with my authors. What
would be the best way to convert a Lyx file into a doc file, while
retaining its images and formatting?

Many thanks! FN

-- 
-- 
P +91-832-2409490 M 9822122436 Twitter: @fn Facebook: fredericknoronha
Latest from Goa,1556: http://goa1556.in/book/goa-in-sepia-tinted-postcards/
http://goa1556.in


Literature-directorie in beamer slides

2014-11-03 Thread Uwe Ade
Hello,

i have a master document with several include documents for my lectures. Now i 
want use a literatur-direcorie in each part document. 
Would this work?
Can i put the literature-frame every in the persentation i want or is it only 
possible to put this slides on the End of every part?

Thanks

uwe

Re: Lyx2lyx script failure trying to open year old file

2014-11-03 Thread Jürgen Spitzmüller
Graham Smith wrote:
 I am trying to open a file in 2.1.2,  which is about a year old (last
 opened 30th October 2013, as I update it annually), but not sure which
 version of Lyx it was last edited in.
 
 I am getting an error that the file was created in an older version of lyx
 and the lyx2lyx script failed to recover it.
 
 It is one of two documents created at the same time, and the second
 document opens fine.
 
 This one however, gives this error message in Mavericks and Ubuntu 14.04.
 The debug message just says the same as the error message.
 
 
 I have attached the file, However it links to many  external graphics, so
 won't open as it is, but I am hoping that looking at the preamble etc might
 give a clue.
 
 I wonder if someone could have a look and suggest a solution.

This is bug 9298:
http://www.lyx.org/trac/ticket/9298

The bug has been fixed in the development branch and should get fixed for the 
next stable release as well.

Meanwhile, find attached a successfully converted (2.1.x) file.

Jürgen

 Many thanks,
 
 Graham



2013-10-29 R_GettingStarted Oct 2013.lyx
Description: application/lyx


Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com:

 On Sun, 2 Nov 2014 22:43:17 +0100
 Stephan Witt st.w...@gmx.net wrote:
 
 Can you try the Hunspell package, please?
 Enchant support in LyX 2.1 is not very good.
 
 I have exactly the same problem with hunspell. I compiled and installed it,
 added en_US and es_ES dictionaries, and tested it on a couple of text
 files from the console - no problem.
 
 When I start it from LyX, I get the message Spellchecker has no
 dictionaries

So, the dictionaries are not found.

The hunspell backend is better prepared for this situation, though.
You can open the message pane (in View menu) and enable debug messages
for Files used by LyX. Then make sure you've enabled the Hunspell 
checker in preferences. Now you can start the spell check and you'll see
the files/directories LyX is looking for dictionaries in message pane.

 Strange: I configured Hunspell in LyX and did an strace. In the strace
 output I found:
 
 open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3
 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 
 832) = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13f128000
 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
 close(3)= 0
 
 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3
 read(3, 
 \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) 
 = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13ee68000
 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
 close(3)= 0
 
 Why is aspell called after hunspell?

You're using LyX with backend support for more than one spell checker.
Every spell checker comes with it's own shared library.
These open calls are made on program startup to resolve the library function 
addresses.
Your strace output doesn't indicate any function call...

 No other hunspell directory or file is opened after this. Several
 aspell/enchant directories *are* opened. 

Where? What is an enchant directory?

Stephan

Re: dictionary not found

2014-11-03 Thread Marcelo Acuña
The problem with hunspell is that debian no have spanish dictionary for 
hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. 
 

 El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net 
escribió:
   

 Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com:

 On Sun, 2 Nov 2014 22:43:17 +0100
 Stephan Witt st.w...@gmx.net wrote:
 
 Can you try the Hunspell package, please?
 Enchant support in LyX 2.1 is not very good.
 
 I have exactly the same problem with hunspell. I compiled and installed it,
 added en_US and es_ES dictionaries, and tested it on a couple of text
 files from the console - no problem.
 
 When I start it from LyX, I get the message Spellchecker has no
 dictionaries

So, the dictionaries are not found.

The hunspell backend is better prepared for this situation, though.
You can open the message pane (in View menu) and enable debug messages
for Files used by LyX. Then make sure you've enabled the Hunspell 
checker in preferences. Now you can start the spell check and you'll see
the files/directories LyX is looking for dictionaries in message pane.

 Strange: I configured Hunspell in LyX and did an strace. In the strace
 output I found:
 
 open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3
 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 
 832) = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
 mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13f128000
 mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
 close(3)                                = 0
 
 open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3
 read(3, 
 \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 832) 
 = 832
 fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
 mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0x7ff13ee68000
 mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
 mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
 mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
 close(3)                                = 0
 
 Why is aspell called after hunspell?

You're using LyX with backend support for more than one spell checker.
Every spell checker comes with it's own shared library.
These open calls are made on program startup to resolve the library function 
addresses.
Your strace output doesn't indicate any function call...

 No other hunspell directory or file is opened after this. Several
 aspell/enchant directories *are* opened. 

Where? What is an enchant directory?

Stephan

   

Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 16:19 schrieb Marcelo Acuña marceloacu...@yahoo.com:

 The problem with hunspell is that debian no have spanish dictionary for 
 hunspell.

Then you have to grab them from other source.

Which spell checker has a spanish dictionary?
 
 Plus I installed hunspell but is not recongized by lyx 2.1.x.

LyX has to be compiled with hunspell support. That's enough.
And you has to point it to the dictionaries if you have put them
to a non-standard place (/usr/share/myspell is standard for LyX).

Stephan

 El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt st.w...@gmx.net 
 escribió:
 
 
 Am 03.11.2014 um 05:41 schrieb John Coppens j...@jcoppens.com:
 
  On Sun, 2 Nov 2014 22:43:17 +0100
  Stephan Witt st.w...@gmx.net wrote:
  
  Can you try the Hunspell package, please?
  Enchant support in LyX 2.1 is not very good.
  
  I have exactly the same problem with hunspell. I compiled and installed it,
  added en_US and es_ES dictionaries, and tested it on a couple of text
  files from the console - no problem.
  
  When I start it from LyX, I get the message Spellchecker has no
  dictionaries
 
 So, the dictionaries are not found.
 
 The hunspell backend is better prepared for this situation, though.
 You can open the message pane (in View menu) and enable debug messages
 for Files used by LyX. Then make sure you've enabled the Hunspell 
 checker in preferences. Now you can start the spell check and you'll see
 the files/directories LyX is looking for dictionaries in message pane.
 
  Strange: I configured Hunspell in LyX and did an strace. In the strace
  output I found:
  
  open(/usr/lib64/libhunspell-1.3.so.0, O_RDONLY|O_CLOEXEC) = 3
  read(3, 
  \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P\224\0\0\0\0\0\0..., 832) 
  = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
  mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
  0x7ff13f128000
  mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
  mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
  close(3)= 0
  
  open(/usr/lib64/libaspell.so.15, O_RDONLY|O_CLOEXEC) = 3
  read(3, 
  \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\\215\2\0\0\0\0\0..., 
  832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
  mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
  0x7ff13ee68000
  mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
  mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
  mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
  close(3)= 0
  
  Why is aspell called after hunspell?
 
 You're using LyX with backend support for more than one spell checker.
 Every spell checker comes with it's own shared library.
 These open calls are made on program startup to resolve the library function 
 addresses.
 Your strace output doesn't indicate any function call...
 
  No other hunspell directory or file is opened after this. Several
  aspell/enchant directories *are* opened. 
 
 Where? What is an enchant directory?
 
 
 Stephan
 
 



Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Dear LyX Users,

I would like to keep my LyX settings synchronized between my home and
work PCs. Is there a preferred way to do this?

I have plenty of space in my Dropbox account and was thinking about
just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
suspect there is a more efficient way to go about this.

Many thanks in advance,

BL

PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.


Re: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

I would certainly advise against this!

If you wish to synchronize a config file across machines you could use
SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
and synchronize arbitrary files on a given machine, not only those put
in a special folder. In addition to this, SpiderOak provides too
privacy (they never have plain-data access to anything that you put on
their servers). And SpiderOak Hive provides the exact same
functionality as the My Dropbox folder. The downside of SpiderOak's
flexibility is that it can be less intuitive than Dropbox, but this is
very easy to work around.

Regards,
Liviu

PS You can get an additional 1GB of free storage space (for at total
of 3GB) if you created your account using my referral link:
https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
. This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Dear Liviu,

Thanks for suggesting SpiderOak. It looks like a nice service.

Aside from the particular service I use, though, would it be
sufficient to synchronize a certain folder or set of folders (if so,
which ones?) or should I have it sync all of LyX and MikTeX?

Best,
BL


On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear Liviu,

 Thanks for suggesting SpiderOak. It looks like a nice service.

 Aside from the particular service I use, though, would it be
 sufficient to synchronize a certain folder or set of folders (if so,
 which ones?) or should I have it sync all of LyX and MikTeX?

I think for LyX it should suffice to backup: ~/.lyx

But for MikTeX, it would be  a tall order. I guess as long as you have
'Install packages on the fly' option enabled and run Tools 
REconfigure in LyX, MikTeX should install all relevant packages that
you might be using. This should take care of most sync issues, I
think.

Liviu


 Best,
 BL


 On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com 
 wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Good point about MikTeX - I don't recall making too many direct edits
to MikTeX, so it's probably not necessary to sync.

For LyX: here is a rough outline of the procedure I had in mind. Does
it seem sensible?

1. Install LyX on machine A.

2. [?] Do something out of the ordinary for a LyX installation, e.g.
putting ~/.lyx somewhere other than the default?

3. Back up ~/.lyx to SpiderOak.

4. Install LyX on machine B.

5. [?] Repeat of 2?

6. Sync ~/.lyx with SpiderOak, doing [?] to ensure that settings made
on Machine A are carried over to Machine B rather than overwritten.

Many thanks again for your help.

BL


On Mon, Nov 3, 2014 at 1:29 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear Liviu,

 Thanks for suggesting SpiderOak. It looks like a nice service.

 Aside from the particular service I use, though, would it be
 sufficient to synchronize a certain folder or set of folders (if so,
 which ones?) or should I have it sync all of LyX and MikTeX?

 I think for LyX it should suffice to backup: ~/.lyx

 But for MikTeX, it would be  a tall order. I guess as long as you have
 'Install packages on the fly' option enabled and run Tools 
 REconfigure in LyX, MikTeX should install all relevant packages that
 you might be using. This should take care of most sync issues, I
 think.

 Liviu


 Best,
 BL


 On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com 
 wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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



 --
 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: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 8:31 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Good point about MikTeX - I don't recall making too many direct edits
 to MikTeX, so it's probably not necessary to sync.

 For LyX: here is a rough outline of the procedure I had in mind. Does
 it seem sensible?

 1. Install LyX on machine A.

 2. [?] Do something out of the ordinary for a LyX installation, e.g.
 putting ~/.lyx somewhere other than the default?

No. Keep the .lyx config dir where it is on your system.


 3. Back up ~/.lyx to SpiderOak.

 4. Install LyX on machine B.

 5. [?] Repeat of 2?

No. Repeat of 3 on machine B this time.


 6. Sync ~/.lyx with SpiderOak, doing [?] to ensure that settings made
 on Machine A are carried over to Machine B rather than overwritten.

Once both folders are backed up in SpiderOak, you simply need to
define a new Sync in SpiderOak that links the two folders.

Liviu


 Many thanks again for your help.

 BL


 On Mon, Nov 3, 2014 at 1:29 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear Liviu,

 Thanks for suggesting SpiderOak. It looks like a nice service.

 Aside from the particular service I use, though, would it be
 sufficient to synchronize a certain folder or set of folders (if so,
 which ones?) or should I have it sync all of LyX and MikTeX?

 I think for LyX it should suffice to backup: ~/.lyx

 But for MikTeX, it would be  a tall order. I guess as long as you have
 'Install packages on the fly' option enabled and run Tools 
 REconfigure in LyX, MikTeX should install all relevant packages that
 you might be using. This should take care of most sync issues, I
 think.

 Liviu


 Best,
 BL


 On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic landronim...@gmail.com 
 wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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



 --
 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



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Great.

Just to clarify, by ~/.lyx and .lyx config dir, you mean the user
directory? (Listed on my W7 PC as ~\AppData\Roaming\LyX2.1\)


Re: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 8:46 PM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Great.

 Just to clarify, by ~/.lyx and .lyx config dir, you mean the user
 directory? (Listed on my W7 PC as ~\AppData\Roaming\LyX2.1\)

Yes, quite possibly (`~/.lyx` is on Linux). It should be the dir
containing the `preferences` file, etc.

Liviu


-- 
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: dictionary not found

2014-11-03 Thread John Coppens
On Mon, 3 Nov 2014 14:22:22 +0100
Stephan Witt st.w...@gmx.net wrote:

 You're using LyX with backend support for more than one spell checker.
 Every spell checker comes with it's own shared library.
 These open calls are made on program startup to resolve the library function 
 addresses.
 Your strace output doesn't indicate any function call...

I see... Thanks. 

Yes, the function calls are much later. If you like, I can send
you the entire trace gzipped. It's about 280k long. But the calls are to
Enchant, not to the selected Hunspell.
 
  No other hunspell directory or file is opened after this. Several
  aspell/enchant directories *are* opened. 
 
 Where? What is an enchant directory?

I mean the directories where the enchant dictionaries are first looked for
(/usr/share/enchant)

These are the directories LyX looks in:

/usr/share/myspell
/usr/local/share/lyx
/root/.lyx

I.e., it does not look into hunspell's own directory. So, it seems we have
to provide a symlink here?


John


Re: dictionary not found

2014-11-03 Thread John Coppens
On Mon, 3 Nov 2014 15:19:48 + (UTC)
Marcelo Acuña marceloacu...@yahoo.com wrote:

 The problem with hunspell is that debian no have spanish dictionary for 
 hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. 

Marcelo, you can use the dictionaries from LibreOffice (OpenOffice), Firefox 
and others. The extensions
are strange (.xpi and such), but they are actually .zip files. So you can 
rename them to something.zip,
unzip them, and copy the contents to where LyX expects them (I would suggest 
/usr/share/myspell/ )

John


Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 22:14 schrieb John Coppens j...@jcoppens.com:

 On Mon, 3 Nov 2014 14:22:22 +0100
 Stephan Witt st.w...@gmx.net wrote:
 
 You're using LyX with backend support for more than one spell checker.
 Every spell checker comes with it's own shared library.
 These open calls are made on program startup to resolve the library function 
 addresses.
 Your strace output doesn't indicate any function call...
 
 I see... Thanks. 
 
 Yes, the function calls are much later. If you like, I can send
 you the entire trace gzipped. It's about 280k long. But the calls are to
 Enchant, not to the selected Hunspell.

No, thanks. :)

But seriously, I'm using strace to investigate the doing of a closed source 
program.
LyX is open source and I'm able to look at the source for problem solving.

Enchant is not a spell checker library itself but a so called broker or wrapper 
library.
You configure enchant which spell checker should be used for a given language.
You have to analyze your configuration carefully to tell what really happens.
LyX cannot tell how enchant is handling the request to spell check some string.
Unfortunately there is no good logging and error handling for enchant calls in 
LyX.
That's why I recommend the use of hunspell with LyX instead.

What I do not understand, why enchant is used instead of hunspell.
Are you sure your hunspell preference setting is active?
As I wrote in an earlier message you should be able to see the
hunspell file lookup messages if the debug messages are enabled.

 No other hunspell directory or file is opened after this. Several
 aspell/enchant directories *are* opened. 
 
 Where? What is an enchant directory?
 
 I mean the directories where the enchant dictionaries are first looked for
 (/usr/share/enchant)
 
 These are the directories LyX looks in:
 
 /usr/share/myspell
 /usr/local/share/lyx
 /root/.lyx
 
 I.e., it does not look into hunspell's own directory. So, it seems we have
 to provide a symlink here?

LyX's preference pane has an input field to define the path were to lookup
the hunspell dictionaries. No need for a symlink. I don't know how to
configure enchant to look at the correct place, sorry.

Stephan

How to convert Lyx file into doc?

2014-11-03 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Dear all, would be grateful for a bit of advice.

I often need to share my files (soft copy, in Lyx) with my authors. What
would be the best way to convert a Lyx file into a doc file, while
retaining its images and formatting?

Many thanks! FN

-- 
-- 
P +91-832-2409490 M 9822122436 Twitter: @fn Facebook: fredericknoronha
Latest from Goa,1556: http://goa1556.in/book/goa-in-sepia-tinted-postcards/
http://goa1556.in


Literature-directorie in beamer slides

2014-11-03 Thread Uwe Ade
Hello,

i have a master document with several include documents for my lectures. Now i 
want use a literatur-direcorie in each part document. 
Would this work?
Can i put the literature-frame every in the persentation i want or is it only 
possible to put this slides on the End of every part?

Thanks

uwe

Re: Lyx2lyx script failure trying to open year old file

2014-11-03 Thread Jürgen Spitzmüller
Graham Smith wrote:
> I am trying to open a file in 2.1.2,  which is about a year old (last
> opened 30th October 2013, as I update it annually), but not sure which
> version of Lyx it was last edited in.
> 
> I am getting an error that the file was created in an older version of lyx
> and the lyx2lyx script failed to recover it.
> 
> It is one of two documents created at the same time, and the second
> document opens fine.
> 
> This one however, gives this error message in Mavericks and Ubuntu 14.04.
> The debug message just says the same as the error message.
> 
> 
> I have attached the file, However it links to many  external graphics, so
> won't open as it is, but I am hoping that looking at the preamble etc might
> give a clue.
> 
> I wonder if someone could have a look and suggest a solution.

This is bug 9298:
http://www.lyx.org/trac/ticket/9298

The bug has been fixed in the development branch and should get fixed for the 
next stable release as well.

Meanwhile, find attached a successfully converted (2.1.x) file.

Jürgen

> Many thanks,
> 
> Graham



2013-10-29 R_GettingStarted Oct 2013.lyx
Description: application/lyx


Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 05:41 schrieb John Coppens :

> On Sun, 2 Nov 2014 22:43:17 +0100
> Stephan Witt  wrote:
> 
>> Can you try the Hunspell package, please?
>> Enchant support in LyX 2.1 is not very good.
> 
> I have exactly the same problem with hunspell. I compiled and installed it,
> added en_US and es_ES dictionaries, and tested it on a couple of text
> files from the console - no problem.
> 
> When I start it from LyX, I get the message "Spellchecker has no
> dictionaries"

So, the dictionaries are not found.

The hunspell backend is better prepared for this situation, though.
You can open the message pane (in View menu) and enable debug messages
for "Files used by LyX". Then make sure you've enabled the Hunspell 
checker in preferences. Now you can start the spell check and you'll see
the files/directories LyX is looking for dictionaries in message pane.

> Strange: I configured Hunspell in LyX and did an strace. In the strace
> output I found:
> 
> open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3
> read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 
> 832) = 832
> fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
> mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0x7ff13f128000
> mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
> mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
> close(3)= 0
> 
> open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3
> read(3, 
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., 832) 
> = 832
> fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
> mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0x7ff13ee68000
> mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
> mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
> mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
> close(3)= 0
> 
> Why is aspell called after hunspell?

You're using LyX with backend support for more than one spell checker.
Every spell checker comes with it's own shared library.
These open calls are made on program startup to resolve the library function 
addresses.
Your strace output doesn't indicate any function call...

> No other hunspell directory or file is opened after this. Several
> aspell/enchant directories *are* opened. 

Where? What is an enchant directory?

Stephan

Re: dictionary not found

2014-11-03 Thread Marcelo Acuña
The problem with hunspell is that debian no have spanish dictionary for 
hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. 
 

 El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt  
escribió:
   

 Am 03.11.2014 um 05:41 schrieb John Coppens :

> On Sun, 2 Nov 2014 22:43:17 +0100
> Stephan Witt  wrote:
> 
>> Can you try the Hunspell package, please?
>> Enchant support in LyX 2.1 is not very good.
> 
> I have exactly the same problem with hunspell. I compiled and installed it,
> added en_US and es_ES dictionaries, and tested it on a couple of text
> files from the console - no problem.
> 
> When I start it from LyX, I get the message "Spellchecker has no
> dictionaries"

So, the dictionaries are not found.

The hunspell backend is better prepared for this situation, though.
You can open the message pane (in View menu) and enable debug messages
for "Files used by LyX". Then make sure you've enabled the Hunspell 
checker in preferences. Now you can start the spell check and you'll see
the files/directories LyX is looking for dictionaries in message pane.

> Strange: I configured Hunspell in LyX and did an strace. In the strace
> output I found:
> 
> open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3
> read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 
> 832) = 832
> fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
> mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0x7ff13f128000
> mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
> mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
> close(3)                                = 0
> 
> open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3
> read(3, 
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., 832) 
> = 832
> fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
> mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0x7ff13ee68000
> mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
> mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
> mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
> close(3)                                = 0
> 
> Why is aspell called after hunspell?

You're using LyX with backend support for more than one spell checker.
Every spell checker comes with it's own shared library.
These open calls are made on program startup to resolve the library function 
addresses.
Your strace output doesn't indicate any function call...

> No other hunspell directory or file is opened after this. Several
> aspell/enchant directories *are* opened. 

Where? What is an enchant directory?

Stephan

   

Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 16:19 schrieb Marcelo Acuña :

> The problem with hunspell is that debian no have spanish dictionary for 
> hunspell.

Then you have to grab them from other source.

Which spell checker has a spanish dictionary?
 
> Plus I installed hunspell but is not recongized by lyx 2.1.x.

LyX has to be compiled with hunspell support. That's enough.
And you has to point it to the dictionaries if you have put them
to a non-standard place (/usr/share/myspell is standard for LyX).

Stephan

> El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt  
> escribió:
> 
> 
> Am 03.11.2014 um 05:41 schrieb John Coppens :
> 
> > On Sun, 2 Nov 2014 22:43:17 +0100
> > Stephan Witt  wrote:
> > 
> >> Can you try the Hunspell package, please?
> >> Enchant support in LyX 2.1 is not very good.
> > 
> > I have exactly the same problem with hunspell. I compiled and installed it,
> > added en_US and es_ES dictionaries, and tested it on a couple of text
> > files from the console - no problem.
> > 
> > When I start it from LyX, I get the message "Spellchecker has no
> > dictionaries"
> 
> So, the dictionaries are not found.
> 
> The hunspell backend is better prepared for this situation, though.
> You can open the message pane (in View menu) and enable debug messages
> for "Files used by LyX". Then make sure you've enabled the Hunspell 
> checker in preferences. Now you can start the spell check and you'll see
> the files/directories LyX is looking for dictionaries in message pane.
> 
> > Strange: I configured Hunspell in LyX and did an strace. In the strace
> > output I found:
> > 
> > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3
> > read(3, 
> > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 832) 
> > = 832
> > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
> > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> > 0x7ff13f128000
> > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
> > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
> > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
> > close(3)= 0
> > 
> > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3
> > read(3, 
> > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\\215\2\0\0\0\0\0"..., 
> > 832) = 832
> > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
> > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> > 0x7ff13ee68000
> > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
> > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
> > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x7ff13f118000
> > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
> > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
> > close(3)= 0
> > 
> > Why is aspell called after hunspell?
> 
> You're using LyX with backend support for more than one spell checker.
> Every spell checker comes with it's own shared library.
> These open calls are made on program startup to resolve the library function 
> addresses.
> Your strace output doesn't indicate any function call...
> 
> > No other hunspell directory or file is opened after this. Several
> > aspell/enchant directories *are* opened. 
> 
> Where? What is an enchant directory?
> 
> 
> Stephan
> 
> 



Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Dear LyX Users,

I would like to keep my LyX settings synchronized between my home and
work PCs. Is there a preferred way to do this?

I have plenty of space in my Dropbox account and was thinking about
just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
suspect there is a more efficient way to go about this.

Many thanks in advance,

BL

PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.


Re: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd  wrote:
> Dear LyX Users,
>
> I would like to keep my LyX settings synchronized between my home and
> work PCs. Is there a preferred way to do this?
>
> I have plenty of space in my Dropbox account and was thinking about
> just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
> suspect there is a more efficient way to go about this.
>
I would certainly advise against this!

If you wish to synchronize a config file across machines you could use
SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
and synchronize arbitrary files on a given machine, not only those put
in a special folder. In addition to this, SpiderOak provides too
privacy (they never have plain-data access to anything that you put on
their servers). And SpiderOak Hive provides the exact same
functionality as the My Dropbox folder. The downside of SpiderOak's
flexibility is that it can be less intuitive than Dropbox, but this is
very easy to work around.

Regards,
Liviu

PS You can get an additional 1GB of free storage space (for at total
of 3GB) if you created your account using my referral link:
https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
. This is part of the traditional SpiderOak Refer-A-Friend program.


> Many thanks in advance,
>
> BL
>
> PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Dear Liviu,

Thanks for suggesting SpiderOak. It looks like a nice service.

Aside from the particular service I use, though, would it be
sufficient to synchronize a certain folder or set of folders (if so,
which ones?) or should I have it sync all of LyX and MikTeX?

Best,
BL


On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic  wrote:
> On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd  wrote:
>> Dear LyX Users,
>>
>> I would like to keep my LyX settings synchronized between my home and
>> work PCs. Is there a preferred way to do this?
>>
>> I have plenty of space in my Dropbox account and was thinking about
>> just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
>> suspect there is a more efficient way to go about this.
>>
> I would certainly advise against this!
>
> If you wish to synchronize a config file across machines you could use
> SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
> and synchronize arbitrary files on a given machine, not only those put
> in a special folder. In addition to this, SpiderOak provides too
> privacy (they never have plain-data access to anything that you put on
> their servers). And SpiderOak Hive provides the exact same
> functionality as the My Dropbox folder. The downside of SpiderOak's
> flexibility is that it can be less intuitive than Dropbox, but this is
> very easy to work around.
>
> Regards,
> Liviu
>
> PS You can get an additional 1GB of free storage space (for at total
> of 3GB) if you created your account using my referral link:
> https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
> . This is part of the traditional SpiderOak Refer-A-Friend program.
>
>
>> Many thanks in advance,
>>
>> BL
>>
>> PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.
>
>
>
> --
> 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: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd  wrote:
> Dear Liviu,
>
> Thanks for suggesting SpiderOak. It looks like a nice service.
>
> Aside from the particular service I use, though, would it be
> sufficient to synchronize a certain folder or set of folders (if so,
> which ones?) or should I have it sync all of LyX and MikTeX?
>
I think for LyX it should suffice to backup: ~/.lyx

But for MikTeX, it would be  a tall order. I guess as long as you have
'Install packages on the fly' option enabled and run Tools >
REconfigure in LyX, MikTeX should install all relevant packages that
you might be using. This should take care of most sync issues, I
think.

Liviu


> Best,
> BL
>
>
> On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic  
> wrote:
>> On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd  wrote:
>>> Dear LyX Users,
>>>
>>> I would like to keep my LyX settings synchronized between my home and
>>> work PCs. Is there a preferred way to do this?
>>>
>>> I have plenty of space in my Dropbox account and was thinking about
>>> just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
>>> suspect there is a more efficient way to go about this.
>>>
>> I would certainly advise against this!
>>
>> If you wish to synchronize a config file across machines you could use
>> SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
>> and synchronize arbitrary files on a given machine, not only those put
>> in a special folder. In addition to this, SpiderOak provides too
>> privacy (they never have plain-data access to anything that you put on
>> their servers). And SpiderOak Hive provides the exact same
>> functionality as the My Dropbox folder. The downside of SpiderOak's
>> flexibility is that it can be less intuitive than Dropbox, but this is
>> very easy to work around.
>>
>> Regards,
>> Liviu
>>
>> PS You can get an additional 1GB of free storage space (for at total
>> of 3GB) if you created your account using my referral link:
>> https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
>> . This is part of the traditional SpiderOak Refer-A-Friend program.
>>
>>
>>> Many thanks in advance,
>>>
>>> BL
>>>
>>> PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.
>>
>>
>>
>> --
>> 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



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Good point about MikTeX - I don't recall making too many direct edits
to MikTeX, so it's probably not necessary to sync.

For LyX: here is a rough outline of the procedure I had in mind. Does
it seem sensible?

1. Install LyX on machine A.

2. [?] Do something out of the ordinary for a LyX installation, e.g.
putting ~/.lyx somewhere other than the default?

3. Back up ~/.lyx to SpiderOak.

4. Install LyX on machine B.

5. [?] Repeat of 2?

6. Sync ~/.lyx with SpiderOak, doing [?] to ensure that settings made
on Machine A are carried over to Machine B rather than overwritten.

Many thanks again for your help.

BL


On Mon, Nov 3, 2014 at 1:29 PM, Liviu Andronic  wrote:
> On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd  wrote:
>> Dear Liviu,
>>
>> Thanks for suggesting SpiderOak. It looks like a nice service.
>>
>> Aside from the particular service I use, though, would it be
>> sufficient to synchronize a certain folder or set of folders (if so,
>> which ones?) or should I have it sync all of LyX and MikTeX?
>>
> I think for LyX it should suffice to backup: ~/.lyx
>
> But for MikTeX, it would be  a tall order. I guess as long as you have
> 'Install packages on the fly' option enabled and run Tools >
> REconfigure in LyX, MikTeX should install all relevant packages that
> you might be using. This should take care of most sync issues, I
> think.
>
> Liviu
>
>
>> Best,
>> BL
>>
>>
>> On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic  
>> wrote:
>>> On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd  wrote:
 Dear LyX Users,

 I would like to keep my LyX settings synchronized between my home and
 work PCs. Is there a preferred way to do this?

 I have plenty of space in my Dropbox account and was thinking about
 just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
 suspect there is a more efficient way to go about this.

>>> I would certainly advise against this!
>>>
>>> If you wish to synchronize a config file across machines you could use
>>> SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
>>> and synchronize arbitrary files on a given machine, not only those put
>>> in a special folder. In addition to this, SpiderOak provides too
>>> privacy (they never have plain-data access to anything that you put on
>>> their servers). And SpiderOak Hive provides the exact same
>>> functionality as the My Dropbox folder. The downside of SpiderOak's
>>> flexibility is that it can be less intuitive than Dropbox, but this is
>>> very easy to work around.
>>>
>>> Regards,
>>> Liviu
>>>
>>> PS You can get an additional 1GB of free storage space (for at total
>>> of 3GB) if you created your account using my referral link:
>>> https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
>>> . This is part of the traditional SpiderOak Refer-A-Friend program.
>>>
>>>
 Many thanks in advance,

 BL

 PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.
>>>
>>>
>>>
>>> --
>>> 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
>
>
>
> --
> 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: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 8:31 PM, Bert Lloyd  wrote:
> Good point about MikTeX - I don't recall making too many direct edits
> to MikTeX, so it's probably not necessary to sync.
>
> For LyX: here is a rough outline of the procedure I had in mind. Does
> it seem sensible?
>
> 1. Install LyX on machine A.
>
> 2. [?] Do something out of the ordinary for a LyX installation, e.g.
> putting ~/.lyx somewhere other than the default?
>
No. Keep the .lyx config dir where it is on your system.


> 3. Back up ~/.lyx to SpiderOak.
>
> 4. Install LyX on machine B.
>
> 5. [?] Repeat of 2?
>
No. Repeat of 3 on machine B this time.


> 6. Sync ~/.lyx with SpiderOak, doing [?] to ensure that settings made
> on Machine A are carried over to Machine B rather than overwritten.
>
Once both folders are backed up in SpiderOak, you simply need to
define a new Sync in SpiderOak that links the two folders.

Liviu


> Many thanks again for your help.
>
> BL
>
>
> On Mon, Nov 3, 2014 at 1:29 PM, Liviu Andronic  wrote:
>> On Mon, Nov 3, 2014 at 7:25 PM, Bert Lloyd  wrote:
>>> Dear Liviu,
>>>
>>> Thanks for suggesting SpiderOak. It looks like a nice service.
>>>
>>> Aside from the particular service I use, though, would it be
>>> sufficient to synchronize a certain folder or set of folders (if so,
>>> which ones?) or should I have it sync all of LyX and MikTeX?
>>>
>> I think for LyX it should suffice to backup: ~/.lyx
>>
>> But for MikTeX, it would be  a tall order. I guess as long as you have
>> 'Install packages on the fly' option enabled and run Tools >
>> REconfigure in LyX, MikTeX should install all relevant packages that
>> you might be using. This should take care of most sync issues, I
>> think.
>>
>> Liviu
>>
>>
>>> Best,
>>> BL
>>>
>>>
>>> On Mon, Nov 3, 2014 at 11:25 AM, Liviu Andronic  
>>> wrote:
 On Mon, Nov 3, 2014 at 5:06 PM, Bert Lloyd  wrote:
> Dear LyX Users,
>
> I would like to keep my LyX settings synchronized between my home and
> work PCs. Is there a preferred way to do this?
>
> I have plenty of space in my Dropbox account and was thinking about
> just installing LyX (and MikTeX too, I suppose?) to Dropbox, but I
> suspect there is a more efficient way to go about this.
>
 I would certainly advise against this!

 If you wish to synchronize a config file across machines you could use
 SpiderOak. Unlike Dropbox, SpiderOak is more flexible and can backup
 and synchronize arbitrary files on a given machine, not only those put
 in a special folder. In addition to this, SpiderOak provides too
 privacy (they never have plain-data access to anything that you put on
 their servers). And SpiderOak Hive provides the exact same
 functionality as the My Dropbox folder. The downside of SpiderOak's
 flexibility is that it can be less intuitive than Dropbox, but this is
 very easy to work around.

 Regards,
 Liviu

 PS You can get an additional 1GB of free storage space (for at total
 of 3GB) if you created your account using my referral link:
 https://spideroak.com/download/referral/55f89bacc25641617a230e47766115ee
 . This is part of the traditional SpiderOak Refer-A-Friend program.


> Many thanks in advance,
>
> BL
>
> PS - Win 7 Pro 64-bit, using LyX 2.1.2 and MikTeX 2.9.



 --
 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
>>
>>
>>
>> --
>> 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



-- 
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: Synchronizing settings across PCs

2014-11-03 Thread Bert Lloyd
Great.

Just to clarify, by ~/.lyx and .lyx config dir, you mean the user
directory? (Listed on my W7 PC as "~\AppData\Roaming\LyX2.1\")


Re: Synchronizing settings across PCs

2014-11-03 Thread Liviu Andronic
On Mon, Nov 3, 2014 at 8:46 PM, Bert Lloyd  wrote:
> Great.
>
> Just to clarify, by ~/.lyx and .lyx config dir, you mean the user
> directory? (Listed on my W7 PC as "~\AppData\Roaming\LyX2.1\")
>
Yes, quite possibly (`~/.lyx` is on Linux). It should be the dir
containing the `preferences` file, etc.

Liviu


-- 
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: dictionary not found

2014-11-03 Thread John Coppens
On Mon, 3 Nov 2014 14:22:22 +0100
Stephan Witt  wrote:

> You're using LyX with backend support for more than one spell checker.
> Every spell checker comes with it's own shared library.
> These open calls are made on program startup to resolve the library function 
> addresses.
> Your strace output doesn't indicate any function call...

I see... Thanks. 

Yes, the function calls are much later. If you like, I can send
you the entire trace gzipped. It's about 280k long. But the calls are to
Enchant, not to the selected Hunspell.
 
> > No other hunspell directory or file is opened after this. Several
> > aspell/enchant directories *are* opened. 
> 
> Where? What is an enchant directory?

I mean the directories where the enchant dictionaries are first looked for
(/usr/share/enchant)

These are the directories LyX looks in:

/usr/share/myspell
/usr/local/share/lyx
/root/.lyx

I.e., it does not look into hunspell's own directory. So, it seems we have
to provide a symlink here?


John


Re: dictionary not found

2014-11-03 Thread John Coppens
On Mon, 3 Nov 2014 15:19:48 + (UTC)
Marcelo Acuña  wrote:

> The problem with hunspell is that debian no have spanish dictionary for 
> hunspell.Plus I installed hunspell but is not recongized by lyx 2.1.x. 

Marcelo, you can use the dictionaries from LibreOffice (OpenOffice), Firefox 
and others. The extensions
are strange (.xpi and such), but they are actually .zip files. So you can 
rename them to something.zip,
unzip them, and copy the contents to where LyX expects them (I would suggest 
/usr/share/myspell/ )

John


Re: dictionary not found

2014-11-03 Thread Stephan Witt
Am 03.11.2014 um 22:14 schrieb John Coppens :

> On Mon, 3 Nov 2014 14:22:22 +0100
> Stephan Witt  wrote:
> 
>> You're using LyX with backend support for more than one spell checker.
>> Every spell checker comes with it's own shared library.
>> These open calls are made on program startup to resolve the library function 
>> addresses.
>> Your strace output doesn't indicate any function call...
> 
> I see... Thanks. 
> 
> Yes, the function calls are much later. If you like, I can send
> you the entire trace gzipped. It's about 280k long. But the calls are to
> Enchant, not to the selected Hunspell.

No, thanks. :)

But seriously, I'm using strace to investigate the doing of a closed source 
program.
LyX is open source and I'm able to look at the source for problem solving.

Enchant is not a spell checker library itself but a so called broker or wrapper 
library.
You configure enchant which spell checker should be used for a given language.
You have to analyze your configuration carefully to tell what really happens.
LyX cannot tell how enchant is handling the request to spell check some string.
Unfortunately there is no good logging and error handling for enchant calls in 
LyX.
That's why I recommend the use of hunspell with LyX instead.

What I do not understand, why enchant is used instead of hunspell.
Are you sure your hunspell preference setting is active?
As I wrote in an earlier message you should be able to see the
hunspell file lookup messages if the debug messages are enabled.

>>> No other hunspell directory or file is opened after this. Several
>>> aspell/enchant directories *are* opened. 
>> 
>> Where? What is an enchant directory?
> 
> I mean the directories where the enchant dictionaries are first looked for
> (/usr/share/enchant)
> 
> These are the directories LyX looks in:
> 
> /usr/share/myspell
> /usr/local/share/lyx
> /root/.lyx
> 
> I.e., it does not look into hunspell's own directory. So, it seems we have
> to provide a symlink here?

LyX's preference pane has an input field to define the path were to lookup
the hunspell dictionaries. No need for a symlink. I don't know how to
configure enchant to look at the correct place, sorry.

Stephan

How to convert Lyx file into doc?

2014-11-03 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Dear all, would be grateful for a bit of advice.

I often need to share my files (soft copy, in Lyx) with my authors. What
would be the best way to convert a Lyx file into a doc file, while
retaining its images and formatting?

Many thanks! FN

-- 
-- 
P +91-832-2409490 M 9822122436 Twitter: @fn Facebook: fredericknoronha
Latest from Goa,1556: http://goa1556.in/book/goa-in-sepia-tinted-postcards/



Literature-directorie in beamer slides

2014-11-03 Thread Uwe Ade
Hello,

i have a master document with several include documents for my lectures. Now i 
want use a literatur-direcorie in each part document. 
Would this work?
Can i put the literature-frame every in the persentation i want or is it only 
possible to put this slides on the End of every part?

Thanks

uwe