docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

Add support for xref/@xrefstyle (Issue 414) #435

Closed fsteimke closed 7 months ago

fsteimke commented 7 months ago

This is my very first pull request, i hope i am doing it right.

Changes in link.xsl and xref.xsl for a minimal support of xref/@xrefstyle (Issue 414).

If an xrefstyle attribute exists, a l:template Element is created on the fly by analyzing the xrefstyle content, and applied with a new tp:apply-xref-template Template. Only two of the Template %-letter substitutions from Table 4.1 in the reference Manual are supported:

Greetings, Frank

fsteimke commented 7 months ago

OK, i see that i have to learn more about contributing code. I will close this pull request and try to do better next time.