GNOME Bugzilla – Bug 760086
Figure title needs to be on separate line in order for it to work
Last modified: 2016-09-05 13:45:24 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 */
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.
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.
Thanks, I've merged the pull request
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).