From 185dc3b49753e19abffecc4b15ead39e01cd20b5 Mon Sep 17 00:00:00 2001
From: Vincent Danjean <Vincent.Danjean@ens-lyon.org>
Date: Tue, 4 Sep 2018 23:26:23 +0200
Subject: [PATCH] Fix compatibility with recent fig2dev

---
 src/latex-make.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/latex-make.dtx b/src/latex-make.dtx
index 64657bf..f5d890c 100644
--- a/src/latex-make.dtx
+++ b/src/latex-make.dtx
@@ -1747,11 +1747,11 @@ def main():
             continue
         if line[0] in "\t ":
             if display:
-                print(line)
+                print(line, end='')
         else:
             Fld = line.split(' ', 9999)
             if not Fld[0] or Fld[0] not in ('1', '2', '3', '4', '5'):
-                print(comment+line)
+                print(comment+line, end='')
                 display = True
             elif Fld[0] == '4':
                 display = show(Fld[3], line)
-- 
GitLab