Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » image scaling in WikiText->Docbook
image scaling in WikiText->Docbook [message #526236] Fri, 09 April 2010 06:20 Go to next message
Richard Adams is currently offline Richard Adams
Messages: 77
Registered: July 2009
Location: Edinburgh
Member
Hello,
I've just started using WikiText for writing developer documentation - can I just say it's really excellent, it's great to be able to have nicely formatted docs inside a project rather than on a separate wiki. And nice Help documentation on how to use WikiText as well!

However I'm a bit stuck on the image scaling to Docbook from Textile, using Eclipse 3.5.2, Cocoa 32bit version.
If I add the line !{width=80%}Picture1.png! as suggested this does not seem to get included in the generated DocBook, which appears like so
<mediaobject>
 <imageobject>
	<imagedata fileref="Picture1.png"/>
  </imageobject>
</mediaobject>
 


Is the markup wrong or is this a known bug? Is it only supported for certain image formats?
Thanks for your help
Richard


Re: image scaling in WikiText->Docbook [message #526326 is a reply to message #526236] Fri, 09 April 2010 12:36 Go to previous messageGo to next message
David Green is currently offline David Green
Messages: 135
Registered: July 2009
Senior Member
Richard,

I'm glad that you like Mylyn WikiText! See below:

On 10-04-09 3:20 AM, Richard Adams wrote:
> Hello,
> I've just started using WikiText for writing developer documentation -
> can I just say it's really excellent, it's great to be able to have
> nicely formatted docs inside a project rather than on a separate wiki.
> And nice Help documentation on how to use WikiText as well!
>
> However I'm a bit stuck on the image scaling to Docbook from Textile,
> using Eclipse 3.5.2, Cocoa 32bit version.
> If I add the line !{width=80%}Picture1.png! as suggested this does not
> seem to get included in the generated DocBook, which appears like so
>
> <mediaobject>
> <imageobject>
> <imagedata fileref="Picture1.png"/>
> </imageobject>
> </mediaobject>

The documentation is incorrect, it should suggest !{width:80%}images/foo.png! (notice the colon instead of the equals
sign) Try this instead !{width:80%}Picture1.png!

I've created the following bug to track this issue:

bug 308670: [doc] documentation incorrect re: scaling images with docbook and Textile
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308670

>
>
>
> Is the markup wrong or is this a known bug? Is it only supported for
> certain image formats?
> Thanks for your help
> Richard
>
Re: image scaling in WikiText->Docbook [message #526429 is a reply to message #526326] Sat, 10 April 2010 19:01 Go to previous messageGo to next message
Richard Adams is currently offline Richard Adams
Messages: 77
Registered: July 2009
Location: Edinburgh
Member
That works perfectly, thanks very much

Richard


Re: image scaling in WikiText->Docbook [message #601039 is a reply to message #526236] Fri, 09 April 2010 12:36 Go to previous messageGo to next message
David Green is currently offline David Green
Messages: 96
Registered: July 2009
Member
Richard,

I'm glad that you like Mylyn WikiText! See below:

On 10-04-09 3:20 AM, Richard Adams wrote:
> Hello,
> I've just started using WikiText for writing developer documentation -
> can I just say it's really excellent, it's great to be able to have
> nicely formatted docs inside a project rather than on a separate wiki.
> And nice Help documentation on how to use WikiText as well!
>
> However I'm a bit stuck on the image scaling to Docbook from Textile,
> using Eclipse 3.5.2, Cocoa 32bit version.
> If I add the line !{width=80%}Picture1.png! as suggested this does not
> seem to get included in the generated DocBook, which appears like so
>
> <mediaobject>
> <imageobject>
> <imagedata fileref="Picture1.png"/>
> </imageobject>
> </mediaobject>

The documentation is incorrect, it should suggest !{width:80%}images/foo.png! (notice the colon instead of the equals
sign) Try this instead !{width:80%}Picture1.png!

I've created the following bug to track this issue:

bug 308670: [doc] documentation incorrect re: scaling images with docbook and Textile
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308670

>
>
>
> Is the markup wrong or is this a known bug? Is it only supported for
> certain image formats?
> Thanks for your help
> Richard
>
Re: image scaling in WikiText->Docbook [message #601043 is a reply to message #526326] Sat, 10 April 2010 19:01 Go to previous message
Richard Adams is currently offline Richard Adams
Messages: 77
Registered: July 2009
Location: Edinburgh
Member
That works perfectly, thanks very much

Richard
--
Dr Richard Adams, University of Edinburgh
http://richardadams606blog.blogspot.com/
http://csbe.bio.ed.ac.uk/adams.php


Previous Topic:image scaling in WikiText->Docbook
Next Topic:After 3.3.3 upgrade, getting lots of spurious task update notifications
Goto Forum:
  


Current Time: Fri Jul 25 06:44:39 EDT 2014

Powered by FUDForum. Page generated in 0.03013 seconds