Re: Just upgraded to 2.2.0 on debian testing

2016-06-30 Thread Scott Kostyshak
On Thu, Jun 30, 2016 at 11:09:26PM -0400, David L. Johnson wrote:
> Debian testing just included the upgrade to lyx 2.2.0.  I want to point out
> one thing:  If you don't see menu icons, you need to add the svg versions of
> the qt library (it may still be linked with qt-4.??, but looking for the svg
> libraries with apt-cache search found what I needed).

Could you contact the Debian packager about this? I think they need to
add a dependency.

Scott


signature.asc
Description: PGP signature


Just upgraded to 2.2.0 on debian testing

2016-06-30 Thread David L. Johnson
Debian testing just included the upgrade to lyx 2.2.0.  I want to point 
out one thing:  If you don't see menu icons, you need to add the svg 
versions of the qt library (it may still be linked with qt-4.??, but 
looking for the svg libraries with apt-cache search found what I needed).


I have yet to check it all out, but I am absolutely floored by the 
scrolling ability in math eqnarray finally.  As one who never can keep 
the line length in check during the writing process, it is a blessing to 
be able to see the whole line.  Formerly I have had to either set the 
font really, really small or (more recently) stretch the window over two 
monitors.  This is a great advance; thanks to all who developed it.


I have yet to see what has changed with the beamer layout.  I hope it is 
not too much of a PITA to change old files to the new layout, since I 
have classes on Tuesday that I need it for.  I will find that out 
tomorrow


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: RCS Version Control on Windows

2016-06-30 Thread Richard Heck

On 06/30/2016 07:10 PM, Ahmad Abdullah wrote:
This is just a recap and for future reference ( I will include it in 
the wiki as well). So it seems that I can only check in from Home only 
after I checkout the last version I checked in at work. Meaning that, 
if I need to be able to do version control at home on the same file, I 
must check in all changes I made at work before going home or else I 
will lose all of them because at home I have to check out the last 
successfully checked in version before being able to do any version 
control. Even if I save my changes at work without checking them in, I 
will lose all of them at home because I have to check out the last 
successfully checked in version. This is a weird bug in RCS as far as 
I see.


RCS was a very early VCS, and it has a lot of shortcomings.

Richard






Best Regards,
Ahmad Abdullah


From: ahmad.abdul...@msn.com
To: kor...@lyx.org; lyx-users@lists.lyx.org
Subject: RE: RCS Version Control on Windows
Date: Tue, 28 Jun 2016 22:54:05 +

Actually I couldn't wait the whole week to try git. I installed git on 
my work pc, created a sample LyX file then created a git repo using 
the git client (the LyX document resides in a folder in my OneDrive 
and the .git folder repo is within this folder). Once I do this and 
open the document in LyX, LyX detects the version control. I added few 
more lines and checked in the new document. I then go back home and 
installed git to see if I can continue checking in to the document. So 
I open the document with LyX, add few more lines and then check in and 
Voila! It works. I even can check out and compare revisions. Note that 
I don't interact with git anymore after I setup the repo.
The limitation of this approach is that you have to set up the git 
repo before you can do version control on the document but I can live 
with that. It would be a neat solution, if LyX in future versions 
ships with git and enable the user to register the document in the 
background without the user leaving the program to create his own repo 
(basically a small script that calls git internally without the user 
having to interact with git directly). Anyway thanks you all so much 
specially Kornel for your help. I will definitely submit a wiki on that.



Best Regards,
Ahmad Abdullah


From: ahmad.abdul...@msn.com
To: kor...@lyx.org; lyx-users@lists.lyx.org
Subject: RE: RCS Version Control on Windows
Date: Tue, 28 Jun 2016 21:43:58 +


I will give this a trial this week and will tell you what happens.

Best Regards,
Ahmad Abdullah

> From: kor...@lyx.org
> To: lyx-users@lists.lyx.org
> Subject: Re: RCS Version Control on Windows
> Date: Tue, 28 Jun 2016 23:05:58 +0200
>
> Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah 


> > Are
> > you saying that I can still check in and check out LyX documents 
using
> > File/Version Control menu if I use git? I am not aware of that at 
all.

> > If so, please point me to something that tells me how. I have heard
> > about the support for git in LyX but never found something that 
explains

> > the process.
>
> Provided you have a checkout from a git repo.
> From lyx you can open a file which is under git control.
> Then use e.g.
> File->Version Control->Show History
>
> > Best Regards,
> > Ahmad Abdullah
>
> Kornel




Re: Is there an option to hide status bar on startup?

2016-06-30 Thread 本杰明
This works.

Thanks!

On Fri, Jul 1, 2016 at 10:21 AM, Scott Kostyshak  wrote:

> On Fri, Jul 01, 2016 at 10:14:02AM +0800, 本杰明 wrote:
> > I know you can manually hide the status bar by pressing Alt+x ui-toggle
> > statusbar.
> > I am looking for a way to automatically hide it on startup.
>
> Hi,
>
> I'm not sure what your OS is but if you're on Linux here are a couple of
> options:
>
> If you start LyX on the command line, you can do
>
> alias lyx="lyx -x 'ui-toggle statusbar'"
>
> If you start it by double-clicking, do a search for lyx.desktop and
> change the "Exec" line accordingly.
>
> Best,
>
> Scott
>
> p.s. Please respond to the list.
>


Is there an option to hide status bar on startup?

2016-06-30 Thread 本杰明
I know you can manually hide the status bar by pressing Alt+x ui-toggle
statusbar.
I am looking for a way to automatically hide it on startup.

Thanks!


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

2016-06-30 Thread Scott Kostyshak
On Thu, Jun 30, 2016 at 09:40:45AM -0400, Richard Heck wrote:
> On 06/30/2016 04:14 AM, Michael Berger wrote:

> > Should I go on with that workaround (because this one too is an already
> > deprecated class option) or is there anything else to be done?
> 
> It'd be worth reporting the error. It looks from here:
> https://www.ctan.org/tex-archive/macros/latex/contrib/covington?lang=en
> as if the original author isn't "active" any longer. The latest patch was
> from Robin Fairbairns. You could try emailing him. Another option would be
> to post a message at the comp.text.tex news group. I've found people really
> helpful.

+1, and please keep us updated on the situation.

Scott


signature.asc
Description: PGP signature


RE: RCS Version Control on Windows

2016-06-30 Thread Ahmad Abdullah
This is just a recap and for future reference ( I will include it in the wiki 
as well). So it seems that I can only check in from Home only after I checkout 
the last version I checked in at work. Meaning that, if I need to be able to do 
version control at home on the same file, I must check in all changes I made at 
work before going home or else I will lose all of them because at home I have 
to check out the last successfully checked in version before being able to do 
any version control. Even if I save my changes at work without checking them 
in, I will lose all of them at home because I have to check out the last 
successfully checked in version. This is a weird bug in RCS as far as I see. 

Best Regards, 
Ahmad Abdullah

From: ahmad.abdul...@msn.com
To: kor...@lyx.org; lyx-users@lists.lyx.org
Subject: RE: RCS Version Control on Windows
Date: Tue, 28 Jun 2016 22:54:05 +




Actually I couldn't wait the whole week to try git. I installed git on my work 
pc, created a sample LyX file then created a git repo using the git client (the 
LyX document resides in a folder in my OneDrive and the .git folder repo is 
within this folder). Once I do this and open the document in LyX, LyX detects 
the version control. I added few more lines and checked in the new document. I 
then go back home and installed git to see if I can continue checking in to the 
document. So I open the document with LyX, add few more lines and then check in 
and Voila! It works. I even can check out and compare revisions. Note that I 
don't interact with git anymore after I setup the repo. 
The limitation of this approach is that you have to set up the git repo before 
you can do version control on the document but I can live with that. It would 
be a neat solution, if LyX in future versions ships with git and enable the 
user to register the document in the background without the user leaving the 
program to create his own repo (basically a small script that calls git 
internally without the user having to interact with git directly). Anyway 
thanks you all so much specially Kornel for your help. I will definitely submit 
a wiki on that. 

Best Regards, 
Ahmad Abdullah

From: ahmad.abdul...@msn.com
To: kor...@lyx.org; lyx-users@lists.lyx.org
Subject: RE: RCS Version Control on Windows
Date: Tue, 28 Jun 2016 21:43:58 +




I will give this a trial this week and will tell you what happens. 

Best Regards, 
Ahmad Abdullah

> From: kor...@lyx.org
> To: lyx-users@lists.lyx.org
> Subject: Re: RCS Version Control on Windows
> Date: Tue, 28 Jun 2016 23:05:58 +0200
> 
> Am Dienstag, 28. Juni 2016 um 20:49:50, schrieb Ahmad Abdullah 
> 
> > Are
> >  you saying that I can still check in and check out LyX documents using 
> > File/Version Control menu if I use git? I am not aware of that at all. 
> > If so, please point me to something that tells me how. I have heard 
> > about the support for git in LyX but never found something that explains
> >  the process. 
> 
> Provided you have a checkout from a git repo.
> From lyx you can open a file which is under git control.
> Then use e.g.
>   File->Version Control->Show History
>   
> > Best Regards, 
> > Ahmad Abdullah
> 
>   Kornel

  

Re: Math: non-tex fonts default -> error

2016-06-30 Thread Richard Heck

On 06/30/2016 03:38 PM, Neal Becker wrote:

Selecting "Use non-tex fonts" and then Math: non-tex fonts default, I get:
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling
back
  to file:
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling
back
  to file:


You're missing some font package, possibly texlive-lm-math, but I'm not 
sure.


Richard



Weird KDE Bug in LyX

2016-06-30 Thread Richard Heck


For anyone running LyX 2.2.0 under KDE (or using a KDE-based window 
manager, or anything of that sort):


There is an annoying new feature, KDE's "accelerator manager", that 
automatically adds shortcuts. This causes conflicts and so forth in many 
Qt-based programs, when those programs are run with Qt5. If you are 
experiencing this issue, please see

http://www.lyx.org/trac/ticket/10261#comment:16
for a workaround.

Richard Heck



Math: non-tex fonts default -> error

2016-06-30 Thread Neal Becker
Selecting "Use non-tex fonts" and then Math: non-tex fonts default, I get:
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(1)/m/n' will be
(Font)  scaled to size 10.00015pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(1)/m/n' will be
(Font)  scaled to size 7.0001pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(2)/m/n' will be
(Font)  scaled to size 9.99985pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(2)/m/n' will be
(Font)  scaled to size 6.pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/lmss/m/it' in size <10> not available
(Font)  Font shape `EU2/lmss/m/sl' tried instead on input line 
82.
(compiling luc: /usr/share/texlive/texmf-var/luatex-
cache/generic/fonts/otf/lmsa
ns10-oblique.luc)(load luc: /home/nbecker/.texlive2015/texmf-var/luatex-
cache/ge
neric/fonts/otf/lmsans10-oblique.luc)
LaTeX Font Info:Font shape `EU2/lmss/m/it' in size <7> not available
(Font)  Font shape `EU2/lmss/m/sl' tried instead on input line 
82.
Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
regular:scr
ipt=latn;+trep;+tlig;"!
Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
regular:scr
ipt=latn;+trep;+tlig;"!
...

This is Fedora 24, lyx 2.2



Re: Making a Shortcut To Paste, and Save an Image in a Figure-float in LyX

2016-06-30 Thread Richard Heck

On 06/30/2016 09:13 AM, Jonathan Horton wrote:

To whom this may concern,

This email is to confirm the reception of my previous email. I am 
still hoping for an answer.


Sorry, I did see thi sone, but I didn't have time to investigate. I 
think maybe we do not have the ability to save the image automatically 
at the moment.


Richard




Cheers,

On Thu, Jun 23, 2016 at 10:23 AM, Jonathan Horton 
> wrote:


To whom this may concern,

I am running LyX 2.2.0 on Windows 10.

I want to create a shortcut in LyX that pastes, saves, and formats
an image in LyX. I have a created a command-sequence that can do
the "formatting" part, but I can't figure out how to paste /and/
save the image. If I use the "paste" command, it asks me to save
the image (choose a name). I want to use the default name, that
is, "paste%the number of images in the save directory with the
name paste%".

Here is the command sequence that does the formatting I want:

command-sequence float-insert figure; char-backward;
char-backward; char-backward; inset-modify figure placement H wide
false sideways false; char-forward; down; paragraph-params-apply
\noindent \align center; inset-apply graphics scale 50 lyxscale
50; char-backward;char-backward; char-backward

Cheers,
-- 
-*Jonathan Horton*





--
-*Jonathan Horton*




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

2016-06-30 Thread Richard Heck

On 06/30/2016 04:14 AM, Michael Berger wrote:



On 06/30/2016 09:36 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:


Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and 
got

even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott

Scott,
I did as you said: Bingo!

Should I go on with that workaround (because this one too is an 
already deprecated class option) or is there anything else to be done?


It'd be worth reporting the error. It looks from here:
https://www.ctan.org/tex-archive/macros/latex/contrib/covington?lang=en
as if the original author isn't "active" any longer. The latest patch 
was from Robin Fairbairns. You could try emailing him. Another option 
would be to post a message at the comp.text.tex news group. I've found 
people really helpful.


Richard



Re: Making a Shortcut To Paste, and Save an Image in a Figure-float in LyX

2016-06-30 Thread Jonathan Horton
To whom this may concern,

This email is to confirm the reception of my previous email. I am still
hoping for an answer.

Cheers,

On Thu, Jun 23, 2016 at 10:23 AM, Jonathan Horton 
wrote:

> To whom this may concern,
>
> I am running LyX 2.2.0 on Windows 10.
>
> I want to create a shortcut in LyX that pastes, saves, and formats an
> image in LyX. I have a created a command-sequence that can do the
> "formatting" part, but I can't figure out how to paste *and* save the
> image. If I use the "paste" command, it asks me to save the image (choose a
> name). I want to use the default name, that is, "paste%the number of images
> in the save directory with the name paste%".
>
> Here is the command sequence that does the formatting I want:
>
> command-sequence float-insert figure; char-backward; char-backward;
> char-backward; inset-modify figure placement H wide false sideways false;
> char-forward; down; paragraph-params-apply \noindent \align center;
> inset-apply graphics scale 50 lyxscale 50; char-backward;char-backward;
> char-backward
>
> Cheers,
> --
> -* Jonathan Horton*
>



-- 
-* Jonathan Horton*


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

2016-06-30 Thread Michael Berger



On 06/30/2016 10:14 AM, Michael Berger wrote:



On 06/30/2016 09:36 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:


Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and 
got

even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott

Scott,
I did as you said: Bingo!

Should I go on with that workaround (because this one too is an 
already deprecated class option) or is there anything else to be done?


Thanks for saving my day!
Cheers!



Scott, it now works for all the other documents as well.
However, this is not what one should use in the long run because 
'enabledeprecatedfontcommands' itself is already deprecated and should 
not be used.

This is made clear by the many warnings in the log file.

Cheers,
Michael



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

2016-06-30 Thread Michael Berger



On 06/30/2016 09:36 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:


Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and got
even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott

Scott,
I did as you said: Bingo!

Should I go on with that workaround (because this one too is an already 
deprecated class option) or is there anything else to be done?


Thanks for saving my day!
Cheers!



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

2016-06-30 Thread Scott Kostyshak
On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:

> Hi Scott, Richard, thanks,
> of course, I did read the complete error message several times - and got
> even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott


signature.asc
Description: PGP signature


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

2016-06-30 Thread Michael Berger



On 06/30/2016 12:59 AM, Richard Heck wrote:

On 06/29/2016 06:14 PM, Scott Kostyshak wrote:

On Wed, Jun 29, 2016 at 02:23:43PM +0200, Michael Berger wrote:

Dear Lyx users,

texlive2016, GUI (manually installed as user)
Ly- some documents with glosses work in LyX as should while some 
generate that

error.

Comparing and changing the settings of working and not working 
documents

made no difference.

Thinking the reason was because they were produced with my older 
versions I

started a new document in LyX 2.2 and started writing glosses.
To my surprise I got the same error. See attached mini file.

The comment in the log file that comes along with the error doesn't 
tell me

anything.
Could somebody please explain / help to resolve this problem?

Thanks,
Michael



Hi Michael,

Thanks for sending a minimal example!

This is a case (I admit they are rare) where the error is extremely
informative. Did you read it? Is there any part of it that is confusing?

Here is the error when you compile your .lyx file. I post it here
so that if you have a question you can reference the exact part
that you have a question about:

 You should note that since 1994 LaTeX2e provides a new font
 selection scheme called NFSS2 with several new, combinable font...
When you contact the author of the LaTeX package that is at fault,
can you please link to that bug report or keep this thread updated
confirming that you sent the maintainer a bug report (and also
subsequently when they reply?).


So presumably this is some sort of error in the covington package, 
which seems to be the one we are loading.


Perhaps Jurgen knows something

Richard

Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and got 
even more confused.
As a layman I basically understand that one should not use outdated 
packages.


Help me, please, what else if not TL2016? It appears to me that what 
happened here is just the opposite: everything worked with TL2013 and 
now does NOT with TL2016?!


Furthermore: ALL my documents in question are basically identical and 
ALL have in common to using the module 'linguistic' which requires 
'covington.sty'. And the glosses in each are exactly the same by each 
single letter!
This being the case I tried different settings in the documents with 
that error - nothing changed.


So, I feel Richard may be dam...ed close to presume some sort of error 
in/with the covington package.

Please recall what I said:
- all documents *without* glosses work in LyX 2.2 and all export to PDF 
without problems
- some documents with glosses work in LyX as should while some generate 
that error.


Was Jürgen, as the one who added so many nice features to glosses and 
certainly  must have tried using them, not facing "my" error?
Actually it is Jürgen's features that are so very interesting for 
linguistic papers that encouraged me to go for the latest packages.
I very much hope that Jürgen who already helped me so many times will be 
able to help in this case too.


Scott, if it comes to contact the authors of the LaTeX package you must 
put me on the right track as I wouldn't know how to proceed with that.


Cheers!
Michael