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
1 2 3 4 5 6 | #!/bin/bash #glossar: makeindex -s $1.ist -t $1.glg -o $1.gls $1.glo #acronym: makeindex -s $1.ist -t $1.alg -o $1.acr $1.acn |
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.
To enable that script inside Texmaker you need to change the configuration like on this screenshot:
If you have done it, you could generate the tables with F12 in Texmaker.
Hallo Christopher,
ich bin gerade auf selbiges Problem gestoßen, als ich von meinem TechnixCenter zu TexMaker auf Mac OS migriert bin.
Gibt es keine Alternativen?
Wie sieht das Run file genau aus, dass du geschrieben hast? Ist das etwa schon alles?
Was hälst du von Kile? Ist es an und für sich besser, und, gibt es hier das selbe Problem?
Beste Grüße
Georg
Hallo,
ja das Runfile für makeindex ist genau dieser 3 Zeiler dort oben. Ob es Alternativen gibt..? Bestimmt, ich finde es so praktikabel, ich mag TexMaker, da ich ihn auf allen OS benutzen kann. Früher habe ich unter Windows auch immer TechnixCenter benutzt, da hat man dieses Problem nicht gehabt. Kile habe ich noch nie richtig ausprobiert und kann dazu nichts sagen, da ich aber meist nur GNOME benutze, verzichte ich meist auf die Nutzung von KDE-Anwendungen.
Hallo,
how exactly do I set the permissions so that it can execute the command?
Like written in the posting: chmod +x makeindex_acro_glos.run
Danke für die Anleitung. Script klappt wunderbar!
thanks!
i have put a bit more:)
#!/bin/bash
#ACRONYM:
makeindex -s $1.ist -t $1.alg -o $1.acr $1.acn
#GLOSSARY:
makeindex -s $1.ist -t $1.glg -o $1.gls $1.glo
#SYMBOL LIST:
makeindex -s $1.ist -t $1.slg -o $1.syi $1.syg
#FORMULA LIST:
makeindex -s $1.ist -t $1.flg -o $1.fyi $1.fyg
Thank you for sharing this!