From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29972 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Eugenio_L=C3=B3pez_Cortegano?= Newsgroups: gmane.text.pandoc Subject: Re: Xelatex report missing libraries, or fails at using fonts Date: Fri, 14 Jan 2022 13:27:00 +0000 Message-ID: References: <253c9e22-d112-46d7-94cf-dee1dc7e697fn@googlegroups.com> <87y23ivj4i.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ab05bc05d58ac27b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38260"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pandoc-discuss To: BPJ Original-X-From: pandoc-discuss+bncBDG4LMWX7EHBBMHUQWHQMGQEILXCHEA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 14 14:27:16 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f59.google.com ([209.85.216.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n8Mbr-0009mz-9i for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 14 Jan 2022 14:27:15 +0100 Original-Received: by mail-pj1-f59.google.com with SMTP id j13-20020a17090a318d00b001b3e4f72bfbsf8458474pjb.9 for ; Fri, 14 Jan 2022 05:27:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642166834; cv=pass; d=google.com; s=arc-20160816; b=dZpjjcHgPeSYz+cNKlaGNFDNddHExzmrugs+15QtbkVINLcK5Q6aTPq7Utm3w5GTlq Yp8+5iL+YS2PHX3RCGZY93QEZu+N+5DtsQQS1AzlVquSPtLwYgCxbNy5fWCIZhiNM9hc vnGTy2R+UrvbA+g5OQXk8LgUY6mkdi74k2AsnYrDHj8AVcFAKvUa9zYbzA2F+RS7z/Js jG+wyhHaYgZWjUAR+bS0HQpDC6Zm5QiWKGhT993onDkorGvUb/t4xcaHFIAS3NwGoVZb NQzARR4B7aLY5++hOYsaxnaQIuU5Mg7zdkFXl0VyJVhI1BbFMyB8AU/7puodlPfr/qHg baaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=tcQIZzEpUK5zRVqw7Fdijy6w/6FvSTdNhvFAA3Y7K1w=; b=USEXlcEzyE4JpqgH9GTZaLYZ+yHbsm9qhbyGEo+gxINI6lCGMMQMs03/K2Lg8Bhuxh QzNWwTX5CyD1o5FOl2XXDGHzsdSyGyZh5uWW+HzHyh0mq8cQzazfTSYUokk/K5PvjHzv wAgX3/ebHBRZgVMqEknhkKt2sOBIhtgelbz2ByPQllClzf0vtpaQfszHqgjwa3eDGva4 XgocooFJ+wsyvfTiwioC8WEFvqur5aPeXvC69Ueju9XupMLik6NsEw2/p6oXC5F83WuI i/3F30JvqEgjgwcaOVL0WJgNbWZyD6aps6phl7tm4N/B6ANMvXVd1kpA9KWmcIz6MQzl eiZQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U6mHPcc7; spf=pass (google.com: domain of elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::f2b as permitted sender) smtp.mailfrom=elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=tcQIZzEpUK5zRVqw7Fdijy6w/6FvSTdNhvFAA3Y7K1w=; b=YM81NMnXqr+a57f3kmuq0JeVhf4Cx8QCqajmAu+yK9P6BgUtmqgL6khuKQO2rgBYNZ M9ovnVT5Q4g5NREdtm1FbG7J9jDdjpnv7xAJykMdK3WBjOQHz7IIZowGGX5Qli+hSMaw +st8hICkJ/tlJ/eYImgUsKQ4nJS58dOdtKAQeeSiX6iOxUuJwmISzAoFoijmJjvfWQT5 UKW8BbbF8snA4x+VLbKqni4cFJOlz84aIYghoqaWp4S258zwrdgmdpF62/8/NqAAXQ/c JSZR7aGY5yLdLRsQjtTXZVGUOjDaHjMJz88RBrNrhXZa6lZPiIw1Vw9RoC73hW4k/5Qg 7Idg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=tcQIZzEpUK5zRVqw7Fdijy6w/6FvSTdNhvFAA3Y7K1w=; b=P0xZgbgPt11O+y4pnAc9UTCV8JejTyz43ScVk4MyRcRhmItEtADfhTffibHDKpSCjs daHHP86ixmJTi9zPN2SdHPLfSEImMeTkaloFDTjg931IO+C4JtU9kb8CC059LLyvOw4n PnvHgyPki9wHEtO8PQKh+PBLrOt4hJQHrKljaDBMU5a5t6hQ1ZUjrv4vzPVt3AYL9z2S YZ63sej1oJm2Ahj8uydxb8lGAYUe9985F+2eozSI3dVG8I9lmDiaNJHn/x4Z3BCWTz4k g034qKjkDmNe04jv4EtGqmwnKLUQHQZbAXXFu/Ue7k8pkx3x32NgSvJmanSLGo4WT+Ix xMXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=tcQIZzEpUK5zRVqw7Fdijy6w/6FvSTdNhvFAA3Y7K1w=; b=QIisdHgHDN/rNzFm1FiINoE/0Cl+4MJBDrTi3DyAJ0SU6yGzruMeqdb2X0idxk25uU vm0IcIBeMBmjFVdUTU5TO4RF8nNQAXFI4jLxoCXteo4CKyhVq6N5/5zGPdAAs+kyyS5K CPKOERu/Sne4fTMRFNmnRslB25f1OXVrJrlQr16bu94GBgrhMSPlc9YrC12cRsa2lCml yb5PEUKZBOMB4F4ZwlhaOSjc67UTZ0RUL4GSoENzfmN2urNnTOIC4O0sxf1F5dp1erFR uclKo8bAO00lJ3W43O74iHkAzmuZ8exJmoRSNZpof23LlrGJ1vYf36MFE+6DKXtgLUcJ pyxw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531C+HCiYaf7bAk+G1K3QgS3ZXdg/6NgdMKlLakQh/wXY7p5FTF7 rW/B5kdPjXhfanDo8eV39nE= X-Google-Smtp-Source: ABdhPJyUu03jv809/yWrPFtduWZFkx7t1O1T06SVHy2idIMkMgHSAzxrCez0bBss8q3IkfJGGgKpfA== X-Received: by 2002:a17:902:d903:b0:14a:44a0:a6be with SMTP id c3-20020a170902d90300b0014a44a0a6bemr9574759plz.12.1642166834006; Fri, 14 Jan 2022 05:27:14 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:a518:: with SMTP id s24ls4792017plq.3.gmail; Fri, 14 Jan 2022 05:27:12 -0800 (PST) X-Received: by 2002:a17:902:6a8b:b0:149:82bb:560a with SMTP id n11-20020a1709026a8b00b0014982bb560amr9617448plk.158.1642166831996; Fri, 14 Jan 2022 05:27:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642166831; cv=none; d=google.com; s=arc-20160816; b=Da4Q9Fln7VEIftcrpVksMwK7+IGghGE3j89SEDECmjk/qaSchWbFA+ta3f6kQO6/TB DgdxD8OhoxOjvkzxIyT+hamyxxF1bYZ5m0DgEEiPfz+rWRoKrmUNR6TH04ODxg439N8B 0H8qZecWYTf+0t/p8xXDbntor2Pxp4zA83HC06xx4+IfIkjAV6gbivpczegSPgSIuteO AqKN9BKwgi/XhQ+oPyxjCtvpAq3H67kZIsAAxZFGadV1WIEANZw1xVynHmhsMO7Gq//c Fw7WYrEjNJJC7cC+95C9ld3s1d5/eNJCRgwxIvKcvAAn2FfT1A8KRmBIQF0Q++aHvxCf jwSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=hfcBi7CHLuaTRiJqjZ219RUk5LW1TET/9fTd9ZPuaK8=; b=hFxMPn4smnXxc3jkJcheHFebDORvwJPXGyftyvtqXHvUUeOV3Gx1rMug9fNaHwiOTb 3K4wp4vNIqM43vJNWc+gsfnxBppU9SpaIviYEyIyFtswIlO/QF2JoYHo7Zt8fdg20H9J GHQdea+dvyxFJQk67w6QECJ1DFaLazG167MbeQCtcl4CYSRcRKm7nXLXFhby8UVy8rhR QLQuqy4Qu4tN1Vka008H7tmKGS9und0tKi8epziKu47RHUn+b9FzpGpW0nQmDgJYtLCc oo0oLb2kCw2fH8CyMezNmgmWsnND+B2kQMilMGmkIX9JRowk3uytMSvqCiS8zPamS9nK m7CA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U6mHPcc7; spf=pass (google.com: domain of elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::f2b as permitted sender) smtp.mailfrom=elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com. [2607:f8b0:4864:20::f2b]) by gmr-mx.google.com with ESMTPS id d23si370912pfr.1.2022.01.14.05.27.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jan 2022 05:27:11 -0800 (PST) Received-SPF: pass (google.com: domain of elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::f2b as permitted sender) client-ip=2607:f8b0:4864:20::f2b; Original-Received: by mail-qv1-xf2b.google.com with SMTP id jr5so9984665qvb.11 for ; Fri, 14 Jan 2022 05:27:11 -0800 (PST) X-Received: by 2002:a05:6214:2307:: with SMTP id gc7mr7957176qvb.77.1642166831743; Fri, 14 Jan 2022 05:27:11 -0800 (PST) In-Reply-To: X-Original-Sender: elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U6mHPcc7; spf=pass (google.com: domain of elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::f2b as permitted sender) smtp.mailfrom=elcortegano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29972 Archived-At: --000000000000ab05bc05d58ac27b Content-Type: text/plain; charset="UTF-8" Thanks for the suggestions! Just tried a "brute force" approach using the ubuntu:20.04 docker image (as in my own system), and installing texlive-full. It works without a problem (although the image is >4 GB in size). Will try to get a lighter version with alpine and post it. Eugenio On Fri, 14 Jan 2022 at 11:52, BPJ wrote: > > > Den fre 14 jan. 2022 09:04Albert Krewinkel > skrev: > >> Hi Eugenio, >> >> If it worked before but stopped working, then that's probably due to the >> changes mentioned here: >> https://groups.google.com/g/pandoc-discuss/c/aj4mrQc5nuQ/m/bh_ALPp8AgAJ >> We reduced the number of packages that ship with that image. >> >> The recommended solution is to build your own Docker image locally. For >> that you'll need a file `Dockerfile` with the following content: >> >> ``` dockerfile >> FROM pandoc/latex:2.17-alpine >> >> # Install fonts via the Alpine package manager. >> # Here we install 'Hack', a monotype font with support for many >> # unicode chars. >> RUN apk add --no-cache ttf-hack >> >> # Install additional LaTeX packages. List all the one you need. >> RUN tlmgr update --self && tlmgr install \ >> enumitem \ >> tcolorbox >> ``` >> > > That's a nice font. Noto Sans Mono (which is different from and has more > glyphs than Noto Mono also has extensive LGC coverage. > > >> Then run something like `docker build --tag myimage .` to build the >> image and use it instead of pandoc/latex. >> >> Let us know if the other issues persist when using the above method. >> >> Cheers, >> Albert >> >> -- >> Albert Krewinkel >> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/87y23ivj4i.fsf%40zeitkraut.de >> . >> > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAGjgynYsn%3DNVM_1kvxTVSp0T5KJxQiTW94y6Z9aTYUPXppy4Xg%40mail.gmail.com. --000000000000ab05bc05d58ac27b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the suggestions!

= Just tried a "brute force" approach using the ubuntu:20.04 docker= image (as in my own system), and installing texlive-full. It works without= a problem (although the image is >4 GB in size).

Will try to get a lighter version with alpine and post it.
Eugenio


On Fri, 14 Jan 2022 at 11:52, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
=

Den = fre 14 jan. 2022 09:04Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> skrev:=
Hi Eugenio,

If it worked before but stopped working, then that's probably due to th= e
changes mentioned here:
https://groups.goo= gle.com/g/pandoc-discuss/c/aj4mrQc5nuQ/m/bh_ALPp8AgAJ
We reduced the number of packages that ship with that image.

The recommended solution is to build your own Docker image locally.=C2=A0 F= or
that you'll need a file `Dockerfile` with the following content:

``` dockerfile
FROM pandoc/latex:2.17-alpine

# Install fonts via the Alpine package manager.
# Here we install 'Hack', a monotype font with support for many
# unicode chars.
RUN apk add --no-cache ttf-hack

# Install additional LaTeX packages. List all the one you need.
RUN tlmgr update --self && tlmgr install \
=C2=A0 enumitem \
=C2=A0 tcolorbox
```

That's a nice font. Noto Sans Mono (which is different from and has = more glyphs than Noto Mono also has extensive LGC coverage.


Then run something like `docker build --tag myimage .` to build the
image and use it instead of pandoc/latex.

Let us know if the other issues persist when using the above method.

Cheers,
Albert

--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe=C2=A0 e836 388d c0b2 1f63 1124

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-disc= uss/87y23ivj4i.fsf%40zeitkraut.de.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAGjgynYsn%3DNVM_1kvxTVSp0T5KJxQiTW94y6= Z9aTYUPXppy4Xg%40mail.gmail.com.
--000000000000ab05bc05d58ac27b--