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

Combine duplicate referential footnotes #779

Closed
edelarua opened this issue Nov 8, 2023 · 1 comment · Fixed by #781
Closed

Combine duplicate referential footnotes #779

edelarua opened this issue Nov 8, 2023 · 1 comment · Fixed by #781
Assignees

Comments

@edelarua
Copy link
Contributor

edelarua commented Nov 8, 2023

In many cases, the same referential footnote is used in multiple places. It would be a lot neater and easier to read if each unique referential footnote was only listed once and ref index numbers were instead repeated within tables.

Example (taken from test-header-footer.R):

Title says Whaaaat
Oh, ok.

——————————————————————————————————————————————————
           A: Drug X   B: Placebo   C: Combination
——————————————————————————————————————————————————
row1 {1}       5           5              5       
row2       1, 2 {2}     1, 2 {3}       1, 2 {4}   
——————————————————————————————————————————————————

{1} - row 1 rfn
{2} - row 2 cfn
{3} - row 2 cfn
{4} - row 2 cfn
——————————————————————————————————————————————————

ha HA! Footer!

changes to:

Title says Whaaaat
Oh, ok.

——————————————————————————————————————————————————
           A: Drug X   B: Placebo   C: Combination
——————————————————————————————————————————————————
row1 {1}       5           5              5       
row2       1, 2 {2}     1, 2 {2}       1, 2 {2}   
——————————————————————————————————————————————————

{1} - row 1 rfn
{2} - row 2 cfn
——————————————————————————————————————————————————

ha HA! Footer!
@gmbecker
Copy link
Collaborator

This is already done for non-number symbols, which are more appropriate for footnotes we expect to be repeated anyway. Doing so for automatically-numbered footnotes will significantly complicate things, I think.

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

Successfully merging a pull request may close this issue.

2 participants