Writing hebrew with MikTeX2.9 gives error: Font LHE/cmr/m/n12=jerus10 at 12.0pt not loadable: Metric (TFM)...












0















I need to write thesis abstract in Hebrew, but I get compilation errors of the kind:



Font LHE/cmr/m/n12=jerus10 at 12.0pt not loadable: Metric (TFM) file not found 


I use MikTeX2.9 and TeXnicCenter.



Here is a MWE:



documentclass[12pt]{article}
usepackage[english,hebrew]{babel}
usepackage{culmus}
usepackage{setspace}
setlengthheadheight{15pt}
usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
pagenumbering{gobble}

begin{document}
doublespacing

begin{center}
Huge
textbf{תקציר}
end{center}

ניסוי ותהייה, או ניסוי וטעיה?

end{document}


I have seen other posts of people which encountered the same problem, but haven't found a solution to the problem.



I have downloaded and installed Hebrew Culmus fonts for MikTeX from this site: http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html



But I still get the same errors.



What can be done ??










share|improve this question



























    0















    I need to write thesis abstract in Hebrew, but I get compilation errors of the kind:



    Font LHE/cmr/m/n12=jerus10 at 12.0pt not loadable: Metric (TFM) file not found 


    I use MikTeX2.9 and TeXnicCenter.



    Here is a MWE:



    documentclass[12pt]{article}
    usepackage[english,hebrew]{babel}
    usepackage{culmus}
    usepackage{setspace}
    setlengthheadheight{15pt}
    usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
    pagenumbering{gobble}

    begin{document}
    doublespacing

    begin{center}
    Huge
    textbf{תקציר}
    end{center}

    ניסוי ותהייה, או ניסוי וטעיה?

    end{document}


    I have seen other posts of people which encountered the same problem, but haven't found a solution to the problem.



    I have downloaded and installed Hebrew Culmus fonts for MikTeX from this site: http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html



    But I still get the same errors.



    What can be done ??










    share|improve this question

























      0












      0








      0








      I need to write thesis abstract in Hebrew, but I get compilation errors of the kind:



      Font LHE/cmr/m/n12=jerus10 at 12.0pt not loadable: Metric (TFM) file not found 


      I use MikTeX2.9 and TeXnicCenter.



      Here is a MWE:



      documentclass[12pt]{article}
      usepackage[english,hebrew]{babel}
      usepackage{culmus}
      usepackage{setspace}
      setlengthheadheight{15pt}
      usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
      pagenumbering{gobble}

      begin{document}
      doublespacing

      begin{center}
      Huge
      textbf{תקציר}
      end{center}

      ניסוי ותהייה, או ניסוי וטעיה?

      end{document}


      I have seen other posts of people which encountered the same problem, but haven't found a solution to the problem.



      I have downloaded and installed Hebrew Culmus fonts for MikTeX from this site: http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html



      But I still get the same errors.



      What can be done ??










      share|improve this question














      I need to write thesis abstract in Hebrew, but I get compilation errors of the kind:



      Font LHE/cmr/m/n12=jerus10 at 12.0pt not loadable: Metric (TFM) file not found 


      I use MikTeX2.9 and TeXnicCenter.



      Here is a MWE:



      documentclass[12pt]{article}
      usepackage[english,hebrew]{babel}
      usepackage{culmus}
      usepackage{setspace}
      setlengthheadheight{15pt}
      usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
      pagenumbering{gobble}

      begin{document}
      doublespacing

      begin{center}
      Huge
      textbf{תקציר}
      end{center}

      ניסוי ותהייה, או ניסוי וטעיה?

      end{document}


      I have seen other posts of people which encountered the same problem, but haven't found a solution to the problem.



      I have downloaded and installed Hebrew Culmus fonts for MikTeX from this site: http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html



      But I still get the same errors.



      What can be done ??







      hebrew






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 30 at 18:04









      user4861528user4861528

      724




      724






















          1 Answer
          1






          active

          oldest

          votes


















          1














          I advise you not to use pdflatex and culmus. It has many problems and there is no one with the knowledge, the will and the time to sort them out. Better switch to lualatex or xelatex. E.g. this here then works fine:



          documentclass[12pt]{article}
          usepackage[english,bidi=basic]{babel} %bidi=default with xelatex
          babelprovide[import,main]{hebrew}

          babelfont{rm}[Language=Default]{Latin Modern Roman}
          babelfont[hebrew]{rm}{DejaVu Sans}

          begin{document}

          begin{center}
          Huge
          textbf{תקציר}
          end{center}

          ניסוי ותהייה, או ניסוי וטעיה?

          selectlanguage{english} some text

          end{document}


          enter image description here






          share|improve this answer
























          • I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

            – user4861528
            Jan 30 at 19:14











          • Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

            – Ulrike Fischer
            Jan 30 at 19:15











          • But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

            – user4861528
            Jan 30 at 19:51













          • Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

            – Ulrike Fischer
            Jan 30 at 20:11











          • I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

            – user4861528
            Jan 30 at 20:21











          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%2f472610%2fwriting-hebrew-with-miktex2-9-gives-error-font-lhe-cmr-m-n12-jerus10-at-12-0pt%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          I advise you not to use pdflatex and culmus. It has many problems and there is no one with the knowledge, the will and the time to sort them out. Better switch to lualatex or xelatex. E.g. this here then works fine:



          documentclass[12pt]{article}
          usepackage[english,bidi=basic]{babel} %bidi=default with xelatex
          babelprovide[import,main]{hebrew}

          babelfont{rm}[Language=Default]{Latin Modern Roman}
          babelfont[hebrew]{rm}{DejaVu Sans}

          begin{document}

          begin{center}
          Huge
          textbf{תקציר}
          end{center}

          ניסוי ותהייה, או ניסוי וטעיה?

          selectlanguage{english} some text

          end{document}


          enter image description here






          share|improve this answer
























          • I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

            – user4861528
            Jan 30 at 19:14











          • Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

            – Ulrike Fischer
            Jan 30 at 19:15











          • But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

            – user4861528
            Jan 30 at 19:51













          • Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

            – Ulrike Fischer
            Jan 30 at 20:11











          • I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

            – user4861528
            Jan 30 at 20:21
















          1














          I advise you not to use pdflatex and culmus. It has many problems and there is no one with the knowledge, the will and the time to sort them out. Better switch to lualatex or xelatex. E.g. this here then works fine:



          documentclass[12pt]{article}
          usepackage[english,bidi=basic]{babel} %bidi=default with xelatex
          babelprovide[import,main]{hebrew}

          babelfont{rm}[Language=Default]{Latin Modern Roman}
          babelfont[hebrew]{rm}{DejaVu Sans}

          begin{document}

          begin{center}
          Huge
          textbf{תקציר}
          end{center}

          ניסוי ותהייה, או ניסוי וטעיה?

          selectlanguage{english} some text

          end{document}


          enter image description here






          share|improve this answer
























          • I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

            – user4861528
            Jan 30 at 19:14











          • Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

            – Ulrike Fischer
            Jan 30 at 19:15











          • But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

            – user4861528
            Jan 30 at 19:51













          • Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

            – Ulrike Fischer
            Jan 30 at 20:11











          • I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

            – user4861528
            Jan 30 at 20:21














          1












          1








          1







          I advise you not to use pdflatex and culmus. It has many problems and there is no one with the knowledge, the will and the time to sort them out. Better switch to lualatex or xelatex. E.g. this here then works fine:



          documentclass[12pt]{article}
          usepackage[english,bidi=basic]{babel} %bidi=default with xelatex
          babelprovide[import,main]{hebrew}

          babelfont{rm}[Language=Default]{Latin Modern Roman}
          babelfont[hebrew]{rm}{DejaVu Sans}

          begin{document}

          begin{center}
          Huge
          textbf{תקציר}
          end{center}

          ניסוי ותהייה, או ניסוי וטעיה?

          selectlanguage{english} some text

          end{document}


          enter image description here






          share|improve this answer













          I advise you not to use pdflatex and culmus. It has many problems and there is no one with the knowledge, the will and the time to sort them out. Better switch to lualatex or xelatex. E.g. this here then works fine:



          documentclass[12pt]{article}
          usepackage[english,bidi=basic]{babel} %bidi=default with xelatex
          babelprovide[import,main]{hebrew}

          babelfont{rm}[Language=Default]{Latin Modern Roman}
          babelfont[hebrew]{rm}{DejaVu Sans}

          begin{document}

          begin{center}
          Huge
          textbf{תקציר}
          end{center}

          ניסוי ותהייה, או ניסוי וטעיה?

          selectlanguage{english} some text

          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 30 at 18:49









          Ulrike FischerUlrike Fischer

          191k8298680




          191k8298680













          • I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

            – user4861528
            Jan 30 at 19:14











          • Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

            – Ulrike Fischer
            Jan 30 at 19:15











          • But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

            – user4861528
            Jan 30 at 19:51













          • Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

            – Ulrike Fischer
            Jan 30 at 20:11











          • I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

            – user4861528
            Jan 30 at 20:21



















          • I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

            – user4861528
            Jan 30 at 19:14











          • Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

            – Ulrike Fischer
            Jan 30 at 19:15











          • But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

            – user4861528
            Jan 30 at 19:51













          • Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

            – Ulrike Fischer
            Jan 30 at 20:11











          • I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

            – user4861528
            Jan 30 at 20:21

















          I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

          – user4861528
          Jan 30 at 19:14





          I copied your example. When I tried to compile it with XeLateX I got 1 error: 'The bidi method 'basic' is available only in luatex'. And when I used LuaTeX I got 14 errors mainly of the type: 'String contains an invalid utf-8 sequence'. What can cause that ??

          – user4861528
          Jan 30 at 19:14













          Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

          – Ulrike Fischer
          Jan 30 at 19:15





          Well the comment behind the babel says that xelatex needs a different option. And regarding the encoding: ensure that your file is utf8 encoded.

          – Ulrike Fischer
          Jan 30 at 19:15













          But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

          – user4861528
          Jan 30 at 19:51







          But how can I fix the xelatex problem- What does it mean that xelatex needs a different option, and how can I make this different option step by step ? And regarding the luatex: How can I ensure a utf8 encoding?

          – user4861528
          Jan 30 at 19:51















          Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

          – Ulrike Fischer
          Jan 30 at 20:11





          Replace bidi=basic by bidi=default when using xelatex. I can't tell you how to store in utf8 as it depends on the editor (you will need utf8 in any case, with culmus, with xelatex and lualatex, so better find out how to do it).

          – Ulrike Fischer
          Jan 30 at 20:11













          I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

          – user4861528
          Jan 30 at 20:21





          I replaced bidi=default instead of bidi=basic, and indeed I didn't get any error, but in the pdf generated I got question marks instead of the Hebrew letters. Maybe the 1 warning that I got explains the reason for that: 'Package fontspec Warning: Language 'Hebrew' not available for font 'DejaVu Sans' with script 'Hebrew'. 'Default' language used instead.'. Now, how can I fix that ??

          – user4861528
          Jan 30 at 20:21


















          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%2f472610%2fwriting-hebrew-with-miktex2-9-gives-error-font-lhe-cmr-m-n12-jerus10-at-12-0pt%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

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents