Re: Get unicode output for quotation marks

2020-04-07 Thread Jürgen Spitzmüller
Am Dienstag, den 07.04.2020, 16:14 + schrieb Guenter Milde:
> Instead my suggestion is to let the quote inset write literal
> characters
> instead of macros or ligatures whenever possible.

Yes, we can do that (if we know the conditions).

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-07 Thread Guenter Milde
On 2020-04-07, Jürgen Spitzmüller wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Dienstag, den 07.04.2020, 06:39 + schrieb Guenter Milde:
>> Why not using Unicode literals generally, 
>> converting them with "unicodesymbols" if literals are not supported?

> We've had this discussion more than once. Please consult the (lyx-
> devel) archives why literal quote chars are inferior to quote insets,
> particularly if we try to extend support eventually (think csquotes,
> quote balancing check, etc.).

> I won't go into this discussion any more.

Sorry for not beeing clear: I see the advantages of the quote inset and do
not want to replace them.

Instead my suggestion is to let the quote inset write literal characters
instead of macros or ligatures whenever possible.

Günter

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


Re: Get unicode output for quotation marks

2020-04-07 Thread Jürgen Spitzmüller
Am Dienstag, den 07.04.2020, 06:39 + schrieb Guenter Milde:
> Why not using Unicode literals generally, 
> converting them with "unicodesymbols" if literals are not supported?

We've had this discussion more than once. Please consult the (lyx-
devel) archives why literal quote chars are inferior to quote insets,
particularly if we try to extend support eventually (think csquotes,
quote balancing check, etc.).

I won't go into this discussion any more.

Jürgen 


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-07 Thread Guenter Milde
On 2020-04-06, Jürgen Spitzmüller wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Montag, den 24.02.2020, 11:38 +0100 schrieb Daniel:
>> Hi,

>> Is there a way to get LyX to use unicode for quotation marks?

>> In particular, I am using quotation marks in a section title which 
>> generates the following LaTeX code:

>> \section{``Test''}

>> However, I would like it to generate

>> \section{“Test”}

>> The problem is that otherwise the bookmarks in PDFs also show
>> ``Test'' 
>> instead of “Test”.

>> Minimal example attached.

> Fixed in master at
> https://www.lyx.org/trac/changeset/c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e/lyxgit

> We use now the macros with headings in hyperref.

Why not using Unicode literals generally, 
converting them with "unicodesymbols" if literals are not supported?

Günter

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