From 6d05e7816863c08ce2826b3e3a8170ebd3b9bcd0 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 29 Jan 2021 15:45:54 +0100 Subject: [PATCH] Do not output \maketitle in table cells if the table is in the title --- src/insets/InsetTabular.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index f18c3b78e9..b6ef973bb3 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -93,6 +93,8 @@ public: bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); } /// bool canPaintChange(BufferView const &) const override { return false; } + /// This assures we never output \maketitle in table cells + bool isInTitle() const override { return true; } private: /// InsetTableCell() = delete; -- 2.39.5