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

extraneous \% before Section #169

Closed
ietf-svn-bot opened this issue May 9, 2013 · 11 comments
Closed

extraneous \% before Section #169

ietf-svn-bot opened this issue May 9, 2013 · 11 comments
Labels

Comments

@ietf-svn-bot
Copy link

owner:ietf@augustcellars.com resolution_fixed type_defect | by arusso@amsl.com


The nroff output has extraneous "%" before "Section" (generated from xref). Minor because it doesn't cause an issue when converting the nroff to text.

Example: see %Section 4.2

(Note: % correctly appears before anchors than contain a hyphen, e.g., %[IANA-PORT])

v2 nroff attached; generated from XML with #168.


Issue migrated from trac:169 at 2022-02-05 12:32:46 +0000

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file test6943.nroff (52.7 KiB)

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed priority from minor to trivial

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com commented


Bug in the nroff output: if the xref-created 'Section X' is at the beginning of a sentence, then there is only one space after the preceding period. (Should be 2 spaces after sentence-ending period.)

Examples from attached test.nroff:

of different options for dealing with them. \%Section\03.1 discusses
the problem of how to deal with file management of groups of files,
or content collections. \%Section\03.2 deals with a related topic:

The nroff yields text with 1 space after 'them.' and 'collections.' when it should be 2 spaces.

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file test.nroff (94.9 KiB)

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file test.xml (116.3 KiB)

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com commented


The extraneous % in the nroff sometimes yields a stray "-" when converted to text. For example:

v2 nroff:

6.  Data type semantics must be appropriate for the data type.
(\%Section\04.4) (tool support)

nroff-generated text:

  6.  Data type semantics must be appropriate for the data type.  (-
      Section 4.4) (tool support)

corrected nroff (removed %):

6.  Data type semantics must be appropriate for the data type.
(Section\04.4) (tool support)

@ietf-svn-bot
Copy link
Author

@ietf@augustcellars.com changed owner from henrik@levkowetz.com to ietf@augustcellars.com

@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 531a96d:

Patch from elwynd@dial.pipex.com: Don't emit '%' before 'Section' for xrefs in the nroff writer. Fixes issue #169.

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


From 8bc0749:

Tweaked known-good test masters to match Elwyn's fix, see issue #169.

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