Re: [LyX/master] Update ja/Modules/LilyPond_Book.lyx

"Yokota K." <[email protected]> Tue, 4 Aug 2026 22:36:26 +0900
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
--===============0172281612150660669==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_9B8653C2-22CA-4F0C-A7A4-D07A4C57E569"


--Apple-Mail=_9B8653C2-22CA-4F0C-A7A4-D07A4C57E569
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> 2026/08/04 21:18=E3=80=81Koji Yokota <[email protected]>=E3=81=AE=E3=83=A1=
=E3=83=BC=E3=83=AB:
>=20
>> 2026/08/04 20:17=E3=80=81Scott Kostyshak =
<[email protected]>=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:
>>=20
>> On Tue, Aug 04, 2026 at 10:12:14AM +0200, Kornel Benko wrote:
>>>=20
>>> I get now the following test-errors (see attached)
>>=20
>> I have the same as Kornel. Koji, can you reproduce? To reproduce
>> manually, export to 2.4.x, then open that exported file and try =
default
>> compilation.
>=20
>>=20
>> The situation is better now though, at least the default compilation
>> works and indeed we don't need to explicitly set the fonts. That is
>> nice. It seems there is only now a lyx2lyx issue. Can you take a look =
at
>> the lyx2lyx issue?
>>=20
>> If the lyx2lyx issue is complicated to solve, and you recommend to =
leave
>> things as they are, that's fine. Kornel and I just need to know if we
>> should now expect these failures and adapt the tests accordingly.
>=20
>=20
> Thanks, I=E2=80=99ll report it soon. I had been struggling with =
investigating how =E2=80=98test=E2=80=99 works X<
>=20
> Since the remaining change of the document is basically the move from =
pLaTeX to luaLaTeX, I suspect it is related to the timing when the used =
layout is introduced to LyX.

There seems a switch of document language when the Japanese LuaLaTeX =
document is exported to 2.4. In the LyX 2.4 file, document language =
changes to English and it is switched to Japanese using ERT =
"\resetdefaultlanguage{japanese}=E2=80=9D and =
"\setotherlanguage{japanese}=E2=80=9D in the preamble.

Also, even though both LyX has the default setting in =
Document->Settings->Language->Language Package, only LyX 2.4 document =
contains a line "\usepackage{polyglossia}=E2=80=9D.

They result in the polyglossia error:
Package polyglossia Error: The current main roman font, =
lmroman10-regular,
(polyglossia)                does not contain the "CJK" script!
(polyglossia)                Please define \cjkfont with \newfontfamily
(polyglossia)                command

Koji=

--Apple-Mail=_9B8653C2-22CA-4F0C-A7A4-D07A4C57E569
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dutf-8"></head><body =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><br><div><blockquote =
type=3D"cite"><div>2026/08/04 21:18=E3=80=81Koji Yokota =
&lt;[email protected]&gt;=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:</div><div><=
div style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><br><div><blockquote =
type=3D"cite"><div>2026/08/04 20:17=E3=80=81Scott Kostyshak =
&lt;[email protected]&gt;=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:</div><br =
class=3D"Apple-interchange-newline"><div><span style=3D"caret-color: =
rgb(0, 0, 0); font-family: HiraginoSans-W1; font-size: 14px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">On Tue, Aug 04, 2026 at 10:12:14AM +0200, =
Kornel Benko wrote:</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: =
solid;"><blockquote type=3D"cite" style=3D"font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: =
none; text-decoration-thickness: auto; text-decoration-style: =
solid;"><br>I get now the following test-errors (see =
attached)<br></blockquote><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: solid;"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">I have the same as =
Kornel. Koji, can you reproduce? To reproduce</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: =
none; text-decoration-thickness: auto; text-decoration-style: =
solid;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">manually, export to 2.4.x, then open that exported file and =
try default</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration-line: none; text-decoration-thickness: auto; =
text-decoration-style: solid;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">compilation.</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: HiraginoSans-W1; font-size: 14px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: =
solid;"></div></blockquote></div><div><blockquote type=3D"cite"><div><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: =
none; text-decoration-thickness: auto; text-decoration-style: =
solid;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">The =
situation is better now though, at least the default =
compilation</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration-line: none; text-decoration-thickness: auto; =
text-decoration-style: solid;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">works and indeed we don't need to =
explicitly set the fonts. That is</span><br style=3D"caret-color: rgb(0, =
0, 0); font-family: HiraginoSans-W1; font-size: 14px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: solid;"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">nice. It seems there is =
only now a lyx2lyx issue. Can you take a look at</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: =
none; text-decoration-thickness: auto; text-decoration-style: =
solid;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">the =
lyx2lyx issue?</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: solid;"><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: =
none; text-decoration-thickness: auto; text-decoration-style: =
solid;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">If the =
lyx2lyx issue is complicated to solve, and you recommend to =
leave</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: 2; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration-line: none; text-decoration-thickness: auto; =
text-decoration-style: solid;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">things as they are, that's fine. Kornel and =
I just need to know if we</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: HiraginoSans-W1; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: solid;"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">should now expect these =
failures and adapt the tests accordingly.</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: HiraginoSans-W1; font-size: 14px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration-line: none; =
text-decoration-thickness: auto; text-decoration-style: =
solid;"></div></blockquote></div><div><br></div><div><div>Thanks, I=E2=80=99=
ll report it soon. I had been struggling with investigating how =
=E2=80=98test=E2=80=99 works X&lt;</div><div><br></div><div>Since the =
remaining change of the document is basically the move from pLaTeX to =
luaLaTeX, I suspect it is related to the timing when the used layout is =
introduced to =
LyX.</div></div></div></div></blockquote><br></div><div>There seems a =
switch of document language when the Japanese LuaLaTeX document is =
exported to 2.4. In the LyX 2.4 file, document language changes to =
English and it is switched to Japanese using ERT =
"\resetdefaultlanguage{japanese}=E2=80=9D and =
"\setotherlanguage{japanese}=E2=80=9D in the =
preamble.</div><div><br></div><div>Also, even though both LyX has the =
default setting in Document-&gt;Settings-&gt;Language-&gt;Language =
Package, only LyX 2.4 document contains a line =
"\usepackage{polyglossia}=E2=80=9D.</div><div><br></div><div>They result =
in the polyglossia error:</div><div><div>Package polyglossia Error: The =
current main roman font, lmroman10-regular,</div><div>(polyglossia) =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;does not contain =
the "CJK" script!</div><div>(polyglossia) &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;Please define \cjkfont with =
\newfontfamily</div><div>(polyglossia) &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; =
&nbsp;command</div></div><br><div>Koji</div></body></html>=

--Apple-Mail=_9B8653C2-22CA-4F0C-A7A4-D07A4C57E569--

--===============0172281612150660669==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

--===============0172281612150660669==--