[LyX/master] Fix layout font settings of newly added file

Scott Kostyshak skostysh at lyx.org
Wed Feb 8 15:57:03 UTC 2023


commit ba264ec485170b49d766732189bf602f8f672aea
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Wed Feb 8 11:46:42 2023 -0500

    Fix layout font settings of newly added file
    
    Change "TextFont" to "Font". This fixes the following terminal
    errors when opening the file:
    
      LyX: Unknown InsetLayout tag [around line 247 of file
      [layouts/jlreq-common.inc] current token: 'TextFont' context: '']
      LyX: Unknown InsetLayout tag [around line 247 of file
      [layouts/jlreq-common.inc] current token: 'Family' context: '']
      LyX: Unknown InsetLayout tag [around line 248 of file
      [layouts/jlreq-common.inc] current token: 'Typewriter' context: '']
      LyX: Unknown InsetLayout tag [around line 249 of file
      [layouts/jlreq-common.inc] current token: 'EndFont' context: '']
---
 lib/layouts/jlreq-common.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/layouts/jlreq-common.inc b/lib/layouts/jlreq-common.inc
index df4c8fc..55fd144 100644
--- a/lib/layouts/jlreq-common.inc
+++ b/lib/layouts/jlreq-common.inc
@@ -244,7 +244,7 @@ InsetLayout Flex:Warichu*
 	PassThru			1
 	MultiPar			1
 	ParbreakIgnored		1
-	TextFont
+	Font
 		Family			Typewriter
 	EndFont
 	HTMLLabel			\arabic{footnote}


More information about the lyx-cvs mailing list