From: Melroch <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Going round in circles with latex output
Date: Tue, 06 Jun 2017 06:41:20 +0000 [thread overview]
Message-ID: <CADAJKhD0J3JG_qqs1yz5eDORPFRFJCsefUwsGq4+taYkvn95-Q@mail.gmail.com> (raw)
In-Reply-To: <89122680-f883-4853-a97f-a81861395b78-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3905 bytes --]
You need the --latex-engine=xelatex option.
tis 6 juni 2017 kl. 07:53 skrev Lyndon Drake <lyndon-S8RYeTzMgQ3QT0dZR+AlfA@public.gmane.org>:
> 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 convert
> 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 ṣ (U+1E63)
>
> (inputenc) not set up for use with LaTeX.
>
>
> See the inputenc package documentation for explanation.
>
> Type H <return> for immediate help.
>
> ...
>
>
>
> l.125 Vandenhoeck \& Ruprecht, 1990), 39--62.}
>
>
> Try running pandoc with --latex-engine=xelatex.
>
> 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 bibliography,
> 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 to
> 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=OldStyle
> 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
> <https://groups.google.com/d/msgid/pandoc-discuss/89122680-f883-4853-a97f-a81861395b78%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CADAJKhD0J3JG_qqs1yz5eDORPFRFJCsefUwsGq4%2BtaYkvn95-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 7829 bytes --]
next prev parent reply other threads:[~2017-06-06 6:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 5:52 Lyndon Drake
[not found] ` <89122680-f883-4853-a97f-a81861395b78-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-06 6:41 ` Melroch [this message]
[not found] ` <CADAJKhD0J3JG_qqs1yz5eDORPFRFJCsefUwsGq4+taYkvn95-Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-06 7:01 ` Lyndon Drake
[not found] ` <99f9330e-3a82-4a0d-8bb4-4ec2513723fe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-06 12:08 ` BPJ
[not found] ` <CADAJKhAMLTJrfZG28bac8X+Sj589=vqJ18WswEax=1iEukafgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-06 13:26 ` Lyndon Drake
[not found] ` <e028cdb2-2ace-4a13-8a13-3c2858f002b1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-06 16:26 ` Joost Kremers
[not found] ` <87d1ah84m4.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2017-06-06 20:51 ` Lyndon Drake
[not found] ` <2a8d8b0d-2740-4dfb-8718-f06432d6425f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-06 21:03 ` Lyndon Drake
2017-06-11 8:43 ` John MacFarlane
[not found] ` <20170611084305.GD95963-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2017-06-11 13:28 ` Lyndon Drake
2017-06-07 16:23 ` BP Jonsson
[not found] ` <ad97e931-ac10-0204-d03e-c646e32e4ba1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-08 10:13 ` Lyndon Drake
[not found] ` <CADAJKhBNwTRaK=Htarn-YzJfCSVCeN5C-z46XBArgW1J6R3RYA@mail.gmail.com>
[not found] ` <CADAJKhBNwTRaK=Htarn-YzJfCSVCeN5C-z46XBArgW1J6R3RYA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-08 17:20 ` Melroch
[not found] ` <CADAJKhD=6C2Zz0J3u2jB_7XyX+4+b4ui1bTr6wTG5kSVDHbYaA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-09 8:02 ` Lyndon Drake
[not found] ` <a5d78535-d049-49c9-a77b-ddfa3b226302-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-09 11:12 ` Melroch
[not found] ` <CADAJKhDeJ6fWqdr36Yd1fgZLbTL6FZGVPGahNN44HoezJo69dQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-10 8:38 ` Lyndon Drake
2017-06-07 5:43 ` iandol
[not found] ` <9105b544-18e3-4f40-be43-fb04c838b4de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-07 8:35 ` Lyndon Drake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADAJKhD0J3JG_qqs1yz5eDORPFRFJCsefUwsGq4+taYkvn95-Q@mail.gmail.com \
--to=melroch-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).