From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17782 Path: news.gmane.org!.POSTED!not-for-mail From: Melroch Newsgroups: gmane.text.pandoc Subject: Re: Going round in circles with latex output Date: Tue, 06 Jun 2017 06:41:20 +0000 Message-ID: References: <89122680-f883-4853-a97f-a81861395b78@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114fc6a6e84585055144e8c0" X-Trace: blaine.gmane.org 1496731291 4565 195.159.176.226 (6 Jun 2017 06:41:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Jun 2017 06:41:31 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBG453HEQKGQE2AGHL3A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 06 08:41:27 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw0-f184.google.com ([209.85.161.184]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI8BC-0000t3-EN for gtp-pandoc-discuss@m.gmane.org; Tue, 06 Jun 2017 08:41:26 +0200 Original-Received: by mail-yw0-f184.google.com with SMTP id z189sf6010471ywz.1 for ; Mon, 05 Jun 2017 23:41:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1496731291; cv=pass; d=google.com; s=arc-20160816; b=Ja8TVThHSnSjlpfa+0hyLUaMfaIDX4HfKPCKpDmDfSNeoJ/dV86oRIFMYDCkhZsiZR sZzXnKBkTi2EbMXI9KaUK5dyPCRB3R2PyRQugnI+r0FzDQsTz47s5AyS31fWahzfaV9S qRqWpNQbTDENrka1PmpkvGtGdQmNEa+QGudw92S7+WzRsL5foCOIbSZW+no2QjdrnC+R naLwseWtDNc6BRTywPXt4pc5XWzZ676gM0CuPrCx+sccMsuhSgYzmq09+csUNk6Le27s QUSHS/C1yw1+lIZ32RnVB20JMVW873s3rz9Wy5HIskEjbwaaub4f8vD288Wn7jjF9NzO NlIQ== 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:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=h4ShmEitab8SdYWTErv/S4zAzZp10nElQw4R7MGUFPI=; b=zfhs8imKKrGBLYOMjbqrP961AyfJrvShRAL6ZnPcgn5VxwUJzrmvMZ9+7bb8CTQ6M2 mPsbpNDdWqj66UuOJ34AdSrGtyaVyb3e4d2rqEaF8Gww8HtJ93CVuQEcUiXqcGXJ6v0N gRjQ0Skg80gVFRTM2RsRHC/46J8e7/i6OOKz3VHkMF8WWkNH+MB4qglffQGa/9mEUuuj np63lBp3FWg0iyibK//VkyWvNU6j61+Csr4qwwq/S1taUgzG88bnyPGMsGSzbpR4eH3I +5aVkVxI+yL3ry23okYz/GqkKEx4pU4xFrqWxKRpokFwe/hjW2eAelfmJnJCMRaF5F05 4d7g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=h4ShmEitab8SdYWTErv/S4zAzZp10nElQw4R7MGUFPI=; b=FJ4794IIpiLC4YlDSgVIeQP+nRSllzB38YF5FRVF/DfZe/yadmYcddi5De/7F6/gCJ U+yBQSoyEywCfowjUXgu5TCUW5rWnB9/642a6WS13Zdw2JV0wCrnNWkWfSycDKoSAyf7 YhfY+/POonB1O0f0C0VD6S+4gvrWQUxYM/qB1j74+IHa19Z6dlh1memIU23xMUGAeM8Z IF3X/e9CFU3OCtC2ZgFk8LdeFtjXY+Bh+1WZcgtDt+vRp7F69+YBH+5bMMQtB+UMdgaX bhzwyDDTV13yrobZ6vSN/lPowegDeLLn5dgiETfpCZisuUn1JI0omEzo8G8weWa39Skk Q6Sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=h4ShmEitab8SdYWTErv/S4zAzZp10nElQw4R7MGUFPI=; b=fWjZp7x4zXconFmSvOBYKO77VmeM3bLPG3C4lXf3Qgp/qMb4PBpKY+DurlHTEr8FX+ rfQuxj4J0dW10DtNQdZc0p9Jhn2L5XSATwCFM5J7k+rVYnJ43/Y9Ker/YJigoaK8wRBE OcLSXbi6v+kpQRcz/xObbiOmIk0a9R74h0/oR9hJ/gJ6ZzMLW6sgyTTiSSQ/RHJO0YOw 7sHRmi7oO/Kp2xn5bZJEo1bUuQsxndR3u3XoXNl4KEb0T0mDVyGfeYfbfNAmBrsSRqfj 0DoZnslF87+BBHA/oTbX8m0Y5FAGEISu5P7ixaIaJ0ZBss1d0krIE+G1RLua3jOsmH/D gHEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=h4ShmEitab8SdYWTErv/S4zAzZp10nElQw4R7MGUFPI=; b=EGmdFM1WJwdOVuxrz1ElqU8OCSwRLv/jfj/7+e+enbGomJQ2H/2FHmQf+YpgcgBeDs CarUklgYJ8jTnOwlbLtVycMjV3jgtP0oPOQTEs/gmkOeVE2kj/QGumEny+Ut8RVbtiTK ZKfdqv2Xio6EezHr/jcFoFpHjTDP5afaeX9qsw9NkNQwBkcQNnJKzQuKMzkrG6rb4HVq eecClkPn61b/q20beSFMFeDJY6kAiRn2uCll4UdUqMka0dXXd0AJeNNRjP0I5SDE4CES J2bZfO1n0+yor7Jo/d7DmnoDMFXSKShMw4IoPspl26sFKltJt5upbmiditTBmE3QjQQp qmvA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcDfOyuEudZ1b5z8vz/n0KT+Fzccd/DE/6EjygjmMeuc2EET2FyZ oF1CMoOW3Zj2Bg== X-Received: by 10.157.48.161 with SMTP id s33mr546732otc.1.1496731291785; Mon, 05 Jun 2017 23:41:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.2.67 with SMTP id 61ls1901228otb.18.gmail; Mon, 05 Jun 2017 23:41:31 -0700 (PDT) X-Received: by 10.157.24.45 with SMTP id b42mr2765809ote.144.1496731291239; Mon, 05 Jun 2017 23:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496731291; cv=none; d=google.com; s=arc-20160816; b=o03tPd60G43zeH3/KMSE/FVV/06yUdTdvherVglSVP45YYq+wbRTZYMPQsyqIkxtCL TdGwu90FIEmOJPhIrZpl4SrqKe7q5CUwuqQuLAFqIpU4GPXHggsfhoFdz3sTLhFlLlZ7 chkvbmDwj6rJsu6ZXLzoyM84FlHJ90lWNp5zf4k2HEPuOLob0fRqtHkLzY5B7du7Fe5U JH7IVW61ry9UoHR2YtyfSeSntIIRVSt0opQV9dNiN01dgZoPoGlFxdXtmDi0jljxP+rO rMJy2bOWZND8faGQv5XL3kjbgMdzxzMeLtuCnU0ZH/bdiqQV5Fz6YYPBUgP7FtANlFy3 p+wg== 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:arc-authentication-results; bh=VU6tL9NZqgn+hGICPA72xq1gp0/JgcX2t6lkT1qN6AQ=; b=EvDVJXSo6SmxYmimr1d3LYOWSXR9K1VtLHST1632nGsnT/9BZU1Ha/o0y0FGRW3V1N HudXVmOyZBVM3p8t0kd/5Eo4Xhu2q4DI5/Gc7fk5MXF8tEcWnAcklzyoAWBuCWqMNpUt IHWYJhjPR7UEC0FDv4/oV2fkcwzGr7XZ64YomidC4/pfzgbn6ndjkdkxq1P7Tab49zei TjX3fj21gG0EWqWYyqkGjXsskO19+S9zSn0ydg+NvNKD41CfR3gZxTI5ELIxQLpKOgNA 3aku3+4HWE0L2ILYsL9Br/l2j5dRtnY8Vw3vjU+v6yYKnOWfEwdL7OzQ1PThQAcQ5qlN mFZA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com. [2607:f8b0:400d:c0d::22f]) by gmr-mx.google.com with ESMTPS id l187si66662ywc.5.2017.06.05.23.41.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jun 2017 23:41:31 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22f as permitted sender) client-ip=2607:f8b0:400d:c0d::22f; Original-Received: by mail-qt0-x22f.google.com with SMTP id u19so60175183qta.3 for ; Mon, 05 Jun 2017 23:41:31 -0700 (PDT) X-Received: by 10.55.162.145 with SMTP id l139mr3686172qke.162.1496731290714; Mon, 05 Jun 2017 23:41:30 -0700 (PDT) In-Reply-To: <89122680-f883-4853-a97f-a81861395b78-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE 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.org gmane.text.pandoc:17782 Archived-At: --001a114fc6a6e84585055144e8c0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You need the --latex-engine=3Dxelatex option. tis 6 juni 2017 kl. 07:53 skrev Lyndon Drake : > Hi all, > > Many apologies as I'm sure this is all obvious once one knows, but I'm a > bit stuck. I've got some Pandoc Markdown files which I'm trying to conver= t > to PDF using Pandoc. They include various non-ascii characters, all in > unicode. If I run: > > /usr/local/bin/pandoc -f > markdown+pipe_tables+grid_tables+yaml_metadata_block --filter > pandoc-citeproc --filter pandoc-csv2table -s -o formatted/Draft3.pdf > text/metadata.yaml text/1-Introduction.md > > I get the following: > > ! Package inputenc Error: Unicode char =E1=B9=A3 (U+1E63) > > (inputenc) not set up for use with LaTeX. > > > See the inputenc package documentation for explanation. > > Type H for immediate help. > > ... > > > > l.125 Vandenhoeck \& Ruprecht, 1990), 39--62.} > > > Try running pandoc with --latex-engine=3Dxelatex. > > pandoc: Error producing PDF > > > So the next step was to switch to xelatex based on the helpful suggestion > from pandoc. As long as I don't try to use any babel or polyglossia > environments, or biblatex, this works fine. But as I want to use both, I'= m > a bit stuck. First thing is that it looks like the default template tries > to use babel rather than polyglossia if xetex is the engine. Is there a > reason for this? (I want to use the biblatex-sbl style for my bibliograph= y, > and they recommend polyglossia.) > > I want to use English (UK) as my main language, with Hebrew and Syriac as > other languages (I've also got some ancient Greek, but the main font I've > chosen works fine and the output looks good for that without using a > separate language environment). > > As a starting point, what language options do I set in my YAML metadata t= o > enable those other two language environments, and how do I specify the > fonts for them? > > Here's my YAML metadata file so far: > > --- > author: Lyndon Drake > documentclass: memoir > toc: true > papersize: a4 > fontsize: 12pt > top-level-division: chapter > number-sections: true > mainfont: Skolar PE Light > mainfontoptions: Numbers=3DOldStyle > bibliography: /Users/lyndon/Documents/Media/Bibliography/0lib.bib > csl: > /Users/lyndon/Documents/Media/Bibliography/society-of-biblical-literature= -fullnote-bibliography.csl > notes-after-punctuation: true > --- > > Many thanks in advance for any help on this, > Lyndon > > -- > 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 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/89122680-f883-4853-a97f-= a81861395b78%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > --=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/CADAJKhD0J3JG_qqs1yz5eDORPFRFJCsefUwsGq4%2BtaYkvn95-Q%40mail= .gmail.com. For more options, visit https://groups.google.com/d/optout. --001a114fc6a6e84585055144e8c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You need =C2=A0the --latex-engine=3Dxelatex option.


tis 6 juni 2017 kl. 07:53 skrev = Lyndon Drake <lyndon-S8RYeTzMgQ3QT0dZR+AlfA@public.gmane.org= >:
Hi all,
<= br>
Many apologies as I'm sure this is all obvious once one knows,= but I'm a bit stuck. I've got some Pandoc Markdown files which I&#= 39;m trying to convert to PDF using Pandoc. They include various non-ascii = characters, all in unicode. If I run:

/usr/local/bin/pandoc -f ma= rkdown+pipe_tables+grid_tables+yaml_metadata_block --filter pandoc-citeproc= --filter pandoc-csv2table -s -o formatted/Draft3.pdf text/metadata.yaml te= xt/1-Introduction.md


I get the following:

! Package inputenc Error: Unicode char =E1=B9=A3 (U+1E63)

(inputenc= )=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 not set up for use= with LaTeX.


See the i= nputenc package documentation for explanation.

Type=C2= =A0 H <return>=C2=A0 for immediate help.

=C2=A0...= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0

=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0

l.125 =C2= =A0 Vandenhoeck \& Ruprecht, 1990), 39--62.}


Try runni= ng pandoc with --latex-engine=3Dxelatex.

pandoc: E= rror producing PDF



So the next step was to switch to xelat= ex based on the helpful suggestion from pandoc. As long as I don't try = to use any babel or polyglossia environments, or biblatex, this works fine.= But as I want to use both, I'm a bit stuck. First thing is that it loo= ks like the default template tries to use babel rather than polyglossia if = xetex is the engine. Is there a reason for this? (I want to use the biblate= x-sbl style for my bibliography, and they recommend polyglossia.)

I = want to use English (UK) as my main language, with Hebrew and Syriac as oth= er languages (I've also got some ancient Greek, but the main font I'= ;ve chosen works fine and the output looks good for that without using a se= parate language environment).

As a starting point, what language opt= ions do I set in my YAML metadata to enable those other two language enviro= nments, and how do I specify the fonts for them?

Here's my YAML = metadata file so far:

---
=C2=A0 author: Lyndon= Drake
=C2=A0 documentclass: memoir
=C2=A0 toc: true
=C2=A0 papersize: a4
=C2=A0 fontsize: 12pt
=C2= =A0 top-level-division: chapter
=C2=A0 number-sections: true
=C2=A0 mainfont: Skolar PE Light
=C2=A0 mainfontoptions: Nu= mbers=3DOldStyle
=C2=A0 bibliography: /Users/lyndon/Documents/Med= ia/Bibliography/0lib.bib
=C2=A0 csl: /Users/lyndon/Documents/Medi= a/Bibliography/society-of-biblical-literature-fullnote-bibliography.csl
=C2=A0 notes-after-punctuation: true
---

Many thanks in advance for any help on this,
Lyndon
=

--
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-/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/89122680-f883-4853-a97f-a8186139= 5b78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhD0J3JG_qqs1yz5eDORPFRFJCsefUwsGq= 4%2BtaYkvn95-Q%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a114fc6a6e84585055144e8c0--