infufrgs
infufrgs copied to clipboard
tocstyle deprecated, update for using tocbasic
tocstyle
has been withdrawn from the koma-script bundle in july 2020, and is being considered as obsolete.
I believe that tocbasic
should be used instead.
I suggest to include tocstyle.sty in inputs folder while this issue is not addressed. I shall open a PR for that.
Hi @bernardohenz , thanks for that comment. Do you think we can replace tocstyle
by tocbasic
straightway?
I was able to replace tocstyle
by tocbasic
, but then all the following commands (\settocfeature
) stopped to work.
By removing such commands, I was able to compile, but the layout was changed a bit (take a look at the picture)
If the new layout is acceptable, I can open a PR for this.
I think that these differences are not acceptable according to ABNT rules. But I think that these differences can be worked to fit the ABNT style. If this is actually possible, your solution is more adequate than mine :)
While we keep looking for an alternative to tocstyle
(it seems tocbasic
is not fully okay yet), I've merged PR #65 to include a version of the tocstyle.sty
locally. I'll keep this issue open to keep on discussing on how could we replace tocstyle.sty
and still keep following the established rules for the TOC.
Tex Live 2021 (default in Overleaf, even if cloning old documents) removed the deprecated tocstyle
package.
For Overleaf users, setting to version 2020 fixes the import error.
Using tocbasic
is possible to define the entries style:
The only issue is you can't use \MakeUppercase
(which is itself a bad practice). I used Small Caps (\scshape
) in the example. I think this is a better option than \MakeUppercase
, but I don't know if it is acceptable by ABNT (frankly infuriating) standartd.
If this example is acceptable, I'll submit a push request. Otherwise, I'll find an alternative for \MakeUppercase
.