public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos-S0/GAf8tV78@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: SBL BibLit Font in Pandoc export
Date: Thu, 22 Dec 2022 13:25:55 +0100	[thread overview]
Message-ID: <4bc6d95e-72f9-fdd0-44bf-fcfb499b510c@web.de> (raw)
In-Reply-To: <CAB+Y0EUx2jit2u-87g8Q1cnR2LEJ1_RwBw4VKtV2eG5WvF_msg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 12/21/22 22:56, Stuart Thiessen wrote:
> After looking around more, I found that adding the following YAML to my
> markdown file seems to make the Hebrew and Greek appear when I do a
> Latex/Xetex --> PDF export with Pandoc. However, I can only get Everson
> Mono or Lucida Sans Unicode to format the Hebrew appropriately. So far,
> other fonts that have the Greek and Hebrew fonts (e.g., Calibri, Times
> New Roman, etc.) do not format the Hebrew correctly. The vowel points
> are off.

Hi Stuart,

I don’t think the fonts you mention may have the required glyphs.

> However ... if I use the Pandoc to docx converter, it formats
> just fine. I am suspecting it has something to do with the Latex / Xetex
> exporting.

XeTeX (LuaTeX or the TeX engine you use) has to find the font. And I’m
afraid that this is the missing part.

You may have installed it on your OS, but the fontname database needs to
be update (sorry, I don’t know how to do it [I use ConTeXt instead]).

> Do I need something else in my YAML to handle the Hebrew
> better? The text of my document is usually a mix of English, Hebrew, and
> Greek.

I would write (otherwise it is impossible to get other mainfont than
Everson Mono):

  mainfont: SBLBibLit

To check whether the font is known to ConTeXt, you may compile the
following source with "context file-name.tex" (or the file name you want):

  \definefontfeature[minimal][default][
      ccmp=yes,
      script=hebr
  ]
  \definefontfamily[hebrew] [rm] [SBL Hebrew] [features=minimal]
  \definefontfamily[newhebrew] [rm] [SBLBibLit] [features=minimal]
  \setupbodyfont[hebrew]
  \setupalign[r2l]
  \starttext
  \startTEXpage[offset=1ex]
      בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃
  \\\newhebrew
      בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃
  \stopTEXpage
  \stoptext

Just in case it might help,

Pablo

-- 
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/4bc6d95e-72f9-fdd0-44bf-fcfb499b510c%40web.de.


  parent reply	other threads:[~2022-12-22 12:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21 19:47 Stuart Thiessen
     [not found] ` <996ded0b-c2db-47c2-bce0-366c61a97009n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-21 20:03   ` AW: " denis.maier-NSENcxR/0n0
     [not found]     ` <cfdc30a5f3644989a1bad3eae41b858b-NSENcxR/0n0@public.gmane.org>
2022-12-21 20:47       ` Stuart Thiessen
     [not found]         ` <CAB+Y0EWhGYbhxOty=Uv4wG_x=zwEByd9o6VdL1pPeabwfJJ_5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-12-21 21:03           ` Stuart Thiessen
     [not found]             ` <CAB+Y0EVnAGPKP-NB=hM6hU0eVe-tzAbJy+CqViCSbYT9DvoTWw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-12-21 21:56               ` Stuart Thiessen
     [not found]                 ` <CAB+Y0EUx2jit2u-87g8Q1cnR2LEJ1_RwBw4VKtV2eG5WvF_msg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-12-21 22:45                   ` AW: " denis.maier-NSENcxR/0n0
     [not found]                     ` <3bceb33f594740489b6661592858cf10-NSENcxR/0n0@public.gmane.org>
2022-12-21 23:00                       ` Stuart Thiessen
2022-12-22 12:25                   ` Pablo Rodríguez [this message]
2022-12-21 21:04           ` AW: " denis.maier-NSENcxR/0n0

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=4bc6d95e-72f9-fdd0-44bf-fcfb499b510c@web.de \
    --to=oinos-s0/gaf8tv78@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).