Re: No print icon in Debian Stretch lyx 2.2.2

2017-05-04 Thread Richard Heck
On 05/03/2017 07:51 PM, Paul A. Rubin wrote:
> On 05/03/2017 07:42 PM, John White wrote:
>> On Tuesday, May 2, 2017 10:52:53 AM PDT John White wrote:
>>> I upgraded from Jessie to Stretch and now there is no print icon in
>>> lyx.
>>> Cntrl-d brings up xdvik and renders a dvi file.  Pushing cntrl-P in
>>> xdvik
>>> says it prints, but it doesn't.   So I have to export to pdf to print.
>>>
>>> Any suggestions as to how I might get a print option in lyx?
>>>
>>> John
>> I got xdvki/dvi to print fine (my alert IT guy added a missing
>> dependency), so
>> only question now is:  what happened to the print icon in lyx?  It
>> used to be
>> in the "File" dropdown menu.  Its no huge deal as now to print I
>> press cntrl-d
>> and then cntrl-p, instead of just cntrl-p as before, but it still seems
>> strange that there is no print icon in my lyx 2.2.2.
>>
>>
>>
> I believe Richard Heck answered this (but I've deleted my copy of the
> message). IIRC, he said that direct printing had been removed from LyX
> due to a combination of very few people using it and it being a PITA
> for the devs. 

One problem was that it had a ton of options that, again, seemed rarely
to be used. In a way, the more serious problem was that it was tightly
tied to DVI, so no PDF-specific features could be used.

> Personally, I never used it and never noticed it was gone. The
> "official" way to print now is to compile and view the document (which
> ctrl-D in LyX does for you) and then print it from the viewer (which
> ctrl-P apparently does in xdvik).

As I also mentioned, it's possible to restore printing, in a way, if one
wants to do so. The short version is:
1. Use Tools> Preferences> File Handling> File Formats to create a
new "Print" format.
2. Use Tools> Preferences> File Handling> Converters to define a new
(say) DVI --> Print converter. Define the converter as whatever command
line you might use to print. You can define a shortcut for this now if
you like.

Richard



Re: No print icon in Debian Stretch lyx 2.2.2

2017-05-03 Thread Paul A. Rubin

On 05/03/2017 07:42 PM, John White wrote:

On Tuesday, May 2, 2017 10:52:53 AM PDT John White wrote:

I upgraded from Jessie to Stretch and now there is no print icon in lyx.
Cntrl-d brings up xdvik and renders a dvi file.  Pushing cntrl-P in xdvik
says it prints, but it doesn't.   So I have to export to pdf to print.

Any suggestions as to how I might get a print option in lyx?

John

I got xdvki/dvi to print fine (my alert IT guy added a missing dependency), so
only question now is:  what happened to the print icon in lyx?  It used to be
in the "File" dropdown menu.  Its no huge deal as now to print I press cntrl-d
and then cntrl-p, instead of just cntrl-p as before, but it still seems
strange that there is no print icon in my lyx 2.2.2.



I believe Richard Heck answered this (but I've deleted my copy of the 
message). IIRC, he said that direct printing had been removed from LyX 
due to a combination of very few people using it and it being a PITA for 
the devs. Personally, I never used it and never noticed it was gone. The 
"official" way to print now is to compile and view the document (which 
ctrl-D in LyX does for you) and then print it from the viewer (which 
ctrl-P apparently does in xdvik).


Paul



Re: No print icon in Debian Stretch lyx 2.2.2

2017-05-03 Thread John White

On Tuesday, May 2, 2017 10:52:53 AM PDT John White wrote:
> I upgraded from Jessie to Stretch and now there is no print icon in lyx.
> Cntrl-d brings up xdvik and renders a dvi file.  Pushing cntrl-P in xdvik
> says it prints, but it doesn't.   So I have to export to pdf to print.
> 
> Any suggestions as to how I might get a print option in lyx?
> 
> John

I got xdvki/dvi to print fine (my alert IT guy added a missing dependency), so 
only question now is:  what happened to the print icon in lyx?  It used to be 
in the "File" dropdown menu.  Its no huge deal as now to print I press cntrl-d 
and then cntrl-p, instead of just cntrl-p as before, but it still seems 
strange that there is no print icon in my lyx 2.2.2.





Re: No print icon in Debian Stretch lyx 2.2.2

2017-05-02 Thread Richard Heck
On 05/02/2017 01:52 PM, John White wrote:
> I upgraded from Jessie to Stretch and now there is no print icon in lyx.  
> Cntrl-d brings up xdvik and renders a dvi file.  Pushing cntrl-P in xdvik 
> says it prints, but it doesn't.   So I have to export to pdf to print.
>
> Any suggestions as to how I might get a print option in lyx?

I am not sure why printing from xdvik doesn't work. But printing from
within LyX was removed for 2.2.0. Very few people used it, and it was
complicated to maintain. So you do now have at least to 'view' the file
to print it. But you shouldn't have to export it.

It is possible to add 'printer' as an export format. I posted a message
about that to the users list some time back.

Richard