After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760086 - Figure title needs to be on separate line in order for it to work
Figure title needs to be on separate line in order for it to work
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: documentation
1.8.11
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-01-02 23:11 UTC by Alin
Modified: 2016-09-05 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alin 2016-01-02 23:11:19 UTC
In order for me to get a figure title to display in RTF, I have to do this:

//!
//! \image rtf "Interrupt Manager Layers.emf"
//! Figure: Interrupt Manager Layers
//!

which is contrary to what the manual says and the example provided. Also note that I do not have quotes around the title because if I include them, the quotes show up in the final product document.

The manual (1.8.11) says for \image: 

The third argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified on a single line and between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.

and the example in the manual is this:

Here is example of a comment block:
/*! Here is a snapshot of my new application:
* \image html application.jpg
* \image latex application.eps "My application" width=10cm
*/
Comment 1 albert 2016-01-03 19:09:15 UTC
Currently the caption is not supported by the rtf version of the \image command. The line that you inserted as "Figure: Interrupt Manager Layers" is just the next line in the text.

Currently I'm working on an implementation, but there are some more commands than only \image to be taken into consideration.
Comment 2 albert 2016-01-06 14:53:10 UTC
If just pushed a proposed patch to github (pull request 438)

The proposed patch also contains an update for the other image formats used by doxygen.
Comment 3 Dimitri van Heesch 2016-01-07 18:49:43 UTC
Thanks, I've merged the pull request
Comment 4 Dimitri van Heesch 2016-09-05 13:45:24 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferably in the form of a self-contained example).