Hi Martin,

As Peter mentions, there may be other issues with the PDF build, but I *think* what's going on is that the GLs building processes are trying to italicise fonts (Noto CJK fonts) that don't have an Italic form. I guess that's not a thing—I wasn't aware of it. Trying to troubleshoot a bit...

Hugh

On Mon, Feb 8, 2021 at 11:05 AM Martin Holmes <mholmes@uvic.ca> wrote:
Hi Peter,

Thanks for testing. I've just been hacking away with alternative places
to put the xml:lang attribute, and finally hit on a setup that makes the
PDF.

But the build still fails. :-( I can't see why -- I get a "working" PDF.
(By which I mean it's complete with all pages, although as has been the
case for years, stuff is broken all over the place.)

I can't figure out why the xelatex build is returning an error when it
finishes OK. There are myriad warnings throughout the tex log, but
they're all normal as far as I can see. What's happening, do you think?

The PDF output is messed up in all sorts of ways, and I can't believe
anyone is using it seriously; could we consider dropping it in favour of
paying more attention to the ePubs?

Cheers,
Martin

On 2021-02-08 7:52 a.m., Peter Stadler wrote:
> Hi Martin,
>
> I was just having a look but it seems you were quicker :)
> Only thing left for me is to confirm that it now (with your latest commit 5ea4d84) builds for me locally, too.
>
> Best
> Peter
>
>> Am 08.02.2021 um 02:53 schrieb Martin Holmes <mholmes@uvic.ca>:
>>
>> Hi all,
>>
>> The ruby stuff is now merged into the repo, and I've spent a good few hours now trying to get the PDF to build properly. It dies with this error:
>>
>> ! LaTeX3 Error: The key 'fontspec-opentype/...' is unknown and is being
>> (LaTeX3)        ignored.
>>
>> which is something to do with xml:lang='ja' appearing in the source. At one point I got it to build, but without the Japanese language attributes, the characters just come out as square boxes. Can anyone who knows more about LaTeX than me suggest anything? I don't really want to go round removing xml:lang attributes just to get past the PDF problem, but I don't know what else to do at this point.
>>
>> Cheers,
>> Martin
>> --
>> -------------------------------------
>> Humanities Computing and Media Centre
>> University of Victoria
>> mholmes@uvic.ca
>> _______________________________________________
>> Tei-council mailing list
>> Tei-council@lists.tei-c.org
>> http://lists.lists.tei-c.org/mailman/listinfo/tei-council
>

--
-------------------------------------
Humanities Computing and Media Centre
University of Victoria
mholmes@uvic.ca
_______________________________________________
Tei-council mailing list
Tei-council@lists.tei-c.org
http://lists.lists.tei-c.org/mailman/listinfo/tei-council