On 2019-01-22, Kornel Benko wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Dienstag, 22. Januar 2019 11:07:33 CET schrieb Guenter Milde 
> <[email protected]>:
>> On 2019-01-21, Scott Kostyshak wrote:

>> > [-- Type: text/plain, Encoding:  --]

>> > Currently, if I try to compile lib/examples/fa/splash.lyx to PDF I get
>> > the following error with pdflatex:

>> >   ! LaTeX Error: Encoding scheme `LAE' unknown.

>> > Do others get the same or does this compile successfully for you? It
>> > would not be the first time there is something funky with my TeX
>> > installation.

>> > In Settings > Fonts > LaTeX font encoding we currently set it to custom
>> > and choose "OT1". If I change this instead to "Automatic", compilation
>> > to PDF seems to work fine (although I cannot tell if the output is
>> > reasonable). Further, with this change, it appears that exports to
>> > formats dvi, pdf, pdf2, and pdf3 all succeed without error (but I did
>> > not check whether the output is good).

>> > Is there a reason to keep the custom LaTeX font encoding as "OT1" or can
>> > we change it to "Automatic"?

>> There is a reason (avoid bitmap fonts with CM) but we can change it to
>> "auto" because a bitmap font is less of a problem than a non-compiling
>> document.

>> Could you try whether `fa/splash.lyx` compiles with roman fonts set to
>> LatinModern, please? This would avoid bitmap fonts also with "auto" font
>> encoding.

> Same error message, does not compile, does not create pdf.

This is strange. Maybe you did not change the "Font encoding" setting from
OT1 to auto?

With font-encoding "auto" and Font Roman "Latin Modern", the
Code Preview shows the preamble lines:

  \usepackage{lmodern}
  \usepackage[T1,LAE,LFE]{fontenc}

i.e. font encodings LAE and LFE should be defined.

I don't have the required language package installed (because it clashes
with some Greek fonts), so I get the errors:

  ! Package fontenc Error: Encoding file `laeenc.def' not found.
  
  ! Package fontenc Error: Encoding file `lfeenc.def' not found.

and later the follow up

  ! LaTeX Error: Encoding scheme `LFE' unknown.

but this shows that if laeenc.def and lfeenc.def are installed, the required
font encodings should be known.

Günter

Reply via email to