How would LyX perform?

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Dec 31 10:36:44 UTC 2021



Am 31.12.21 um 01:41 schrieb Steve Litt via lyx-users:
> Herbert Voss via lyx-users said on Thu, 30 Dec 2021 14:52:15 +0100
>
>> Am 30.12.21 um 14:46 schrieb Steve Litt via lyx-users:
>>> Wolfgang Engelmann via lyx-users said on Mon, 27 Dec 2021 11:31:55
>>> +0100
>>>> This has shocked me
>>>> https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0115069
>>>>
>>>> Would be interesting to see how LyX performs
>>> Plain TeX would be much better than LaTeX, as a native format, if it
>>> could handle fonts well. Does anyone know of a Plain TeX to LuaTeX or
>>> XeTeX converter?
>> What do you want to convert?? Every Plain TeX document runs with
>> LuaTeX or XeTeX,
>> but, of course, not vice versa!
> My thought is that I need to convert because I need to use the
> tex-gyre-schola font, and as far as I know, Plain TeX won't accommodate
> this font. So, as I understand it, my process would need to be:
>
> 1: Write in Plain TeX with whatever font is available
>
> 2: Convert Plain TeX to LuaTeX


You only have to load the font, tha's all ...

\input luaotfload.sty
\font\rm="[texgyreschola-regular.otf]:+lnum;+dlig"
\font\bf="TeXGyre Schola/B:+lnum;+dlig"
\font\it="TeXGyre Schola/I:+lnum;+dlig"
\font\bfit="TeXGyre Schola/BI:+lnum;+dlig" at 15pt

\rm
TeX Gyre Schola regular

\bf TeX Gyre Schola bold

\it TeX Gyre Schola italic

\bfit  TeX Gyre Schola bolditalic
\bye


Herbert




>
> 3: Use AWK to replace the font with tex-gyre-schola
>
> 4: Compile to PDF
>
> The reason I need this is I could *easily* convert from (X)HTML5 to
> Plain TeX. If I can go the rest of the way I can make a nice PDF from
> XHTML5.
>
> But I have neither the programming skills nor the LaTeX knowledge to
> create LaTeX from XHTML5.
>
> Thanks,
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques



More information about the lyx-users mailing list