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

Option/macro to set the TOC title #69

Open
GoogleCodeExporter opened this issue Apr 18, 2015 · 2 comments
Open

Option/macro to set the TOC title #69

GoogleCodeExporter opened this issue Apr 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

We can see with 
http://code.google.com/p/txt2tags/source/browse/trunk/test/art/toc-macro.t2t
that try to have a title for a TOC with a level 1 title is a dead end, because 
when you don't use the --toc option, the TOC doesn't appear, but its level 1 
title is still here :
http://code.google.com/p/txt2tags/source/browse/trunk/test/art/ok/no-toc-macro.a
rt
http://code.google.com/p/txt2tags/source/browse/trunk/test/art/ok/no-toc-macro-s
lides.art

Conclusion : we need to bind the TOC and its title.

Proposition : a title parameter for the %%TOC macro : %%TOC(Table of Contents)

Original issue reported on code.google.com by fgalla...@gmail.com on 14 Nov 2010 at 9:39

@GoogleCodeExporter
Copy link
Author

Nice idea Florent. An alternative (or complement) would be a --toc-title 
command line option, since we already have --toc, --toc-level, --toc-only.

Original comment by aureliojargas@gmail.com on 17 Nov 2010 at 12:35

  • Changed title: Option/macro to set the TOC title

@GoogleCodeExporter
Copy link
Author

In r714, new option --toc-title (with art targets integration).

Original comment by fgalla...@gmail.com on 4 Jul 2011 at 3:13

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

No branches or pull requests

1 participant