Putting devnagari text in xelatex results in question marks instead of text The 2019 Stack...

Did God make two great lights or did He make the great light two?

How does this infinite series simplify to an integral?

Is this wall load bearing? Blueprints and photos attached

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

How can I protect witches in combat who wear limited clothing?

Simulating Exploding Dice

Can smartphones with the same camera sensor have different image quality?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Can withdrawing asylum be illegal?

What's the point in a preamp?

Scientific Reports - Significant Figures

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Why is superheterodyning better than direct conversion?

Windows 10: How to Lock (not sleep) laptop on lid close?

Problems with Ubuntu mount /tmp

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Single author papers against my advisor's will?

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

Would an alien lifeform be able to achieve space travel if lacking in vision?

Can the DM override racial traits?

How did passengers keep warm on sail ships?

Why can't wing-mounted spoilers be used to steepen approaches?

Did the new image of black hole confirm the general theory of relativity?

Grover's algorithm - DES circuit as oracle?



Putting devnagari text in xelatex results in question marks instead of text



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)German quotation marks are broken in XeLaTeXUsing XeLaTeX instead of pdfLaTeXUse XeLaTeX in Texmaker instead of pdfLaTeXPutting quotation marks in TeX documentquestion about pgf-blur package in xelatexUsing a handwriting font from myscriptfont.comQuestion marks instead of text when writing Persian with XePersianXeLaTeX: Using foreignlanguage results in an errorXeLatex and greek quotation marksThis Question environment with XeLaTeX












0















I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
I get all question marks in the output.



% !TEX TS?program = pdflatexmk

documentclass[fontsize=12pt]{book}

usepackage[T1]{fontenc}

usepackage{amsmath}

usepackage{mathpazo}

%for sanskrit
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguages{hindi} %% or other languages

%newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
newfontfamilydevanagarifont{Devanagari MT}

linespread{1.5}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
chapter{introduction}

section{hindi}

begin{hindi}
जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
end{hindi}

text

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
end{document}


My output looks like below. How can I make it work?
enter image description here









share



























    0















    I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
    I get all question marks in the output.



    % !TEX TS?program = pdflatexmk

    documentclass[fontsize=12pt]{book}

    usepackage[T1]{fontenc}

    usepackage{amsmath}

    usepackage{mathpazo}

    %for sanskrit
    usepackage{polyglossia}
    setmainlanguage{english}
    setotherlanguages{hindi} %% or other languages

    %newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
    newfontfamilydevanagarifont{Devanagari MT}

    linespread{1.5}

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    begin{document}
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    chapter{introduction}

    section{hindi}

    begin{hindi}
    जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
    end{hindi}

    text

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    end{document}


    My output looks like below. How can I make it work?
    enter image description here









    share

























      0












      0








      0








      I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
      I get all question marks in the output.



      % !TEX TS?program = pdflatexmk

      documentclass[fontsize=12pt]{book}

      usepackage[T1]{fontenc}

      usepackage{amsmath}

      usepackage{mathpazo}

      %for sanskrit
      usepackage{polyglossia}
      setmainlanguage{english}
      setotherlanguages{hindi} %% or other languages

      %newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
      newfontfamilydevanagarifont{Devanagari MT}

      linespread{1.5}

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      begin{document}
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      chapter{introduction}

      section{hindi}

      begin{hindi}
      जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
      end{hindi}

      text

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      end{document}


      My output looks like below. How can I make it work?
      enter image description here









      share














      I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
      I get all question marks in the output.



      % !TEX TS?program = pdflatexmk

      documentclass[fontsize=12pt]{book}

      usepackage[T1]{fontenc}

      usepackage{amsmath}

      usepackage{mathpazo}

      %for sanskrit
      usepackage{polyglossia}
      setmainlanguage{english}
      setotherlanguages{hindi} %% or other languages

      %newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
      newfontfamilydevanagarifont{Devanagari MT}

      linespread{1.5}

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      begin{document}
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      chapter{introduction}

      section{hindi}

      begin{hindi}
      जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
      end{hindi}

      text

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      end{document}


      My output looks like below. How can I make it work?
      enter image description here







      xetex hindi





      share












      share










      share



      share










      asked 4 mins ago









      hadi khadi k

      13716




      13716






















          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484717%2fputting-devnagari-text-in-xelatex-results-in-question-marks-instead-of-text%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
















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484717%2fputting-devnagari-text-in-xelatex-results-in-question-marks-instead-of-text%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...