From f4e6559d0ef3d6ec98f3ef4877e60991adb167de Mon Sep 17 00:00:00 2001 From: Bruce Miller Date: Fri, 9 Aug 2024 12:46:13 -0400 Subject: [PATCH] Give clue when alignment of a line is dropped --- lib/LaTeXML/Engine/TeX_Paragraph.pool.ltxml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/LaTeXML/Engine/TeX_Paragraph.pool.ltxml b/lib/LaTeXML/Engine/TeX_Paragraph.pool.ltxml index 3cade6c69..884e79c22 100644 --- a/lib/LaTeXML/Engine/TeX_Paragraph.pool.ltxml +++ b/lib/LaTeXML/Engine/TeX_Paragraph.pool.ltxml @@ -76,6 +76,8 @@ sub alignLine { $document->insertElement('ltx:text', $line, class => 'ltx_align_' . $alignment); $document->insertElement('ltx:break'); } else { + Info('unexpected', 'alignment', $document, + "Lost requested alignment '$alignment'; no suitable element"); $document->absorb($line); } return; }