3

Using Doxygen 1.8.6, my mainpage is a Markdown README.md. I'd like to be able to link to anchors within the Markdown file, so I did this:

# My Header <a name="my-header"></a>

Check out [my header](#my-header)!

This works fine on the HTML documentation, but it does not work in the generated PDF. Is there a way to make it work in both places?

kyrofa
  • 1,759
  • 1
  • 14
  • 19

1 Answers1

0


Did you enable the option
PDF_HYPERLINKS = YES
in your doxygen.config ?

Lionel P.
  • 26
  • 1
  • 1
  • 3
  • Yes, I have that option enabled. – kyrofa Aug 11 '14 at 18:28
  • Did you try without the "-" in your anchor-name ? you can maybe find more info [here](http://stackoverflow.com/questions/6695439/how-do-you-create-link-to-a-named-anchor-in-multimarkdown) – Lionel P. Aug 12 '14 at 15:46
  • Yeah, that doesn't work either. The link you referenced is what I used to try this in the first place. Unfortunately, it does not seem to work in Doxygen. – kyrofa Aug 26 '14 at 16:31
  • Well... Doxygen's PDF generation, anyway. – kyrofa Aug 26 '14 at 16:36