Hi Monique,

Here are two ways to achieve what you want:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/** @mainpage

Using Markdown syntax:

| image | info |
|-------|------|
\image html image-name.png  "" | Text that leads in to the page link \ref 
pagename.
\image html image2-name.png "" | More text \ref pagename2.

Using HTML syntax:

<table>
<tr><th>image
    <th>info
<tr><td>\image html image-name.png
    <td>Text that leads in to
        the page link \ref pagename.
<tr><td>\image html image2-name.png
    <td>More text \ref pagename2.
</table>

*/

/** @page pagename
 *  A page
 */

/** @page pagename2
 *  Another page
 */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note that if you plan to put more than just plain text in the table cells, 
the HTML syntax is more robust and flexible.

Also note the "" after \image to introduce an empty caption, 
if omitted the rest of the line is seen as the image's caption!

Regards,
  Dimitri

> On 08 Sep 2015, at 20:01 , Monique Semp <monique.s...@earthlink.net> wrote:
> 
> Hello, Doxygen users,
>  
> I’m using Doxygen 1.8.10 on Win 7, and am having trouble getting an image to 
> be included without affecting the format/alignment of accompanying text, as 
> well as suppressing proper output of a \ref link to another .page file.
>  
> In my Mainpage.page file, I want to include a 2-column tabular presentation, 
> but not include any actual table headers or cell borders, where the first 
> column contains images and the second column contains text (and links to 
> other page files). But everything I try ends up with three problems:
>  
> 1. The image and subsequent text is output as two “rows” with center 
> justification.
> 2. The text is output as bold for no apparent reason.
> 3. The link to the desired page disappears, and the <page-name> instead of 
> the page’s title ends up in the output.
>  
> I tried plain text, as follows:
>  
> \image html image-name.jpg Text that leads in to the page link \ref 
> <page-name>.
> \image html image2-name.jpg More text \ref <page-name2>.
>  
> Then I tried a table just to see if that would help (which is how I had it in 
> the DoxyS project that I’m now porting to Doxygen). But that results in all 
> the problems above, with all the output being put into the first column (even 
> though clearly the table coding places the text in the second column):
>  
> | image | info |
> |-------|------|
> \image html image-name.jpg | Text that leads in to the page link \ref 
> <page-name>.
> \image html iamge2-name | More text \ref <page-name2>.
>  
> The images are found just fine (and Doxygen copies them to the expected 
> output/html folder), and when I delete the images, the page references work 
> as expected.
>  
> Any suggestions?
>  
> Thanks very much,
> -Monique
>  
> ------------------------------------------------------------------------------
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to