hi @kpagacz
I'm in a situation where I need to generate RTFs with a single blank/empty footnote when the TLG does not contain any footer, like this:
I think the way gentlg_single() is implemented right now doesn't allow for this behaviour. The exact line that prevents that is:
|
dsnin <- huxtable::add_footnote(dsnin, paste0("\\line ", footer), |
and
|
paste0("<div style='border-top:1pt solid;'> ", "<br />", footer), |
What I'm proposing is:
- remove the "first" argument logic and just insert the footnotes as they come to the function.
- users will need to pass
footers = c("", ...) to gentlg() if they want the first empty line in the footer.
is this minor adjustment something you could consider? any drawbacks?
hi @kpagacz
I'm in a situation where I need to generate RTFs with a single blank/empty footnote when the TLG does not contain any footer, like this:
I think the way
gentlg_single()is implemented right now doesn't allow for this behaviour. The exact line that prevents that is:tidytlg/R/gentlg_single.R
Line 897 in efca3ef
and
tidytlg/R/gentlg_single.R
Line 917 in efca3ef
What I'm proposing is:
footers = c("", ...)togentlg()if they want the first empty line in the footer.is this minor adjustment something you could consider? any drawbacks?