Re: [SOLVED] \ref within \defgroup

Andreas Tscharner <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>

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   [email protected]   ICQ-No. 14356454

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.