Re: Hyperref support

2020-05-14 Thread Richard Kimberly Heck
On 5/14/20 9:24 AM, Pavel Sanda wrote:
> On Thu, Mar 26, 2020 at 11:04:28AM -0400, Richard Kimberly Heck wrote:
>> On 3/26/20 10:31 AM, Pavel Sanda wrote:
>>> On Thu, Mar 26, 2020 at 09:50:53AM -0400, Richard Kimberly Heck wrote:
> Thank you for your responses. I can't say I fully understand why Lyx
> needs to be as it is; I'm generally against hard coded parameters.
 We are as well, and I don't entirely know why it is done this way. It
 could be worth raising on lyx-devel.
>>> Git points to 9b13535e778b9
>>> PDFOptions.cpp: add two hyperref options for better compatibility for 
>>> non-latin titles, etc.
>>>
>>> It might have been wrong to hardcode it this way, anyway we can't just drop 
>>> it
>>> from compatibility reasons now. But adding new unicode option to the dialog 
>>> (by
>>> default on) seems correct solution.
>>> I don't have time to write the patch though.
>> I can find the time, probably.
>>
>> Should we do something more general and allow custom options to be set?
>> I.e., output no options ourselves in that case?
>>
>> Riki
> I am not sure what more general case you have in mind. We already have
> Additional options. If someone is super picky he can always write
> exact commands in Preamble... I would just add unicode option set to
> true by default.

I am not that familiar with hyperref. How should this option interact
with the ones currently given: runparams.isFullUnicode() and
runparams.use_japanese? Say the new one is runparams.checkedUnicode.
What is the correct test here:

    if (!runparams.isFullUnicode() && !runparams.use_japanese)
        opt += "unicode=true,";

?

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: png

2020-05-14 Thread Pavel Sanda
On Thu, May 14, 2020 at 11:44:35AM +0200, Patrick Dupre wrote:
> Hello,
> 
> Can I export a png file from lyx?

Not in defaults, but you could define your own output target and 
add convertor for pdf->png.
What are you trying to achieve?
Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Hyperref support

2020-05-14 Thread Pavel Sanda
On Thu, Mar 26, 2020 at 11:04:28AM -0400, Richard Kimberly Heck wrote:
> On 3/26/20 10:31 AM, Pavel Sanda wrote:
> > On Thu, Mar 26, 2020 at 09:50:53AM -0400, Richard Kimberly Heck wrote:
> >>> Thank you for your responses. I can't say I fully understand why Lyx
> >>> needs to be as it is; I'm generally against hard coded parameters.
> >> We are as well, and I don't entirely know why it is done this way. It
> >> could be worth raising on lyx-devel.
> > Git points to 9b13535e778b9
> > PDFOptions.cpp: add two hyperref options for better compatibility for 
> > non-latin titles, etc.
> >
> > It might have been wrong to hardcode it this way, anyway we can't just drop 
> > it
> > from compatibility reasons now. But adding new unicode option to the dialog 
> > (by
> > default on) seems correct solution.
> > I don't have time to write the patch though.
> 
> I can find the time, probably.
> 
> Should we do something more general and allow custom options to be set?
> I.e., output no options ourselves in that case?
> 
> Riki

I am not sure what more general case you have in mind. We already have
Additional options. If someone is super picky he can always write
exact commands in Preamble... I would just add unicode option set to
true by default.

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


png

2020-05-14 Thread Patrick Dupre
Hello,

Can I export a png file from lyx?

Thanks

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users