From f3e3061a7ff0307c9ad0efc06b58b3ce8a9553cd Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 8 Jun 2023 11:21:35 +0200 Subject: Fix a bug in footnote together-keeping logic --- tests/typ/bugs/footnote-keep-multiple.typ | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/typ/bugs/footnote-keep-multiple.typ (limited to 'tests/typ') diff --git a/tests/typ/bugs/footnote-keep-multiple.typ b/tests/typ/bugs/footnote-keep-multiple.typ new file mode 100644 index 00000000..3aa0b9d9 --- /dev/null +++ b/tests/typ/bugs/footnote-keep-multiple.typ @@ -0,0 +1,10 @@ +// Test that the logic that keeps footnote entry together with +// their markers also works for multiple footnotes in a single +// line or frame (here, there are two lines, but they are one +// unit due to orphan prevention). + +--- +#set page(height: 100pt) +#v(30pt) +A #footnote[a] \ +B #footnote[b] -- cgit v1.2.3