Set "initial collection" in style file

Hi all,

I want to make titles not display number by default in my style. By toggling it in some file then observe the raw code, I think a good way to achieve that is having something like
image
so that the variable is properly set to false.
However, how should I set section-display-numbers to false in style file? I tried input “initial” as a keyword, but in style file it doesn’t seems accepting arguments, so …

This is not the right way. When the cursor is on a section tag, look in the focus bar for the icon of the wrench tool. Click it and you will have a menu to customise all the section tags. Here you find the “Section display numbers” item which you can click to disable section numbers. Voilà.

Yeah, that’s how I get the source file in screenshot above :joy: . I am trying to avoid having to set it manually via the wrench every time, that’s why trying to fiddle with code :joy:

Sorry then. I didn’t understood what you were trying to achieve. I think you can try the macro \set-binding with the variable and the value (e.g. in your preamble).

1 Like

You can extract these style settings via Tools->Macros->Extract style package. In this case, it gives you <assign|section-display-numbers|false>.

1 Like