Re: [Doxygen-users] [SOLVED] \ref within \defgroup
Brought to you by:
dimitri
From: Andreas T. <an...@vi...> - 2017-10-20 15:12:20
|
On 20.10.2017 16:43, Andreas Tscharner wrote: > Hello World, > > I have a problem with \ref within a \defgroup > > I define a group (in a /** \page) > \defgroup inR16 Events and Requests available since QUARTIS R16 > @{ > \ref _charact_1<br/> > \ref _charact_2<br/> > @} > > _charact_1 is defined as follows: > \subsection _charact_1 Turn on/off characteristics > text > text > ... > > _charact_2 is similar, e.g. also a \subsection > > I create a HTML documentation. I see both references in the module page > as links with the \subsection titles. The module page has the following > URL: > file:///J:/QUARTIS/_dev/SDK/Automation/Doc/html/group__in_r16.html > > But when I click on one of the links, I get an error, because the URL is > wrong: > j:/QUARTIS/_dev/SDK/Automation/doc/Events.txt.html#_charact_1 > (no file:/// in front, completely wrong file: Events.txt is the origin > file for the documentation) > > Is \ref within a \defgroup not supported or is this simply a bug? > I found the solution myself: It did not work, because the references were defined later in the same file. I created a separate file for the \defgroup and it works as expected. Sorry for bothering and best regards Andreas -- ("`-''-/").___..--''"`-._ `o_ o ) `-. ( ).`-.__.`) (_Y_.)' ._ ) `._ `. ``-..-' _..`--'_..-_/ /--'_.' .' (il).-'' (li).' ((!.-' Andreas Tscharner an...@vi... ICQ-No. 14356454 |