{"id":112,"date":"2011-03-13T23:40:05","date_gmt":"2011-03-13T21:40:05","guid":{"rendered":"https:\/\/www.npcglib.org\/~stathis\/blog\/?p=112"},"modified":"2011-03-16T21:25:38","modified_gmt":"2011-03-16T19:25:38","slug":"greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error","status":"publish","type":"post","link":"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/","title":{"rendered":"Greek with the LGR font encoding on Gentoo &#8211; The grmn error"},"content":{"rendered":"<p>Using the LGR encoding for writing greek in latex documents on gentoo presumably should be fairly straight forward, but it took me a bit of searching before I figured it out. I&#8217;m using <code>app-text\/texlive<\/code>, but I have not had greek language support (duh!). The error I was getting looked like this:<\/p>\n<blockquote><p>\nkpathsea: Running mktextfm grmn1095<br \/>\nmktextfm: Running mf-nowin -progname=mf \\mode:=ljfour; mag:=1; nonstopmode; input grmn1095<br \/>\nThis is METAFONT, Version 2.718281 (Web2C 7.5.7)<\/p>\n<p>kpathsea: Running mktexmf grmn1095<\/p>\n<p>! I can&#8217;t find file `grmn1095&#8242;.<br \/>\n<*> &#8230;ljfour; mag:=1; nonstopmode; input grmn1095<\/p>\n<p>Please type another input file name<br \/>\n! Emergency stop.<br \/>\n<*> &#8230;ljfour; mag:=1; nonstopmode; input grmn1095<\/p>\n<p>Transcript written on mfput.log.<br \/>\ngrep: grmn1095.log: No such file or directory<br \/>\nmktextfm: `mf-nowin -progname=mf \\mode:=ljfour; mag:=1; nonstopmode; input grmn1095&#8242; failed to make grmn1095.tfm.<br \/>\nkpathsea: Appending font creation commands to missfont.log.<\/p>\n<p>LaTeX Font Warning: Font shape `LGR\/ptm\/m\/n&#8217; undefined<br \/>\n(Font)              using `LGR\/cmr\/m\/n&#8217; instead on input line 28.<\/p><\/blockquote>\n<p>That&#8217;s not much help really if you don&#8217;t know what you&#8217;re looking for. The solution on Gentoo is quite simple; just recompile TeXLive with greek language support:<\/p>\n<blockquote><p>\nUSE+=&#8221;linguas_el&#8221; emerge -Dva app-text\/texlive<\/p><\/blockquote>\n<p>A useful page on the LGR encoding support and example tex files to test your installation can be found in the <a href=\"http:\/\/milde.users.sourceforge.net\/LGR\/\" target=\"_blank\">Greek with the LGR font encoding<\/a> webpage. To test, download <a href=\"http:\/\/milde.users.sourceforge.net\/LGR\/lgrxenc.def\">lgrxenc.def<\/a> and <a href=\"http:\/\/milde.users.sourceforge.net\/LGR\/lgrxenc-test.tex\">lgrxenc-test.tex<\/a> and run <code>latex lgrxenc-test && dvipdf lgrxenc-test<\/code>. If everything goes well, you should end up with a pdf file with the greek characters rendered properly. You can compare your file with <a href=\"http:\/\/milde.users.sourceforge.net\/LGR\/lgrxenc-test.pdf\">lgrxenc-test.pdf<\/a>. Check the example test file for the latex commands you need in order to write using the LGR encoding.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using the LGR encoding for writing greek in latex documents on gentoo presumably should be fairly straight forward, but it took me a bit of searching before I figured it out. I&#8217;m using app-text\/texlive, but I have not had greek language support (duh!). The error I was getting looked like this: kpathsea: Running mktextfm grmn1095 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[6,10],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"stathis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#website\",\"url\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/\",\"name\":\"sigmoid\",\"description\":\"..oo..oo..oo..oo..oo..oo..\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/#webpage\",\"url\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/\",\"name\":\"Greek with the LGR font encoding on Gentoo - The grmn error - sigmoid\",\"isPartOf\":{\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#website\"},\"datePublished\":\"2011-03-13T21:40:05+00:00\",\"dateModified\":\"2011-03-16T19:25:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Greek with the LGR font encoding on Gentoo &#8211; The grmn error\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41\",\"name\":\"stathis\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g\",\"caption\":\"stathis\"},\"url\":\"https:\/\/www.npcglib.org\/~stathis\/blog\/author\/stathis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/","twitter_misc":{"Written by":"stathis","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#website","url":"https:\/\/www.npcglib.org\/~stathis\/blog\/","name":"sigmoid","description":"..oo..oo..oo..oo..oo..oo..","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.npcglib.org\/~stathis\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/#webpage","url":"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/","name":"Greek with the LGR font encoding on Gentoo - The grmn error - sigmoid","isPartOf":{"@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#website"},"datePublished":"2011-03-13T21:40:05+00:00","dateModified":"2011-03-16T19:25:38+00:00","author":{"@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41"},"breadcrumb":{"@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/2011\/03\/13\/greek-with-the-lgr-font-encoding-on-gentoo-the-grmn-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.npcglib.org\/~stathis\/blog\/"},{"@type":"ListItem","position":2,"name":"Greek with the LGR font encoding on Gentoo &#8211; The grmn error"}]},{"@type":"Person","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#\/schema\/person\/508363c4ebd1fd6066edf00c94e37e41","name":"stathis","image":{"@type":"ImageObject","@id":"https:\/\/www.npcglib.org\/~stathis\/blog\/#personlogo","inLanguage":"en-US","url":"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/214f29f604ec7d8d2f1345c5fa617c09?s=96&d=mm&r=g","caption":"stathis"},"url":"https:\/\/www.npcglib.org\/~stathis\/blog\/author\/stathis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts\/112"}],"collection":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/comments?post=112"}],"version-history":[{"count":16,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/posts\/112\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/media?parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/categories?post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.npcglib.org\/~stathis\/blog\/wp-json\/wp\/v2\/tags?post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}