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)
Does Latin have any neuter words for humans?
Journal standards vs. personal standards
Does a return economy-class seat between London and San Francisco release 5.28 tonnes of CO2 equivalents?
Why wasn't EBCDIC designed with contiguous alphanumeric characters?
How did Lefschetz do mathematics without hands?
Is it okay to submit a paper from a master's thesis without informing the advisor?
How do we separate rules of logic from non-logical constraints?
How do I tell the reader that my character is autistic in Fantasy?
Security Patch SUPEE-11155 - Possible issues?
What game is this character in the Pixels movie from?
Different budgets within roommate group
Bin Packing with Relational Penalization
Which is better for keeping data: primary partition or logical partition?
Put my student loan in parents’ second mortgage - help?
Should 私の be omitted?
Using “ser” without "un/una"?
Find the radius of the hoop.
Reusable spacecraft: why still have fairings detach, instead of open/close?
Bad guy wins in my book series
How to securely dispose of a smartphone?
Was it really unprofessional of me to leave without asking for a raise first?
What exactly did Ant-Man see that made him say that their plan worked?
Losing queen and then winning the game
Why wasn't ASCII designed with a contiguous alphanumeric character order?
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
5 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
5 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
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 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
3 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
5 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
5 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
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 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
5 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
5 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
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 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 8 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
5 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
5 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
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 hours ago
|
show 1 more comment
Note that there is an Amiri Quran font.
– Davislor
5 hours ago
It is also possible to loadbabel
and thebabelprovide[import, main]arabic
along withfontspec
.
– Davislor
5 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
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 hours ago
Note that there is an Amiri Quran font.
– Davislor
5 hours ago
Note that there is an Amiri Quran font.
– Davislor
5 hours ago
It is also possible to load
babel
and the babelprovide[import, main]arabic
along with fontspec
.– Davislor
5 hours ago
It is also possible to load
babel
and the babelprovide[import, main]arabic
along with fontspec
.– Davislor
5 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
4 hours ago
Load
usepackage[bidi=basic]babel
in LuaLaTeX. You might need bidi=default
in XeLaTeX.– Davislor
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 hours ago
Maybe I should do a separate answer. This is getting to the point where it doesn't belong in comments.
– Davislor
4 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
3 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
3 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 3 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
3 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
3 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
3 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
3 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