Hello,

Patrice Dumas <[email protected]> writes:
> On Sun, Dec 22, 2024 at 09:52:52PM +0000, Frederico Muñoz wrote:
>> Patrice Dumas <[email protected]> writes:
>>
>> Hello,
>>
>> One thing I've noticed is that with USE_NODE=0 and FORMAT_MENU="menu",
>> the MENU_SYMBOL isn't used. It works as expected with either
>> USE_NODE=1 or FORMAT_MENU="sectiontoc" though.
>
> With FORMAT_MENU="sectiontoc" there are no menus at all, so if there are
> bullets, it is unrelated to MENU_SYMBOL.

Yes, correct, I get bullets but they are not related to MENU_SYMBOL.

> I tested, and with USE_NODES=0 (or USE_NODES=1), FORMAT_MENU="menu"
> and MENU_SYMBOL=§ I get the § symbol as menu symbol.  Without MENU_SYMBOL
> set I get some bullets too.
>
> Would you have a reproducer?

Yes, and initially I couldn't reproduce it: its the --no-number-sections
that makes it like that.

#+BEGIN_SRC
@node Top
@top Home

Test menu options.

@node Posts
@chapter Posts

@node FirstPost
@nodedescription 2024-12-22
@section First Post

One two three.

@node SecondPost
@nodedescription 2024-12-23
@section Second Post

Four five six.
#+END_SRC

$ texi2any --html -o out -c MENU_SYMBOL='§&nbsp;' -c USE_NODES=1 -c 
NODE_NAME_IN_MENU=0 -c FORMAT_MENU="menu" --no-number-sections posts.texi

- First Post: 2024-12-22

$ texi2any --html -o out -c MENU_SYMBOL='§&nbsp;' -c USE_NODES=0 -c 
NODE_NAME_IN_MENU=0 -c FORMAT_MENU="menu" --no-number-sections posts.texi

First Post: 2024-12-22

$ texi2any --html -o out -c MENU_SYMBOL='§&nbsp;' -c USE_NODES=0 -c 
NODE_NAME_IN_MENU=0 -c FORMAT_MENU="menu" posts.texi

1.1 First Post: 2024-12-22


Maybe this is by design, but it's not obvious to me why
--no-number-sections should remove the menu symbol.

Best regards,

-- 
Frederico


Reply via email to