Skip to content
David Purton edited this page May 21, 2018 · 3 revisions

FAQ

I really want to use polyglossia. What do I have to do?

Set your document language and fonts up like this:

\usepackage{polyglossia}
\usepackage[style=american]{csquotes}
\setmainlanguage[variant=american]{english}
\setotherlanguage[variant=ancient]{greek}
\setotherlanguage{hebrew}

\newfontfamily\greekfont{SBL BibLit}[Ligatures=TeX,Script=Greek,Contextuals=Alternate]
\newfontfamily\hebrewfont{SBL BibLit}[Ligatures=TeX,Script=Hebrew,Contextuals=Alternate,Scale=1.2]

\usepackage[style=sbl]{biblatex}

\DefineBibliographyExtras{english}{%
  \uspunctuation
  \protected\def\mkdaterangecomp{%
    \mkdaterangetrunc{long}}%
  \protected\def\mkdaterangeterse{%
    \mkdaterangetrunc{short}}%
  \protected\def\mkdaterangecompextra{%
    \mkdaterangetruncextra{long}}%
  \protected\def\mkdaterangeterseextra{%
    \mkdaterangetruncextra{short}}%
  \protected\def\mkbibdatelong#1#2#3{%
    \iffieldundef{#3}
      {}
      {\thefield{#3}%
       \iffieldundef{#2}{}{\nobreakspace}}%
    \iffieldundef{#2}
      {}
      {\mkbibmonth{\thefield{#2}}%
       \iffieldundef{#1}{}{\space}}%
    \iffieldbibstring{#1}
      {\bibstring{\thefield{#1}}}
      {\dateeraprintpre{#1}\stripzeros{\thefield{#1}}}}%
}
Clone this wiki locally