Re: spellchecker

2018-08-24 Thread Scott Kostyshak
On Fri, Aug 24, 2018 at 08:34:47PM +0200, Wolfgang Engelmann wrote:

> just checked, but build-dep lyx is not found by synaptic and checking for
> build-dep gives:
> 
> W: Target Translations (multiverse/i18n/Translation-en) is configured
> multiple times in /etc/apt/sources.list:3 and
> /etc/apt/sources.list.d/official-package-repositories.list:3
> 
> What to do?
> Wolfgang

I'm not sure. It's been a long time since I've had to look into an issue
like that. I was hoping that if I did build-dep on my machine I could
give you the list of packages, but I just get:

$ sudo apt-get build-dep lyx
[sudo] password for scott: 
Reading package lists... Done
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 53 not upgraded.
$

I'm not sure how to see what those 53 packages are. I tried to use a
"verbose" option but didn't find one.

Scott


signature.asc
Description: PGP signature


Re: spellchecker

2018-08-24 Thread Paul A. Rubin

On 08/24/2018 02:23 PM, Wolfgang Engelmann wrote:



On 08/24/2018 08:00 PM, Wolfgang Engelmann wrote:



On 08/24/2018 07:06 PM, Scott Kostyshak wrote:

On Fri, Aug 24, 2018 at 11:10:33AM +0200, Wolfgang Engelmann wrote:
I reinstalled LyX under Linux and want to get its spellchecking 
capability.

Hi Wolfgang,

How did you install LyX? Custom compile? If so, CMake or Autotools?

I compiled LyX 2.3.0 from source https://www.lyx.org/Download/
and used after make src/lyx to try it out. Have not yet made make 
install.

If
you used a pre-compiled binary, was it from your distro's repo or from
e.g., a PPA? What Linux distribution do you use? What version of LyX 
did

you install?

Does spellchecking in any language work?

no

  What do you have in Tools >
Preferences > Paths > Hunspell dictionaries?

nothing yet


Where do I keep the hunspell files (English, German) under linux? 
in .lyx?

It wasn't clear to me from the User guide >

Do any of the following help or is this a freshly new issue?

https://www.mail-archive.com/search?l=mid=201305180839.34334.engelmann%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=556583B3.7070709%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=55E7FE9C.7020308%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=5710A7BE.7070303%40uni-tuebingen.de 



Best,

Scott

Thanks for reply, Scott, and the reminders of earlier mails.
I had difficulties with installing debian stretch anew and switched 
to linux-mint for the time being. Checking for build-dep lyx I got

we$ sudo apt-get build-dep lyx
[sudo] password for wolfgang:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
There is apparently only one line in the sources list, and this is 
commented out:
#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171127]/ 
xenial contrib main non-free

I got the usual official-package-repositories.list
>
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe 
multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted 
universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted 
universe multiverse

deb http://archive.canonical.com/ubuntu/ trusty partner

and tried build-dep lyx again but got

Unable to locate package build-dep



I am new to linux mint and have to find out how to proceed.
Thanks again
Wolfgang



Wolfgang,

I'm a Mint user. I suggest you start in the Software Manager (which you 
can find in the Mint menu). Search for "Enchant" and, if not installed, 
install it there. (Using the software manager rather than Synaptic 
facilitates reinstalling software after a system upgrade.) Once Enchant 
is installed, select it as the spellchecker engine in the LyX 
preferences menu.


Enchant is actually a wrapper. It will pick the first available 
spellchecker program from a prioritized list that you can customize. I 
have not customized it on my system. The default list is in the file 
/usr/share/enchant/enchant.ordering. In my case, the default ordering is 
myspell, then aspell, then ispell (of which only aspell is installed, so 
I guess that's what it uses). If you have more than one spellchecker 
installed, you can give different orderings for different languages.


If you find you do not have all the languages you need, you can go back 
to the Software Manager and search for either "Hunspell" or "Myspell", 
then install dictionaries from there. I'm not exactly sure how Enchant 
finds the extra dictionaries, but it does. I have only the English 
aspell dictionary, but I have a bunch of Hunspell dictionaries 
(including German) and a few Myspell dictionaries (including Portuguese, 
though I have no idea why). I just tried typing a German sentence in a 
new LyX document, which defaulted to English. Enchant flagged every word 
as misspelled. As soon as I changed the document language to German, 
every word passed muster. So apparently Enchant was able to find the 
Hunspell German dictionary.


Hope this helps,
Paul





Re: spellchecker

2018-08-24 Thread Wolfgang Engelmann




On 08/24/2018 08:23 PM, Wolfgang Engelmann wrote:



On 08/24/2018 08:00 PM, Wolfgang Engelmann wrote:



On 08/24/2018 07:06 PM, Scott Kostyshak wrote:

On Fri, Aug 24, 2018 at 11:10:33AM +0200, Wolfgang Engelmann wrote:
I reinstalled LyX under Linux and want to get its spellchecking 
capability.

Hi Wolfgang,

How did you install LyX? Custom compile? If so, CMake or Autotools?

I compiled LyX 2.3.0 from source https://www.lyx.org/Download/
and used after make src/lyx to try it out. Have not yet made make 
install.

If
you used a pre-compiled binary, was it from your distro's repo or from
e.g., a PPA? What Linux distribution do you use? What version of LyX 
did

you install?

Does spellchecking in any language work?

no

  What do you have in Tools >
Preferences > Paths > Hunspell dictionaries?

nothing yet


Where do I keep the hunspell files (English, German) under linux? 
in .lyx?

It wasn't clear to me from the User guide >

Do any of the following help or is this a freshly new issue?

https://www.mail-archive.com/search?l=mid=201305180839.34334.engelmann%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=556583B3.7070709%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=55E7FE9C.7020308%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=5710A7BE.7070303%40uni-tuebingen.de 



Best,

Scott

Thanks for reply, Scott, and the reminders of earlier mails.
I had difficulties with installing debian stretch anew and switched 
to linux-mint for the time being. Checking for build-dep lyx I got

we$ sudo apt-get build-dep lyx
[sudo] password for wolfgang:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
There is apparently only one line in the sources list, and this is 
commented out:
#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171127]/ 
xenial contrib main non-free

I got the usual official-package-repositories.list
>
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe 
multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted 
universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted 
universe multiverse

deb http://archive.canonical.com/ubuntu/ trusty partner

and tried build-dep lyx again but got

Unable to locate package build-dep



I am new to linux mint and have to find out how to proceed.
Thanks again
Wolfgang


just checked, but build-dep lyx is not found by synaptic and checking 
for build-dep gives:


W: Target Translations (multiverse/i18n/Translation-en) is configured 
multiple times in /etc/apt/sources.list:3 and 
/etc/apt/sources.list.d/official-package-repositories.list:3


What to do?
Wolfgang


Re: spellchecker

2018-08-24 Thread Wolfgang Engelmann




On 08/24/2018 08:00 PM, Wolfgang Engelmann wrote:



On 08/24/2018 07:06 PM, Scott Kostyshak wrote:

On Fri, Aug 24, 2018 at 11:10:33AM +0200, Wolfgang Engelmann wrote:
I reinstalled LyX under Linux and want to get its spellchecking 
capability.

Hi Wolfgang,

How did you install LyX? Custom compile? If so, CMake or Autotools?

I compiled LyX 2.3.0 from source https://www.lyx.org/Download/
and used after make src/lyx to try it out. Have not yet made make 
install.

If
you used a pre-compiled binary, was it from your distro's repo or from
e.g., a PPA? What Linux distribution do you use? What version of LyX did
you install?

Does spellchecking in any language work?

no

  What do you have in Tools >
Preferences > Paths > Hunspell dictionaries?

nothing yet


Where do I keep the hunspell files (English, German) under linux? in 
.lyx?

It wasn't clear to me from the User guide >

Do any of the following help or is this a freshly new issue?

https://www.mail-archive.com/search?l=mid=201305180839.34334.engelmann%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=556583B3.7070709%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=55E7FE9C.7020308%40uni-tuebingen.de 

https://www.mail-archive.com/search?l=mid=5710A7BE.7070303%40uni-tuebingen.de 



Best,

Scott

Thanks for reply, Scott, and the reminders of earlier mails.
I had difficulties with installing debian stretch anew and switched to 
linux-mint for the time being. Checking for build-dep lyx I got

we$ sudo apt-get build-dep lyx
[sudo] password for wolfgang:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
There is apparently only one line in the sources list, and this is 
commented out:
#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171127]/ xenial 
contrib main non-free

I got the usual official-package-repositories.list
>
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe 
multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted 
universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted 
universe multiverse

deb http://archive.canonical.com/ubuntu/ trusty partner

and tried build-dep lyx again but got

Unable to locate package build-dep



I am new to linux mint and have to find out how to proceed.
Thanks again
Wolfgang




Re: spellchecker

2018-08-24 Thread Wolfgang Engelmann




On 08/24/2018 07:06 PM, Scott Kostyshak wrote:

On Fri, Aug 24, 2018 at 11:10:33AM +0200, Wolfgang Engelmann wrote:

I reinstalled LyX under Linux and want to get its spellchecking capability.

Hi Wolfgang,

How did you install LyX? Custom compile? If so, CMake or Autotools?

I compiled LyX 2.3.0 from source https://www.lyx.org/Download/
and used after make src/lyx to try it out. Have not yet made make install.

If
you used a pre-compiled binary, was it from your distro's repo or from
e.g., a PPA? What Linux distribution do you use? What version of LyX did
you install?

Does spellchecking in any language work?

no

  What do you have in Tools >
Preferences > Paths > Hunspell dictionaries?

nothing yet



Where do I keep the hunspell files (English, German) under linux? in .lyx?
It wasn't clear to me from the User guide >

Do any of the following help or is this a freshly new issue?

https://www.mail-archive.com/search?l=mid=201305180839.34334.engelmann%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid=556583B3.7070709%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid=55E7FE9C.7020308%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid=5710A7BE.7070303%40uni-tuebingen.de

Best,

Scott

Thanks for reply, Scott, and the reminders of earlier mails.
I had difficulties with installing debian stretch anew and switched to 
linux-mint for the time being. Checking for build-dep lyx I got

we$ sudo apt-get build-dep lyx
[sudo] password for wolfgang:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
There is apparently only one line in the sources list, and this is 
commented out:
#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171127]/ xenial 
contrib main non-free


I am new to linux mint and have to find out how to proceed.
Thanks again
Wolfgang


Re: spellchecker

2018-08-24 Thread Scott Kostyshak
On Fri, Aug 24, 2018 at 11:10:33AM +0200, Wolfgang Engelmann wrote:
> I reinstalled LyX under Linux and want to get its spellchecking capability.

Hi Wolfgang,

How did you install LyX? Custom compile? If so, CMake or Autotools? If
you used a pre-compiled binary, was it from your distro's repo or from
e.g., a PPA? What Linux distribution do you use? What version of LyX did
you install?

Does spellchecking in any language work? What do you have in Tools >
Preferences > Paths > Hunspell dictionaries?

> Where do I keep the hunspell files (English, German) under linux? in .lyx? 
> It wasn't clear to me from the User guide >

Do any of the following help or is this a freshly new issue?

https://www.mail-archive.com/search?l=mid=201305180839.34334.engelmann%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid=556583B3.7070709%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid=55E7FE9C.7020308%40uni-tuebingen.de
https://www.mail-archive.com/search?l=mid=5710A7BE.7070303%40uni-tuebingen.de

Best,

Scott


signature.asc
Description: PGP signature


Re: Bulk loading of data into a table

2018-08-24 Thread Rich Shepard

On Fri, 24 Aug 2018, Paul A. Rubin wrote:


Seems to me that, in the past, I have created an empty table of the proper
size in LyX, copied the contents of a table from a spreadsheet, and then
just put the cursor in the top left table cell in LyX and pasted.


Paul,

  The LyX wiki explains that a table can be linked to a spreadsheet and
reflect spreadsheet changes (which I think was the case with some of the DOS
office suites in the 1980s), which does not help when the data are in a text
file.

  Riki's solution works as a two-step process. Using Insert -> Table
specifying a 2-column x 20-row text file opened a new LyX tab with the data.
At first I did not see the faint remnants of the table's turned off borders
and thought it was a matrix without format. When I noticed that the new tab
was actually a table I copied it to the tab with the target document, added
appropriate horizontal headers, and closed the input tab.

  Works great. A new LyX capability made known to me.

Regards,

Rich



Re: Bulk loading of data into a table

2018-08-24 Thread Paul A. Rubin

On 08/21/2018 04:32 PM, Rich Shepard wrote:
The wiki has a process for linking a table to a spreadsheet but I 
found no
hints on how to load bulk data into a table. Now I have quartile 
summaries

for each of 19 years of data. That's a table with 19 rows and 7 columns.

  I'll have more data like this to insert into tables and would 
welcome any

hints on how to format the data so it can be inserted in one fell swoop.

TIA,

Rich

Rich,

Seems to me that, in the past, I have created an empty table of the 
proper size in LyX, copied the contents of a table from a spreadsheet, 
and then just put the cursor in the top left table cell in LyX and pasted.


Paul



Re: Scalebox / Resizebox via GUI?

2018-08-24 Thread Joel Kulesza


> On Aug 24, 2018, at 02:13, Jürgen Spitzmüller  wrote:
> 
> Am Mittwoch, den 22.08.2018, 16:06 -0600 schrieb Joel Kulesza:
>> P.S. Is there a reason this is in a module and not in the GUI
>> natively?
> 
> Because it is so much easier to hack together a module than to add
> proper GUI support.

Understood, thanks!

spellchecker

2018-08-24 Thread Wolfgang Engelmann

I reinstalled LyX under Linux and want to get its spellchecking capability.

Where do I keep the hunspell files (English, German) under linux? in 
.lyx?  It wasn't clear to me from the User guide >


All spell-checker dictionaries supported by LyX can be downloaded from 
here:https://sourceforge.net/projects/lyxwininstaller/files/hunspell/


There are 2 files for each language.

((To install a dictionary on Windows, copy the 2 files into LyX's 
installation subfolder ~\Resources\dicts and restart LyX.))


>>With Linux one needs to install the packages for the desired 
language. The number of these packages vary depending on the Linux 
distribution, but in most cases these are aspell-xx, hunspell-xx, 
myspell-xx, etc., where xx is the language code


Wolfgang



Re: Fwd: Scalebox / Resizebox via GUI?

2018-08-24 Thread Jürgen Spitzmüller
Am Mittwoch, den 22.08.2018, 16:06 -0600 schrieb Joel Kulesza:
> P.S. Is there a reason this is in a module and not in the GUI
> natively?

Because it is so much easier to hack together a module than to add
proper GUI support.

Jürgen


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