From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33417 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:42:21 +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="00000000000098b56f060b3b9edd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36584"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDIY76M674FRBKUFTGVQMGQENLU5UEI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 28 20:42:40 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f187.google.com ([209.85.208.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r83yh-0009KH-Sj for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 28 Nov 2023 20:42:39 +0100 Original-Received: by mail-lj1-f187.google.com with SMTP id 38308e7fff4ca-2c883c7380fsf55747201fa.2 for ; Tue, 28 Nov 2023 11:42:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701200559; cv=pass; d=google.com; s=arc-20160816; b=engLA3wwERKv/v+E4wHLyv6yYaPvfauTLA6foC02I+DK/+VjfD7IUZCnQS3aqgcoZf iyzsyPSU6OKgmkr7OgZluNksWx20uHTUC+P2uj3Q1nxqo1fX3r3xg57CG5CBpyORiehw +VSvL/43zB51gHgbeDZZN1xb2jtiwBDIVj56Djbxe+jJPJojiutZD75eW4YTiuNblK7h ZS5LQGa7kZw4x6HfJ38bxC5QXkJd026IVIx5WEJZ1rBXE7FeL4VTSrS5ydnYzztwnQ8M s+IjG7A0h9aXKuKZrMzg4jMnbHprJMh3e88u6Ea2R8fG3Mmh7ohUSgeiL6ZpsCM/ybhB vLFw== 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=zatO263mld9l7MAfYi4LkheAmtSgy0T/jFs2O6WDmZI=; fh=4cPfTtzleA5nPUC1EQtk197aIUeaT1ew1v/oILbLT2I=; b=sLScyn1Tq4FPMgbAkOhvApapiR+gH4BASxEM3n3kuoB17QT7hpMUzgH/SdOIh0GYey qh+AoLNX0g+Ot9GRL9K3Uvg/+15ce1Plp/NvQhobtbZPgj2UWnRghfhWxp00vAkR9y4g c61BL9ioHG3vybo7QQfOckxU6qdzzaEIK0gMv9oMsLhhhWTV6o94K+OK8Wne7E4LU7gE 3eAjpPuRg0CnNdhW/AQJ7Vjz+4j8Itb4XcAHsfMXMLdGxzHgaNlYocL4xxWXNH6HE9Nf XDoXtR4RyvvmEjStjN1LzkQlFDmlgugcl/DDo07s9+y7ZM8RWDog7hzZa2vu0Ry+At1G nPVA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DqgzaWAe; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::136 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=1701200559; x=1701805359; 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=zatO263mld9l7MAfYi4LkheAmtSgy0T/jFs2O6WDmZI=; b=Tq/dURc/+LP8ASwFtVl8GGrHC6MTS9RlzxoHoNqmU3SFYSCAtvAnrJcI6pkMARAenF UrpI5nLvIRptGu4rN2IdBmyQECotOXN2K9TnYAU7vSTQ/ZiRssN/VA1lJMynVqZq7fCG TpphAUby4B2lf27y4/FZ03qNQgQD9AScWUyybXfWTMuXcQrW+B2fdtXXb31Ula/53jX4 HsiOSeVfOn8ENInF4LoPleM+m0pai96n7Tw+TuYL6WsZC7ddAdJ5XsrA4/JRGe3qP6oP oHQ73P+ZhB69C4rPErLK0cmbZkmQ15jNq1yoCvY2uCAtYEWPTclX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701200559; x=1701805359; 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=zatO263mld9l7MAfYi4LkheAmtSgy0T/jFs2O6WDmZI=; b=VdnatbOhh4IZWjXZmNVBcPxUZhmd9SphnOechixRsyMT+fbkiWO0HJfPhNlqcpOt6u BtK9D9IUXHDUK9Nt5ztK3oTo/J5i+q7QgWwIDdUDAdL3GX8D7B2HGNONun1+B8AtNinl AAIVl9/+rQYJ8RMYea3iZ4k5C4lg0o1XD3RRmSzs8YonH5alTKwn+Y4KQ6AHTA929gWY k8P/3dVsYdyjJT/ur9uNL2cdHoEGcAN2PLnAiUqpsBteBaBcKhZx+swuZvNKK/zxhWNq vCui3csIGkN6yInsZB9kRY8giI5ZxjHFAdNzIWkiuyuv2Wp+62943khWeIj6OH5FoD X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701200559; x=1701805359; 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=zatO263mld9l7MAfYi4LkheAmtSgy0T/jFs2O6WDmZI=; b=j4x8IuN4a4kru9pkLtpqXtfkJKp1H68lupUFgo4KsGdUcoHRdbxSj/otgzeWMbycFk CMLnSgEzTg8wT+FoRtOmAImecNYGlp+cJ2qYFzt+f7EFILstk6pYbnglCIzvhNKuwDWz 6LmyKm/6FtT8CAxQ1GvqqfZ/FMiaFjHVd4wMC1Tilym+GRfKuDq4VNfWtbR9ogTViLyi EZhXSj3LEDmV7GmSuOCI2rRf0Y3scb7eKJohZPjDcezzEk1I8ZL0IVh8apF9mL7YlumO EKfiZs Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yx7kIP1fAt8nXjMYztXHTI8otAo2Bl8E3gBblJ9Xe5YJ+C0VU3P s3qSYkZzybXbrgKd3lxWY8I= X-Google-Smtp-Source: AGHT+IHREJHjV6TnqsGU/L++hCtv7PDW+r+Kyn5GThulsX5psQpNUd1lhmp70KMQNp5yLZlUKx/tZw== X-Received: by 2002:ac2:4ac7:0:b0:50b:bd4f:4de9 with SMTP id m7-20020ac24ac7000000b0050bbd4f4de9mr1618340lfp.67.1701200558337; Tue, 28 Nov 2023 11:42:38 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:b8e:b0:503:7ac:19f3 with SMTP id b14-20020a0565120b8e00b0050307ac19f3ls233994lfv.0.-pod-prod-07-eu; Tue, 28 Nov 2023 11:42:33 -0800 (PST) X-Received: by 2002:a2e:a703:0:b0:2c9:a124:fe64 with SMTP id s3-20020a2ea703000000b002c9a124fe64mr5566459lje.9.1701200552608; Tue, 28 Nov 2023 11:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701200552; cv=none; d=google.com; s=arc-20160816; b=JmVll4824Ibw4laEpjji2hRh357t6oJRViN7oeYCdWmtvtt+QZG5F32+Vl7HiOcdk2 /Ew4t8MaT78qZkMFLhnEEYCTz7v1FU5Ii6gaUTV2k5EuHXEYAkFemEI8h8J9874Gmkay bF7J89U3VQUXAV1VGVoJLc64i4Ve1aFCsDfGGI4mJStzyrb6Gt4codpKpmNKflKkXGoG FnRD++84JOPXh20jqcdqMnaFZbcxoSJsiMREc7E07I4hT3Wo1x5RoZybplMQZSGTIuX+ DtjogE2CZzMwKw+Sua7W2vZDz8cEwc6PNUGGdNX6lW9zX4G5bNL5G7isNlmmpR/nQ4J1 uKrQ== 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=jCOiNW49xUnezuWsis1vbDn5xq9cHaYXsQL1EqyJUyY=; fh=4cPfTtzleA5nPUC1EQtk197aIUeaT1ew1v/oILbLT2I=; b=QT+AOo4apLANmkSCbcUFiIphdd5iPd1rIBVAYuqryQm3vyN0yixZGlPKq2MgMs21ET RKIjd5Mmfks/vPo7gtv0kn9ILMcF/xVU717VZ4oHZPzdq8bUaxGN2iNGEtc9DafaZ9xu ZmJ8uMou9SeTNtCkpZeqd9f16lmuEyt97+nJZYuah27EV0NOEjm9og49Gxh9Na+6ICWh zAeQEBJpdyJAHcgXXzZiwCDNys+2olA8dNghDqsFe1CICV6/XSuYB61h0jllS5clZ1Vh HM5s5jZSDDyTPM5Rdf/3rD72pRoBUKHHK48fKDJP93W+c5V6EbFbzDGvVsTvU2PyeW8M XQKQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DqgzaWAe; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::136 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-lf1-x136.google.com (mail-lf1-x136.google.com. [2a00:1450:4864:20::136]) by gmr-mx.google.com with ESMTPS id b2-20020a2ebc02000000b002c28192fe0fsi638834ljf.0.2023.11.28.11.42.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 11:42:32 -0800 (PST) Received-SPF: pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::136 as permitted sender) client-ip=2a00:1450:4864:20::136; Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-50aab3bf71fso8146811e87.3 for ; Tue, 28 Nov 2023 11:42:32 -0800 (PST) X-Received: by 2002:a05:6512:1386:b0:507:a9b7:f071 with SMTP id fc6-20020a056512138600b00507a9b7f071mr14692330lfb.1.1701200552046; Tue, 28 Nov 2023 11:42:32 -0800 (PST) In-Reply-To: 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=DqgzaWAe; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::136 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:33417 Archived-At: --00000000000098b56f060b3b9edd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable See https://tex.stackexchange.com/questions/492334/what-does-ucharclasses-do-he= re Den tis 28 nov. 2023 20:24BP Jonsson skrev: > 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 the= m > newunicodechar uses a lot less code and its effects are more limited. A > possible disadvantage is that it defines active characters which have the= ir > 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 coul= d >> 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 clea= r >> idea of the inner workings of these latex statements. I don't think I co= uld >> 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 = wrote: >> >>> 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 lin= e >>>>> suitably adjusted, and then use similar lines to the third line with = the >>>>> 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 foll= owing >>>>>> 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/Libreoffice substitutes it with the glyph in another font, ofte= n >>>>>> resulting in a disharmonious display. TeX/LaTeX prefers to inform yo= u that >>>>>> the character doesn't exist, so that you can take the appropriate de= cision.) >>>>>> >>>>>> Le Monday 27 November 2023 =C3=A0 12:09:59PM, J-F Rivard a =C3=A9cri= t : >>>>>> > 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 D= ejaVu >>>>>> 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 t= he other >>>>>> output >>>>>> > formats (i.e. html, docx, odt, tex, etc.). >>>>>> > =E2=80=A2 I am running Ubuntu 22.04 with the latest available ve= rsion 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-= a155-1b5ccf0edb86n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r >>>>>> >>>>>> > 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:/bi= n:/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{hyper= ref}} >>>>>> > \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.s= ty >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.d= ef >>>>>> > (|extractbb --version))) >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-x= etex.sty >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.st= y) >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2= e.sty) >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.s= ty >>>>>> > (/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-t= able.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.d= ef) >>>>>> > (/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.s= ty >>>>>> > (/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.sty= ) >>>>>> > (/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-langpatch= es.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/rerunfileche= ck.sty >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecount= er.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/gettitlest= ring.sty)) >>>>>> > >>>>>> > Package hyperref Warning: Rerun to get /PageLabels entry. >>>>>> > >>>>>> > Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font Deja= Vu >>>>>> 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.s= ty >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.d= ef >>>>>> > (|extractbb --version))) >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-x= etex.sty >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.st= y) >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2= e.sty) >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.s= ty >>>>>> > (/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-t= able.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.d= ef) >>>>>> > (/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.s= ty >>>>>> > (/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.sty= ) >>>>>> > (/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-langpatch= es.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/rerunfileche= ck.sty >>>>>> > (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) >>>>>> > >>>>>> (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecount= er.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/gettitlest= ring.sty)) >>>>>> > Missing character: There is no =F0=9F=93=81 (U+1F4C1) in font Deja= Vu >>>>>> 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, >>>>>> send 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%40= localhost >>>>>> . >>>>>> >>>>> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> 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_yuSQ%2B%3DnPiAC43sEG09K4UhpyuY2tHvjHqBe5ZxZ2A8NKsQ%40ma= il.gmail.com. --00000000000098b56f060b3b9edd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

---
mainfont: "DejaVu Sans"
monofont: "FreeMono&= quot;
fontsize: 10pt
he= ader-includes:
- \usepackage[Latin]{ucharclasses}
- \newfontfamily\latinfont{DejaVu Sans}
- = \newfontfamily\unicodefont{Symbola}
- \setTran= sitionsFor{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 comma= nd:

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


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

NOTE: Since I am a complete newbi= e with Pandoc and Latex, I have no clear idea of the inner workings of thes= e latex statements. I don't think I could be of any help should this ap= proach not work for you.

On Tuesday, November 28, 2023 at 11:34:= 38=E2=80=AFAM UTC-5 Jack D. Lail wrote:
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 <mel...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
The easiest fix is to put this i= n a text file headerincludes.tex:

\usepackage{newunicodefont}
\newfontface\notoemo= ji{Noto Emoji}
\newunicodechar{=F0=9F=93=81}{\notoemoji=C2=A0=F0=9F=93=81}=C2=A0

Sorry. I m= ade a typo. It should be "newunicodechar",=C2=A0 not ~~"newu= nicodefont"~~.

=

Repe= at 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 the font command in the second pair of braces adjusted.

Then when you run pandoc a= dd "-H headerincludes.tex" (without the quotes) to the command li= ne.


<= div dir=3D"ltr" class=3D"gmail_attr">Den m=C3=A5n 27 nov. 2023 21:58Bastien= DUMONT <bastien...= @posteo.net> skrev:
As the e= rror message states, the character does not exist in DejaVu Sans. You just = have to use a font that has it. You may find the following page useful: https://graph= icdesign.stackexchange.com/questions/46363/how-to-know-in-which-fonts-a-spe= cific-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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/<= br> > 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-a155-1b5ccf0edb86n%40googlegroups.com?utm_mediu= m=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" "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 pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit http= s://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@goo= glegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5= e64416c-2993-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://gro= ups.google.com/d/msgid/pandoc-discuss/CAFC_yuSQ%2B%3DnPiAC43sEG09K4UhpyuY2t= HvjHqBe5ZxZ2A8NKsQ%40mail.gmail.com.
--00000000000098b56f060b3b9edd--