[LyX/master] Support for the JLReq class, by Koji Yokota (#12657)
Scott Kostyshak
skostysh at lyx.org
Wed Feb 8 16:57:59 UTC 2023
On Wed, Feb 08, 2023 at 10:27:02AM +0100, Juergen Spitzmueller wrote:
> commit 83d281f81e86653739e450fe456d30e5982e00b2
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date: Wed Feb 8 11:19:11 2023 +0100
>
> Support for the JLReq class, by Koji Yokota (#12657)
>
> lib/Makefile.am | 9 +
> .../Japanese_Article_%28JLReq_Class%29.lyx | 3378 ++++++++++++++++++++
> lib/layouts/jlreq-article.layout | 22 +
> lib/layouts/jlreq-book.layout | 22 +
> lib/layouts/jlreq-common.inc | 310 ++
> lib/layouts/jlreq-report.layout | 22 +
> 6 files changed, 3763 insertions(+), 0 deletions(-)
I'm not sure if due to this commit or follow-up commits, but now on
current master I get the following failures:
export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx16 (Failed)
export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx20 (Failed)
export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx21 (Failed)
export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx22 (Failed)
export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx23 (Failed)
check_load/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29 (Failed)
The check_load one is the first one to figure out (since usually has the
most obvious errors). When I open the file in LyX, I see the following
messages:
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: '']
TextClass.cpp (850): Unable to remove counter: chapter
I fixed the first few with ba264ec4. From what I understand, in Flex we
use just "Font" and not "TextFont". Is that right?
The remaining warning can be fixed (and then the above ctests pass) with
the following, but I have no idea if it is correct:
diff --git a/lib/layouts/jlreq-article.layout b/lib/layouts/jlreq-article.layout
index 6282bb4bd9..9b3a899979 100644
--- a/lib/layouts/jlreq-article.layout
+++ b/lib/layouts/jlreq-article.layout
@@ -18,5 +18,4 @@ Input article.layout
Input jlreq-common.inc
NoStyle Chapter
-NoCounter chapter
NoStyle Chapter*
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230208/a58d63eb/attachment-0001.asc>
More information about the lyx-devel
mailing list