{"id":349,"date":"2011-03-27T13:21:54","date_gmt":"2011-03-27T11:21:54","guid":{"rendered":"http:\/\/www.ceh-photo.de\/blog\/?p=349"},"modified":"2011-03-27T13:21:54","modified_gmt":"2011-03-27T11:21:54","slug":"using-acronyms-and-glossary-wit-latex-glossaries-package-with-texmaker-at-the-same-time-in-a-document","status":"publish","type":"post","link":"https:\/\/www.ceh-photo.de\/blog\/?p=349","title":{"rendered":"Using acronyms and glossary wit latex glossaries package with texmaker at the same time in a document"},"content":{"rendered":"<p>Today I have had the problem of generating my latex tables for acronyms and glossary with glossaries package and makeindex with Texmaker. The main problem is, that Texmaker only allows one makeindex command at the same time.<\/p>\n<p>To solve that problem I wrote a workaround bash script, which I named makeindex_acro_glos.run<\/p>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;width:70%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/><\/div><\/td><td><div class=\"bash codecolorer\"><span class=\"co0\">#!\/bin\/bash<\/span><br \/>\n<span class=\"co0\">#glossar:<\/span><br \/>\nmakeindex <span class=\"re5\">-s<\/span> &nbsp;<span class=\"re4\">$1<\/span>.ist <span class=\"re5\">-t<\/span> <span class=\"re4\">$1<\/span>.glg <span class=\"re5\">-o<\/span> <span class=\"re4\">$1<\/span>.gls <span class=\"re4\">$1<\/span>.glo<br \/>\n<br \/>\n<span class=\"co0\">#acronym:<\/span><br \/>\nmakeindex <span class=\"re5\">-s<\/span> <span class=\"re4\">$1<\/span>.ist <span class=\"re5\">-t<\/span> <span class=\"re4\">$1<\/span>.alg <span class=\"re5\">-o<\/span> <span class=\"re4\">$1<\/span>.acr <span class=\"re4\">$1<\/span>.acn<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>You need to set execution permission with chmod +x makeindex_acro_glos.run. I placed that scrip inside my latex project folder, but you could also place it in your main script folder in linux which you putted into path.<\/p>\n<p>To enable that script inside Texmaker you need to change the configuration like on this screenshot:<br \/>\n<a href=\"http:\/\/www.ceh-photo.de\/blog\/wp-content\/plugins\/downloads-manager\/upload\/\/Bildschirmfoto-Texmaker-konfigurieren.png\"><\/a><\/p>\n<p><a href=\"http:\/\/www.ceh-photo.de\/blog\/wp-content\/plugins\/downloads-manager\/upload\/\/Bildschirmfoto-Texmaker-konfigurieren.png\"><img loading=\"lazy\" decoding=\"async\" width=\"880\" height=\"237\" class=\"aligncenter size-full wp-image-350\" title=\"makeindex Texmaker configuration\" src=\"http:\/\/www.ceh-photo.de\/blog\/wp-content\/plugins\/downloads-manager\/upload\/\/Bildschirmfoto-Texmaker-konfigurieren.png\" alt=\"\" srcset=\"https:\/\/www.ceh-photo.de\/blog\/wp-content\/plugins\/downloads-manager\/upload\/Bildschirmfoto-Texmaker-konfigurieren.png 880w, https:\/\/www.ceh-photo.de\/blog\/wp-content\/plugins\/downloads-manager\/upload\/Bildschirmfoto-Texmaker-konfigurieren-300x80.png 300w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/a><\/p>\n<p>If you have done it, you could generate the tables with F12 in Texmaker.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I have had the problem of generating my latex tables for acronyms and glossary with glossaries package and makeindex with Texmaker. The main problem is, that Texmaker only allows one makeindex command at the same time. To solve that problem I wrote a workaround bash script, which I named makeindex_acro_glos.run 123456#!\/bin\/bash #glossar: makeindex -s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,46],"tags":[76,73,74,75],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry","category-it","category-linux-it-2","tag-glossaries","tag-latex","tag-makeindex","tag-texmaker"],"_links":{"self":[{"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":3,"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":353,"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions\/353"}],"wp:attachment":[{"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ceh-photo.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}