Output Devanagari (Hindi) from raw unicode using luatex Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Conflict between color, graphicx and libertineXeTex - Times New Roman font for Romanian characters ș, ț, Ș and ȚIs LuaLaTeX producing faulty pdfs?Using a handwriting font from myscriptfont.comVietnamese in TexShop — MacTexspecial characters cannot show after changing font with lualatexVery multilingual work'table index is nil' error when using the Avenir font with fontspec + luatexTurkish characters do not appear end of the wordWho changed my Chinese character?
Putting class ranking in CV, but against dept guidelines
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
Maximum summed subsequences with non-adjacent items
What to do with repeated rejections for phd position
Why weren't discrete x86 CPUs ever used in game hardware?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Crossing US/Canada Border for less than 24 hours
What does it mean that physics no longer uses mechanical models to describe phenomena?
How many morphisms from 1 to 1+1 can there be?
Is there public access to the Meteor Crater in Arizona?
AppleTVs create a chatty alternate WiFi network
Misunderstanding of Sylow theory
Google .dev domain strangely redirects to https
Do wooden building fires get hotter than 600°C?
As Singapore Airlines (Krisflyer) Gold, can I bring my family into the lounge on a domestic Virgin Australia flight?
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
Getting prompted for verification code but where do I put it in?
Most bit efficient text communication method?
What do you call the main part of a joke?
Why is it faster to reheat something than it is to cook it?
Is CEO the "profession" with the most psychopaths?
How could we fake a moon landing now?
What's the point of the test set?
Output Devanagari (Hindi) from raw unicode using luatex
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Conflict between color, graphicx and libertineXeTex - Times New Roman font for Romanian characters ș, ț, Ș and ȚIs LuaLaTeX producing faulty pdfs?Using a handwriting font from myscriptfont.comVietnamese in TexShop — MacTexspecial characters cannot show after changing font with lualatexVery multilingual work'table index is nil' error when using the Avenir font with fontspec + luatexTurkish characters do not appear end of the wordWho changed my Chinese character?
I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi नमस्ते
enddocument
However, I'm using a program that outputs the tex and that won't allow me to type the Hindi script into my tex editor; instead, it will only give me the unicode version of the word, "नमस्ते", which is "".
How can I get luatex to compile correctly from these raw code characters? What I want to compile (to produce a pdf with the single word "नमस्ते") is something like this:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi <U+0928><U+092E><U+0938><U+094D><U+0924><U+0947>
enddocument
...but that won't work.
fonts luatex languages characters
add a comment |
I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi नमस्ते
enddocument
However, I'm using a program that outputs the tex and that won't allow me to type the Hindi script into my tex editor; instead, it will only give me the unicode version of the word, "नमस्ते", which is "".
How can I get luatex to compile correctly from these raw code characters? What I want to compile (to produce a pdf with the single word "नमस्ते") is something like this:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi <U+0928><U+092E><U+0938><U+094D><U+0924><U+0947>
enddocument
...but that won't work.
fonts luatex languages characters
add a comment |
I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi नमस्ते
enddocument
However, I'm using a program that outputs the tex and that won't allow me to type the Hindi script into my tex editor; instead, it will only give me the unicode version of the word, "नमस्ते", which is "".
How can I get luatex to compile correctly from these raw code characters? What I want to compile (to produce a pdf with the single word "नमस्ते") is something like this:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi <U+0928><U+092E><U+0938><U+094D><U+0924><U+0947>
enddocument
...but that won't work.
fonts luatex languages characters
I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi नमस्ते
enddocument
However, I'm using a program that outputs the tex and that won't allow me to type the Hindi script into my tex editor; instead, it will only give me the unicode version of the word, "नमस्ते", which is "".
How can I get luatex to compile correctly from these raw code characters? What I want to compile (to produce a pdf with the single word "नमस्ते") is something like this:
documentclassarticle
usepackagefontspec
setmainfontTimes New Roman
newfontscriptDevanagarideva,dev2
newfontfacehindi[Script=Devanagari]Lohit-Devanagari.ttf
begindocument
Here is normal text.
hindi <U+0928><U+092E><U+0938><U+094D><U+0924><U+0947>
enddocument
...but that won't work.
fonts luatex languages characters
fonts luatex languages characters
asked 5 mins ago
lethalSingerlethalSinger
82
82
add a comment |
add a comment |
0
active
oldest
votes
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%2f485697%2foutput-devanagari-hindi-from-raw-unicode-using-luatex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f485697%2foutput-devanagari-hindi-from-raw-unicode-using-luatex%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