Can you say what exactly is wrong and what are you expecting?

Also, are you saying that it's works with html and pdf, but doesn't work 
with docbook?


Em quarta-feira, 4 de junho de 2014 22h11min12s UTC-3, Martin Brennand 
escreveu:
>
> Hi Eduardo,
>
> This also did not work. 
> I have tried inline images exactly as listed there (I tried to simplify as 
> much as possible to get a baseline working image). 
>
> Any other approaches you can think of?
>
>
> On Thursday, 5 June 2014 03:49:51 UTC+10, Eduardo Santana wrote:
>>
>> Did you try image: instead of image:: ?
>>
>> Instead of :
>>
>> image::images/ICON_OpenProject_002.jpg["ICON_OpenProject_002",link="images/ICON_OpenProject_002.jpg"]
>>  
>>
>>
>> Try this:
>>
>> image:images/ICON_OpenProject_002.jpg[]
>>
>> To put inside tables, inline images is best.
>> http://www.methods.co.nz/asciidoc/userguide.html#X55
>>
>> When there take a look in what just work for HTML.
>>
>>
>> Em quarta-feira, 4 de junho de 2014 13h32min40s UTC-3, Martin Brennand 
>> escreveu:
>>>
>>>
>>> Hi all,
>>>
>>> Just getting into this amazing thing, and i'm hitting a wall.  I am 
>>> defining a table like this:
>>>
>>> [cols='^1a,2a']
>>> |===============
>>> | 
>>> image::images/ICON_OpenProject_002.jpg["ICON_OpenProject_002",link="images/ICON_OpenProject_002.jpg"]
>>>  
>>> |*Open Project:* Open a previously saved project
>>> | 
>>> image::images/ICON_SaveProject_002.jpg["ICON_SaveProject_002",link="images/ICON_SaveProject_002.jpg"]
>>>  
>>> |*Save Project:* Save the project
>>> | 
>>> image::images/ICON_Undo_002.jpg["ICON_Undo_002",link="images/ICON_Undo_002.jpg"]
>>>  
>>> |*Undo:* Undo tasks
>>> | 
>>> image::images/ICON_Redo_002.jpg["ICON_Redo_002",link="images/ICON_Redo_002.jpg"]
>>>  
>>> |*Redo:* Redo tasks revoked by Undo
>>> |===============
>>>
>>>
>>> It converts correctly to html, and looks great.
>>>
>>> If I try the same to convert to docbook, I get this:
>>>
>>> <tgroup cols="2">
>>> <colspec colname="col_1" colwidth="33*"/>
>>> <colspec colname="col_2" colwidth="66*"/>
>>> <tbody>
>>> <row>
>>> <entry align="center" valign="top"><literallayout 
>>> class="monospaced">image::images/ICON_OpenProject_002.jpg["ICON_OpenProject_002",link="images/ICON_OpenProject_002.jpg"]</literallayout></entry>
>>> <entry align="left" valign="top"><simpara><emphasis role="strong">Open 
>>> Project:</emphasis> Open a previously saved project</simpara></entry>
>>> </row>
>>> <row>
>>> <entry align="center" valign="top"><literallayout 
>>> class="monospaced">image::images/ICON_SaveProject_002.jpg["ICON_SaveProject_002",link="images/ICON_SaveProject_002.jpg"]</literallayout></entry>
>>> <entry align="left" valign="top"><simpara><emphasis role="strong">Save 
>>> Project:</emphasis> Save the project</simpara></entry>
>>> </row>
>>> <row>
>>> <entry align="center" valign="top"><literallayout 
>>> class="monospaced">image::images/ICON_Undo_002.jpg["ICON_Undo_002",link="images/ICON_Undo_002.jpg"]</literallayout></entry>
>>> <entry align="left" valign="top"><simpara><emphasis 
>>> role="strong">Undo:</emphasis> Undo tasks</simpara></entry>
>>> </row>
>>>
>>> ... 
>>>
>>>
>>> So I end up with my two columns, but with asciidoc syntax in the left 
>>> column and correctly formatted text in the right column when I make the PDF.
>>>
>>> I've tried a number of different image approaches and formatting ideas, 
>>> but i'm still not getting the right result.
>>>
>>> I am running this command:
>>> asciidoc -b docbook45 UserGuide/en_US/user_guide.adoc
>>>
>>> *User_guide.adoc* points to a number of included adoc files using 
>>> include::overview.adoc[] etc.
>>>
>>> Any thoughts as to what I might be doing wrong?
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to