Doxygen LaTeX / PDF links point to page 1 -


i using doxygen create product manual, , ran issue.

some links in outputted pdf (created latex) broken; point first page of document.

failure link within pdf

the accompanying html output not suffer issue; links work fine, shown below:

enter image description here

the doxygen code page:

/**      @mainpage [product] developer's guide      blah blah blah.      manual divided following sections:     - @subpage intro     - @subpage [etc]  */ 

further notes:

  • i tried @ref instead of @subpage. no difference.
  • some other references in pdf broken (automatic file references in sections), many work fine.

here's latex intermediate page:

this manual divided following section\-: \begin{doxyitemize} \item \hyperlink{intro}{product introduction} [etc] 

edit: manual solution found

  • open refman.tex latex output directory
  • change entry \hypertarget{d1/dfb/intro}{} \hypertarget{intro}{}
  • repeat other pages
  • run latex pdf tool

this not viable solution automated processes though, question still open.

as stated in answer provided @aaronncfca. problem caused not proper handling of paths in case create_subdirs set yes. a, proposed,patch has been created problem , pushed (pull request 328) github


Popular posts from this blog