Re: Evince as default viewer

2017-08-28 Thread Paul A. Rubin

On 08/28/2017 02:55 PM, Julio Rojas wrote:

Sorry for not replying, but was kind of busy.

Attached you can see both the lyxrc.default file and the preferences 
menu. In the first one, qpdfview is setup by default, while on the 
second there is no way to setup evince as default.


As I have read in the thread, the advice is to edit the lyxrc.default, 
changing qpdfview with evince. Nevertheless, this solution does not 
allow me to understand why this happened and why it cannot be changed 
from the preferences menu.


I will wait for your comments before proceeding.

Regards,

-
Julio Rojas
jcredbe...@gmail.com 


Julio:

The answer to the second question is that you are looking at the wrong 
file format in the preferences menu. This is showing "*LaTeX* 
(pdflatex)", which is the .tex source code file that will be compiled 
into your document. Since LaTeX source files are plain text, the menu is 
showing the installed programs suitable for viewing text files.


If you switch the Format entry to "*PDF* (pdflatex)", the Viewer menu 
should show you appropriate programs for viewing PDF files (hopefully 
including Evince).


Paul



Re: LyX Cross-reference Label Default Content Inquiry

2017-08-28 Thread Richard Heck
On 08/28/2017 03:07 PM, Joel Kulesza wrote:
> Colleagues:
>
> Is there a mechanism for modifying how Insert -> Labels are
> automatically populated?  
>
> It appears to populate with the name of the associated entity, with
> spaces changed to dashes, up to a certain character limit.  
>
> Can this character limit be raised?  Can the space->dash conversion be
> modified?
>
> My ultimate goal is to provide more context in the labels themselves
> (mostly through NOT truncating them).  I usually just copy/paste the
> associated information of the default label; however, it would be
> convenient if something like this outcome could be made automatic. 
> That said, I'm glad the clickable UI element is truncated...

Short of modifying the source code, no, there's no way to customize
this. But you can of course patch the source for your own purposes if
you wish. The routine in question is Text::getPossibleLabel, in Text.cpp.

It probably would not be that hard to add preferences to control length
and what spaces get replaced with, though we're sometimes reluctant to
add too many preferences

Richard



LyX Cross-reference Label Default Content Inquiry

2017-08-28 Thread Joel Kulesza
Colleagues:

Is there a mechanism for modifying how Insert -> Labels are automatically
populated?

It appears to populate with the name of the associated entity, with spaces
changed to dashes, up to a certain character limit.

Can this character limit be raised?  Can the space->dash conversion be
modified?

My ultimate goal is to provide more context in the labels themselves
(mostly through NOT truncating them).  I usually just copy/paste the
associated information of the default label; however, it would be
convenient if something like this outcome could be made automatic.  That
said, I'm glad the clickable UI element is truncated...

My apologies if such functionality is there and I've overlooked it (e.g.,
Section 6.1 of the User's Guide).

Thank you,
Joel


Re: texlive and pyxplot > SOLVED

2017-08-28 Thread Wolfgang Engelmann



Am 28.08.2017 um 15:14 schrieb Kornel Benko:

Am Montag, 28. August 2017 um 14:50:47, schrieb Wolfgang Engelmann 


Am 28.08.2017 um 09:51 schrieb Kornel Benko:

Am Montag, 28. August 2017 um 09:25:50, schrieb Wolfgang Engelmann 


For getting texlive 2017 in my Debian Jessie installed I have removed my
old 2016 texlive . This removed also pyxplot. If I try to reinstall it
via synaptic or apt, the system wants to install texlive and other
packages, which are already in my texlive (/usr/local/texlive/2017/...),
see >

How can I avoid it and still get the pyxplot?

You could download and compile from http://pyxplot.org.uk/download.html


Wolfgang

Kornel

never change a running system!!
this is what happened:
root@wolfgang-Mr-Whisper-Ultra-SSD-II:/home/we/pyxplot-0.9.2# ./configure
Checking for latex . NO
ERROR: Required program latex could not be found.
Will see whether Paul's help will work
Wolfgang

Wolfgang, if you are working as root you have to set the PATH too.

But why do you do this when calling configure?

Kornel
I thought I had to be root to be able to put the prg at the appropriate 
place in the linux tree. After configure I run make and make install as 
root and now pyxplot is working fine. Thanks all who helped,

Wolfgang


Re: texlive and pyxplot

2017-08-28 Thread Kornel Benko
Am Montag, 28. August 2017 um 14:50:47, schrieb Wolfgang Engelmann 

> 
> Am 28.08.2017 um 09:51 schrieb Kornel Benko:
> > Am Montag, 28. August 2017 um 09:25:50, schrieb Wolfgang Engelmann 
> > 
> >> For getting texlive 2017 in my Debian Jessie installed I have removed my
> >> old 2016 texlive . This removed also pyxplot. If I try to reinstall it
> >> via synaptic or apt, the system wants to install texlive and other
> >> packages, which are already in my texlive (/usr/local/texlive/2017/...),
> >> see >
> >>
> >> How can I avoid it and still get the pyxplot?
> > You could download and compile from http://pyxplot.org.uk/download.html
> >
> >> Wolfgang
> > Kornel
> never change a running system!!
> this is what happened:
> root@wolfgang-Mr-Whisper-Ultra-SSD-II:/home/we/pyxplot-0.9.2# ./configure
> Checking for latex . NO
> ERROR: Required program latex could not be found.
> Will see whether Paul's help will work
> Wolfgang

Wolfgang, if you are working as root you have to set the PATH too.

But why do you do this when calling configure?

Kornel


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


Re: texlive and pyxplot

2017-08-28 Thread Wolfgang Engelmann



Am 28.08.2017 um 09:51 schrieb Kornel Benko:

Am Montag, 28. August 2017 um 09:25:50, schrieb Wolfgang Engelmann 


For getting texlive 2017 in my Debian Jessie installed I have removed my
old 2016 texlive . This removed also pyxplot. If I try to reinstall it
via synaptic or apt, the system wants to install texlive and other
packages, which are already in my texlive (/usr/local/texlive/2017/...),
see >

How can I avoid it and still get the pyxplot?

You could download and compile from http://pyxplot.org.uk/download.html


Wolfgang

Kornel

never change a running system!!
this is what happened:
root@wolfgang-Mr-Whisper-Ultra-SSD-II:/home/we/pyxplot-0.9.2# ./configure
Checking for latex . NO
ERROR: Required program latex could not be found.
Will see whether Paul's help will work
Wolfgang


Re: texlive and pyxplot

2017-08-28 Thread Paul A. Rubin

On 08/28/2017 03:25 AM, Wolfgang Engelmann wrote:
For getting texlive 2017 in my Debian Jessie installed I have removed 
my old 2016 texlive . This removed also pyxplot. If I try to reinstall 
it via synaptic or apt, the system wants to install texlive and other 
packages, which are already in my texlive 
(/usr/local/texlive/2017/...), see >


How can I avoid it and still get the pyxplot?

Wolfgang

>
Perhaps this would help? 
/unix.stackexchange.com/questions/75585/install-using-synaptic-ignoring-dependencies


Paul



Re: texlive and pyxplot

2017-08-28 Thread Kornel Benko
Am Montag, 28. August 2017 um 09:25:50, schrieb Wolfgang Engelmann 

> For getting texlive 2017 in my Debian Jessie installed I have removed my 
> old 2016 texlive . This removed also pyxplot. If I try to reinstall it 
> via synaptic or apt, the system wants to install texlive and other 
> packages, which are already in my texlive (/usr/local/texlive/2017/...), 
> see >
> 
> How can I avoid it and still get the pyxplot?

You could download and compile from http://pyxplot.org.uk/download.html

> Wolfgang

Kornel

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


texlive and pyxplot

2017-08-28 Thread Wolfgang Engelmann
For getting texlive 2017 in my Debian Jessie installed I have removed my 
old 2016 texlive . This removed also pyxplot. If I try to reinstall it 
via synaptic or apt, the system wants to install texlive and other 
packages, which are already in my texlive (/usr/local/texlive/2017/...), 
see >


How can I avoid it and still get the pyxplot?

Wolfgang

>

Die folgenden zusätzlichen Pakete werden installiert:
  prerex prosper pyxplot-doc texlive-base texlive-binaries 
texlive-extra-utils texlive-font-utils
  texlive-fonts-recommended texlive-fonts-recommended-doc 
texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc 
texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc 
texlive-pstricks texlive-pstricks-doc tipa

  vprerex

Vorgeschlagene Pakete:
  latexmk fragmaster purifyeps xindy dvipng libtcltk-ruby dot2tex

Die folgenden NEUEN Pakete werden installiert:
  prerex prosper pyxplot pyxplot-doc texlive-base texlive-binaries 
texlive-extra-utils texlive-font-utils
  texlive-fonts-recommended texlive-fonts-recommended-doc 
texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc 
texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc 
texlive-pstricks texlive-pstricks-doc tipa

  vprerex