Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Michael Berger

Hi  Kornel,
I set PATH as you told me, see: bash_profileKor.png
and also tried as Jürgen told me, see: bash_profileJue.png

Both show exactly the same behavior:

- calling 'tlmgr gui' from a console as user the GUI pops up but with 
the buttons disabled
  "You have no permission to change the installation. Run as 
administrator..."


and indeed, I could do nothing with the GUI, but

- calling 'tlmgr gui' from a console as administrator returns: 'bash: 
tlmgr: command not found'


It seems to me as if the last tiny bit was still missing.
Could it have to do with the last line 'unset USERNAME' ?

Thank you both for your continuing patience!
Michael


Re: forthcoming installation of Lyx 2.2

2016-06-19 Thread Michael Berger

Georg,
thanks for your comment.
I am still struggling a little bit with my texlive2016 installation.
When that is resolved I will turn to installing LyX 2.2 and then gladly 
revert to you.

Does not seem to be an easy task - never did a thing like that!?
Danke,
Michael


On 06/19/2016 06:02 PM, Georg Baum wrote:

Michael Berger wrote:


Hi all,
I have Mageia5 / KDE and just succeeded to install texlive2016.
The next challenge is to install Lyx 2.2 from http://www.lyx.org/Download

i am addressing those of you who already successfully did this.

Is there anything to be observed/prepared/considered prior to starting
the installation?

Since there is no binary package for Mageia5 you will need to compile from
source. This is easy, the file INSTALL in the LyX source package lists some
instructions. However, it might be a bit more difficult to find out how
exactly the prerequisite packages are called on Mageia5, e.g. the
development package for qt. If a prerequiste is missing then the configure
script will tell you, and if you don't find the correct package to install
then ask on the list, probably someone will know how to find the package
from the configure error message.


Georg







LyX Function - inset-modify

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

I want to make a shortcut in LyX 2.2.0 that inserts a *simple framed* box
with *0pt line thickness*, which allows for *pagebreaks.* I tried the
command-sequence bellow, but the command sequence does nothing.

command-sequence box-insert Boxed;
inset-modify box Box
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
thickness *"0pt"*
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none";

Cheers,
-- 
-* Jonathan*


Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Kornel Benko
Am Sonntag, 19. Juni 2016 um 18:16:54, schrieb Jes Drost Nissen 

> Hi Michael.
> 
> To the line in your .bash-profile
> 
>  PATH = $PATH:$HOME/bin
> 
> add your path:
> 
> PATH=$PATH:$HOME/bin:/usr/local/texlive/2016/bin/x86_64-linux

This is wrong, the value "/usr/local/texlive/2016/bin/x86_64-linux" should be 
before "/usr/bin".
E.g.:
PATH=/usr/local/texlive/2016/bin/x86_64-linux:$HOME/bin:$PATH

> and save. Should be OK then.
> 
> Regards
> Jes

Kornel


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


Re: forthcoming installation of Lyx 2.2

2016-06-19 Thread Georg Baum
Michael Berger wrote:

> Hi all,
> I have Mageia5 / KDE and just succeeded to install texlive2016.
> The next challenge is to install Lyx 2.2 from http://www.lyx.org/Download
> 
> i am addressing those of you who already successfully did this.
> 
> Is there anything to be observed/prepared/considered prior to starting
> the installation?

Since there is no binary package for Mageia5 you will need to compile from 
source. This is easy, the file INSTALL in the LyX source package lists some 
instructions. However, it might be a bit more difficult to find out how 
exactly the prerequisite packages are called on Mageia5, e.g. the 
development package for qt. If a prerequiste is missing then the configure 
script will tell you, and if you don't find the correct package to install 
then ask on the list, probably someone will know how to find the package 
from the configure error message.


Georg




Re: OD conversions

2016-06-19 Thread Guenter Milde
On 2016-06-19, gordon cooper wrote:

> "In Lyx 2.2.0,  Documents tab, there is the option to view
> Open Document (elyxer)

> An error?  Selecting this certainly does a conversion, the heading says 
> .odt, but the converted file does not look like open doc format, and 
> if the file is saved, it saves as an html, which is what I would expect 
> from an elyxer conversion. "

Your are right, that elyxer actually converts the lyx file to HTML.

Export is done with settings suited for import into OpenOffice/LibreOffice
and the OO/LO is called to view the file. This is one way to get LyX files
into ODF format. To actually save in this format, you would need to 
"Save As.." in OpenOffice.

> I wrote the above a few days ago, but do not seem to have triggered
> any comment. There is more to it, I see. In that same menu is
> the option to view as MS Word - but the file looks like html and saves
> as html.

Same story. HTML is used as an intermediate format.

Depending on the file content, this gives acceptable/good/bad results and
may be better/worse than other routes.

Günter




Re: Lyx 2.2 and spaces before displaymath

2016-06-19 Thread racoon

On 19.06.2016 12:36, racoon wrote:

On 19.06.2016 12:31, racoon wrote:

On 17.06.2016 21:33, Guillaume Munch wrote:

Le 17/06/2016 18:40, Kiuhnm a écrit :

Hello,

I wrote a document in Lyx 2.2 and I noticed that I had added extra
empty
lines before displaymath elements all over the document.

This happens when one hits return before pressing Ctrl+Shift+M. Did
this
happen in Lyx 2.1.4 too? I never noticed. Should this behavior be
considered a feature or a bug?

Kiuhnm



A bug. Both situations are meaningful but one should be able to
distinguish between them. There is "Mark end of paragraphs" in
preferences. But if that remains the only way to see the difference,
then the option should be made default. Please harass the developers
until they agree on a solution.


Couldn't the newly introduced latexpar be used to mark the difference?

http://wiki.lyx.org/LyX/NewInLyX22#parbreak

It seems to generate the same source - at least in the simple cases I
checked.


Simple examples attached.


Never mind. Parbreak works a bit different still. For example, when one 
starts a new display math at the end of the line where a parbreak is.


Daniel



Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Kornel Benko
Am Sonntag, 19. Juni 2016 um 14:26:21, schrieb Michael Berger 
> 
> On 06/19/2016 01:02 PM, Kornel Benko wrote:
> > Am Sonntag, 19. Juni 2016 um 12:07:37, schrieb Michael Berger 
> > 
> >>> Kornel, thanks for the tip-off re '..change PATH directly'.
> >>> On second thought I agree for e.g. one simple reason: without having
> >>> set Path one cannot call tlmgr gui from a terminal.
> >>> So, I did:  PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH
> >>>
> >>> Cheers,Michael
> >> Sorry Kornel,
> >> I have another problem.
> >> After I set PATH as described above I could  immediately call 'tlmgr
> >> gui' and the GUI was there.
> >> When I tried the same again after some time bash said 'command not found'
> >> Then I set Path again as before and I could call Gui.
> >> This behaviour is repeating.
> >> Can you help with this?
> >>
> >> Thanks,
> >> Michael
> > There is more than one solution.
> >
> > 1.) I see, you are using bash. Sure you have a '.profile' file in your home 
> > directory.
> > Edit this file and set PATH.
> > 2.) More complicated but valid for *all* shells.
> > 2a.) Edit fir ~/.pam_environment
> > 2b.) Add a line here
> > PATH DEFAULT=/usr/local/texlive/2016/bin/x86_64-linux:${PATH}
> > 2c.) re-login
> >
> > Kornel
> Dear Kornel,
> 
> 1) I found no file '.profile' but the file '.bash_profile' in /Home as 
> per screenshot
> If this is the correct file, should I edit it in the User specific 
> environment section by replacing the existing PATH  or add my PATH below 
> it ?

Yes.

> 2a) fir ~/.pam_environment   returns > bash: fir: command not found

Sorry, I meant 'Edit file' not 'Edit fir'
See 'man pam_env' for more info.

>fi ~/.pam_environmentreturns > bash: syntax error near 
> unexpected token 'fi'
> 
> Sorry for being so very innocentO:-)
> Michael

Kornel

Kornel

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


Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Michael Berger



On 06/19/2016 01:02 PM, Kornel Benko wrote:

Am Sonntag, 19. Juni 2016 um 12:07:37, schrieb Michael Berger 

Kornel, thanks for the tip-off re '..change PATH directly'.
On second thought I agree for e.g. one simple reason: without having
set Path one cannot call tlmgr gui from a terminal.
So, I did:  PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH

Cheers,Michael

Sorry Kornel,
I have another problem.
After I set PATH as described above I could  immediately call 'tlmgr
gui' and the GUI was there.
When I tried the same again after some time bash said 'command not found'
Then I set Path again as before and I could call Gui.
This behaviour is repeating.
Can you help with this?

Thanks,
Michael

There is more than one solution.

1.) I see, you are using bash. Sure you have a '.profile' file in your home 
directory.
Edit this file and set PATH.
2.) More complicated but valid for *all* shells.
2a.) Edit fir ~/.pam_environment
2b.) Add a line here
PATH DEFAULT=/usr/local/texlive/2016/bin/x86_64-linux:${PATH}
2c.) re-login

Kornel

Dear Kornel,

1) I found no file '.profile' but the file '.bash_profile' in /Home as 
per screenshot
If this is the correct file, should I edit it in the User specific 
environment section by replacing the existing PATH  or add my PATH below 
it ?


2a) fir ~/.pam_environment   returns > bash: fir: command not found
  fi ~/.pam_environmentreturns > bash: syntax error near 
unexpected token 'fi'


Sorry for being so very innocentO:-)
Michael





Re: cudos for beamer-flx.lyx

2016-06-19 Thread Jürgen Spitzmüller
Am Freitag, den 10.06.2016, 11:11 -0400 schrieb Richard Heck:
> > Can I make it a bit more accessible and not hidden under custom
> > insets?

This is a major design flaw of this approach, IMHO.

> 
> There is an enhancement request for this sort of thing: a combo box,
> like for layouts, that could be put on the toolbars.

But still, you would need to 
1. put the cursor outside the inset
2. use the mouse to enter a new frame

whereas currently, starting a new frame from within a frame is a one-
keystroke action.

Also, these flex insets cannot be reordered by the outliner, and
reordering frames is a crucial function at least for me.

IMHO the flex idea sounds neat in theory, but in practice has too many
shortcomings (which all, arguably, can be solved).

Jürgen


Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Kornel Benko
Am Sonntag, 19. Juni 2016 um 12:07:37, schrieb Michael Berger 
> > Kornel, thanks for the tip-off re '..change PATH directly'.
> > On second thought I agree for e.g. one simple reason: without having 
> > set Path one cannot call tlmgr gui from a terminal.
> > So, I did:  PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH
> >
> > Cheers,Michael
> Sorry Kornel,
> I have another problem.
> After I set PATH as described above I could  immediately call 'tlmgr 
> gui' and the GUI was there.
> When I tried the same again after some time bash said 'command not found'
> Then I set Path again as before and I could call Gui.
> This behaviour is repeating.
> Can you help with this?
> 
> Thanks,
> Michael

There is more than one solution.

1.) I see, you are using bash. Sure you have a '.profile' file in your home 
directory.
Edit this file and set PATH.
2.) More complicated but valid for *all* shells.
2a.) Edit fir ~/.pam_environment
2b.) Add a line here
PATH DEFAULT=/usr/local/texlive/2016/bin/x86_64-linux:${PATH}
2c.) re-login

Kornel

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


Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Michael Berger



On 06/19/2016 11:35 AM, Michael Berger wrote:



On 06/18/2016 09:56 PM, Kornel Benko wrote:
Am Samstag, 18. Juni 2016 um 18:06:24, schrieb Michael Berger 


Hi Miguel, Kornel,
it seemed to be obvious that the installer missed some perl packages.
In lack of specific knowledge and brain power I used my gut feeling
instead and added the following packages:
perl-tk
perl-Gtk2
libxft-dev
gtk+2.0
gtk+3.0
These in turn required quite a number of dependencies.

# ./install -gui
and  the Gui 2016 menu dialogue popped up
I accepted the default settings and the installation finished without
problem.

In the end I was urged to add 
"/usr/local/texlive/2016/bin/x86_64-linux"

to my PATH.
I will do that as Miguel told me and enter that line in LyX
Preferences'  as PATH prefix.

This is nice, but that way you will use TL2016 _only_ from lyx.
I prefer to change my PATH directly, so that I have always access to 
the installed texlive.



The Perl/Tk installation is indeed very distro-specific!

Thanks very much for your valuable tips and advice.

Next challenge will be to install Lyx 2.2.
Miguel, please tell me if there is anything special to be obeyed - I 
may

also ask Scott Kostyshak.

All the best and a nice weekend!
Michael


Kornel

Kornel, thanks for the tip-off re '..change PATH directly'.
On second thought I agree for e.g. one simple reason: without having 
set Path one cannot call tlmgr gui from a terminal.

So, I did:  PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH

Cheers,Michael

Sorry Kornel,
I have another problem.
After I set PATH as described above I could  immediately call 'tlmgr 
gui' and the GUI was there.

When I tried the same again after some time bash said 'command not found'
Then I set Path again as before and I could call Gui.
This behaviour is repeating.
Can you help with this?

Thanks,
Michael


Re: Lyx 2.2 and spaces before displaymath

2016-06-19 Thread racoon

On 19.06.2016 12:31, racoon wrote:

On 17.06.2016 21:33, Guillaume Munch wrote:

Le 17/06/2016 18:40, Kiuhnm a écrit :

Hello,

I wrote a document in Lyx 2.2 and I noticed that I had added extra empty
lines before displaymath elements all over the document.

This happens when one hits return before pressing Ctrl+Shift+M. Did this
happen in Lyx 2.1.4 too? I never noticed. Should this behavior be
considered a feature or a bug?

Kiuhnm



A bug. Both situations are meaningful but one should be able to
distinguish between them. There is "Mark end of paragraphs" in
preferences. But if that remains the only way to see the difference,
then the option should be made default. Please harass the developers
until they agree on a solution.


Couldn't the newly introduced latexpar be used to mark the difference?

http://wiki.lyx.org/LyX/NewInLyX22#parbreak

It seems to generate the same source - at least in the simple cases I
checked.


Simple examples attached.



display math and parbreak.lyx
Description: application/lyx


Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Michael Berger



On 06/18/2016 09:56 PM, Kornel Benko wrote:

Am Samstag, 18. Juni 2016 um 18:06:24, schrieb Michael Berger 

Hi Miguel, Kornel,
it seemed to be obvious that the installer missed some perl packages.
In lack of specific knowledge and brain power I used my gut feeling
instead and added the following packages:
perl-tk
perl-Gtk2
libxft-dev
gtk+2.0
gtk+3.0
These in turn required quite a number of dependencies.

# ./install -gui
and  the Gui 2016 menu dialogue popped up
I accepted the default settings and the installation finished without
problem.

In the end I was urged to add "/usr/local/texlive/2016/bin/x86_64-linux"
to my PATH.
I will do that as Miguel told me and enter that line in LyX
Preferences'  as PATH prefix.

This is nice, but that way you will use TL2016 _only_ from lyx.
I prefer to change my PATH directly, so that I have always access to the 
installed texlive.


The Perl/Tk installation is indeed very distro-specific!

Thanks very much for your valuable tips and advice.

Next challenge will be to install Lyx 2.2.
Miguel, please tell me if there is anything special to be obeyed - I may
also ask Scott Kostyshak.

All the best and a nice weekend!
Michael


Kornel

Kornel, thanks for the tip-off re '..change PATH directly'.
On second thought I agree for e.g. one simple reason: without having set 
Path one cannot call tlmgr gui from a terminal.

So, I did:  PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH

Cheers,Michael


Re: Lyx 2.2 and spaces before displaymath

2016-06-19 Thread racoon

On 17.06.2016 21:33, Guillaume Munch wrote:

Le 17/06/2016 18:40, Kiuhnm a écrit :

Hello,

I wrote a document in Lyx 2.2 and I noticed that I had added extra empty
lines before displaymath elements all over the document.

This happens when one hits return before pressing Ctrl+Shift+M. Did this
happen in Lyx 2.1.4 too? I never noticed. Should this behavior be
considered a feature or a bug?

Kiuhnm



A bug. Both situations are meaningful but one should be able to
distinguish between them. There is "Mark end of paragraphs" in
preferences. But if that remains the only way to see the difference,
then the option should be made default. Please harass the developers
until they agree on a solution.


Couldn't the newly introduced latexpar be used to mark the difference?

http://wiki.lyx.org/LyX/NewInLyX22#parbreak

It seems to generate the same source - at least in the simple cases I 
checked.


Daniel




Re: install of Lyx 2.2 and texlive2016

2016-06-19 Thread Scott Kostyshak
On Sun, Jun 19, 2016 at 06:00:58AM +0200, UD wrote:
> I can answer my own question:
> If I start tlmgr from the terminal with:
> tlmgr gui -font "helvetica 12"
> then tlmgr opens with a usable size font, and all is well.

Glad you got it solved, Ehud! Thanks for posting back with the solution.
It sounds like using HiDPI is still an adventure on Linux.

I have three favors to ask of you:

1. Please do not send HTML-only emails. If you would like, send an HTML
version but also a plain-text version. I thought you had figured out how
to do that with Thunderbird when we last discussed this.

2. Can you please bottom-post (this is listed in our Netiquette
http://www.lyx.org/MailingLists#toc7)

3. Please respond to the email that you are referencing. In this "I
solved the issue" email, you are referring to the previous email you
sent. But you did not respond to that email, so it is difficult to
follow what you're referring to.

I am sorry to be so picky and what I asked really are favors---they are
not hard rules so you won't get kicked out or anything if you don't
follow them :)

Best,

Scott

> E. Kaplan
> 
> On 06/18/2016 09:56 PM, Kornel Benko wrote:
> 
> Am Samstag, 18. Juni 2016 um 18:06:24, schrieb Michael Berger 
> 
> 
> Hi Miguel, Kornel,
> it seemed to be obvious that the installer missed some perl packages.
> In lack of specific knowledge and brain power I used my gut feeling
> instead and added the following packages:
> perl-tk
> perl-Gtk2
> libxft-dev
> gtk+2.0
> gtk+3.0
> These in turn required quite a number of dependencies.
> 
> # ./install -gui
> and  the Gui 2016 menu dialogue popped up
> I accepted the default settings and the installation finished without
> problem.
> 
> In the end I was urged to add 
> "/usr/local/texlive/2016/bin/x86_64-linux"
> to my PATH.
> I will do that as Miguel told me and enter that line in LyX
> Preferences'  as PATH prefix.
> 
> This is nice, but that way you will use TL2016 _only_ from lyx.
> I prefer to change my PATH directly, so that I have always access to the 
> installed texlive.
> 
> 
> The Perl/Tk installation is indeed very distro-specific!
> 
> Thanks very much for your valuable tips and advice.
> 
> Next challenge will be to install Lyx 2.2.
> Miguel, please tell me if there is anything special to be obeyed - I 
> may
> also ask Scott Kostyshak.
> 
> All the best and a nice weekend!
> Michael
> 
> 
> Kornel
> 
> 
> --
> Ehud Kaplan, Ph.D.
> Jules and Doris Stein Research to Prevent Blindness Professor
> Director, Center of Excellence for Computational & System neuroscience,
> The Friedman Brain Institute, MSSM
> Director, The laboratory of Visual & Computational Neuroscience
> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
> The Icahn School of Medicine at Mount Sinai
> One Gustave Levy Place
> New York, NY, 10029
> 


signature.asc
Description: PGP signature