How to write Quran via Latex?Diacritics inside an Epigraph in LyXHow to fix Package inputenc Error: “Unicode char u8:� not set up for use with LaTeX.”?Package inputenc ErrorI'm having trouble with inputenc package clashingHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?Problem with utf8 and maketitleInputenc Error:biber inputenc errorHow do you remove the Unicode character U+2B9 error?! Package inputenc Error: Unicode character � (U+FFFD)
Do home values typically rise and fall at a consistent percent?
Does a return economy-class seat between London and San Francisco release 5.28 tonnes of CO2 equivalents?
How Do I Know When I am in Private Mode?
Just graduated with a master’s degree, but I internalised nothing
How to describe POV characters?
Could this problem be tackled using Mathematica?
My colleague is constantly blaming me for his errors
Different budgets within roommate group
Why was Mal so quick to drop Bester in favour of Kaylee?
Journal standards vs. personal standards
How do I organize members in a struct to waste the least space on alignment?
How to unit test methods which using static methods?
How do I present a future free of gender stereotypes without being jarring or overpowering the narrative?
Should 私の be omitted?
What verb for taking advantage fits in "I don't want to ________ on the friendship"?
Word ending in "-ine" for rat-like
for xml path('') output
How do I tell the reader that my character is autistic in Fantasy?
What exactly is topology ??
Using “ser” without "un/una"?
Is it okay to fade a human face just to create some space to place important content over it?
The warming up game
Why wasn't ASCII designed with a contiguous alphanumeric character order?
I hit a pipe with a mower and now it won't turn
How to write Quran via Latex?
Diacritics inside an Epigraph in LyXHow to fix Package inputenc Error: “Unicode char u8:� not set up for use with LaTeX.”?Package inputenc ErrorI'm having trouble with inputenc package clashingHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?Problem with utf8 and maketitleInputenc Error:biber inputenc errorHow do you remove the Unicode character U+2B9 error?! Package inputenc Error: Unicode character � (U+FFFD)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I get this message when I compile it "
! Package inputenc Error: Unicode character ٰ (U+0670)
(inputenc) not set up for use with LaTeX. "
documentclass[11pt,a4paper]report
usepackagearabtex
usepackage[utf8]inputenc
usepackage[LFE,LAE]fontenc
usepackage[arabic]babel
usepackagequran
begindocument
quransurah[94]
enddocument
input-encodings
add a comment |
I get this message when I compile it "
! Package inputenc Error: Unicode character ٰ (U+0670)
(inputenc) not set up for use with LaTeX. "
documentclass[11pt,a4paper]report
usepackagearabtex
usepackage[utf8]inputenc
usepackage[LFE,LAE]fontenc
usepackage[arabic]babel
usepackagequran
begindocument
quransurah[94]
enddocument
input-encodings
add a comment |
I get this message when I compile it "
! Package inputenc Error: Unicode character ٰ (U+0670)
(inputenc) not set up for use with LaTeX. "
documentclass[11pt,a4paper]report
usepackagearabtex
usepackage[utf8]inputenc
usepackage[LFE,LAE]fontenc
usepackage[arabic]babel
usepackagequran
begindocument
quransurah[94]
enddocument
input-encodings
I get this message when I compile it "
! Package inputenc Error: Unicode character ٰ (U+0670)
(inputenc) not set up for use with LaTeX. "
documentclass[11pt,a4paper]report
usepackagearabtex
usepackage[utf8]inputenc
usepackage[LFE,LAE]fontenc
usepackage[arabic]babel
usepackagequran
begindocument
quransurah[94]
enddocument
input-encodings
input-encodings
asked 8 hours ago
AliAli
404 bronze badges
404 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The quran
package is for preparing files compiled with xelatex
(or, as Davislor notes, lualatex
). That is, it uses latex
macros with the xetex
(or luatex
) binary, which handles unicode natively. By contrast, arabtex
uses latex
macros with the pdftex
binary, which works with older and more limited encodings. That’s why arabtex
requires you to specify fontenc
and inputenc
— both things you should never do when using xetex
or luatex
.
Here’s a small example of the usage of quran
. But be sure to read its manual, because it offers many options and commands.
documentclassarticle
usepackagequran,polyglossia
setotherlanguagearabic
setmainfontAmiri
usepackagebidi
begindocument
setRTL
textarabicquransurah
enddocument
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
4 hours ago
@Davislor Thebabel
approach isn’ working for me: the letters appear in the right order, but disconnected.
– Thérèse
4 hours ago
Loadusepackage[bidi=basic]babel
in LuaLaTeX. You might needbidi=default
in XeLaTeX.
– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
|
show 1 more comment
Here is an example using the babel
package and the Amiri Quran font on LuaLaTeX.
documentclassbook
usepackage[bidi=basic]babel
usepackagefontspec
usepackagequran
babelprovide[import, main]arabic
babelfontrm%
[Ligatures=Common]Libertinus Serif
babelfontsf%
[Ligatures=Common]Libertinus Sans
babelfonttt%
Libertinus Mono
babelfont[arabic]rm%
[Contextuals=WordInitial, Inner, WordFinal,
Diacritics=MarkToBase,
BoldFont = Amiri Bold,
ItalicFont = Amiri Slanted,
BoldItalicFont = Amiri Bold Slanted]%
Amiri Quran
begindocument
quransurah[94]
enddocument
On XeLaTeX, you would need to change the option to usepackage[bidi=default]babel
.
You might also prefer to disable Contextuals
.
In case you need to use more than one language, it sets up the Libertinus font family, an extension of Linux Libertine by the designer of Amiri, as the default font family. This is an excellent companion font.
Do you get connected script withxetex
andusepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.
– Thérèse
2 hours ago
1
@Thérèse Yes, if I also remove theContextuals=
feature.
– Davislor
2 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f497591%2fhow-to-write-quran-via-latex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The quran
package is for preparing files compiled with xelatex
(or, as Davislor notes, lualatex
). That is, it uses latex
macros with the xetex
(or luatex
) binary, which handles unicode natively. By contrast, arabtex
uses latex
macros with the pdftex
binary, which works with older and more limited encodings. That’s why arabtex
requires you to specify fontenc
and inputenc
— both things you should never do when using xetex
or luatex
.
Here’s a small example of the usage of quran
. But be sure to read its manual, because it offers many options and commands.
documentclassarticle
usepackagequran,polyglossia
setotherlanguagearabic
setmainfontAmiri
usepackagebidi
begindocument
setRTL
textarabicquransurah
enddocument
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
4 hours ago
@Davislor Thebabel
approach isn’ working for me: the letters appear in the right order, but disconnected.
– Thérèse
4 hours ago
Loadusepackage[bidi=basic]babel
in LuaLaTeX. You might needbidi=default
in XeLaTeX.
– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
|
show 1 more comment
The quran
package is for preparing files compiled with xelatex
(or, as Davislor notes, lualatex
). That is, it uses latex
macros with the xetex
(or luatex
) binary, which handles unicode natively. By contrast, arabtex
uses latex
macros with the pdftex
binary, which works with older and more limited encodings. That’s why arabtex
requires you to specify fontenc
and inputenc
— both things you should never do when using xetex
or luatex
.
Here’s a small example of the usage of quran
. But be sure to read its manual, because it offers many options and commands.
documentclassarticle
usepackagequran,polyglossia
setotherlanguagearabic
setmainfontAmiri
usepackagebidi
begindocument
setRTL
textarabicquransurah
enddocument
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
4 hours ago
@Davislor Thebabel
approach isn’ working for me: the letters appear in the right order, but disconnected.
– Thérèse
4 hours ago
Loadusepackage[bidi=basic]babel
in LuaLaTeX. You might needbidi=default
in XeLaTeX.
– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
|
show 1 more comment
The quran
package is for preparing files compiled with xelatex
(or, as Davislor notes, lualatex
). That is, it uses latex
macros with the xetex
(or luatex
) binary, which handles unicode natively. By contrast, arabtex
uses latex
macros with the pdftex
binary, which works with older and more limited encodings. That’s why arabtex
requires you to specify fontenc
and inputenc
— both things you should never do when using xetex
or luatex
.
Here’s a small example of the usage of quran
. But be sure to read its manual, because it offers many options and commands.
documentclassarticle
usepackagequran,polyglossia
setotherlanguagearabic
setmainfontAmiri
usepackagebidi
begindocument
setRTL
textarabicquransurah
enddocument
The quran
package is for preparing files compiled with xelatex
(or, as Davislor notes, lualatex
). That is, it uses latex
macros with the xetex
(or luatex
) binary, which handles unicode natively. By contrast, arabtex
uses latex
macros with the pdftex
binary, which works with older and more limited encodings. That’s why arabtex
requires you to specify fontenc
and inputenc
— both things you should never do when using xetex
or luatex
.
Here’s a small example of the usage of quran
. But be sure to read its manual, because it offers many options and commands.
documentclassarticle
usepackagequran,polyglossia
setotherlanguagearabic
setmainfontAmiri
usepackagebidi
begindocument
setRTL
textarabicquransurah
enddocument
edited 3 hours ago
answered 7 hours ago
ThérèseThérèse
10.1k3 gold badges23 silver badges47 bronze badges
10.1k3 gold badges23 silver badges47 bronze badges
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
4 hours ago
@Davislor Thebabel
approach isn’ working for me: the letters appear in the right order, but disconnected.
– Thérèse
4 hours ago
Loadusepackage[bidi=basic]babel
in LuaLaTeX. You might needbidi=default
in XeLaTeX.
– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
|
show 1 more comment
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
4 hours ago
@Davislor Thebabel
approach isn’ working for me: the letters appear in the right order, but disconnected.
– Thérèse
4 hours ago
Loadusepackage[bidi=basic]babel
in LuaLaTeX. You might needbidi=default
in XeLaTeX.
– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
Note that there is an Amiri Quran font.
– Davislor
4 hours ago
It is also possible to load
babel
and the babelprovide[import, main]arabic
along with fontspec
.– Davislor
4 hours ago
It is also possible to load
babel
and the babelprovide[import, main]arabic
along with fontspec
.– Davislor
4 hours ago
@Davislor The
babel
approach isn’ working for me: the letters appear in the right order, but disconnected.– Thérèse
4 hours ago
@Davislor The
babel
approach isn’ working for me: the letters appear in the right order, but disconnected.– Thérèse
4 hours ago
Load
usepackage[bidi=basic]babel
in LuaLaTeX. You might need bidi=default
in XeLaTeX.– Davislor
3 hours ago
Load
usepackage[bidi=basic]babel
in LuaLaTeX. You might need bidi=default
in XeLaTeX.– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
3 hours ago
|
show 1 more comment
Here is an example using the babel
package and the Amiri Quran font on LuaLaTeX.
documentclassbook
usepackage[bidi=basic]babel
usepackagefontspec
usepackagequran
babelprovide[import, main]arabic
babelfontrm%
[Ligatures=Common]Libertinus Serif
babelfontsf%
[Ligatures=Common]Libertinus Sans
babelfonttt%
Libertinus Mono
babelfont[arabic]rm%
[Contextuals=WordInitial, Inner, WordFinal,
Diacritics=MarkToBase,
BoldFont = Amiri Bold,
ItalicFont = Amiri Slanted,
BoldItalicFont = Amiri Bold Slanted]%
Amiri Quran
begindocument
quransurah[94]
enddocument
On XeLaTeX, you would need to change the option to usepackage[bidi=default]babel
.
You might also prefer to disable Contextuals
.
In case you need to use more than one language, it sets up the Libertinus font family, an extension of Linux Libertine by the designer of Amiri, as the default font family. This is an excellent companion font.
Do you get connected script withxetex
andusepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.
– Thérèse
2 hours ago
1
@Thérèse Yes, if I also remove theContextuals=
feature.
– Davislor
2 hours ago
add a comment |
Here is an example using the babel
package and the Amiri Quran font on LuaLaTeX.
documentclassbook
usepackage[bidi=basic]babel
usepackagefontspec
usepackagequran
babelprovide[import, main]arabic
babelfontrm%
[Ligatures=Common]Libertinus Serif
babelfontsf%
[Ligatures=Common]Libertinus Sans
babelfonttt%
Libertinus Mono
babelfont[arabic]rm%
[Contextuals=WordInitial, Inner, WordFinal,
Diacritics=MarkToBase,
BoldFont = Amiri Bold,
ItalicFont = Amiri Slanted,
BoldItalicFont = Amiri Bold Slanted]%
Amiri Quran
begindocument
quransurah[94]
enddocument
On XeLaTeX, you would need to change the option to usepackage[bidi=default]babel
.
You might also prefer to disable Contextuals
.
In case you need to use more than one language, it sets up the Libertinus font family, an extension of Linux Libertine by the designer of Amiri, as the default font family. This is an excellent companion font.
Do you get connected script withxetex
andusepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.
– Thérèse
2 hours ago
1
@Thérèse Yes, if I also remove theContextuals=
feature.
– Davislor
2 hours ago
add a comment |
Here is an example using the babel
package and the Amiri Quran font on LuaLaTeX.
documentclassbook
usepackage[bidi=basic]babel
usepackagefontspec
usepackagequran
babelprovide[import, main]arabic
babelfontrm%
[Ligatures=Common]Libertinus Serif
babelfontsf%
[Ligatures=Common]Libertinus Sans
babelfonttt%
Libertinus Mono
babelfont[arabic]rm%
[Contextuals=WordInitial, Inner, WordFinal,
Diacritics=MarkToBase,
BoldFont = Amiri Bold,
ItalicFont = Amiri Slanted,
BoldItalicFont = Amiri Bold Slanted]%
Amiri Quran
begindocument
quransurah[94]
enddocument
On XeLaTeX, you would need to change the option to usepackage[bidi=default]babel
.
You might also prefer to disable Contextuals
.
In case you need to use more than one language, it sets up the Libertinus font family, an extension of Linux Libertine by the designer of Amiri, as the default font family. This is an excellent companion font.
Here is an example using the babel
package and the Amiri Quran font on LuaLaTeX.
documentclassbook
usepackage[bidi=basic]babel
usepackagefontspec
usepackagequran
babelprovide[import, main]arabic
babelfontrm%
[Ligatures=Common]Libertinus Serif
babelfontsf%
[Ligatures=Common]Libertinus Sans
babelfonttt%
Libertinus Mono
babelfont[arabic]rm%
[Contextuals=WordInitial, Inner, WordFinal,
Diacritics=MarkToBase,
BoldFont = Amiri Bold,
ItalicFont = Amiri Slanted,
BoldItalicFont = Amiri Bold Slanted]%
Amiri Quran
begindocument
quransurah[94]
enddocument
On XeLaTeX, you would need to change the option to usepackage[bidi=default]babel
.
You might also prefer to disable Contextuals
.
In case you need to use more than one language, it sets up the Libertinus font family, an extension of Linux Libertine by the designer of Amiri, as the default font family. This is an excellent companion font.
edited 2 hours ago
answered 2 hours ago
DavislorDavislor
8,85716 silver badges38 bronze badges
8,85716 silver badges38 bronze badges
Do you get connected script withxetex
andusepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.
– Thérèse
2 hours ago
1
@Thérèse Yes, if I also remove theContextuals=
feature.
– Davislor
2 hours ago
add a comment |
Do you get connected script withxetex
andusepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.
– Thérèse
2 hours ago
1
@Thérèse Yes, if I also remove theContextuals=
feature.
– Davislor
2 hours ago
Do you get connected script with
xetex
and usepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.– Thérèse
2 hours ago
Do you get connected script with
xetex
and usepackage[bidi=default]babel
? I don’t, with an up-to-date TeX Live 2019.– Thérèse
2 hours ago
1
1
@Thérèse Yes, if I also remove the
Contextuals=
feature.– Davislor
2 hours ago
@Thérèse Yes, if I also remove the
Contextuals=
feature.– Davislor
2 hours ago
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f497591%2fhow-to-write-quran-via-latex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown