From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33415 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BP Jonsson Newsgroups: gmane.text.pandoc Subject: Re: Issue with Unicode symbols when output is PDF Date: Tue, 28 Nov 2023 20:24:31 +0100 Message-ID: References: <05781e20-6d14-4eab-a155-1b5ccf0edb86n@googlegroups.com> <4f4816d7-ff5c-42ea-b608-c9d56deccf2en@googlegroups.com> <5e64416c-2993-4f2b-902b-ffcfa4512b91n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d0178c060b3b5e96" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26703"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDIY76M674FRB7H4TCVQMGQEHBKAAWI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 28 20:24:49 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f61.google.com ([209.85.208.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r83hR-0006g4-9S for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 28 Nov 2023 20:24:49 +0100 Original-Received: by mail-ed1-f61.google.com with SMTP id 4fb4d7f45d1cf-54b1429a16csf2524605a12.2 for ; Tue, 28 Nov 2023 11:24:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701199488; cv=pass; d=google.com; s=arc-20160816; b=Mq6gJpj1/JMnVq9VcNbjkra7eoydSYf0Am+OXmEzaSV5b5BAdzG+ke+WUjOV4tBTSk TyfDM9QrJEJWhFg4tPBu3MdiNFD2oX+dNJmGmwK8lYRxiXUIyHTte3Jx+WG8KFnLwdV1 BN51TiQi4Wu1RMnuL/JDhk9kgmZmsDJSHSa6W9gko3y86AENYIydnKDFHpOE/9E7087T pHuD6k2pjhB3HU81q5IUBLN30/XrI3sYdSdRBOYuI4DwfuLaqlIrg5V3OW4cQ2P/Uun2 k39xWxhNPtPd8W1RPRjoMaQ6IehBT0/8LPA4rA+wtdpnBZlyBmCoyg3erztP8r86tAm2 gG1w== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=DuUkkxL8X2Ny/usIkCuNhcNbODqB3IliMBS0C1xCPeg=; fh=4cPfTtzleA5nPUC1EQtk197aIUeaT1ew1v/oILbLT2I=; b=uZqOCht8TZfwXcazZlqYZzfqtULv6Yq9ynaWbXgrdp7GZFc3JOX6wvmi8jY/ixgDdS aoCkftj6T2vQ8Q9XzPZ3a0YBIRZSq60LNyqUOHPzluBjGCWmMfwQqahAwEH3VztIGlRK 6oBpfIAm36raRvlGGHyyJpU9IImoDH2BZuiiYgckmufq4nTbONybzOmszj116UbUaiGo X/3gQ3SfdRxEJEgQ/CWVMJIueA/GJuJ97V7O/vt8d5DlXUwXRmIcb7ScqfnGpdLY0Tqh l0q6DOSvz+NcT5yTcBdW76bzto6z2LPkw4UCtGG2lm9sz3mhX9CstpVrHmW62cfH/LI3 Rhcg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZFGcRKh9; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=bpjonsson-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=20230601; t=1701199488; x=1701804288; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=DuUkkxL8X2Ny/usIkCuNhcNbODqB3IliMBS0C1xCPeg=; b=YmCxGPLUI1GAOAD6ATdsT6+bhvBLGpKcLA8uYhIcoj447AAukCf1Q8D8qcIw48mXvm X/LRaOeW2SYlZE8D7u1ps7vgxFdhzdsaHquhcvkEQK9661RCE+Js58cZV/AvOODR1tDO 5Kt4vmhZOjHhwfhbzcEIzPYlwO/XgUQ0/sCPIzTLMVUT6rYCl7t2tPd050EDF6mEaMcD er9HaWxiGRQSozQb979u9BDwAdijRj108fmJO1nw+yLODBVvSr0QkB3aOgeI4c4IQy3w V3YilLL9SJ8XDD62/+NXQMoHjqezR88Zd7zBA3IOD0KCP8c/mQMx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701199488; x=1701804288; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=DuUkkxL8X2Ny/usIkCuNhcNbODqB3IliMBS0C1xCPeg=; b=PStI3doMm8YRHOUThm+QYmP0BkmTmrNAVAhqBGLRHgfV1pMLGTea869M2mWiXPJ2rW 04GO6kERq70RsbX+i/WdxjqtM72bPCvWsvEgCKSBrmEOWCW3C32iF2YDExybRNzgOfJU w13TXAbGpLCWlKu3GZ9T6iSAbHtgU5vX6n266KbcFt85yoroJNtot0KWK0XJOyUumYrD 5xLUzL95gdoDwIbPVc45klZ0RJpg3S/oNhf/pQuPvvFlL5cToHAa/WXSFoe2DIf7ki62 CIZ0GB0qb/AVedBGYOhMHxNW/m48pBgfKxzwcmlBGCGzjWcDpqQVL05cU2MDmij+Z7 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701199488; x=1701804288; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=DuUkkxL8X2Ny/usIkCuNhcNbODqB3IliMBS0C1xCPeg=; b=n5O9x3kc/QWk+bbnq2FTi58shq3tlmhoAs0SN44dS9tzKbWPe4rxVbGPw8SQwNFdsy 25Bqri7x0vFCC5AxLpOh+L9wOPrpTaUQ+WCQMIy0kAaSRQnx1fQ/5AEPlYhPXSSTjIbj K8L6GIPkz0Y/EmnRT9Y6VJ1jOp8pfIxWGiWwnifqitIea8tCZhmVGOvY/HrKW7TiJP4J d60DRNnUm2QGaFH/NqhMRdWXMyq2EG2pvZRC+br16cEUmzBeF6kv98bhit6V9NFSEGfA SATR4R Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YxWkcbBWZIAygdV9K98Rc4QcEnle3YrWw+dbIOO3ZmoPjFfc4nB SMtrerV4vUk4Qwd912qpqP4= X-Google-Smtp-Source: AGHT+IHin7H+HZcN1Xtm61fAqktLhWTNxdfpZLMk46U6u0s2RDBRJJMpQRoAZqN6BpNC/HjNuSJ85g== X-Received: by 2002:a50:cd15:0:b0:54b:20a7:cf82 with SMTP id z21-20020a50cd15000000b0054b20a7cf82mr10073083edi.24.1701199488212; Tue, 28 Nov 2023 11:24:48 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6402:b84:b0:54b:40fb:59b1 with SMTP id cf4-20020a0564020b8400b0054b40fb59b1ls512254edb.0.-pod-prod-01-eu; Tue, 28 Nov 2023 11:24:42 -0800 (PST) X-Received: by 2002:a17:907:3101:b0:9c5:844f:a7f4 with SMTP id wl1-20020a170907310100b009c5844fa7f4mr10757555ejb.35.1701199482423; Tue, 28 Nov 2023 11:24:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701199482; cv=none; d=google.com; s=arc-20160816; b=CiWv3DRRC3pd3eOwlzwQ95X2YFMsHMkT8IAQ3MjkghSsQVIuyCCg9zYTQlYKaW7zmw n/UQfxv1g0lgkLQzsUuBvQQGGcjLTTWWDDYphjTBZ/Tyf2OLy2wWHcq24OotlIyjDNZw pB17vnw2X6hVyWJ4EENyc3I8tn9X5/QT++TmCAQTqqGOQY8yY2e2UriaqVFuIyCaV1GL JcsW+1VoB8yOsfZdscDcnc42bJ07hHw4xTEc4hqwKefsW6grTyag6RDfRZ3zCYw/7Hl+ LX2rQm7SMhnbm8uMsm+GCikfxVQc8v4T8xLWKflG53ky5K+elS/XEfq+eCIeBygTW6AG Veig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=zHHtAk4ttPpF3uhIrnfZxD8N9IidxGnDj37DcUaW3BM=; fh=4cPfTtzleA5nPUC1EQtk197aIUeaT1ew1v/oILbLT2I=; b=iL0o2rCXkuhclE/E4wrnfqWz+9V1VWmwzXkEtu3QH0TlVLOvKFj734h3pRyzWrAEnB UOjklzoiIQri3H/d1dZ1HazJpHthAxehY/UiX4dPv+M50Cg/4bDbBEX4QepMxvK1TjS6 C7TgBcX+guRIelLuqShYL2dg+nMrJ8BFx4BYjU7pMGDHnF2gVBc8RqEPrwW3HlvA8ebZ oy4Wq5n0OM5f5nG2BtQZkiJ/VyPXMNNbvzuL9zzk6ojjd6aFENq/G4aeKEhHeL9rQBBy DkOpyNIAThoHGOMq6G/nM87AHowOGk8mJxIVPIaoEHJeNiOQ0zOGUj81nsLGO+8l5czA m/Fw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZFGcRKh9; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com. [2a00:1450:4864:20::52a]) by gmr-mx.google.com with ESMTPS id mp30-20020a1709071b1e00b00a02b5289c31si602189ejc.1.2023.11.28.11.24.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 11:24:42 -0800 (PST) Received-SPF: pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) client-ip=2a00:1450:4864:20::52a; Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5488bf9e193so8069399a12.2 for ; Tue, 28 Nov 2023 11:24:42 -0800 (PST) X-Received: by 2002:a50:8d51:0:b0:54b:bc5a:e68a with SMTP id t17-20020a508d51000000b0054bbc5ae68amr1288700edt.15.1701199481934; Tue, 28 Nov 2023 11:24:41 -0800 (PST) In-Reply-To: <5e64416c-2993-4f2b-902b-ffcfa4512b91n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZFGcRKh9; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=bpjonsson-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:33415 Archived-At: --000000000000d0178c060b3b5e96 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The disadvantage of ucharclasses is that it sets up character classes for *all* blocks in Unicode (or at least the version of Unicode which the installed version of the package supports and as many classes as the installed version of xetex supports!) That is a lot of overhead when all you need is to use a different font for a few characters. I also suspect that it may have unexpected (by the ordinary user) effects. Comparing them newunicodechar uses a lot less code and its effects are more limited. A possible disadvantage is that it defines active characters which have their problems. Both approaches have their uses though. Den tis 28 nov. 2023 18:18J-F Rivard skrev: > Thank you all for your help! > > In case it might help someone, here's a technique that allows using > Unicode icons directly in the text through the concept of "fallback font"= . > (Please note that this is the result of blind "trial and error". It could > be flawed, but it seems to work well for my use case). > > *My markdown file (test.md):* > > --- > mainfont: "DejaVu Sans" > monofont: "FreeMono" > fontsize: 10pt > header-includes: > - \usepackage[Latin]{ucharclasses} > - \newfontfamily\latinfont{DejaVu Sans} > - \newfontfamily\unicodefont{Symbola} > - \setTransitionsFor{BasicLatin}{\latinfont}{\unicodefont} > - \setTransitionsFor{LatinSupplement}{\latinfont}{\unicodefont} > --- > > # Document Title > > Changing the font: \emph{\fontspec{Symbola}My folder12 =F0=9F=93=81}. > > Back to default font. > > This is another way: > My folder icon =F0=9F=93=81 > > > > *My pandoc command:* > > pandoc test.md -o test.pdf --pdf-engine=3Dxelatex > > > It also seems to afford a better compatibility with HTML rendering. > > NOTE: Since I am a complete newbie with Pandoc and Latex, I have no clear > idea of the inner workings of these latex statements. I don't think I cou= ld > be of any help should this approach not work for you. > > On Tuesday, November 28, 2023 at 11:34:38=E2=80=AFAM UTC-5 Jack D. Lail w= rote: > >> That's a great tip. I had never figured out how to do that with the >> xlatex engine. >> >> On Tuesday, November 28, 2023 at 4:28:04=E2=80=AFAM UTC-5 BPJ wrote: >> >>> >>> >>> Den m=C3=A5n 27 nov. 2023 23:25BPJ skrev: >>> >>>> The easiest fix is to put this in a text file headerincludes.tex: >>>> >>>> \usepackage{newunicodefont} >>>> \newfontface\notoemoji{Noto Emoji} >>>> \newunicodechar{=F0=9F=93=81}{\notoemoji =F0=9F=93=81} >>>> >>> >>> Sorry. I made a typo. It should be "newunicodechar", not >>> ~~"newunicodefont"~~. >>> >>> >>>> Repeat the last line substituting each emoji you want to use. >>>> >>>> You may need to use Noto Sans Symbols for any non-emoji symbols you >>>> want to use which XeLaTeX complains about. Just repeat the second line >>>> suitably adjusted, and then use similar lines to the third line with t= he >>>> font command in the second pair of braces adjusted. >>>> >>>> Then when you run pandoc add "-H headerincludes.tex" (without the >>>> quotes) to the command line. >>>> >>>> >>>> Den m=C3=A5n 27 nov. 2023 21:58Bastien DUMONT = skrev: >>>> >>>>> As the error message states, the character does not exist in DejaVu >>>>> Sans. You just have to use a font that has it. You may find the follo= wing >>>>> page useful: >>>>> https://graphicdesign.stackexchange.com/questions/46363/how-to-know-i= n-which-fonts-a-specific-glyph-is-available >>>>> >>>>> (BTW, to render characters that are missing in the selected font, >>>>> Word/Libreoffice substitutes it with the glyph in another font, often >>>>> resulting in a disharmonious display. TeX/LaTeX prefers to inform you= that >>>>> the character doesn't exist, so that you can take the appropriate dec= ision.) >>>>> >>>>> Le Monday 27 November 2023 =C3=A0 12:09:59PM, J-F Rivard a =C3=A9crit= : >>>>> > Hello good people! >>>>> > >>>>> > Simply trying to use Unicode symbols in a Pandoc Markdown document >>>>> to be >>>>> > converted to a PDF. Please help me figure out what I'm doing wrong. >>>>> > >>>>> > Here's my input file "test.md" (it's only one line): >>>>> > Folder =F0=9F=93=81 >>>>> > >>>>> > Here's the Pandoc command: >>>>> > pandoc test.md -o test.pdf -V mainfont=3D"DejaVu Sans" >>>>> --pdf-engine=3Dxelatex >>>>> > >>>>> > Here's the result: >>>>> > Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font De= jaVu >>>>> Sans/OT:script=3D >>>>> > latn;language=3Ddflt;mapping=3Dtex-text;! >>>>> > >>>>> > Attached is the "verbose" version (test.log). >>>>> > >>>>> > Additional info: >>>>> > >>>>> > =E2=80=A2 This simple markdown file renders perfectly with all th= e other >>>>> output >>>>> > formats (i.e. html, docx, odt, tex, etc.). >>>>> > =E2=80=A2 I am running Ubuntu 22.04 with the latest available ver= sion of >>>>> Pandoc. >>>>> > =E2=80=A2 I've tried with all sorts of fonts (including Noto). >>>>> > >>>>> > From the bottom of my heart, I thank you for any help you can >>>>> provide. (I am >>>>> > thoroughly desperate). >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> > To view this discussion on the web visit [2] >>>>> https://groups.google.com/d/msgid/ >>>>> > pandoc-discuss/05781e20-6d14-4eab-a155-1b5ccf0edb86n% >>>>> 40googlegroups.com. >>>>> > >>>>> > References: >>>>> > >>>>> > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>>>> > [2] >>>>> https://groups.google.com/d/msgid/pandoc-discuss/05781e20-6d14-4eab-a= 155-1b5ccf0edb86n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter >>>>> >>>>> > pandoc test.md -o test.pdf -V mainfont=3D"DejaVu Sans" >>>>> --pdf-engine=3Dxelatex --verbose >>>>> > >>>>> > [makePDF] temp dir: >>>>> > /tmp/tex2pdf.-57b9a0d9b38c7a78 >>>>> > [makePDF] Command line: >>>>> > xelatex "-halt-on-error" "-interaction" "nonstopmode" >>>>> "-output-directory" "/tmp/tex2pdf.-57b9a0d9b38c7a78" >>>>> "/tmp/tex2pdf.-57b9a0d9b38c7a78/input.tex" >>>>> > >>>>> > [makePDF] Relevant environment variables: >>>>> > ("TEXINPUTS","/tmp/tex2pdf.-57b9a0d9b38c7a78:") >>>>> > ("TEXMFOUTPUT","/tmp/tex2pdf.-57b9a0d9b38c7a78") >>>>> > ("SHELL","/bin/bash") >>>>> > ("PWD","/home/jfr/ubiman/pandoc") >>>>> > ("HOME","/home/jfr") >>>>> > ("LANG","en_CA.UTF-8") >>>>> > >>>>> ("PATH","/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin= :/usr/games:/usr/local/games:/snap/bin:/snap/bin") >>>>> > >>>>> > [makePDF] Source: >>>>> > % Options for packages loaded elsewhere >>>>> > \PassOptionsToPackage{unicode}{hyperref} >>>>> > \PassOptionsToPackage{hyphens}{url} >>>>> > % >>>>> > \documentclass[ >>>>> > ]{article} >>>>> > \usepackage{amsmath,amssymb} >>>>> > \usepackage{iftex} >>>>> > \ifPDFTeX >>>>> > \usepackage[T1]{fontenc} >>>>> > \usepackage[utf8]{inputenc} >>>>> > \usepackage{textcomp} % provide euro and other symbols >>>>> > \else % if luatex or xetex >>>>> > \usepackage{unicode-math} % this also loads fontspec >>>>> > \defaultfontfeatures{Scale=3DMatchLowercase} >>>>> > \defaultfontfeatures[\rmfamily]{Ligatures=3DTeX,Scale=3D1} >>>>> > \fi >>>>> > \usepackage{lmodern} >>>>> > \ifPDFTeX\else >>>>> > % xetex/luatex font selection >>>>> > \setmainfont[]{DejaVu Sans} >>>>> > \fi >>>>> > % Use upquote if available, for straight quotes in verbatim >>>>> environments >>>>> > \IfFileExists{upquote.sty}{\usepackage{upquote}}{} >>>>> > \IfFileExists{microtype.sty}{% use microtype if available >>>>> > \usepackage[]{microtype} >>>>> > \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for >>>>> tt fonts >>>>> > }{} >>>>> > \makeatletter >>>>> > \@ifundefined{KOMAClassName}{% if non-KOMA class >>>>> > \IfFileExists{parskip.sty}{% >>>>> > \usepackage{parskip} >>>>> > }{% else >>>>> > \setlength{\parindent}{0pt} >>>>> > \setlength{\parskip}{6pt plus 2pt minus 1pt}} >>>>> > }{% if KOMA class >>>>> > \KOMAoptions{parskip=3Dhalf}} >>>>> > \makeatother >>>>> > \usepackage{xcolor} >>>>> > \setlength{\emergencystretch}{3em} % prevent overfull lines >>>>> > \providecommand{\tightlist}{% >>>>> > \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} >>>>> > \setcounter{secnumdepth}{-\maxdimen} % remove section numbering >>>>> > \ifLuaTeX >>>>> > \usepackage{selnolig} % disable illegal ligatures >>>>> > \fi >>>>> > >>>>> \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperr= ef}} >>>>> > \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks >>>>> if available >>>>> > \urlstyle{same} >>>>> > \hypersetup{ >>>>> > hidelinks, >>>>> > pdfcreator=3D{LaTeX via pandoc}} >>>>> > >>>>> > \author{} >>>>> > \date{} >>>>> > >>>>> > \begin{document} >>>>> > >>>>> > Folder =F0=9F=93=81 >>>>> > >>>>> > \end{document} >>>>> > >>>>> > [makePDF] Run #1 >>>>> > This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live >>>>> 2022/dev/Debian) (preloaded format=3Dxelatex) >>>>> > restricted \write18 enabled. >>>>> > entering extended mode >>>>> > (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.tex >>>>> > LaTeX2e <2021-11-15> patch level 1 >>>>> > L3 programming layer <2022-01-21> >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls >>>>> > Document Class: article 2021/10/04 v1.4n Standard LaTeX document >>>>> class >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty >>>>> > For additional information on amsmath, use the `?' option. >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math.st= y >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.de= f >>>>> > (|extractbb --version))) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-xe= tex.sty >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty= ) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e= .sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.st= y >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg))) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def)) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-ta= ble.tex))) >>>>> > (/usr/share/texmf/tex/latex/lm/lmodern.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/upquote/upquote.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-xetex.de= f) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/parskip/parskip.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)= )) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.st= y >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty)= ) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.= sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.st= y) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatche= s.def) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)= ) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilechec= k.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounte= r.sty))) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/xurl/xurl.sty) >>>>> > No file input.aux. >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestr= ing.sty)) >>>>> > >>>>> > Package hyperref Warning: Rerun to get /PageLabels entry. >>>>> > >>>>> > Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font DejaV= u >>>>> Sans/OT:script=3Dlatn;l >>>>> > anguage=3Ddflt;mapping=3Dtex-text;! >>>>> > [1] (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.aux) ) >>>>> > Output written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.pdf (1 page)= . >>>>> > Transcript written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.log. >>>>> > >>>>> > [makePDF] Run #2 >>>>> > This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live >>>>> 2022/dev/Debian) (preloaded format=3Dxelatex) >>>>> > restricted \write18 enabled. >>>>> > entering extended mode >>>>> > (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.tex >>>>> > LaTeX2e <2021-11-15> patch level 1 >>>>> > L3 programming layer <2022-01-21> >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls >>>>> > Document Class: article 2021/10/04 v1.4n Standard LaTeX document >>>>> class >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty >>>>> > For additional information on amsmath, use the `?' option. >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math.st= y >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.de= f >>>>> > (|extractbb --version))) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-xe= tex.sty >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty= ) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e= .sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.st= y >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg))) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def)) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-ta= ble.tex))) >>>>> > (/usr/share/texmf/tex/latex/lm/lmodern.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/upquote/upquote.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-xetex.de= f) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/parskip/parskip.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)= )) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.st= y >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty)= ) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.= sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.st= y) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatche= s.def) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)= ) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def >>>>> > (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilechec= k.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounte= r.sty))) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def)) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/xurl/xurl.sty) >>>>> > (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.aux) >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty >>>>> > (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) >>>>> > >>>>> (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestr= ing.sty)) >>>>> > Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font DejaV= u >>>>> Sans/OT:script=3Dlatn;l >>>>> > anguage=3Ddflt;mapping=3Dtex-text;! >>>>> > [1] (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.aux) ) >>>>> > Output written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.pdf (1 page)= . >>>>> > Transcript written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.log. >>>>> > >>>>> >>>>> -- >>>>> 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, sen= d >>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/pandoc-discuss/ZWUCtVj8OMjy8eR0%40l= ocalhost >>>>> . >>>>> >>>> -- > 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/5e64416c-2993-4f2b-902b-= ffcfa4512b91n%40googlegroups.com > > . > --=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/CAFC_yuR45wn3_KaYeyr%3DASKdr8qvue6BAQVUqW%3DM%2BWLEvciafg%40= mail.gmail.com. --000000000000d0178c060b3b5e96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The disadvantage of ucharclasses is that it sets up chara= cter classes for *all* blocks in Unicode (or at least the version of Unicod= e which the installed version of the package supports and as many classes a= s the installed version of xetex supports!) That is a lot of overhead when = all you need is to use a different font for a few characters. I also suspec= t that it may have unexpected (by the ordinary user) effects. Comparing the= m newunicodechar uses a lot less code and its effects are more limited. A p= ossible disadvantage is that it defines active characters which have their = problems. Both approaches have their uses though.

Den tis 28 nov. 2023 18:18= J-F Rivard <jfrivard46-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= > skrev:
Thank you all = for your help!

In case it might help someone, here= 's a technique that allows using Unicode icons directly in the text thr= ough the concept of "fallback font". (Please note that this is th= e result of blind "trial and error". It could be flawed, but it s= eems to work well for my use case).

My markdown= file (test.md):

---
mainfont: "DejaVu Sans"
monofont: <= /span>"FreeMono"
fontsize: 10= pt
header-includes:
- \usepackage[Latin]{ucharclasses}
- \newfont= family\latinfont{DejaVu Sans}
- \newfontfamily= \unicodefont{Symbola}
- \setTransitionsFor{Bas= icLatin}{\latinfont}{\unicodefont}
- \setTrans= itionsFor{LatinSupplement}{\latinfont}{\unicodefont}
---

# Document Title

Changing the font: \emph{\fontspec= {Symbola}My folder12 =F0=9F=93=81}.

Back to default font.

This is another way:
My folder icon =F0=9F=93=81


My pandoc command:

pandoc test.md -o test.pdf= --pdf-engine=3Dxelatex


It also seems to afford a better compatibility with HTML rendering.=

NOTE: Since I am a complete newbie with Pandoc an= d Latex, I have no clear idea of the inner workings of these latex statemen= ts. I don't think I could be of any help should this approach not work = for you.

On Tuesday, November 28, 2023 at 11:34:38=E2=80=AFAM UT= C-5 Jack D. Lail wrote:
On Tuesday, November 28, 2023 at 4:28:04=E2=80=AFAM UTC-5 BPJ w= rote:


Den m=C3=A5n 27 nov. 2023 23:25BPJ <= mel...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
The easiest fix is to put this in a text file headerincludes= .tex:

\usepackage{newunicodefo= nt}
\newfontface\notoemoji{Noto Emoji}
\newunicodechar{=F0=9F=93=81}{\notoemoji=C2=A0=F0=9F=93=81}= =C2=A0

Sorry. I made a typo. It should be &q= uot;newunicodechar",=C2=A0 not ~~"newunicodefont"~~.


Repeat the last line substituti= ng each emoji you want to use.

You may need to use Noto Sans Symbols for any non-emoji symbols you = want to use which XeLaTeX complains about. Just repeat the second line suit= ably adjusted, and then use similar lines to the third line with the font c= ommand in the second pair of braces adjusted.

Then when you run pandoc add "-H headerincludes.= tex" (without the quotes) to the command line.
=

Den m=C3=A5n 27 nov. 2023 21:58Bastien DUMONT <bastien...-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> skrev:
As the error message states, the character doe= s not exist in DejaVu Sans. You just have to use a font that has it. You ma= y find the following page useful: https://graphicdesign.stackexchange.com/questions/46363/how-to= -know-in-which-fonts-a-specific-glyph-is-available

(BTW, to render characters that are missing in the selected font, Word/Libr= eoffice substitutes it with the glyph in another font, often resulting in a= disharmonious display. TeX/LaTeX prefers to inform you that the character = doesn't exist, so that you can take the appropriate decision.)

Le Monday 27 November 2023 =C3=A0 12:09:59PM, J-F Rivard a =C3=A9crit :
> Hello good people!
>
> Simply trying to use Unicode symbols in a Pandoc Markdown document to = be
> converted to a PDF. Please help me figure out what I'm doing wrong= .
>
> Here's my input file "test.md" (it's only one line):=
> =C2=A0 Folder =F0=9F=93=81
>
> Here's the Pandoc command:
> =C2=A0=C2=A0 pandoc test.md -o test.pdf -V mainfont=3D"DejaVu San= s" --pdf-engine=3Dxelatex
>
> Here's the result:
> =C2=A0=C2=A0 Missing character: There is no =F0=9F=93=81 (U+1F4C1) in = font DejaVu Sans/OT:script=3D
> latn;language=3Ddflt;mapping=3Dtex-text;!
>
> Attached is the "verbose" version (test.log).
>
> Additional info:
>
>=C2=A0 =C2=A0=E2=80=A2 This simple markdown file renders perfectly with= all the other output
>=C2=A0 =C2=A0 =C2=A0formats (i.e. html, docx, odt, tex, etc.).
>=C2=A0 =C2=A0=E2=80=A2 I am running Ubuntu 22.04 with the latest availa= ble version of Pandoc.
>=C2=A0 =C2=A0=E2=80=A2 I've tried with all sorts of fonts (includin= g Noto).
>
> From the bottom of my heart, I thank you for any help you can provide.= (I am
> thoroughly desperate).
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Gro= ups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email
> to [1]pandoc-disc= us...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/05781e20-6d14-4eab-a155-1b5ccf0edb86n%40googlegroups.com.
>
> References:
>
> [1] mailto:pandoc= -discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/05= 781e20-6d14-4eab-a155-1b5ccf0edb86n%40googlegroups.com?utm_medium=3Demail&a= mp;utm_source=3Dfooter

> pandoc test.md -o test.pdf -V mainfont=3D"DejaVu Sans" --pdf= -engine=3Dxelatex --verbose
>
> [makePDF] temp dir:
> /tmp/tex2pdf.-57b9a0d9b38c7a78
> [makePDF] Command line:
> xelatex "-halt-on-error" "-interaction" "nons= topmode" "-output-directory" "/tmp/tex2pdf.-57b9a0d9b38= c7a78" "/tmp/tex2pdf.-57b9a0d9b38c7a78/input.tex"
>
> [makePDF] Relevant environment variables:
> ("TEXINPUTS","/tmp/tex2pdf.-57b9a0d9b38c7a78:") > ("TEXMFOUTPUT","/tmp/tex2pdf.-57b9a0d9b38c7a78") > ("SHELL","/bin/bash")
> ("PWD","/home/jfr/ubiman/pandoc")
> ("HOME","/home/jfr")
> ("LANG","en_CA.UTF-8")
> ("PATH","/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/= bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin")
>
> [makePDF] Source:
> % Options for packages loaded elsewhere
> \PassOptionsToPackage{unicode}{hyperref}
> \PassOptionsToPackage{hyphens}{url}
> %
> \documentclass[
> ]{article}
> \usepackage{amsmath,amssymb}
> \usepackage{iftex}
> \ifPDFTeX
>=C2=A0 =C2=A0\usepackage[T1]{fontenc}
>=C2=A0 =C2=A0\usepackage[utf8]{inputenc}
>=C2=A0 =C2=A0\usepackage{textcomp} % provide euro and other symbols
> \else % if luatex or xetex
>=C2=A0 =C2=A0\usepackage{unicode-math} % this also loads fontspec
>=C2=A0 =C2=A0\defaultfontfeatures{Scale=3DMatchLowercase}
>=C2=A0 =C2=A0\defaultfontfeatures[\rmfamily]{Ligatures=3DTeX,Scale=3D1}=
> \fi
> \usepackage{lmodern}
> \ifPDFTeX\else
>=C2=A0 =C2=A0% xetex/luatex font selection
>=C2=A0 =C2=A0\setmainfont[]{DejaVu Sans}
> \fi
> % Use upquote if available, for straight quotes in verbatim environmen= ts
> \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
> \IfFileExists{microtype.sty}{% use microtype if available
>=C2=A0 =C2=A0\usepackage[]{microtype}
>=C2=A0 =C2=A0\UseMicrotypeSet[protrusion]{basicmath} % disable protrusi= on for tt fonts
> }{}
> \makeatletter
> \@ifundefined{KOMAClassName}{% if non-KOMA class
>=C2=A0 =C2=A0\IfFileExists{parskip.sty}{%
>=C2=A0 =C2=A0 =C2=A0\usepackage{parskip}
>=C2=A0 =C2=A0}{% else
>=C2=A0 =C2=A0 =C2=A0\setlength{\parindent}{0pt}
>=C2=A0 =C2=A0 =C2=A0\setlength{\parskip}{6pt plus 2pt minus 1pt}}
> }{% if KOMA class
>=C2=A0 =C2=A0\KOMAoptions{parskip=3Dhalf}}
> \makeatother
> \usepackage{xcolor}
> \setlength{\emergencystretch}{3em} % prevent overfull lines
> \providecommand{\tightlist}{%
>=C2=A0 =C2=A0\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
> \setcounter{secnumdepth}{-\maxdimen} % remove section numbering
> \ifLuaTeX
>=C2=A0 =C2=A0\usepackage{selnolig}=C2=A0 % disable illegal ligatures > \fi
> \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperre= f}}
> \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if = available
> \urlstyle{same}
> \hypersetup{
>=C2=A0 =C2=A0hidelinks,
>=C2=A0 =C2=A0pdfcreator=3D{LaTeX via pandoc}}
>
> \author{}
> \date{}
>
> \begin{document}
>
> Folder =F0=9F=93=81
>
> \end{document}
>
> [makePDF] Run #1
> This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Deb= ian) (preloaded format=3Dxelatex)
>=C2=A0 restricted \write18 enabled.
> entering extended mode
> (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.tex
> LaTeX2e <2021-11-15> patch level 1
> L3 programming layer <2022-01-21>
> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2021/10/04 v1.4n Standard LaTeX document class=
> (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
> For additional information on amsmath, use the `?' option.
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
> (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
> (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math.sty=
> (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
> (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def=
> (|extractbb --version)))
> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-xet= ex.sty
> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)=
> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.= sty)
> (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
> (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty > (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
> (/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def))
> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-tab= le.tex)))
> (/usr/share/texmf/tex/latex/lm/lmodern.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/upquote/upquote.sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-xetex.def= )
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg))
> (/usr/share/texlive/texmf-dist/tex/latex/parskip/parskip.sty
> (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty
> (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)))<= br> > (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
> (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def))
> (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
> (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty > (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty)) > (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.s= ty)
> (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty) > (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)<= br> > (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatches= .def)
> (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
> (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
> (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))=
> (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
> (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) > (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck= .sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter= .sty)))
> (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def)) > (/usr/share/texlive/texmf-dist/tex/latex/xurl/xurl.sty)
> No file input.aux.
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
> (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestri= ng.sty))
>
> Package hyperref Warning: Rerun to get /PageLabels entry.
>
> Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font DejaVu S= ans/OT:script=3Dlatn;l
> anguage=3Ddflt;mapping=3Dtex-text;!
> [1] (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.aux) )
> Output written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.pdf (1 page). > Transcript written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.log.
>
> [makePDF] Run #2
> This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Deb= ian) (preloaded format=3Dxelatex)
>=C2=A0 restricted \write18 enabled.
> entering extended mode
> (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.tex
> LaTeX2e <2021-11-15> patch level 1
> L3 programming layer <2022-01-21>
> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2021/10/04 v1.4n Standard LaTeX document class=
> (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
> For additional information on amsmath, use the `?' option.
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
> (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
> (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math.sty=
> (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
> (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def=
> (|extractbb --version)))
> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-xet= ex.sty
> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)=
> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.= sty)
> (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
> (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty > (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
> (/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def))
> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-tab= le.tex)))
> (/usr/share/texmf/tex/latex/lm/lmodern.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/upquote/upquote.sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-xetex.def= )
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg))
> (/usr/share/texlive/texmf-dist/tex/latex/parskip/parskip.sty
> (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty
> (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)))<= br> > (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
> (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def))
> (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
> (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty > (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty)) > (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.s= ty)
> (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty) > (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)<= br> > (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatches= .def)
> (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
> (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
> (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))=
> (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
> (/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty) > (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck= .sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter= .sty)))
> (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def)) > (/usr/share/texlive/texmf-dist/tex/latex/xurl/xurl.sty)
> (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.aux)
> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
> (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestri= ng.sty))
> Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font DejaVu S= ans/OT:script=3Dlatn;l
> anguage=3Ddflt;mapping=3Dtex-text;!
> [1] (/tmp/tex2pdf.-57b9a0d9b38c7a78/input.aux) )
> Output written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.pdf (1 page). > Transcript written on /tmp/tex2pdf.-57b9a0d9b38c7a78/input.log.
>

--
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-discus.= ..@googlegroups.com.
To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/ZWUCtVj8OMjy8eR0%40localhost.

--
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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5e64416c-2= 993-4f2b-902b-ffcfa4512b91n%40googlegroups.com.

--
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://g= roups.google.com/d/msgid/pandoc-discuss/CAFC_yuR45wn3_KaYeyr%3DASKdr8qvue6B= AQVUqW%3DM%2BWLEvciafg%40mail.gmail.com.
--000000000000d0178c060b3b5e96--