Skip to main content



      Home
Home » Eclipse Projects » Mylyn » [WikiText] How to add author and copright information to DocBook output
[WikiText] How to add author and copright information to DocBook output [message #69232] Thu, 04 June 2009 06:34 Go to next message
Eclipse UserFriend
Originally posted by: peter.friese.itemis.com

Hi,

I would like to add copyright and author information to my DocBook
output, like this:

<bookinfo>
<releaseinfo>Version 4.3.1</releaseinfo>
<pubdate>2008-12-15</pubdate>
<authorgroup>
<author>
<firstname>Peter</firstname>
<surname>Friese</surname>
</author>
<author>
<firstname>John</firstname>
<surname>Doe</surname>
</author>
</authorgroup>
<legalnotice>
<para>Copies of this document may be made for your own use and for
distribution to others, provided that you do
not charge any fee for such copies and further provided that each
copy contains this Copyright Notice,
whether distributed in print or electronically.</para>
</legalnotice>
</bookinfo>


As far as I understand the code in
org.eclipse.mylyn.wikitext.core.parser.util.MarkupToDocbook. parse(String),
I can define the book title (e.g. by setting the booktitle attribute on
the respective ANT task). However, there is no respective attribute for
copyright and author information).

What's your suggestion to add the needed information to the DocBook file?

Cheers,
Peter
Re: [WikiText] How to add author and copright information to DocBook output [message #69253 is a reply to message #69232] Fri, 05 June 2009 12:38 Go to previous message
Eclipse UserFriend
Peter Friese wrote:
> Hi,
>
> I would like to add copyright and author information to my DocBook
> output, like this:
>
> <bookinfo>
> <releaseinfo>Version 4.3.1</releaseinfo>
> <pubdate>2008-12-15</pubdate>
> <authorgroup>
> <author>
> <firstname>Peter</firstname>
> <surname>Friese</surname>
> </author>
> <author>
> <firstname>John</firstname>
> <surname>Doe</surname>
> </author>
> </authorgroup>
> <legalnotice>
> <para>Copies of this document may be made for your own use and for
> distribution to others, provided that you do
> not charge any fee for such copies and further provided that each
> copy contains this Copyright Notice,
> whether distributed in print or electronically.</para>
> </legalnotice>
> </bookinfo>
>
>
> As far as I understand the code in
> org.eclipse.mylyn.wikitext.core.parser.util.MarkupToDocbook. parse(String),
> I can define the book title (e.g. by setting the booktitle attribute on
> the respective ANT task). However, there is no respective attribute for
> copyright and author information).
>
> What's your suggestion to add the needed information to the DocBook file?
>
> Cheers,
> Peter
>

Peter,

I suggest that you make a feature request via bugzilla.

In the meantime you can pre-process your generated docbook and insert
the book info (you could use Ant's replaceregexp or use an XSL)

http://ant.apache.org/manual/OptionalTasks/replaceregexp.htm l
http://ant.apache.org/manual/CoreTasks/style.html

Regards,

David
Re: [WikiText] How to add author and copright information to DocBook output [message #597742 is a reply to message #69232] Fri, 05 June 2009 12:38 Go to previous message
Eclipse UserFriend
Peter Friese wrote:
> Hi,
>
> I would like to add copyright and author information to my DocBook
> output, like this:
>
> <bookinfo>
> <releaseinfo>Version 4.3.1</releaseinfo>
> <pubdate>2008-12-15</pubdate>
> <authorgroup>
> <author>
> <firstname>Peter</firstname>
> <surname>Friese</surname>
> </author>
> <author>
> <firstname>John</firstname>
> <surname>Doe</surname>
> </author>
> </authorgroup>
> <legalnotice>
> <para>Copies of this document may be made for your own use and for
> distribution to others, provided that you do
> not charge any fee for such copies and further provided that each
> copy contains this Copyright Notice,
> whether distributed in print or electronically.</para>
> </legalnotice>
> </bookinfo>
>
>
> As far as I understand the code in
> org.eclipse.mylyn.wikitext.core.parser.util.MarkupToDocbook. parse(String),
> I can define the book title (e.g. by setting the booktitle attribute on
> the respective ANT task). However, there is no respective attribute for
> copyright and author information).
>
> What's your suggestion to add the needed information to the DocBook file?
>
> Cheers,
> Peter
>

Peter,

I suggest that you make a feature request via bugzilla.

In the meantime you can pre-process your generated docbook and insert
the book info (you could use Ant's replaceregexp or use an XSL)

http://ant.apache.org/manual/OptionalTasks/replaceregexp.htm l
http://ant.apache.org/manual/CoreTasks/style.html

Regards,

David
Previous Topic:Setting up a JIRA repository in custom Eclipse plugin
Next Topic:Mylyn 3.2RC1 is now available
Goto Forum:
  


Current Time: Fri Jun 13 13:29:07 EDT 2025

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

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

Back to the top