Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » WikiText table of contents and section numbering
WikiText table of contents and section numbering [message #532502] Mon, 10 May 2010 09:30 Go to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5525
Registered: July 2009
Senior Member
Hi,

Is there a way to produce a table of contents in the HTML output?
__TOC__ has no effect ;-(

And is there a way to generate numbered section titles, e.g. "2.1.3
Section"?

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: WikiText table of contents and section numbering [message #532584 is a reply to message #532502] Mon, 10 May 2010 14:07 Go to previous messageGo to next message
David Green is currently offline David Green
Messages: 135
Registered: July 2009
Senior Member
Eike,

On 10-05-10 2:30 AM, Eike Stepper wrote:
> Is there a way to produce a table of contents in the HTML output?
> __TOC__ has no effect ;-(

It looks like you're using MediaWiki markup. The magic word __TOC__ (http://en.wikipedia.org/wiki/Help:Magic_words) has
not been implemented in WikiText, though WikiText is quite capable of producing a table of contents in HTML.
Feel free to enter an enhancement request to enable this for MediaWiki markup at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText

> And is there a way to generate numbered section titles, e.g. "2.1.3
> Section"?

WikiText does not have an option for numbered section titles. Please request an enhancement
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText

If you're generating HTML you might want to consider using WikiText to produce DocBook, then HTML from DocBook using
Docbook XSL. Peter Friese has written a great article on that topic, see http://www.peterfriese.de/advanced-wikitext/
Docbook XSL provides many options for affecting the output, including numbered section titles.

Regards,

David

>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
Re: WikiText table of contents and section numbering [message #532589 is a reply to message #532584] Mon, 10 May 2010 14:19 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5525
Registered: July 2009
Senior Member
Am 10.05.2010 16:07, schrieb David Green:
> Eike,
>
> On 10-05-10 2:30 AM, Eike Stepper wrote:
>> Is there a way to produce a table of contents in the HTML output?
>> __TOC__ has no effect ;-(
>
> It looks like you're using MediaWiki markup. The magic word __TOC__
> (http://en.wikipedia.org/wiki/Help:Magic_words) has not been
> implemented in WikiText, though WikiText is quite capable of producing
> a table of contents in HTML.
> Feel free to enter an enhancement request to enable this for MediaWiki
> markup at
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText
>
Done: https://bugs.eclipse.org/312263

>
>> And is there a way to generate numbered section titles, e.g. "2.1.3
>> Section"?
>
> WikiText does not have an option for numbered section titles. Please
> request an enhancement
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText
>
Done: https://bugs.eclipse.org/312264

>
> If you're generating HTML you might want to consider using WikiText to
> produce DocBook, then HTML from DocBook using Docbook XSL. Peter
> Friese has written a great article on that topic, see
> http://www.peterfriese.de/advanced-wikitext/ Docbook XSL provides many
> options for affecting the output, including numbered section titles.
I'm already having hard times fighting my DITA tool chain :P

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> Regards,
>
> David
>
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>
>
Re: WikiText table of contents and section numbering [message #601368 is a reply to message #532502] Mon, 10 May 2010 14:07 Go to previous message
David Green is currently offline David Green
Messages: 96
Registered: July 2009
Member
Eike,

On 10-05-10 2:30 AM, Eike Stepper wrote:
> Is there a way to produce a table of contents in the HTML output?
> __TOC__ has no effect ;-(

It looks like you're using MediaWiki markup. The magic word __TOC__ (http://en.wikipedia.org/wiki/Help:Magic_words) has
not been implemented in WikiText, though WikiText is quite capable of producing a table of contents in HTML.
Feel free to enter an enhancement request to enable this for MediaWiki markup at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText

> And is there a way to generate numbered section titles, e.g. "2.1.3
> Section"?

WikiText does not have an option for numbered section titles. Please request an enhancement
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText

If you're generating HTML you might want to consider using WikiText to produce DocBook, then HTML from DocBook using
Docbook XSL. Peter Friese has written a great article on that topic, see http://www.peterfriese.de/advanced-wikitext/
Docbook XSL provides many options for affecting the output, including numbered section titles.

Regards,

David

>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
Re: WikiText table of contents and section numbering [message #601372 is a reply to message #532584] Mon, 10 May 2010 14:19 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5525
Registered: July 2009
Senior Member
Am 10.05.2010 16:07, schrieb David Green:
> Eike,
>
> On 10-05-10 2:30 AM, Eike Stepper wrote:
>> Is there a way to produce a table of contents in the HTML output?
>> __TOC__ has no effect ;-(
>
> It looks like you're using MediaWiki markup. The magic word __TOC__
> (http://en.wikipedia.org/wiki/Help:Magic_words) has not been
> implemented in WikiText, though WikiText is quite capable of producing
> a table of contents in HTML.
> Feel free to enter an enhancement request to enable this for MediaWiki
> markup at
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText
>
Done: https://bugs.eclipse.org/312263

>
>> And is there a way to generate numbered section titles, e.g. "2.1.3
>> Section"?
>
> WikiText does not have an option for numbered section titles. Please
> request an enhancement
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText
>
Done: https://bugs.eclipse.org/312264

>
> If you're generating HTML you might want to consider using WikiText to
> produce DocBook, then HTML from DocBook using Docbook XSL. Peter
> Friese has written a great article on that topic, see
> http://www.peterfriese.de/advanced-wikitext/ Docbook XSL provides many
> options for affecting the output, including numbered section titles.
I'm already having hard times fighting my DITA tool chain :P

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> Regards,
>
> David
>
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>
>
Previous Topic:WikiText table of contents and section numbering
Next Topic:Make resource stick with Context
Goto Forum:
  


Current Time: Tue Sep 23 22:38:48 GMT 2014

Powered by FUDForum. Page generated in 0.09560 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software