Does anyone have a nice technique for doing what I am trying to do here?

http:///bcfg2.org/wiki/Bcfg2Doc

The above page uses the WikiInclude plugin [1] to try to display a
bunch of pages on a single page, for ease of reading and printing.

The problem is that the various TOC, PageOverview, and TracNav type
macros on the included pages are still included, so the output looks
ugly.

Does anyone have a technique they like for doing this with some set of
existing hacks?

If not, any suggestions on the best way to proceed?

I was thinking of 2 possibilities:
(a) Let WikiInclude include a list of macros to disable in included
pages, either at the trac.ini level or at the level of calling it.
(b) Let Wikinclude use syntax like PageOutline (eg
[[PageOutline(2-6,Some Title Text,inline)]]), where you can specify
what header levels to include and what the title of the included
section is, and then make sure that the format of all the included
pages have a general form along the lines of:

[[somenav]]
= Page Title =
[[TOC]]

== Actual Content 1 ==
blahblahblah

== Actual Content 2 ==
blahblahblah

So that only the level 2 and above "Actual Content" bits are included,
perhaps along with the Page Title, but not the content under Page
Title.

[1] Wiki Include Plugin
http://trac-hacks.org/wiki/WikiIncludePlugin

Thanks for any suggestions,
-- 
Daniel JB Clark   | Sys Admin, Free Software Foundation
pobox.com/~dclark | http://www.fsf.org/about/staff#danny
_______________________________________________
th-users mailing list
[email protected]
https://lists.trac-hacks.org/mailman/listinfo/th-users

Reply via email to