After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 61345 - markup for non-crossreferenced functions/symbols
markup for non-crossreferenced functions/symbols
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2001-09-28 15:10 UTC by Matthias Clasen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the patch (1.62 KB, patch)
2001-09-28 15:11 UTC, Matthias Clasen
none Details | Review
revised patch (2.60 KB, patch)
2003-06-25 20:29 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2001-09-28 15:10:34 UTC
The following patch makes the (), # abbreviations emit proper
DocBook markup for non-crossreferenced functions and symbols, so
that eg occurrences of strlen() in inline docs will come out as
<tt>strlen()</tt> in html.
Comment 1 Matthias Clasen 2001-09-28 15:11:06 UTC
Created attachment 5724 [details] [review]
the patch
Comment 2 Matthias Clasen 2002-03-11 08:49:31 UTC
Damon, while I have your attention. How do you think about this
patch ?
Comment 3 Owen Taylor 2002-04-22 20:05:00 UTC
Reassigning all open gtk-doc bugs to gtk-doc-maint
Comment 4 Owen Taylor 2003-06-23 22:00:49 UTC
http://www.docbook.org/tdg/en/html/type.html lists <link>
as a possible child of <type>. Did that change?

Also, why the _ for _tagify?
Comment 5 Matthias Clasen 2003-06-23 22:45:53 UTC
Hmm, don't know what version of Docbook I was using when I wrote that
patch... the Docbook V3.1 docs also list like as child of type...
I'll rework the patch and remove the _ at the same time.
Comment 6 Matthias Clasen 2003-06-25 20:29:07 UTC
Wishful reading on our part. If you read that page carefully, you'll
notice that <link> is a possible *parent* of <type>, not a child. 
But as always, there's a different solution: We can simply put the
semantic markup (<type>, <function>, etc) inside the <link>. Here is a
patch which achieves this by giving MarkXRef a second, optional
parameter. This has been tested with sgml and xml mode and all of the
GTK+ stack docs. I'm going to commit this. 
Comment 7 Matthias Clasen 2003-06-25 20:29:45 UTC
Created attachment 17771 [details] [review]
revised patch