Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tocstyle deprecated, update for using tocbasic #63

Open
bernardohenz opened this issue Oct 27, 2020 · 7 comments
Open

tocstyle deprecated, update for using tocbasic #63

bernardohenz opened this issue Oct 27, 2020 · 7 comments

Comments

@bernardohenz
Copy link

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.

@fcicc
Copy link
Contributor

fcicc commented Dec 1, 2020

I suggest to include tocstyle.sty in inputs folder while this issue is not addressed. I shall open a PR for that.

@schnorr
Copy link
Owner

schnorr commented Dec 1, 2020

Hi @bernardohenz , thanks for that comment. Do you think we can replace tocstyle by tocbasic straightway?

@bernardohenz
Copy link
Author

I was able to replace tocstyleby 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)
image

If the new layout is acceptable, I can open a PR for this.

@fcicc
Copy link
Contributor

fcicc commented Dec 1, 2020

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 :)

@schnorr
Copy link
Owner

schnorr commented Jun 10, 2021

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.

@FranciscoKnebel
Copy link
Contributor

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.
image

@yusefmhg
Copy link

yusefmhg commented Jul 27, 2022

Using tocbasic is possible to define the entries style:

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants