Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from
Closed

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

wants to merge 2 commits into from

Conversation

fsteimke
Copy link
Contributor

@fsteimke fsteimke commented Dec 2, 2023

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:

  • %c (content) gives an lt:contentElement;
  • %l (label) gives an lt:label Element
  • Anything else is wrapped in an lt:text Element.

Greetings, Frank

@fsteimke
Copy link
Contributor Author

fsteimke commented Dec 3, 2023

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.

@fsteimke fsteimke closed this Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants