3
$\begingroup$

Can someone point me at the place, where the Layout of the Table of Contents is stored in the Author Tools. There should be some style sheet, but I can't find it.

Author Tools is still a very useful package even though WRI has abandoned all support for authoring in Mathematica.

There is a command

StyleBox["\t", "Leader"]

in the TOC in cells named TOCPage, TOCS[ubs]ection which produces dots between say Section-Title and the pagenumber. I want to just set the tabstop a little differently. The option TabSpacings works only on Text-Cells.

But also I want to change other layout items.

$\endgroup$
  • $\begingroup$ Many thanks. I'll look for it soon. How did you know that? I generate a TOC from 6 notebooks with overall about 100 pages, but after about 50 pages the page count breaks in the TOC. Do you have experience with the Author Tools? I use mathematica 9. Many thanks again. $\endgroup$ – Darwin1871 Jan 26 '16 at 21:54
  • $\begingroup$ I have discovered this in 2006 (!). I remember it was difficult to obtain this information. I probably did with the windows explorer a "search everywhere" a file "*.nb" containing "AuthorTools" or may be "bilateralcell". After Mma 5, AuthorTools is nearly no usable, despite some informations that let think It could be. I have tried to do my own AuthorTools but I gave up. I don't remember exactly what were the difficulties. (Pagination of the whole notebook by the frontend ? retrieving the page number of cells with a certain CellTag ? ...) $\endgroup$ – andre314 Jan 27 '16 at 20:04
  • $\begingroup$ The difficulties I encoutered was with small notebooks. I have never tried with large notebooks. I seems that there are other difficulties in this case. $\endgroup$ – andre314 Jan 27 '16 at 20:23
2
$\begingroup$

The styles of the AuthorTools are in the stylesheet "HelpBrowser.nb"

FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "HelpBrowser.nb"}]

For me, it gives :

"C:\Program Files\Wolfram \ Research\Mathematica\10.0\SystemFiles\FrontEnd\StyleSheets\\ HelpBrowser.nb"

FileNameJoin[] exists since Mathematica 7. If you have an earlier version of Mathematica you can reconstruct the path yourself.

$\endgroup$
  • $\begingroup$ Pre-7 there was ToFileName $\endgroup$ – b3m2a1 Mar 9 '17 at 1:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.