Re: Number of Japanese tests fails now

Scott Kostyshak <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <aa_OnhKJuaHEFYyV@jimmy>
On Mon, Feb 23, 2026 at 11:44:41PM +0900, Koji Yokota wrote:
> > 2026/02/23 22:15、Jürgen Spitzmüller <[email protected]>のメール:
> > 
> > Am Montag, dem 23.02.2026 um 20:40 +0900 schrieb Koji Yokota:
> >> A moderate remedy would be to specify appropriate default fonts to
> >> such as "MS P Mincho” or “Yu Mincho” when the document language is
> >> Japanese.
> >> 
> >> I suspect a similar problem might be occurring to Chinese or Korean.
> >> 
> >> It would be a great help if anyone could tell where I can change the
> >> default font settings of Polyglossia.
> > 
> > I am not sure what you mean by "default font setting for polyglossia",
> 
> Um, sorry that I failed to add the problem mainly seems to occur with XeTeX and LuaTeX.
> 
> > but you can set a non-TeX font for documents, and it will persist also
> > if you switch back to TeX fonts. See for instance the header of
> > ja/UserGuide.lyx:
> > 
> > \font_roman "lmodern" "IPAexMincho"
> > \font_sans "default" "IPAexGothic"
> > \font_typewriter "default" "IPAGothic"
> > 
> > This one fails due to wrong nesting of japanese any lyxgreyedout, BTW.
> 
> Yes, the problem is removed once I manually set those appropriate fonts.
> 

Is the main issue the wrong nesting or the fonts?

For what it's worth, I get the following error with XeTeX:

  ! Missing \endcsname inserted.
  <to be read again> 
  \target@series@value 
  l.690 ...backslash begin\{}\textbf{\emph{環境名}}
                                                    \textbf{\} \ldots{}
  The control sequence marked <to be read again> should
  not appear between \csname and \endcsname.

> What I want to do is to make “default fonts” in Document->Settings->Fonts correctly (and automatically) chooses glyphs that contain Japanese range when non-TeX fonts are used.

I think this would be a nice convenience feature! One command-tool I find useful is the following:

  fc-list :lang=ja

> Ctest errors seem to occur because those default settings choose fonts that don’t contain Japanese.

Kornel and I can adjust the font ctest uses for Japanese documents if
necessary, but I still don't understand the problem. I still get the
compilation error even with the IPAexMincho and IPAexGothic fonts
selected.

Scott

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmmv53kACgkQA4ZnarZH
C+uIkggAhm6qr+n2OIA63WSmnGSnmGTDyecUtvQVlD8n3CIaLSdvPr2WXpgn7X03
59ompb83KEcftdIjilmg63kYflj41GkamcUwtzOlKwptHRWJnLt7E/O//UQICdWd
RzJK/cMQj5KXR76XjJ3e/lrdWjUb5378l+sAUkzotsjzolIML4NrBcnQ9fxqn9qB
YAe+ccqCEr/iXu+oDAQi67F04p+9xF6CxHzyitE5TYHWKgGOVkkjOCsm1SQuI+8P
gJ7ulvytRJkSquGvn6CybNlaQTcEfRCr734DfFeZPxkhxdiMW1O7pypOJFLR22qn
8ZGAgVlPkJJvDXipuI3zJ2A+KrgtbA==
=vVrh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.