Graphics, Figures & TablesConflict with Arabic and English language

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
aiman_mutasem
Posts: 1
Joined: Sun Feb 23, 2020 1:32 pm

Conflict with Arabic and English language

Post by aiman_mutasem »

Hello all :)

I'm trying to insert Arabic words within English text, I have downloaded the template from the journal site below:

https://journals.ieeeauthorcenter.ieee. ... ee-access/

Code: Select all

\documentclass{ieeeaccess}

\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
I get the below error when I trying to insert Arabic words:

Code: Select all

! Package inputenc Error: Unicode character ش (U+0634)
I have read an article recommended to use :

Code: Select all

\usepackage[arabic,USenglish]{babel}
When I call "\usepackage[arabic,USenglish]{babel}" , I get more than 20 errors, :(

Code: Select all

\documentclass{ieeeaccess}

\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[arabic,USenglish]{babel}


Errors list :

Code: Select all

! Undefined control sequence.
\thesubsection ... \c@section .\number \c@chapter
}\protect \else \protect \...
l.452 \subsection{Copyright Form}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
}
l.452 \subsection{Copyright Form}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\thesubsection ...ect \textLR {\number \c@chapter
.\number \c@section .\numb...
l.452 \subsection{Copyright Form}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
.
l.452 \subsection{Copyright Form}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\thesubsection ... \c@section .\number \c@chapter
}\protect \else \protect \...
l.452 \subsection{Copyright Form}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
}
l.452 \subsection{Copyright Form}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\thesubsection ...ect \textLR {\number \c@chapter
.\number \c@section .\numb...
l.452 \subsection{Copyright Form}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
.
l.452 \subsection{Copyright Form}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
Please, how I can fix this conflict?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply