Re: [LyX/master] Hack to display section symbol

2023-07-30 Thread Richard Kimberly Heck

On 7/29/23 07:46, Pavel Sanda wrote:

On Fri, Jul 28, 2023 at 07:45:28PM -0400, Richard Kimberly Heck wrote:

Maybe some note in documentation for other users to know about this?

Where? It's one of those things that should just work but doesn't because
unicodesymbols uses \textsection instead of \S.

Then forget about it, most probably I don't understand your orginal issue :)


If you had, say, "\S4" in the Text After field of a citation, it would 
just show up in the inset label as "4", not "§4", even though we 
translate many LaTeX commands into unicode. The reason is that, in 
unicodesymbols, we have:


0x00a7 "\\textsection"    "textcomp" etc

rather than:

0x00a7 "\\S" etc

No one seems to remember why, but it seems dangerous to change it.

Riki



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


Re: [LyX/master] Hack to display section symbol

2023-07-29 Thread Pavel Sanda
On Fri, Jul 28, 2023 at 07:45:28PM -0400, Richard Kimberly Heck wrote:
> >Maybe some note in documentation for other users to know about this?
> 
> Where? It's one of those things that should just work but doesn't because
> unicodesymbols uses \textsection instead of \S.

Then forget about it, most probably I don't understand your orginal issue :)
Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Hack to display section symbol

2023-07-28 Thread Richard Kimberly Heck

On 7/28/23 19:43, Pavel Sanda wrote:

On Fri, Jul 28, 2023 at 04:54:07PM +0200, Richard Kimberly Heck wrote:

commit 5cb80b867f4a59c3253487652ba74a29ad5b3f0f
Author: Richard Kimberly Heck 
Date:   Thu Jul 27 01:18:55 2023 -0400

 Hack to display section symbol
---
  lib/unicodesymbols |1 -
  src/BiblioInfo.cpp |   12 
  2 files changed, 12 insertions(+), 1 deletions(-)

Maybe some note in documentation for other users to know about this?


Where? It's one of those things that should just work but doesn't 
because unicodesymbols uses \textsection instead of \S.


Riki


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


Re: [LyX/master] Hack to display section symbol

2023-07-28 Thread Pavel Sanda
On Fri, Jul 28, 2023 at 04:54:07PM +0200, Richard Kimberly Heck wrote:
> commit 5cb80b867f4a59c3253487652ba74a29ad5b3f0f
> Author: Richard Kimberly Heck 
> Date:   Thu Jul 27 01:18:55 2023 -0400
> 
> Hack to display section symbol
> ---
>  lib/unicodesymbols |1 -
>  src/BiblioInfo.cpp |   12 
>  2 files changed, 12 insertions(+), 1 deletions(-)

Maybe some note in documentation for other users to know about this?

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