1

I have been having difficulty inserting my Arabic transcripts and translations into my paper written in English. In order to typeset the Arabic I have been using polyglossia; however, in my paper, I have also used tipa for IPA symbols. Since tipa requires utf8 and polyglossia is not compatible with utf8, the two are incompatible, and I have not found a way to compile them together.

I am willing to change both or either package; I just need to be able to compile the document together.

Any help is appreciated.

The Arabic works like this:

\documentclass{article}
\usepackage[utf8]{inputenc}
%\usepackage{tipa} %IPA
%\usepackage{utf8}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Times New Roman}

\begin{document}
\begin{Arabic}
الجملة مثال   
\end{Arabic} \\

\begin{english} 
al-\textipa{Z}umla mi\textipa{T}aal
\end{english}
\end{document}

The IPA works like this:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tipa} %IPA
\usepackage{utf8}
%\usepackage{fontspec}
%\usepackage{polyglossia}
%\setmainlanguage{english}
%\setotherlanguage{arabic}
%\newfontfamily\arabicfont[Script=Arabic]{Times New Roman}

\begin{document}
\begin{Arabic}
الجملة مثال   
\end{Arabic} \\

\begin{english} 
al-\textipa{Z}umla mi\textipa{T}aal
\end{english}
\end{document}
5
  • Have you seen tex.stackexchange.com/q/64830 ?
    – Thérèse
    Sep 19, 2018 at 8:32
  • I just tried. Sadly, it still told me that it was unable to work with utf8 based engines. Sep 21, 2018 at 11:07
  • We need a minimal example in order to help you.
    – Thérèse
    Sep 21, 2018 at 11:19
  • I very reluctantly gave up on tipa and ASCII-only input for IPA symbols as a relic of the past. Besides al-\textipa{Z}umla is not the most elegant input. Is there any reason why yoou don't just use the unicode symbols directly? al-ʒumla. Use CMU Serif as the English font
    – Au101
    Sep 21, 2018 at 12:19
  • @Au101 Thank you! I finally got it to work! I was unaware that certain fonts were already unicode enabled. Sep 22, 2018 at 16:49

1 Answer 1

1

For those being bound to ascii input by strong and lasting ties as I am, here is a solution without polyglossia. It needs lualatex and is compatible with babel:

\documentclass{article}

\usepackage[novoc]{arabluatex}

\usepackage{tipa}

\begin{document}

UTF Arabic input:
\begin{txarab}
الجملة مثال   
\end{txarab}

arabtex ASCII input:
\begin{arab}
  al-jumlaT mi_tAl
\end{arab}

TIPA:\\
al-\textipa{Z}umla mi\textipa{T}aal

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .