Edgewall Software

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2136 closed defect (fixed)

Inline version of [[PageOutline]] generates wrong layout

Reported by: nunterberg@… Owned by: Christopher Lenz
Priority: low Milestone: 0.9
Component: wiki system Version: 0.9b2
Severity: trivial Keywords: macros
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


When using the inline version of the PageOutline]] macro like this:

[[PageOutline(0-3, Contents, inline)]]

the generated table of contents has a very bad layout, it looks like this:


   1.  1. Top Title
           1. Subtitle 1
           2. Subtitle 2

Note the duplicate numbers. I would suggest a similar layout as PageOutline produces in outline mode (no numbers, no addinional empty lines)

Attachments (0)

Change History (4)

comment:1 by Christopher Lenz, 17 years ago

Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

comment:2 by Christopher Lenz, 17 years ago

The problem here is that there is no level 0 for headings.

So you should use:

[[PageOutline(1-3, Contents, inline)]]

Should still be fixed, of course.

comment:3 by Christopher Lenz, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [2316].

(oh the magic of numbers)

comment:4 by Christopher Lenz, 17 years ago

Priority: normallow
Severity: normaltrivial

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.