From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16794 Path: news.gmane.org!.POSTED!not-for-mail From: John Muccigrosso Newsgroups: gmane.text.pandoc Subject: Re: Ancient Greek in output PDF Date: Tue, 24 Jan 2017 10:53:12 -0800 (PST) Message-ID: <67ea3fe7-0d6b-4ad2-8010-d69295cba0b8@googlegroups.com> References: <45028ac1-86cf-40ee-b3b8-7560eb9dce47@googlegroups.com> <91f1b15e-860d-8b35-1451-aca9fdf4ec45@web.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_903_2088179789.1485283992392" X-Trace: blaine.gmane.org 1485284014 30678 195.159.176.226 (24 Jan 2017 18:53:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2017 18:53:34 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX7HCFDXYLRBGOFT3CAKGQEKDTOQBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 24 19:53:30 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f192.google.com ([209.85.223.192]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cW6DM-0005yB-9D for gtp-pandoc-discuss@m.gmane.org; Tue, 24 Jan 2017 19:53:08 +0100 Original-Received: by mail-io0-f192.google.com with SMTP id c80sf61103649iod.1 for ; Tue, 24 Jan 2017 10:53:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=wCHMCN1iRjEqFB6SOOxn5zzjStMGjpokmYW95VStsR4=; b=hMYkKQOiBmJPYmIeBLdUlvlokze6Vk3tfN3M6oeEx/vHL1Wdhz2VO1hkZwFAJgV2b9 xS/ILhBM3UG5irXqi8UyloQ4nfh279yDPoBNXBYIio4/Nlk+gdYxIsIsf6QS7TjQcGRU YsqG/QByK6fiFuXa+hyJnk742zdaBO70cJqOnZI5rrUcDl6Ob4dznxQpPr0aCZVR3Ul6 6Z5pBV6UHA1ZnTwIElk80XFSavpPKUHs3s6wj60K35viSAJh//HBEjjsQf0oUPYLgATg v42IU0zBmWnCQpqI9GTxONPot9DCQTyfkCob1dNMjg++cntj54aYK00alyL45j+YSUb8 ps5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=wCHMCN1iRjEqFB6SOOxn5zzjStMGjpokmYW95VStsR4=; b=XR0mJY5KHQ/SoLQZn9Jx8mqMbbdOR2uby8wGRaY3O1klzJlLnM30ayFW7n5kX4+jfZ iWbdTlfsU3QFuzv8WRYsSi073FQTTWi5igekMPEqO4W0gYtWuT+K0OLMjjnLOmaDwxOX iexpB+jfeFEs0qlqjvmb8DvHcSvnu656PE8MYHs9d1qfHSFJb9Fu6iJuTRtFaYjAXU0Q J6o1KxpuB06NsVCka2WZ87Tg0OmuiDaUwhLuPLoYG+sRqZJLelqX1LCA3ipYg5WkzpFI RXIslAr7JWCo6ep1Qr5otyxe9ziV1JEHCRYMMbzNmOv+GGHRknJGoeue4WmeIVkXpoV5 ApQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=wCHMCN1iRjEqFB6SOOxn5zzjStMGjpokmYW95VStsR4=; b=ELzxnIxTnS+z57Nf5N0Lhw8Quh3pqyuHelDROQN9YbIzi714XNaWNEXZsNgkh6GmRK p/R1k9RGkUDxNLJ+T2iMbubNHUZ6luImCf+bkUp+ut/MsYpkbOx47NgAEyA4uwrYDXUe OFLHVbmJk9m7znMQeJdpqjCFpGINBy9Sl0MRCHv6hChaz04fhmyPInGmh9b6ONOL5GRk Kqkou6WCw/gLtiM/8jwYWUta0RUUwEC011PsnsddX2N3uV8idfgGptMelWdd/tXXFZbV Jtv3fDlxTEeKffo+kKAi2qfb9/oHaXG2ngnhLVI7AcWg9puD54FPTkgtKNSaolXfh2u5 04Tg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIkVDXKwaRVqm17l3bRbNUV71jSVFKixQuMagbYSS98Ek4EpagsVA08ewQe3K/vcpdjxjQ== X-Received: by 10.157.8.10 with SMTP id 10mr2955013oty.19.1485283993437; Tue, 24 Jan 2017 10:53:13 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.9.140 with SMTP id q12ls16112050otd.6.gmail; Tue, 24 Jan 2017 10:53:12 -0800 (PST) X-Received: by 10.157.46.212 with SMTP id w78mr2964607ota.0.1485283992912; Tue, 24 Jan 2017 10:53:12 -0800 (PST) In-Reply-To: <91f1b15e-860d-8b35-1451-aca9fdf4ec45-S0/GAf8tV78@public.gmane.org> X-Original-Sender: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:16794 Archived-At: ------=_Part_903_2088179789.1485283992392 Content-Type: multipart/alternative; boundary="----=_Part_904_375880215.1485283992392" ------=_Part_904_375880215.1485283992392 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tuesday, January 24, 2017 at 12:35:08 PM UTC-5, ousia wrote: > > On 01/19/2017 05:08 PM, John Muccigrosso wrote:=20 > > I was helping a friend use pandoc to go from markdown to PDF on a Mac.= =20 > > His problem was that the default PDF output couldn't handle the Greek= =20 > > characters.=20 > > [...]=20 > > I'm concluding that the default PDF output font (Latin Modern Roman?)= =20 > > doesn't have these characters, whereas Baskerville (among others) does.= =20 > > Sorry for my delayed reply, John.=20 > > The Latin Modern typeface only contains Latin glyphs.=20 > > > Is this right? Is there another way to solve this within the default=20 > setup?=20 > > https://cm-unicode.sf.net contains Computer Modern fonts in OpenType=20 > format. The following should work:=20 > > \setmainfont{CMU Serif}=20 > > Even defining a fallaback font for Greek characters should be easy with= =20 > fontspec. But I haven=E2=80=99t used LaTeX for years and I don=E2=80=99t = remember how to=20 > do it.=20 > =20 Thanks. I found them here: http://cm-unicode.sourceforge.net=20 It looks like the CMU Serif is (nearly) identical to Latin Modern Roman. I have a default.latex that sets my own fonts, but I think I'll modify it= =20 to be sensitive to main font being set in the YAML. --=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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/67ea3fe7-0d6b-4ad2-8010-d69295cba0b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_904_375880215.1485283992392 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tuesday, January 24, 2017 at 12:35:08 PM UTC-5, ousia w= rote:
On 01/19/2017 05:08 PM, J= ohn Muccigrosso wrote:
> I was helping a friend use pandoc to go from markdown to PDF on a = Mac.
> His problem was that the default PDF output couldn't handle th= e Greek
> characters.
> [...]
> I'm concluding that the default PDF output font (Latin Modern = Roman?)
> doesn't have these characters, whereas Baskerville (among othe= rs) does.

Sorry for my delayed reply, John.

The Latin Modern typeface only contains Latin glyphs.

> Is this right? Is there another way to solve this within the defau= lt setup?

https://c= m-unicode.sf.net contains Computer Modern fonts in OpenType
format. The following should work:

=C2=A0 =C2=A0 \setmainfont{CMU Serif}

Even defining a fallaback font for Greek characters should be easy with
fontspec. But I haven=E2=80=99t used LaTeX for years and I don=E2=80=99= t remember how to
do it.
=C2=A0
Thanks. I found them here: http://cm= -unicode.sourceforge.net=C2=A0

It looks like the C= MU Serif is (nearly) identical to Latin Modern Roman.

<= div>I have a default.latex that sets my own fonts, but I think I'll mod= ify it to be sensitive to main font being set in the YAML.


--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/67ea3fe7-0d6b-4ad2-8010-d69295cba0b8%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_904_375880215.1485283992392-- ------=_Part_903_2088179789.1485283992392--