Re: Icons of LyX menu. solved -

2016-07-05 Thread Paul A . Rubin
Wolfgang,

Wolfgang Engelmann  uni-tuebingen.de> writes:


> Thanks a lot, Paul. This is ok now for my Kubuntu.
> I found it also in my Debian, but at different places and showing that 
> my lyx installation(s) are a mess:
> toolbar-toggle_math.svgz is found at
> 
> usr/local/share/lyx-latestdev/images
> usr/local/share/lyx-latestdev/images/oxygen/
> 
> usr/local/share/lyx22/images/
> usr/local/share/lyx22/images/oxygen/
> 
> mnt/sdb/we/Lyx/lyx-2.2.0/lib/images/
> mnt/sdb/we/Lyx/lyx-2.2.0/lib/images/oxygen
> 
> The two former pairs are on the  SSD of my PC, the last two at my 2 TB 
> disk of my PC. No idea what the /oxygen/ stands for.

I'm not sure. It might have something to do with doxygen (code documentation
system for C++), or it might be related to oxygen (which has something to do
with generating/editing XML files), or it could be neither of the above.

> lyx22 starts Lyx-2.2.0
> lyx-latestdev  starts the Lyx-2.2.0rc1
> and there is furthermore a  lyxclient22 which gives me
> Connected to /tmp/lyx_tmpdir.iOKTQylh1468/lyxsocket
> and a lyxclient-latestdev which gives me
> lyxclient: Connected to /tmp/lyx_tmpdir.iOKTQylh1468/lyxsocket
> No idea what this is for.

There's a server version of LyX (documented on the wiki) that can take
commands from a program or script (or you typing in a terminal) and execute
them using LyX. The lyxclient program is, I think, the command line/terminal
client provided with LyX. I've never used the server version, so I don't
know any more than that.

Paul
> 
> 






Re: beamer plain frame for titlepage

2016-07-05 Thread Jürgen Spitzmüller
Am Dienstag, den 05.07.2016, 10:03 -0400 schrieb Neal Becker:
> I find I need to add
> \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
> 
> to preamble, or else the section is printed on the bottom of the
> title page, 
> which I don't think anyone would want.
> 
> Maybe this should be lyx default. (I added [plain] onto \frame)

This is used if you use "Title (plain)" instead of "Title". No need to
fiddle with the preamble here.

Jürgen


Re: How to prevent a paragraph spanning pages?

2016-07-05 Thread Richard Heck
On 07/04/2016 06:47 PM, Steve Litt wrote:
> Hi all,
>
> I have a specific paragraph style (environment) that has TeX "Large"
> print and is used only on single sentences. I'd like to incorporate
> something in this environment's LaTeX code to prevent it breaking in
> the middle. Anyone know how to do that?

This same question was asked a couple weeks ago. Should be in the archives.

Richard



beamer plain frame for titlepage

2016-07-05 Thread Neal Becker
I find I need to add
\renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%

to preamble, or else the section is printed on the bottom of the title page, 
which I don't think anyone would want.

Maybe this should be lyx default. (I added [plain] onto \frame)



Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-05 Thread Jürgen Spitzmüller
2016-07-05 15:14 GMT+02:00 JürgenSpitzmüller:

> Scott Kostyshak  lyx.org> writes:
> FWIW I have a patch for covington.sty ready which fixes the issue properly,
> and I have contacted the former maintainers of the package, proposing to
> take
> over maintainership.
>

Patch is attached, for the record.

Jürgen
--- /usr/local/texlive/2016/texmf-dist/tex/latex/covington/covington.sty
+++ /home/juergen/texmf/tex/latex/testen/covington.sty
@@ -13,9 +13,13 @@
 %%
 %% Robin Fairbairns: patched setting of \textfloatsep to use
 %% \setlength rather than \renewcommand; also converted to un*x line endings
+%%
+%% Juergen Spitzmueller: patch to use NFSS font commands instead of deprecated
+%% LaTeX 2.09 commands if NFSS is available
 
 \typeout{* covington.sty : Covington's linguistic macros, 2001 March 27 *}
 %% patched 2014-05-16 (r...@cl.cam.ac.uk)
+%% patched 2016-07-05 (juer...@spitzmueller.org)
 
 %%%
 %%% Preferences about how text is laid out
@@ -222,9 +226,18 @@
 \glossglue = 5pt plus 2pt minus 1pt % allow stretch/shrink between words
 \newif\ifnotdone
 
-\let\eachwordone=\it
-\let\eachwordtwo=\rm
-\let\eachwordthree=\rm
+% Add semantic markup (with latex 2.09 backwards support)
+\@ifundefined{selectfont}{%
+  \def\cov@emphasized{\it}%
+  \def\cov@normalfont{\rm}%
+}{%
+  \def\cov@emphasized{\normalfont\itshape}%
+  \def\cov@normalfont{\normalfont\rmfamily}%
+}
+
+\let\eachwordone=\cov@emphasized
+\let\eachwordtwo=\cov@normalfont
+\let\eachwordthree=\cov@normalfont
 
 \def\lastword#1#2#3% #1 = \each, #2 = line box, #3 = word box
{\setbox#2=\vbox{\unvbox#2%
@@ -311,7 +324,7 @@
 
 % \psr To print S -> NP VP, use: \psr{S}{NP~VP}
 
-\newcommand{\psr}[2]{\mbox{\it #1 $\rightarrow$ #2}}
+\newcommand{\psr}[2]{\mbox{\cov@emphasized #1 $\rightarrow$ #2}}
 
 
 %%%
@@ -331,7 +344,7 @@
 {
 \mbox{\small 
   $
-  \it 
+  \cov@emphasized 
   \left[
   \!\!
   \begin{array}{l}
@@ -346,14 +359,14 @@
 \newcommand{\lfs}[2]
{
  \mbox{$
-   \it
+   \cov@emphasized
\!\!
\begin{array}[t]{c}
#1
\\
\mbox{\small%
  $
- \it
+ \cov@emphasized
  \left[
  \!\!
  \begin{array}{l}
@@ -411,7 +424,7 @@
 \newcommand{\drs}[2]
 {
 {
-\it
+\cov@emphasized
 \begin{tabular}{|l|}
 \hline
 ~ \vspace{-2ex} \\
@@ -430,7 +443,7 @@
 
 \newcommand{\sdrs}[3]
 {\begin{tabular}{l}
-\mbox{\it #1} \\
+\mbox{\cov@emphasized #1} \\
 ~ \\
 \drs{#2}{#3}
 \end{tabular}}
@@ -496,7 +509,7 @@
 % defined.  Permits using uga.sty with covingtn.sty.
 
 \newcommand{\sentence}[1]
- {\begin{flushleft}{\it #1}\end{flushleft}}
+ {\begin{flushleft}{\cov@emphasized #1}\end{flushleft}}
 
 \newcommand{\either}[2]
 {



Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-05 Thread JürgenSpitzmüller
Scott Kostyshak  lyx.org> writes:
> Great, thanks for helping out with this. I think that many users will
> run into this issue so hopefully they can fix it.

FWIW I have a patch for covington.sty ready which fixes the issue properly, 
and I have contacted the former maintainers of the package, proposing to take 
over maintainership.

Jürgen
 
> Scott
> 




Re: How to line break URLs?

2016-07-05 Thread William Seager
On Monday, July 04, 2016 07:52:09 PM Steve Litt wrote:
> Anyone here know how to line-break URLs in a LyX produced PDF? Ideally
> after a slash? Hopefully, my URLs will be links that can be followed
> with a click.

the URL package seems to do a pretty good job I find

best wishes, Bill
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: How to line break URLs?

2016-07-05 Thread Charlie

On Mon, 4 Jul 2016 19:52:09 -0400 "Steve Litt
sl...@troubleshooters.com" informed me of this:

> Hi all,
> 
> Anyone here know how to line-break URLs in a LyX produced PDF? Ideally
> after a slash? Hopefully, my URLs will be links that can be followed
> with a click.
> 
> Thanks,
> 
> SteveT

Very old, because I read it on the internet years ago as the way to do
it.

So still use it in the Latex preamble of on some document templates.
Works for me. There may be a better way of course? I just don't know it.

\renewcommand{\UrlBreaks}{\do\/\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z}

Hope that helps.
Charlie


-- 
Registered Linux User:- 329524
***

True friendship can afford true knowledge. It does not depend
on darkness and ignorance. .Henry
David Thoreau

***

Debian GNU/Linux - Magic indeed.

-


Re: is my Tex Live manager installation OK?

2016-07-05 Thread Kornel Benko
Am Montag, 4. Juli 2016 um 09:12:01, schrieb Michael Berger 
> Dear Kornel,
> with your help I have a functioning TL GUI installation.
> The active GUI can be called as user from Konsole, which is what I was 
> heading for.
> 
> However, editing of the GUI became  possible  only after giving write 
> permission to 'tlpkg' in
>   /usr/bin/texlive/2016/tlpkg
> I presume that was a necessary change to do ?!

Weird, you only need execute and read permissions.

> I find two installations:
> /usr/bin/texlive/2016/bin/x86_64-linux (413 items)
> and
> /usr/local/texlive/2016/bin/x86_64-linux (413 items)

This one looks OK.

> Both are of the same structure and size (139,5 MiB) and both have 
> 'tlmgr' in /x86:64-linux.
> 
> Settings of PATH in '.bash_profile':
> PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH; export PATH
> (INFOPATH and MANPATH are set accordingly)
> 
> My core question is now:
> Do I have to keep both installations as they are or should/could I 
> remove one (for reason of saving space) without loosing functionality ?

I don’t have  /usr/bin/texlive/2016, so I suppose you have eventually installed 
it there too in some
previous try.

> Which of the two could/should possibly be removed and if so, how to 
> safely do that?
> 
> Sorry for asking, meanwhile I am over-cautious :-\

Try to *rename*  /usr/bin/texlive/2016 to  /usr/bin/texlive/.
If everything still works, you may remove /usr/bin/texlive/.

> Thanks and cheers,
> Michael

Kornel

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


Re: Font degrades when zooming OUT

2016-07-05 Thread Barnet Wagman
When you say "Check Qt4 Settings", do you mean in somewhere in LyX? Or 
qt's settings?

(assuming it has settings: I've never had to deal with qt expliclty).

It appears my version of LyX (2.2.0, 6/23/2016) is using Qt5: 'Build 
Info' shows "Qt version: 5.7.0".


Might there be an advantage to trying a Qt4 version of LyX?  My system 
currently has both Qt4 and Qt5 installed.  Qt5 is the default.


It's unlikely that there's a license issue.  Unlike Debian, Arch Linux 
isn't strict about these things.


thanks

PS Liviu I inadvertently sent a reply directly to you, rather than to 
the mailing list. Sorry about that.



On 07/04/2016 11:58 PM, Liviu Andronic wrote:

On Tue, Jul 5, 2016 at 8:52 AM, Barnet Wagman  wrote:

I'm running Arch Linux with OpenBox.  Other applications don't have this
problem and anti-aliasing appears to be working.  E.g. I can zoom in and out
in FireFox with no font degradation.


Different toolkit. Check Qt4 Settings, maybe. There is also the issue
of some Apple patents that may or may not get in the way, depending on
the distro and how packages/deps are built. Also see if things are
different with a different DE (e.g. Xfce, which has aliasing and
pixels facilities).

What is your Help > About > Build info? I'm wondering if it's worth
giving the Qt5 version a shot, assuming you have a recent version
available.

If all else fails, perhaps it would be a good idea to open a ticket
including the screen captures and detailed info on your system/build.

Liviu




Fonts are from the xorg packages (xorg-server, xorg-server-utils, xorg-apps)
and Infinality.


On 07/04/2016 10:50 PM, Liviu Andronic wrote:

On Tue, Jul 5, 2016 at 1:03 AM, Barnet Wagman  wrote:

Yes, in 'Tool -> Preferences -> Look & Feel -> Screen Fonts' I've tried all
the serif faces that I've got: the all have the same problem.

I believe I've read that LyX (actually TeX) uses bit mapped fonts by
default.  It wasn't clear how to get non-bitmapped fonts.

No, this isn't TeX related. This seems to affect strictly the display in
LyX.

What you're describing seems to be related to aliasing/hinting. What
OS / DE are you using?

Liviu


On 07/04/2016 03:26 PM, Liviu Andronic wrote:

On Mon, Jul 4, 2016 at 8:43 PM, Barnet Wagman  wrote:

Monitor resolution: 1920 x 1080 (not HiDPI)

Here are links to screenshots (files on google drive)

eg 0 zoom=150% (default)

eg 1 zoom=125%

eg 2 zoom=100%

eg 3 zoom=75%

The "zoom" refers to zoom specification in Tool -> Preferences -> Look &
Feel -> Screen Fonts.  150% was the initial value.

Note that e.g going from 150% to 125%, the darkness of letters becomes
uneven.

Have you tried changing the display font? See Tools > Prefs > Screen
fonts.

Liviu


On 07/04/2016 05:15 AM, Liviu Andronic wrote:

On Mon, Jul 4, 2016 at 8:20 AM, bdw  wrote:

On a new, vanilla LyX installation (version 2.2.0-1), all the 'Help'
documents (Introduction, Tutorial, etc.) are displayed with very large
fonts.  However, if I zoom to correct this ('alt -' on my system), the
quality of the font degrades badly.  Going in the other direction does
NOT
effect the quality.

What resolution, and is it HiDPI? Please provide a screenhot (before
and after the problem).

Liviu


I've tried changing various fonts (using Tools -> Preferences -> Look &
Feel
-> Screen Fonts) and get the same effect for all the fonts I've tried.  I
also note that in the preferences, the default zoom is 150%, which seems
odd.

I wonder if the problem has to do with the font's being used.  I've
looked
through the LyX documentation, but it's not clear how to use
non-bitmapped
fonts in Tools->Preferences-> ... -> Screen Fonts.  I haven't found any
reference to this problem in the LyX documentation, LyX mailing lists, or
anywhere else

FYI I'm running on Arch Linux.  I tried installing texlive.  That had no
apparent effect, although I it's not clear whether LyX detects it
automatically, of if I have to do something.

I'd appreciate any thoughts on how to fix this.  I really can't proceed
to
learn and use LyX if I can't fix this.

Thanks







Re: How to line break URLs?

2016-07-05 Thread Wolfgang Engelmann
Couldn't you use >insert>hyperlink and click into it allowing you to 
enter a shorter term (which in the pdf is still clickable)?


Wolfgang



On 05.07.2016 01:52, Steve Litt wrote:

Hi all,

Anyone here know how to line-break URLs in a LyX produced PDF? Ideally
after a slash? Hopefully, my URLs will be links that can be followed
with a click.

Thanks,

SteveT

Steve Litt
July 2016 featured book: Troubleshooting Techniques
  of the Successful Technologist
http://www.troubleshooters.com/techniques




Re: Icons of LyX menu. solved -

2016-07-05 Thread Wolfgang Engelmann



On 04.07.2016 23:04, Paul A. Rubin wrote:

Wolfgang Engelmann  uni-tuebingen.de> writes:



Found it on my Ubuntu, not yet on debian (which doesn't matter, can copy
it).
However, there are quite a lot of icons, most of them as .svgz.
I am looking for math-tools on/off (in german: mathe-werkzeugleiste
an/aus) which looks like the Capital Sigma (=Sum) sign, bus has an extra
blue square around it and is almost at the end of the first icon row (in
my case). I checked obvious names but to no avail. Any idea how to find it?

Wolfgang,

It's toolbar-toggle_math.svgz. I'm able to open it directly in Gimp; I think
you should be able to open it in ImageMagick as well, although you might
need to unzip it first.

Cheers,
Paul




Thanks a lot, Paul. This is ok now for my Kubuntu.
I found it also in my Debian, but at different places and showing that 
my lyx installation(s) are a mess:

toolbar-toggle_math.svgz is found at

usr/local/share/lyx-latestdev/images
usr/local/share/lyx-latestdev/images/oxygen/

usr/local/share/lyx22/images/
usr/local/share/lyx22/images/oxygen/

mnt/sdb/we/Lyx/lyx-2.2.0/lib/images/
mnt/sdb/we/Lyx/lyx-2.2.0/lib/images/oxygen

The two former pairs are on the  SSD of my PC, the last two at my 2 TB 
disk of my PC. No idea what the /oxygen/ stands for.

lyx22 starts Lyx-2.2.0
lyx-latestdev  starts the Lyx-2.2.0rc1
and there is furthermore a  lyxclient22 which gives me
Connected to /tmp/lyx_tmpdir.iOKTQylh1468/lyxsocket
and a lyxclient-latestdev which gives me
lyxclient: Connected to /tmp/lyx_tmpdir.iOKTQylh1468/lyxsocket
No idea what this is for.





Re: Font degrades when zooming OUT

2016-07-05 Thread Jean-Marc Lasgouttes

Le 04/07/2016 à 20:43, Barnet Wagman a écrit :

Note that e.g going from 150% to 125%, the darkness of letters becomes
uneven.


One issue that we have is that subpixel aliasing is disabled in LyX 
WorkArea. This is a consequence of the way we draw text on the screen.


Could it be what you are experiencing ?

JMarc



Re: Font degrades when zooming OUT

2016-07-05 Thread Liviu Andronic
On Tue, Jul 5, 2016 at 8:52 AM, Barnet Wagman  wrote:
> I'm running Arch Linux with OpenBox.  Other applications don't have this
> problem and anti-aliasing appears to be working.  E.g. I can zoom in and out
> in FireFox with no font degradation.
>
Different toolkit. Check Qt4 Settings, maybe. There is also the issue
of some Apple patents that may or may not get in the way, depending on
the distro and how packages/deps are built. Also see if things are
different with a different DE (e.g. Xfce, which has aliasing and
pixels facilities).

What is your Help > About > Build info? I'm wondering if it's worth
giving the Qt5 version a shot, assuming you have a recent version
available.

If all else fails, perhaps it would be a good idea to open a ticket
including the screen captures and detailed info on your system/build.

Liviu



> Fonts are from the xorg packages (xorg-server, xorg-server-utils, xorg-apps)
> and Infinality.
>
>
> On 07/04/2016 10:50 PM, Liviu Andronic wrote:
>
> On Tue, Jul 5, 2016 at 1:03 AM, Barnet Wagman  wrote:
>
> Yes, in 'Tool -> Preferences -> Look & Feel -> Screen Fonts' I've tried all
> the serif faces that I've got: the all have the same problem.
>
> I believe I've read that LyX (actually TeX) uses bit mapped fonts by
> default.  It wasn't clear how to get non-bitmapped fonts.
>
> No, this isn't TeX related. This seems to affect strictly the display in
> LyX.
>
> What you're describing seems to be related to aliasing/hinting. What
> OS / DE are you using?
>
> Liviu
>
>
> On 07/04/2016 03:26 PM, Liviu Andronic wrote:
>
> On Mon, Jul 4, 2016 at 8:43 PM, Barnet Wagman  wrote:
>
> Monitor resolution: 1920 x 1080 (not HiDPI)
>
> Here are links to screenshots (files on google drive)
>
> eg 0 zoom=150% (default)
>
> eg 1 zoom=125%
>
> eg 2 zoom=100%
>
> eg 3 zoom=75%
>
> The "zoom" refers to zoom specification in Tool -> Preferences -> Look &
> Feel -> Screen Fonts.  150% was the initial value.
>
> Note that e.g going from 150% to 125%, the darkness of letters becomes
> uneven.
>
> Have you tried changing the display font? See Tools > Prefs > Screen
> fonts.
>
> Liviu
>
>
> On 07/04/2016 05:15 AM, Liviu Andronic wrote:
>
> On Mon, Jul 4, 2016 at 8:20 AM, bdw  wrote:
>
> On a new, vanilla LyX installation (version 2.2.0-1), all the 'Help'
> documents (Introduction, Tutorial, etc.) are displayed with very large
> fonts.  However, if I zoom to correct this ('alt -' on my system), the
> quality of the font degrades badly.  Going in the other direction does
> NOT
> effect the quality.
>
> What resolution, and is it HiDPI? Please provide a screenhot (before
> and after the problem).
>
> Liviu
>
>
> I've tried changing various fonts (using Tools -> Preferences -> Look &
> Feel
> -> Screen Fonts) and get the same effect for all the fonts I've tried.  I
> also note that in the preferences, the default zoom is 150%, which seems
> odd.
>
> I wonder if the problem has to do with the font's being used.  I've
> looked
> through the LyX documentation, but it's not clear how to use
> non-bitmapped
> fonts in Tools->Preferences-> ... -> Screen Fonts.  I haven't found any
> reference to this problem in the LyX documentation, LyX mailing lists, or
> anywhere else
>
> FYI I'm running on Arch Linux.  I tried installing texlive.  That had no
> apparent effect, although I it's not clear whether LyX detects it
> automatically, of if I have to do something.
>
> I'd appreciate any thoughts on how to fix this.  I really can't proceed
> to
> learn and use LyX if I can't fix this.
>
> Thanks
>
>
>


Re: Font degrades when zooming OUT

2016-07-05 Thread Barnet Wagman
I'm running Arch Linux with OpenBox. Other applications don't have this 
problem and anti-aliasing appears to be working.  E.g. I can zoom in and 
out in FireFox with no font degradation.


Fonts are from the xorg packages (xorg-server, xorg-server-utils, 
xorg-apps) and Infinality 
.


On 07/04/2016 10:50 PM, Liviu Andronic wrote:

On Tue, Jul 5, 2016 at 1:03 AM, Barnet Wagman  wrote:

Yes, in 'Tool -> Preferences -> Look & Feel -> Screen Fonts' I've tried all
the serif faces that I've got: the all have the same problem.

I believe I've read that LyX (actually TeX) uses bit mapped fonts by
default.  It wasn't clear how to get non-bitmapped fonts.


No, this isn't TeX related. This seems to affect strictly the display in LyX.

What you're describing seems to be related to aliasing/hinting. What
OS / DE are you using?

Liviu



On 07/04/2016 03:26 PM, Liviu Andronic wrote:

On Mon, Jul 4, 2016 at 8:43 PM, Barnet Wagman  wrote:

Monitor resolution: 1920 x 1080 (not HiDPI)

Here are links to screenshots (files on google drive)

eg 0 zoom=150% (default)

eg 1 zoom=125%

eg 2 zoom=100%

eg 3 zoom=75%

The "zoom" refers to zoom specification in Tool -> Preferences -> Look &
Feel -> Screen Fonts.  150% was the initial value.

Note that e.g going from 150% to 125%, the darkness of letters becomes
uneven.


Have you tried changing the display font? See Tools > Prefs > Screen
fonts.

Liviu



On 07/04/2016 05:15 AM, Liviu Andronic wrote:

On Mon, Jul 4, 2016 at 8:20 AM, bdw  wrote:

On a new, vanilla LyX installation (version 2.2.0-1), all the 'Help'
documents (Introduction, Tutorial, etc.) are displayed with very large
fonts.  However, if I zoom to correct this ('alt -' on my system), the
quality of the font degrades badly.  Going in the other direction does
NOT
effect the quality.

What resolution, and is it HiDPI? Please provide a screenhot (before
and after the problem).

Liviu


I've tried changing various fonts (using Tools -> Preferences -> Look &
Feel
-> Screen Fonts) and get the same effect for all the fonts I've tried.  I
also note that in the preferences, the default zoom is 150%, which seems
odd.

I wonder if the problem has to do with the font's being used.  I've
looked
through the LyX documentation, but it's not clear how to use
non-bitmapped
fonts in Tools->Preferences-> ... -> Screen Fonts.  I haven't found any
reference to this problem in the LyX documentation, LyX mailing lists, or
anywhere else

FYI I'm running on Arch Linux.  I tried installing texlive.  That had no
apparent effect, although I it's not clear whether LyX detects it
automatically, of if I have to do something.

I'd appreciate any thoughts on how to fix this.  I really can't proceed
to
learn and use LyX if I can't fix this.

Thanks