Re: [LyX/master] Add support for \babelfont

2019-07-14 Thread Jürgen Spitzmüller
Am Sonntag, den 14.07.2019, 16:59 +0200 schrieb Pavel Sanda: > - texlive 2016 seem to pass (luatex + babel 3.9r - debian stretch). > - texlive 2012 seem to pass (xetex + babel, luatex can't be run for > some class missing). Thanks! Jürgen signature.asc Description: This is a digitally signed me

Re: [LyX/master] Add support for \babelfont

2019-07-14 Thread Pavel Sanda
On Fri, Jul 12, 2019 at 05:14:57PM +0200, Jürgen Spitzmüller wrote: > Am Freitag, den 12.07.2019, 16:54 +0200 schrieb Pavel Sanda: > > What 2.3 construct has to be used in my dodcument to fail in 2.4 when > > I have older babel? > > Non-TeX fonts, Language Package "Always Babel". Compile with eith

Re: [LyX/master] Add support for \babelfont

2019-07-14 Thread Jean-Marc Lasgouttes
Le 13/07/2019 à 08:29, Jürgen Spitzmüller a écrit : Or could we do a \providecommand{\babelfont} that defines a fake command that actually uses Xe/LuTeX constructs? I would avoid putting any additional code into the LaTeX output, if at all possible. You are right. Thanks for the update. JMar

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.07.2019, 21:05 + schrieb Guenter Milde: > Yes, this helps. Good. Committed. > The babel version does not show up in Help>LaTeX configuration, This is not implemented (but I added something now that mentions babelfont status). > but > supported-languages_babel_non-tex is

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.07.2019, 19:50 + schrieb Guenter Milde: > But in my understanding, loading fontspec is not the problem, only > selecting > fonts "the fontspec way". So, users could just check "use non-TeX > fonts", > leave the fonts at [Default] and configure using "babelfonts" in the > user

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.07.2019, 17:45 +0200 schrieb Jean-Marc Lasgouttes: > Instead of testing for babel version, what about checking whether > babel > provides \babelfont, which is what we need? But we know exactly the version in which babelfont was officially introduced and declared as being suppor

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Guenter Milde
On 2019-07-12, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Freitag, den 12.07.2019, 08:59 + schrieb Guenter Milde: >> > If you insist, though, I can add some test and do babelfonts only >> > for >> > these recent versions. >> This would be the right

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Guenter Milde
On 2019-07-12, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Freitag, den 12.07.2019, 16:54 +0200 schrieb Pavel Sanda: >> What 2.3 construct has to be used in my dodcument to fail in 2.4 when >> I have older babel? > Non-TeX fonts, > Language Package "Alw

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Guenter Milde
On 2019-07-12, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Freitag, den 12.07.2019, 08:59 + schrieb Guenter Milde: >> I understand that "babelfonts" is required to set language-specific >> fonts >> (cf. #11522) with Babel. Until this is implemented in

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jean-Marc Lasgouttes
Le 12/07/2019 à 15:38, Jürgen Spitzmüller a écrit : Am Freitag, den 12.07.2019, 08:59 + schrieb Guenter Milde: If you insist, though, I can add some test and do babelfonts only for these recent versions. This would be the right thing as long as Debian/stable ships babel 3.9r. Can you ple

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.07.2019, 16:54 +0200 schrieb Pavel Sanda: > What 2.3 construct has to be used in my dodcument to fail in 2.4 when > I have older babel? Non-TeX fonts, Language Package "Always Babel". Compile with either Lua- or XeTeX. > And do I need to do something specific wrt fonts/babel in

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Pavel Sanda
On Thu, Jul 11, 2019 at 07:17:24PM +0200, Jürgen Spitzmüller wrote: > Am Donnerstag, den 11.07.2019, 17:54 +0200 schrieb Jean-Marc Lasgouttes: > > My concern is to know whether documents that used to work wwith 2.3 on > > older TeX distributions will continue to work with 2.4. > > Sure. As said, w

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.07.2019, 08:59 + schrieb Guenter Milde: > > If you insist, though, I can add some test and do babelfonts only > > for > > these recent versions. > > This would be the right thing as long as Debian/stable ships babel > 3.9r. Can you please test the attached patch to this end

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.07.2019, 08:59 + schrieb Guenter Milde: > I understand that "babelfonts" is required to set language-specific > fonts > (cf. #11522) with Babel. Until this is implemented in the GUI, what > is > the advantage of using "babelfonts" over fontspec? See babel manual: WARNING Do

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Guenter Milde
On 2019-07-11, Jürgen Spitzmüller wrote: > Am Donnerstag, den 11.07.2019, 13:52 +0200 schrieb Jean-Marc > Lasgouttes: >> I do not have time to test right now, but what happens with babel >> versions < 3.15 (2017)? I do not have that on my Ubuntu 16.04 >> installation. The TeXlive included in Debi

Re: [LyX/master] Add support for \babelfont

2019-07-12 Thread Jürgen Spitzmüller
Am Donnerstag, den 11.07.2019, 19:17 +0200 schrieb Jürgen Spitzmüller: > Am Donnerstag, den 11.07.2019, 17:54 +0200 schrieb Jean-Marc > Lasgouttes: > > My concern is to know whether documents that used to work wwith 2.3 > > on > > older TeX distributions will continue to work with 2.4. > > Sure.

Re: [LyX/master] Add support for \babelfont

2019-07-11 Thread Jürgen Spitzmüller
Am Donnerstag, den 11.07.2019, 17:54 +0200 schrieb Jean-Marc Lasgouttes: > My concern is to know whether documents that used to work wwith 2.3 > on > older TeX distributions will continue to work with 2.4. Sure. As said, we can try to provide this, given that we can add a test for package version

Re: [LyX/master] Add support for \babelfont

2019-07-11 Thread Jean-Marc Lasgouttes
Le 11/07/2019 à 15:04, Jürgen Spitzmüller a écrit : Am Donnerstag, den 11.07.2019, 13:52 +0200 schrieb Jean-Marc Lasgouttes: I do not have time to test right now, but what happens with babel versions < 3.15 (2017)? I do not have that on my Ubuntu 16.04 installation. I think we can consider the

Re: [LyX/master] Add support for \babelfont

2019-07-11 Thread Jürgen Spitzmüller
Am Donnerstag, den 11.07.2019, 13:52 +0200 schrieb Jean-Marc Lasgouttes: > I do not have time to test right now, but what happens with babel > versions < 3.15 (2017)? I do not have that on my Ubuntu 16.04 > installation. I think we can consider them unsupported with non-TeX fonts (by the time 2.4

Re: [LyX/master] Add support for \babelfont

2019-07-11 Thread Jean-Marc Lasgouttes
Le 11/07/2019 à 13:15, Juergen Spitzmueller a écrit : commit cb5bd87e9c16f3dc1a774ece4f78d7c63cc4c645 Author: Juergen Spitzmueller Date: Thu Jul 11 13:21:32 2019 +0200 Add support for \babelfont This is a higher-level (non-TeX) font interface of babel that draws on, but