size_t n_footnotes = table_collect_footnotes (table_item, &f);
if (n_footnotes)
{
- fputs ("\nFootnotes:\n", csv->file);
-
for (size_t i = 0; i < n_footnotes; i++)
{
- csv_output_field (csv, f[i]->marker);
- fputs (csv->separator, csv->file);
- csv_output_field (csv, f[i]->content);
+ char *s = xasprintf ("Footnote: %s. %s", f[i]->marker, f[i]->content);
+ csv_output_field (csv, s);
+ free (s);
putc ('\n', csv->file);
}
,Sig. (2-tailed),.017,.291,,.505
bang,Pearson Correlation,-.308,.118,-.344,1.000
,Sig. (2-tailed),.553,.824,.505,
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
Table: Correlations
,,bar,wiz
bang,Pearson Correlation,-.308,.164,-.337,1.000
,Sig. (2-tailed),.553,.725,.460,
,N,6,7,7,7
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
]])
AT_CLEANUP
var3,Pearson Correlation,.3699[a],-.0543
,Sig. (2-tailed),.000,.603
,N,95,94
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
Table: Correlations
,,var1,var2
var5,Pearson Correlation,-.0519,-.0407
,Sig. (2-tailed),.623,.698
,N,92,93
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
]])
AT_CLEANUP
,2,9,100.0%,0,.0%,9,100.0%
,9[a],4,100.0%,0,.0%,4,100.0%
,99[a],5,100.0%,0,.0%,5,100.0%
-
-Footnotes:
-a,User-missing value.
+Footnote: a. User-missing value.
Table: Extreme Values
,g,,,Case Number,Value
,,,3,25,701
,,,4,26,801
,,,5,27,901
-
-Footnotes:
-a,User-missing value.
+Footnote: a. User-missing value.
]])
AT_CLEANUP
h
i[c][d][e]",j,
,klm,
-
-Footnotes:
-a,Approximation.
-b,This is a very long footnote that will have to wrap from one line to the next. Let's see if the rendering engine does it acceptably.
-c,One
-d,Two
-e,Three
+Footnote: a. Approximation.
+Footnote: b. This is a very long footnote that will have to wrap from one line to the next. Let's see if the rendering engine does it acceptably.
+Footnote: c. One
+Footnote: d. Two
+Footnote: e. Three
]])
AT_CLEANUP
A Numeric Variable,1,Unity
,2,Duality
,3,Thripality
-
-Footnotes:
-a,User-missing value
+Footnote: a. User-missing value
Table: Variable and Dataset Attributes
Variable and Name,,Value
A Numeric Variable,1,Unity
,2,Duality
,3,Thripality
-
-Footnotes:
-a,User-missing value
+Footnote: a. User-missing value
Table: Variable and Dataset Attributes
Variable and Name,,Value