title: Numbered anchors in doxygen
body: <p>I have quite a lot of anchors to picture in doxygen, e.g.</p>
  
  <pre><code>\anchor pic_foo
  \image html foo.gif "My Caption"
  \anchor pic_bar
  \image html bar.gif "My Caption"
  </code></pre>
  
  <p>Everytime when I use <code>\ref</code> to link one of those, I have to make up
  some nice description so the raw name of the anchor doesn't appear in
  output.</p>
  
  <p>Is it possible to have something like numbered anchors in doxygen
  where the link text will be the number of that anchor? Ideally
  something like:</p>
  
  <pre><code>\anchor pic_foo
  \image html foo.gif "My Caption"
  \anchor pic_bar
  \image html bar.gif "My Caption"
  
  As Figure \ref pic_foo shows... Figure \ref pic_bar is...
  </code></pre>
  
  <p>should ideally translate to:</p>
  
  <pre><code>As Figure 1 shows... Figure 2 is...
  </code></pre>
  
  <p>where the number is the link. I would be happy with every kind of counting scheme (documentation global or page local).</p>