typst-drafting icon indicating copy to clipboard operation
typst-drafting copied to clipboard

Don't number `note-outline` heading

Open fpdotmonkey opened this issue 4 months ago • 5 comments

This changes the default behavior of note-outline so that it doesn't number the heading it generates. The heading shouldn't be numbered by default because typically this notes section isn't a part of the final published document and would change the numbers of sections that are, which can cause mistakes, e.g. writing the literal "Section 6" instead of "Section 5".

Closes https://github.com/ntjess/typst-drafting/issues/36

fpdotmonkey avatar Sep 10 '25 05:09 fpdotmonkey

@Tinggaard LGTM (after the one suggested comment fix); any thoughts? I know it should probably come with a readme example, but you mentioned upgrading the distribution script (which I'd love to support!). We can probably tackle that in another PR

ntjess avatar Sep 15 '25 14:09 ntjess

Yes, LGTM.

You mentioned upgrading the distribution script

Yes, that is still in the making - sorry about the delay. Life has gotten in the way.

I don't know when it will be ready, but if it is possible to make a release now, I think we should do it. There has been a few new additions since the last release, I just cannot get the build script to work, and thus have not made a PR to the official package repo.

If you have suggestions to how we should build the README going forward, I am all ears. Like I have mentioned earlier I cannot get showman to work, but maybe this is all the topic of another issue.

Tinggaard avatar Sep 16 '25 18:09 Tinggaard

Does this require any action on my part? Happy to write an example if necessary, though I'm not quite sure what I would write as the image URL.

fpdotmonkey avatar Sep 17 '25 13:09 fpdotmonkey

Does this require any action on my part? Happy to write an example if necessary, though I'm not quite sure what I would write as the image URL.

For now, I think you are good - thanks! I will just await @ntjess, and hear if he has any suggestions regarding the rewrite of the CI.

Tinggaard avatar Sep 17 '25 16:09 Tinggaard

Apologies for being MIA, it's been a busy year 😅 Agreed, I think the CI issues are separate.

ntjess avatar Oct 20 '25 14:10 ntjess