Ah!

Right, I did not see the connection between using the asciidoc style and 
the inline image code.

I have changed [cols='^1a,2a'] to [cols='^1,2a'] and it works with 
image:images/ICON_OpenProject_002.jpg[]

Thanks very much!  Love the quick concise support on the group!

Cheers,
Martin

On Thursday, 5 June 2014 12:30:55 UTC+10, Lex Trotman wrote:
>
> The problem is the asciidoc style for that column. 
>
> If the table is as you posted then you shouldn't need asciidoc style 
> on that column since they are all images.  As Eduardo says they need 
> to be inline macros. 
>
> Cheers 
> Lex 
>
> On 5 June 2014 02:32, Martin Brennand <[email protected] <javascript:>> 
> wrote: 
> > 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/asciidoc. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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