From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29226 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Smart quotes with roman, sans serif and mono fonts and LaTeX Date: Sun, 12 Sep 2021 11:00:56 -0700 Message-ID: References: <74247170-9cd6-6e28-8443-b6d93c1f824f@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8933"; mail-complaints-to="usenet@ciao.gmane.io" To: "R (Chandra) Chandrasekhar" , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBZUA7GEQMGQEJNTWNZY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Sep 12 20:01:12 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f189.google.com ([209.85.167.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mPTmy-0002Bf-EF for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 12 Sep 2021 20:01:12 +0200 Original-Received: by mail-oi1-f189.google.com with SMTP id s66-20020acaa945000000b0026a444777bbsf4503857oie.7 for ; Sun, 12 Sep 2021 11:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1631469671; cv=pass; d=google.com; s=arc-20160816; b=gEl7eJQveGYbFIT6SIKan35VKyw9Z9V+R/6gLXXDGSL44ElSpzmkDtYN5xM2AAT4zA d+6pAqkfr0s92ttBZa5jRKpveFYLUKJlgvfY7sAgREAmB5bVflKQF8EsIuZCct4ID8K6 dG6H61uo1IyWra0zxHcD9CYDhoL68Rh4jx9Ir5/o45qjF+7Y4FjHe6Atl8X5rmk3r3dy zvfv8jp1dNqOGBGTLb9nvyiboaYevyu+xm3rzvZe06JsAd8bvpb3KnzPRyOjyLc2FO4Y Ns7Y6SU+TdznqaaMC4msI42CWkt6Hr9cyzF6KijWvpEtVuCLhnuoblbiAqKH9z7MDAaO vz3A== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=LTek1Kk683oqGN2ZOFJBGtkN9nOOuw7UoQxqwX6vXis=; b=XN8fyo7iwvIUlWMakW1pwrxxKD64L8fnD3v45C3kf0M5tnTChOA1wiDUCkvFIenHpS A7p+oxdNP1kzTk9fzFKzrAqgo8O5Xe+dulbrWI2UabFMuQJtEzDKBq2qslzbOrld51XR y7hDm+c4K98Vpuq+lmR5+FFK0CIFFk7qS+HE+IoAQeG0yONSRNcvTjKDBddG34qXG5HZ 90cY1FGWvXdq+vbxsQQJwFk+FJqQyoLKCdd83jQMVtm2DRttIj7/qnFEDCdIHq+NX/bx LuVrN1jra84DXtNY8UNTEzYg01QcVhLt9JrtMIyb54su5ZmFBIFtZ1EKGYBS1m+ZSRIh 0C8g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yyBTH+Ai; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::535 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=LTek1Kk683oqGN2ZOFJBGtkN9nOOuw7UoQxqwX6vXis=; b=gWWAe/OKzl0prb/BDF8UKHW1UMoFff3VRBK05+ywOqVl4/PgStHCbJzGx80eAzqFEZ ihBQAjUCAlXI5Iq9rYyqn5djdCZc9wV2P/hmTxs544h6IE70pnRE3EOrr4jGBMOnBhAE 6uALZe/xgVk0wxWpKbSYJyhs3H3C6AUIAZvCZMWet5mRbg6RZzcOoSGl3AREV1pUTyae 0+cfCXC+zDrXgl77MxPUzq7PRj2xdPvrkkV2bsphXSHx8aOryg2FgoI+8iAev2w6wjyR 4Sy+kM6MOv7iUY9k9i+cD/UfaXsoLZOMXlsaJZUn4RE/6FoLBmi/jAcNPdwg2zWY/Uvl kabA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LTek1Kk683oqGN2ZOFJBGtkN9nOOuw7UoQxqwX6vXis=; b=hdhyV4LafLOde7cRHAXHOB2QJTObewYBc9h0RsLUNuaustuWHLUcDXIfIsMCGdYeKx 5MfG25Zue0DlcC4TJhfmUbIhsAZUV7d82/cAYX0DeyZbN32UCPwbpS580f68s1fxI4xG 74wX7/P3ONT0ZT04hzcBcpfGw6+s3bIr1qLhZrqmBn8Y3rfYOfX964WtrMABJfXGg4Oy BeHF/qYrvJk6kjLYLzOUhmACXTw0N7stxuKSSwkunvWM7YHZaMAmDdNh6FS71G6CxTAC HbA+a767V8njuqQDKlCKPcyOm66VydYvK8iULaV8smGyV4dtJrlckEo4Okaya7zf974c yx4w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531MpRMECHzg7OvFRSU/m8qe0own31Zs2ZhvpUzX+ewVlzgbGNaV LLIvb11f1R7tF0BXTk5GJ0w= X-Google-Smtp-Source: ABdhPJyHQhtI0IG0OIsWioonAYnLYHFfqQ3KB0+saodQGhZeb+NArww+fcAjbIHJvv6x3/VZk3fTIg== X-Received: by 2002:a9d:6192:: with SMTP id g18mr6530423otk.314.1631469671339; Sun, 12 Sep 2021 11:01:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:e5ca:: with SMTP id r10ls306516oov.1.gmail; Sun, 12 Sep 2021 11:01:09 -0700 (PDT) X-Received: by 2002:a4a:de90:: with SMTP id v16mr6292467oou.42.1631469669869; Sun, 12 Sep 2021 11:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631469669; cv=none; d=google.com; s=arc-20160816; b=vUIMIaVoE1xZ88NgV1ltNYJAOni5swqYwMOe4fPhxSgM1PWMLNTNChrvI3oG3GbE4G AcuyTU2ruUQR9DNyW10UuRcTPIiew3wvtVPcQt3+gVgw7y2BRDhqgZsdg7dV/BzjnAqL TBkS7d6RBUuhcqfAKre5xA5BKqfdRyorJ7hhf4rWgh84g7NkPKGmH4/jbUp4RVCZLDJO RyDgN9jHctD5yPAiFvCR79t319B/H+b9ZaDOxZS1mOkackZgOFYxmKSfAwnRBKYtI5oP XY8YIPPJ4lZUu3MPeXLSHNKxFSZIgj8NUXaK3bpQ5RtlB5ZHujP4PlkmIvinp1UnWRha DajA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=eHZ/JtTIKEExzy/q9aYR9G8Ni9Pfunj/Jcu/GLwiK/o=; b=YKW12T3g5ct4Y+niS34ahx8WS43L3fJQz2+LwcVjH+UORZeFkW6ecbdWgigIP4/lU+ httJqyMTbE6+NxyTextQs/sztr7bhUAZfLQe48nDNMUGwH6omqLnwdVt8yEJfTPeznDQ qIRMjVX0h3gpaflxMCU7xVgbWeWwX2W7p39yUe4a5pgHVS7CchzLGHFX9h+2cFeqnG3C vCfcUlijbMfgaPDY+X4o/S0ma7NW2wJrvUcctc9k6d+vdS2QdS0msz5vv+eMe41i9PFw 1HxBF/5mLVZ3uPTJA+JzNlQaf2yRm3+HwULo9L4c7uGv+ZsPslN4Ho2FtfIKb6wGuQG6 JG8Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yyBTH+Ai; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::535 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com. [2607:f8b0:4864:20::535]) by gmr-mx.google.com with ESMTPS id s20si454534ois.4.2021.09.12.11.01.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Sep 2021 11:01:09 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::535 as permitted sender) client-ip=2607:f8b0:4864:20::535; Original-Received: by mail-pg1-x535.google.com with SMTP id q68so7203482pga.9 for ; Sun, 12 Sep 2021 11:01:09 -0700 (PDT) X-Received: by 2002:a63:4344:: with SMTP id q65mr7536586pga.364.1631469668789; Sun, 12 Sep 2021 11:01:08 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 3sm4543570pfp.112.2021.09.12.11.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 11:01:07 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 75BDCA1A8; Sun, 12 Sep 2021 14:00:56 -0400 (EDT) In-Reply-To: <74247170-9cd6-6e28-8443-b6d93c1f824f-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yyBTH+Ai; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::535 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29226 Archived-At: In a raw LaTeX context, smart quote recognition won't work. Use unicode curly quotes inside \textsf{...}. "R (Chandra) Chandrasekhar" writes: > I want to get smart quotes with a sans serif font with LaTeX/PDF output > from markdown input. > > The quotes I got with \textsf{"This is it."} were not paired, but two of > the same. > > My MWE, in a file named quotes.md, is: > > --- > mainfont: "Noto Serif" > sansfont: "Noto Sans" > monofont: "Noto Mono" > --- > > "This is it." > > \textrm{"This is it."} > > \textsf{"This is it."} > > \texttt{"This is it."} > > `"This is it."` > > ---End of MWE--- > > When compiled with > > pandoc -f markdown -t latex --pdf-engine lualatex --output quotes.pdf > quotes.md > > I get properly paired quotes when used outside of \textrm declaration, > but not within it. > > Of course, the monofont does not have two types of quotes and so appears > the same in both invocations. > > My question is how do I get correctly paired sans serif quotes to show > up in the PDF? > > I do not want to do > > \renewcommand{\familydefault}{\sfdefault} > > since I wish to have the sans serif font only in selected parts of the > output. > > Thanks. > > Chandra > > -- > 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/74247170-9cd6-6e28-8443-b6d93c1f824f%40gmail.com.