# image issues - alignment, bold for nearby text, loses \ref link...

5 messages
Open this post in threaded view
|

## image issues - alignment, bold for nearby text, loses \ref link...

 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 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 . \image html image2-name.jpg More text \ref .   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 . \image html iamge2-name | More text \ref .   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 [hidden email] https://lists.sourceforge.net/lists/listinfo/doxygen-users
Open this post in threaded view
|

## Re: image issues - alignment, bold for nearby text, loses \ref link...

 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:
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. */ /** @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 <[hidden email]> 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 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 . > \image html image2-name.jpg More text \ref . >   > 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 . > \image html iamge2-name | More text \ref . >   > 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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/doxygen-users------------------------------------------------------------------------------ _______________________________________________ Doxygen-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/doxygen-users
Open this post in threaded view
|