Re: LyX 2.3.0 - display of int

2018-08-25 Thread M.B. Schiekel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 25.08.2018 um 17:21 schrieb Ricardo Berlasso:
> ... I also have problems with int display in 2.3.0 (openSUSE 15.1).
> When looking at LyX's fonts I can see what's shown in the
> attachment.
> 
> Regards, Ricardo


Hi Ricardo,

welcome in our group of LyX openSUSE Leap 15.0 victims :-)
I think, you're working with 15.0, because there is no 15.1 version out.
Our research until now showed, that this seems to be a problem of the
openSUSE Leap 15.0 environment, because the LyX_screefonts (\int, ...)
in LyX 2.2.4 and 2.3.0 are working correct in openSUSE Leap 42.3 .
Might be TeXLive 2018 will bring some help, but I've tried not yet.
Might be it's a KDE-Plasma-fault, or anything other, ...
The generated PDF is pleasingly Ok.

Any suggestions are welcome :-)
bernhard

- -- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
-BEGIN PGP SIGNATURE-

iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCW4GHnAAKCRCxOsCN/2xX
CrHLAJ0RsKnX6NG+twoc+Eis3WD4PHipnQCbBxvqMwLlg6EEJ7wvhbhQWAsTAwU=
=TMSX
-END PGP SIGNATURE-


Re: LyX 2.3.0 - display of int

2018-08-25 Thread M.B. Schiekel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 25.08.2018 um 17:09 schrieb Kornel Benko:
> ... 'Times New Roman' is not 'Latin Modern Roman' ...

Hi Kornel,

right :-)
Changing from 'Times New Roman' to 'Latin Modern Roman' resulted in no
change, so I restored my original 'Times New Roman'.
But for you I made
  lyx -dbg font
again with 'Latin Modern Roman' :-)

Cheers,
bernhard

- -- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
-BEGIN PGP SIGNATURE-

iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCW4GD5gAKCRCxOsCN/2xX
CpjEAJ9RKOhxCXR4RVy+P197wjLCYD+T3wCgo+GfCbXvnBdbd3Xb4n+KxJv1wf8=
=QUPu
-END PGP SIGNATURE-
munish@linux-cq7k:~> lyx -dbg font
Festlegen des Test-Levels auf font
Testen von ,font` (Schrift-Handhabung)
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmex10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmmi10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmr10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmsy10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/esint10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/eufm10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/msam10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/msbm10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/rsfs10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/stmary10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/wasy10.ttf OK
GuiFontLoader.cpp (356): Font 'Roman, Medium, Upright, Normal, none, Emphasis 
Off, Underline Off, Strike out Off, Cross out Off, Double underline Off, Wavy 
underline Off, Noun Off, ' matched by
Latin Modern Roman
GuiFontLoader.cpp (362): This font is NOT an exact match
GuiFontLoader.cpp (364): XFLD: unknown
GuiFontLoader.cpp (368): The font has size: 15
GuiFontLoader.cpp (186): Looking for font family eufm10 ... 
GuiFontLoader.cpp (169): got: eufm10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmsy10 ... 
GuiFontLoader.cpp (169): got: cmsy10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmmi10 ... 
GuiFontLoader.cpp (169): got: cmmi10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmr10 ... 
GuiFontLoader.cpp (169): got: cmr10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmex10 ... 
GuiFontLoader.cpp (169): got: cmex10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family msam10 ... 
GuiFontLoader.cpp (169): got: msam10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family msbm10 ... 
GuiFontLoader.cpp (169): got: msbm10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family wasy10 ... 
GuiFontLoader.cpp (169): got: wasy10 [unknown]
GuiFontLoader.cpp (201): Trying normal wasy10 ... 
GuiFontLoader.cpp (169): got: wasy10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (186): Looking for font family stmary10 ... 
GuiFontLoader.cpp (169): got: stmary10 [unknown]
GuiFontLoader.cpp (201): Trying normal stmary10 ... 
GuiFontLoader.cpp (169): got: stmary10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (186): Looking for font family esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (201): Trying normal esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (356): Font 'Roman, Medium, Italic, Normal, none, Emphasis 
Off, Underline Off, Strike out Off, Cross out Off, Double underline Off, Wavy 
underline Off, Noun Off, ' matched by
Latin Modern Roman
GuiFontLoader.cpp (362): This font is NOT an exact match
GuiFontLoader.cpp (364): XFLD: unknown
GuiFontLoader.cpp (368): The font has size: 15
GuiFontLoader.cpp (186): Looking for font family esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (201): Trying normal esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (356): Font 'esint, Medium, Upright, Normal, none, Emphasis 
Off, Underline Off, Strike out Off, Cross out Off, Double underline Off, Wavy 
underline Off, Noun Off, ' matched by
esint10
GuiFontLoader.cpp (362): This font is NOT an exact match
GuiFontLoader.cpp (364): XFLD: unknown
GuiFontLoader.cpp (368): The font has size: 15
Save document?



Re: spellchecker

2018-08-25 Thread Kornel Benko
Am Samstag, 25. August 2018 09:26:27 CEST schrieb Scott Kostyshak 
:
> > Depends: python (>= 2.6), libaspell15 (>= 0.60.7~20110707), libc6 (>= 
> > 2.14), libenchant1c2a (>= 1.6.0), libgcc1 (>= 1:3.0), libmagic1 (>= 5.12), 
> > libqt5core5a (>= 5.6.0~beta), libqt5gui5 (>= 5.2.0) | libqt5gui5-gles (>= 
> > 5.2.0), libqt5svg5 (>= 5.6.0~beta), libqt5widgets5 (>= 5.6.0~beta), 
> > libqt5x11extras5 (>= 5.6.0), libstdc++6 (>= 5.2), libxcb1, zlib1g (>= 
> > 1:1.1.4)
> > Description: A WYSIWYM (What You See Is What You Mean) document processor
> 
> But these are not the packages needed for building LyX (e.g. there are
> no -dev packages above). They are the packages needed for installing a
> pre-built binary.
> 
> Scott

Right, sorry.

Kornel

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


Re: spellchecker

2018-08-25 Thread Paul A. Rubin

On 08/25/2018 03:33 AM, Wolfgang Engelmann wrote:



On 24.08.2018 23:53, Paul A. Rubin wrote:

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



Thanks, Paul, for all the advices. Enchant is installed. In 
tools>preferences there is a selection item called Hunspell 
dictionaries, but clicking on Browse does not open the browser in 
contrast to all the other Browse boxes above and below it. Could this 
be due to the fact, that I have not yet made make install, but work 
with src/lyx for the time being?

Wolfgang

You've got me there. I never compile LyX, I just use packaged .deb 
files. On my system, the drop-down list in Preferences for the 
spellchecker engine contains only one entry (Enchant).


Paul



Re: LyX 2.3.0 - display of int

2018-08-25 Thread Kornel Benko
Am Samstag, 25. August 2018 16:41:20 CEST schrieb M.B. Schiekel 
:
> GuiFontLoader.cpp (356): Font 'Roman, Medium, Upright, Normal, none, Emphasis 
> Off, Underline Off, Strike out Off, Cross out Off, Double underline Off, Wavy 
> underline Off, Noun Off, ' matched by
> Times New Roman
> 

'Times New Roman' is not 'Latin Modern Roman'

Kornel

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


Re: LyX 2.3.0 - display of int

2018-08-25 Thread M.B. Schiekel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> ... You could look at the output from:
> 
> lyx -dbg font
> 
> Maybe it provides clues.


Hi Scott,

thank you for your kind reply. I added the output of
  lyx -dbg font .
Might be you see more in this output than me ?

Cheers,
bernhard


- -- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
-BEGIN PGP SIGNATURE-

iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCW4FqigAKCRCxOsCN/2xX
CoosAJ0TaePxf2QFprJP2betqRHvT2U8OwCePl8PGMzpqVIdVld9J4u6O+r13DM=
=Hwh0
-END PGP SIGNATURE-
lyx -dbg font
Festlegen des Test-Levels auf font
Testen von ,font` (Schrift-Handhabung)
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmex10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmmi10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmr10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/cmsy10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/esint10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/eufm10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/msam10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/msbm10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/rsfs10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/stmary10.ttf OK
GuiFontLoader.cpp (250): Adding font /usr/share/lyx/fonts/wasy10.ttf OK
GuiFontLoader.cpp (356): Font 'Roman, Medium, Upright, Normal, none, Emphasis 
Off, Underline Off, Strike out Off, Cross out Off, Double underline Off, Wavy 
underline Off, Noun Off, ' matched by
Times New Roman
GuiFontLoader.cpp (362): This font is NOT an exact match
GuiFontLoader.cpp (364): XFLD: unknown
GuiFontLoader.cpp (368): The font has size: 15  
  
GuiFontLoader.cpp (186): Looking for font family eufm10 ... 
  
GuiFontLoader.cpp (169): got: eufm10
  
GuiFontLoader.cpp (176):  got it
  
GuiFontLoader.cpp (196): lyx!   
  
GuiFontLoader.cpp (186): Looking for font family cmsy10 ... 
  
GuiFontLoader.cpp (169): got: cmsy10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmmi10 ... 
GuiFontLoader.cpp (169): got: cmmi10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmr10 ... 
GuiFontLoader.cpp (169): got: cmr10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family cmex10 ... 
GuiFontLoader.cpp (169): got: cmex10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family msam10 ... 
GuiFontLoader.cpp (169): got: msam10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family msbm10 ... 
GuiFontLoader.cpp (169): got: msbm10
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (196): lyx!
GuiFontLoader.cpp (186): Looking for font family wasy10 ... 
GuiFontLoader.cpp (169): got: wasy10 [unknown]
GuiFontLoader.cpp (201): Trying normal wasy10 ... 
GuiFontLoader.cpp (169): got: wasy10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (186): Looking for font family stmary10 ... 
GuiFontLoader.cpp (169): got: stmary10 [unknown]
GuiFontLoader.cpp (201): Trying normal stmary10 ... 
GuiFontLoader.cpp (169): got: stmary10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (186): Looking for font family esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (201): Trying normal esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (356): Font 'Roman, Medium, Italic, Normal, none, Emphasis 
Off, Underline Off, Strike out Off, Cross out Off, Double underline Off, Wavy 
underline Off, Noun Off, ' matched by
Times New Roman
GuiFontLoader.cpp (362): This font is NOT an exact match
GuiFontLoader.cpp (364): XFLD: unknown
GuiFontLoader.cpp (368): The font has size: 15
GuiFontLoader.cpp (186): Looking for font family esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (201): Trying normal esint10 ... 
GuiFontLoader.cpp (169): got: esint10 [unknown]
GuiFontLoader.cpp (176):  got it 
GuiFontLoader.cpp (206): normal!
GuiFontLoader.cpp (356): Font 'esint, Medium, 

Re: spellchecker

2018-08-25 Thread Scott Kostyshak
On Sat, Aug 25, 2018 at 09:00:48AM +0200, Kornel Benko wrote:
> Am Freitag, 24. August 2018 23:12:18 CEST schrieb 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.
> 
> These packages are not affected by the lyx package. They are the ones, which 
> would be removed
> if you would use 'apt-get autoremove'
> 
> > 
> > Scott
> > 
> 
> On packages which are made with 'our' cmake, you can use
>   # dpkg --info lyx24-2.4.0-51446git-Linux.deb
> or, for the installed
>   # dpkg -s lyx24
>   Package: lyx24
>   Status: install ok installed
>   Priority: optional
>   Section: devel
>   Installed-Size: 87325
>   Maintainer: lyx-de...@lists.lyx.org
>   Architecture: amd64
>   Version: 2.4.0-51446git-g2d4ac90
>   Depends: python (>= 2.6), libaspell15 (>= 0.60.7~20110707), 
> libc6 (>= 2.14), libenchant1c2a (>= 1.6.0), libgcc1 (>= 1:3.0), libmagic1 (>= 
> 5.12), libqt5core5a (>= 5.6.0~beta), libqt5gui5 (>= 5.2.0) | libqt5gui5-gles 
> (>= 5.2.0), libqt5svg5 (>= 5.6.0~beta), libqt5widgets5 (>= 5.6.0~beta), 
> libqt5x11extras5 (>= 5.6.0), libstdc++6 (>= 5.2), libxcb1, zlib1g (>= 1:1.1.4)
>   Description: A WYSIWYM (What You See Is What You Mean) document 
> processor

But these are not the packages needed for building LyX (e.g. there are
no -dev packages above). They are the packages needed for installing a
pre-built binary.

Scott


Re: LyX 2.3.0 - display of int

2018-08-25 Thread Scott Kostyshak
On Sat, Aug 25, 2018 at 11:43:37AM +0200, M.B. Schiekel wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Am 23.08.2018 um 18:13 schrieb Kornel Benko:
> > ... That is a problem. The preferences there apply only to
> > text-fonts. We don't have yet preferences for math font in
> > lyx-display. Could be made a feature request though. OTOH, some
> > fonts have own math fonts. Try for instance to use Latin Modern
> > Roman as your serif font. This changes here the display of math
> > formulas, so there is hope. ...
> 
> 
> Hi, Kornel
> 
> thank you for your answer, but unfortunately your suggestion didn't
> worked.
> Now I've fooled around and tried this & that, even a plain vanilla
> installation of openSUSE Leap 15.0, but nothing worked.
> Any other ideas are welcome :-)

You could look at the output from:

  lyx -dbg font

Maybe it provides clues.

Scott


Re: LyX 2.3.0 - display of int

2018-08-25 Thread M.B. Schiekel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 23.08.2018 um 18:13 schrieb Kornel Benko:
> ... That is a problem. The preferences there apply only to
> text-fonts. We don't have yet preferences for math font in
> lyx-display. Could be made a feature request though. OTOH, some
> fonts have own math fonts. Try for instance to use Latin Modern
> Roman as your serif font. This changes here the display of math
> formulas, so there is hope. ...


Hi, Kornel

thank you for your answer, but unfortunately your suggestion didn't
worked.
Now I've fooled around and tried this & that, even a plain vanilla
installation of openSUSE Leap 15.0, but nothing worked.
Any other ideas are welcome :-)

Cheers,
bernhard

- -- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
-BEGIN PGP SIGNATURE-

iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCW4EkwwAKCRCxOsCN/2xX
Cim4AKDTJSRoVev0+bHNZpH0gNkZta5qMwCfWRvKPxMY3NTZfAILO6/AyGJTZ2A=
=jPHl
-END PGP SIGNATURE-


Re: spellchecker

2018-08-25 Thread Wolfgang Engelmann




On 25.08.2018 05:12, Scott Kostyshak wrote:

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

Thanks, Scott, but I still get after
sudo apt-get build-dep lyx
[sudo] password for wolfgang:
Paketlisten werden gelesen... Fertig
E: Sie müssen einige »source«-URIs für Quellpakete in die 
sources.list-Datei eintragen.

It is asking for further lines in the source.list
No idea, which one are needed. Any body who uses mint and can help?
Wolfgang



Re: spellchecker

2018-08-25 Thread Wolfgang Engelmann




On 24.08.2018 23:53, Paul A. Rubin wrote:

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



Thanks, Paul, for all the advices. Enchant is installed. In 
tools>preferences there is a selection item called Hunspell 
dictionaries, but clicking on Browse does not open the browser in 
contrast to all the other Browse boxes above and below it. Could this be 
due to the fact, that I have not yet made make install, but work with 
src/lyx for the time being?

Wolfgang



Re: spellchecker

2018-08-25 Thread Kornel Benko
Am Freitag, 24. August 2018 23:12:18 CEST schrieb 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.

These packages are not affected by the lyx package. They are the ones, which 
would be removed
if you would use 'apt-get autoremove'

> 
> Scott
> 

On packages which are made with 'our' cmake, you can use
# dpkg --info lyx24-2.4.0-51446git-Linux.deb
or, for the installed
# dpkg -s lyx24
Package: lyx24
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 87325
Maintainer: lyx-de...@lists.lyx.org
Architecture: amd64
Version: 2.4.0-51446git-g2d4ac90
Depends: python (>= 2.6), libaspell15 (>= 0.60.7~20110707), 
libc6 (>= 2.14), libenchant1c2a (>= 1.6.0), libgcc1 (>= 1:3.0), libmagic1 (>= 
5.12), libqt5core5a (>= 5.6.0~beta), libqt5gui5 (>= 5.2.0) | libqt5gui5-gles 
(>= 5.2.0), libqt5svg5 (>= 5.6.0~beta), libqt5widgets5 (>= 5.6.0~beta), 
libqt5x11extras5 (>= 5.6.0), libstdc++6 (>= 5.2), libxcb1, zlib1g (>= 1:1.1.4)
Description: A WYSIWYM (What You See Is What You Mean) document 
processor

for instance.

Kornel


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


Help on header creation

2018-08-25 Thread Alessandro Corvetti
Hello,

I'm looking for some help on Lyx for the creation of a header (see enclosed 
image)
I'm trying to use the packages fancyhdr and graphicx.
What I need to achieve is:

  *   position nr 2 multiline text on very specific point of the page header 
(top-left aligned on header)
  *   position an image on the right of the header, again at a very specific 
point

Can someone help me with this issue?

I would really appreciate that, I'm getting crazy ...

Thank you very much!

Alessandro