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

format="counter" doesn't work for a texttable #241

Closed
ietf-svn-bot opened this issue Mar 17, 2014 · 4 comments
Closed

format="counter" doesn't work for a texttable #241

ietf-svn-bot opened this issue Mar 17, 2014 · 4 comments
Labels

Comments

@ietf-svn-bot
Copy link

owner:henrik@levkowetz.com resolution_fixed type_defect | by arusso@amsl.com


In an xref, format="counter" can be used to mention a figure or table by its number only. However, it's not working currently for texttable. (Also, v2.4.5 CLI doesn't give an error msg when it creates this output.)

Sample XML:

A type extension registry for each of these TLV types with values
as listed in Tables <xref target="table_IANA_packet_TLV_types"
format="counter"/>, <xref target="table_IANA_message_TLV_types"
format="counter"/>, and <xref target="table_IANA_addressblock_TLV_types" 
format="counter"/>.

errored output (from v2.4.5):

   o  A type extension registry for each of these TLV types with values
      as listed in Tables , , and .

desired output (from v1):

   o  A type extension registry for each of these TLV types with values
      as listed in Tables 1, 2, and 3.

Issue migrated from trac:241 at 2022-02-05 12:37:25 +0000

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


From e40faf0:

Added tests for using format='counter' in xref elements referencing texttables, see issue #241

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed status from new to closed

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed resolution from `` to fixed

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


Fixed in 6bc9980:

Provide the relevant counter when creating _RfcItem objects for Figures, Tables, numbered References, and Crefs, to make it possible to refer to them by xref elements with format='counter'. Fixes issue #241.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant