From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28730 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shakrmaker Newsgroups: gmane.text.pandoc Subject: Re: Available default fonts in a factory pandoc/latex Docker image? Date: Wed, 30 Jun 2021 12:10:32 -0700 (PDT) Message-ID: <4ed25c3b-269a-4564-8eb5-42de0c7c0202n@googlegroups.com> References: <8a071f76-add3-4917-aa67-6fd73402d3f6n@googlegroups.com> <1d9e9bc2-6820-4b57-9729-ef7c170cbd43n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_36_634039127.1625080232593" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27828"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCPITV4J2QFBBKMD6ODAMGQEX6Q2JJQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 30 21:10:37 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f183.google.com ([209.85.167.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lyfbY-0006zw-3s for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 30 Jun 2021 21:10:36 +0200 Original-Received: by mail-oi1-f183.google.com with SMTP id 7-20020aca0f070000b029023d769dcb9bsf1535198oip.14 for ; Wed, 30 Jun 2021 12:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=SMSIkOrsktDYxOUNPfXc/0ZEdPDIdMcmeH8GFZNgL9I=; b=O37rorz2UtuNhV6WXD7aLTq1Zha2My8AlwtW7o3YWldB6KVcf2kaCj66CB1Cv5XKLe lqv4IbZC/koOnLkyw8meeItwDgvG9oclZj1L5eX7M3Q0PqOppU7UrDoGGpN/2PYNK9X+ IqSRTXZ4GGV9sr5ltiYclqpOcdqPJRmrO9tUGF5qklLFfqj9cWbj4+KoLFNcyF14I3kr Z0kypaTCwdD5iKECIiFwrGM4ENyZ0rhMZqTUK/ayp6g/QAviyHqRPwzC81NZNq6fWqDt DoZyC1DrJcN9N03JYUHssjZE3Z5hiILnlj0n4ekR3xfkDWPCNeFRj1zBKbSaZsHLbro6 +SrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=SMSIkOrsktDYxOUNPfXc/0ZEdPDIdMcmeH8GFZNgL9I=; b=AWQx9cxkdzWUPakIPcId0yrxf3M81l2pAn8FhvGO0Vc68UCKpAwSo7aNF8b4wqeWj3 707iiZ9jXUAMAqTcRkUOQLaHArdbqiPYReCJKrl1OBoDukGGZfleH6aGnkwkX++95g+m pC9LOtmsiqBT4R1gOL19tCeekwhGmFM3UliZo9dEhldciHgZx1BDZKYGaKDivZn6QXtW be4hmDlDaid7DrJkiTfw6n4AJUBFwlikU6xQC0nYnBm1pcfiExgvbtcEt2d7L/RYLqW1 JxajQ7N/7iYz0uiCMgtwfzWXaQ0PQti+e/1v6taCqnavGM45cj7VmNkFty4tCY09AVY1 3d5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=SMSIkOrsktDYxOUNPfXc/0ZEdPDIdMcmeH8GFZNgL9I=; b=P2I45nwtFi6mMwIsNZpoo8ZII4mx7K1SrVpzWLTuGvJgRwhRKRS0iO9JXhpK5X+5ZR McHQJFuiu3fl6u/XIND1IOgmhCdU/GtvuTQM5JggL6nphI8X8/d1NJDhmROIUkBVF10s QqZDGLxqA5DDdDCgnqP42zeJ/PLNV6ehE6SkAxJ0O0CIOoVQ5HWXhEw6lZDrhOnEYbUb EVwVGvWrqlyNKbxba/mF6IpnCiyvdzBhwFjH5bSK8eg4ypgrWf2zgP+qTZhFEvOsF60G mEeE5/+CBfu933fWg5tsn1KffGKvpH3ckSemrLBGWf1Gn5fh7aGpN7DyCVGwiWm6Rj09 RVfw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532egiEgSK0pOXtbmMI6zUDJX2aV8eApV9QMobU+Lmue7TeNWC2F 8Hx/vBMvouoKzMxxaKberx4= X-Google-Smtp-Source: ABdhPJy8zmBU3d9T4eD4MUvJe4Gjb6tODO9bT4ObhMJujNft2x38o5guTk1GueT93Ooj0SRTv1VYgA== X-Received: by 2002:a4a:d1d9:: with SMTP id a25mr9518275oos.91.1625080234564; Wed, 30 Jun 2021 12:10:34 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1e2c:: with SMTP id t12ls1170818otr.11.gmail; Wed, 30 Jun 2021 12:10:33 -0700 (PDT) X-Received: by 2002:a05:6830:1af4:: with SMTP id c20mr3889064otd.262.1625080233183; Wed, 30 Jun 2021 12:10:33 -0700 (PDT) In-Reply-To: X-Original-Sender: tojonmz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:28730 Archived-At: ------=_Part_36_634039127.1625080232593 Content-Type: multipart/alternative; boundary="----=_Part_37_428482279.1625080232593" ------=_Part_37_428482279.1625080232593 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Pedro for confirming. I guess I will look at building a custom=20 docker image with a basic sans serif font installed, and use and maintain= =20 that image going forward. On Wednesday, June 30, 2021 at 7:07:24 AM UTC-4 pedro....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > This is the normal behavior. Latin Modern comes packaged in LaTeX itself.= =20 > If you need a different font, you can customize your own docker image bas= ed=20 > on the pandoc/latex image and install the appropriate package (installing= =20 > packages at runtime has not worked for me), or use --pdf-engine=3Dxelatex= and=20 > map your fonts directory as a volume onto the docker container. In the=20 > latter case, you can no longer use the `uses:` syntax in GitHub Actions,= =20 > but have to declare it with `run:`. > > Em quarta-feira, 30 de junho de 2021 =C3=A0s 05:11:25 UTC+1, Shakrmaker= =20 > escreveu: > >> Well, when I tried Elham my GitHub action run failed on the font, and=20 >> when I check these in the factory local docker/latex 2.14.0.3 image, I s= eem=20 >> to be coming up empty: >> >> # ls /usr/share/fonts >> ls: /usr/share/fonts: No such file or directory >> # ls /usr/local/share/fonts >> ls: /usr/local/share/fonts: No such file or directory >> # ls ~./fonts >> ls: ~./fonts: No such file or directory >> # fc-list >> # >> >> The interesting thing to a newbie like me - is where is pandoc getting= =20 >> its default *Latin Modern* from the docker/latex image? Since the docs= =20 >> say for this latex variable: >> >> https://pandoc.org/MANUAL.html#variables-for-latex > *Fonts:* >> *"fontfamily* font package for use with pdflatex: The default is Latin= =20 >> Modern ." >> >> On Tuesday, June 29, 2021 at 11:50:21 PM UTC-4 Shakrmaker wrote: >> >>> Well, if I'm doing this correctly... when I spin up the 2.14.0.3=20 >>> docker/latex image and poke around, in: >>> /usr/share/fontconfig/conf.avail/ >>> >>> I see in: 40-nonlatin.conf: >>> >>> =20 >>> =20 >>> Arshia >>> sans-serif >>> =20 >>> =20 >>> Elham >>> sans-serif >>> =20 >>> >>> ...and a continued long list of sans serif ^ font family entries. >>> >>> Does this mean they're available as a GitHub Action arg with -V=20 >>> fontfamily=3DElham, etc? I will try that out next. =20 >>> >>> --=20 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 e= mail 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/4ed25c3b-269a-4564-8eb5-42de0c7c0202n%40googlegroups.com. ------=_Part_37_428482279.1625080232593 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Pedro for confirming. I guess I will look at building a custom docke= r image with a basic sans serif font installed, and use and maintain that i= mage going forward.

On Wednesday, June 30, 2021 at 7:07:24 AM UTC-4 pedro....= @gmail.com wrote:
This is the normal behavior. Latin Modern comes packaged in LaTeX itsel= f. If you need a different font, you can customize your own docker image ba= sed on the pandoc/latex image and install the appropriate package (installi= ng packages at runtime has not worked for me), or use --pdf-engine=3Dxelate= x and map your fonts directory as a volume onto the docker container. In th= e latter case, you can no longer use the `uses:` syntax in GitHub Actions, = but have to declare it with `run:`.

Em quarta-feira, 30 de junho de 2021 =C3= =A0s 05:11:25 UTC+1, Shakrmaker escreveu:
Well, when I tried Elham my GitHub action run failed on= the font, and when I check these in the factory local docker/latex 2.14.0.= 3 image, I seem to be coming up empty:

# ls /usr/share/fonts
ls: /usr/share/fonts: No such file or d= irectory
# ls /usr/local/share/fonts
ls: /usr/local/share/fonts: No s= uch file or directory
# ls ~./fonts
ls: ~./fonts: No such file or dir= ectory
# fc-list
#


The interesting thing t= o a newbie like me - is where is pandoc getting its default Latin Modern= from the docker/latex image? Since the docs say for this latex variabl= e:

https://pandoc.org/MANUAL.html#variables-for-latex = > Fonts:
"fontfamily= font package for use with pdflatex: The def= ault is Latin Modern."

On Tuesday, = June 29, 2021 at 11:50:21 PM UTC-4 Shakrmaker wrote:
Well, if I'm doing this correctly... when I = spin up the 2.14.0.3 docker/latex image and poke around, in:
/usr/share/fontconfig/conf.avail/
I see in: 40-nonlatin.conf:
<!--           =             &nb= sp;            =             &nb= sp;            =             &nb= sp;          
  Sans-s= erif faces           = ;            &n= bsp;       
 -->   =             &nb= sp;            =             &nb= sp;            
&= nbsp;       <alias>   &n= bsp;            = ;            &n= bsp;            = ;          
  &nb= sp;            = <family>Arshia</family>
      = ;          <default><= family>sans-serif</family></default>
   &n= bsp;    </alias>      &n= bsp;            = ;            &n= bsp;         
   =      <alias>
     &n= bsp;          <family>El= ham</family>
         = ;       <default><family>sans-ser= if</family></default>
      &n= bsp; </alias>         &n= bsp;     
     &nbs= p;            &= nbsp;       

...and a = continued long list of sans serif ^ font family entries.

Does this m= ean they're available as a GitHub Action arg with -V fontfamily=3DElham, etc? I will try that out next.=             &nb= sp; 

--
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://groups.google.com/d= /msgid/pandoc-discuss/4ed25c3b-269a-4564-8eb5-42de0c7c0202n%40googlegroups.= com.
------=_Part_37_428482279.1625080232593-- ------=_Part_36_634039127.1625080232593--