wspr / herries-press

A collection of LaTeX packages by Peter Wilson
http://wspr.github.com/herries-press/
30 stars 5 forks source link

Change of length names, not reflected in documentation on CTAN #48

Open HummerJohn opened 1 year ago

HummerJohn commented 1 year ago

\cftchapindent seems to have changed to \cftchapterindent \cftsecindent seems to have changed to \cftsectionindent \cftsubsecindent seems to have changed to \cftsubsectionindent \cftsubsubsecindent seems to have changed to \cftsubsubsectionindent

However none of this is reflected in the documentation found on CTAN: https://www.ctan.org/pkg/tocloft

I came here via this stackexchange post https://tex.stackexchange.com/questions/485514/left-align-all-levels-in-table-of-contents

kberry commented 1 year ago

Hi,

\cftchapindent seems to have changed to \cftchapterindent
\cftsecindent seems to have changed to \cftsectionindent
\cftsubsecindent seems to have changed to \cftsubsectionindent
\cftsubsubsecindent seems to have changed to \cftsubsubsectionindent

Thanks for the report, but I don't see any change like this happening in the code?

I do see \cftchapterindent, etc., being used, but I believe they are (confusingly) internal to the implementation, and the "short" names (chap, sec, ...) are the user-level names to use.

If you have a sample document with the problem, please pass it along.

Not that I really know anything about how tocloft works. It needs a new maintainer ... --thanks, karl.