TeXworksglossaries | Script for Glossary, Acronyms and Symbols

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
Post Reply
CeoN
Posts: 6
Joined: Fri Jan 22, 2010 2:50 pm

glossaries | Script for Glossary, Acronyms and Symbols

Post by CeoN »

Hi,

I just got the "glossaries" package working by using the supplied information in the "LaTeX Community Know How Section", specifically: Using makeindex explicitly. To build my PDF file from Texworks i now run five steps:
  1. First run of PDFLaTeX.
  2. Make Glossaries

    Code: Select all

    makeindex -s $basename.ist -t $basename.glg -o $basename.gls $basename.glo
  3. Make Acronyms

    Code: Select all

    makeindex -s $basename.ist -t $basename.alg -o $basename.acr $basename.acn
  4. Make Symbols

    Code: Select all

    makeindex -s $basename.ist -t $basename.slg -o $basename.sym $basename.sbl
  5. Second run of PDFLaTeX.
The questions:
  1. Can I somehow combine all these steps so only one click on the green "Typeset" button is necessary to produce the final PDF?
  2. I used to use TeXworks default run option "PDFLaTeX+MakeIndex+BibTeX" which uses texify.exe before. Can I combine the steps above with this option? I assume that I'm missing the BibTeX command now, don't I? Are the new options for MiKTeX and PDFLaTeX identical to the former ones?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

glossaries | Script for Glossary, Acronyms and Symbols

Post by nlct »

You could try using latexmk. There's a section in latexmk's documentation on how to add the dependences required for makeglossaries. Then you just need to add latexmk as a new tool in TeXworks (See, for example, this page which includes how to add latexmk as a new tool in TeXworks).

Regards
Nicola Talbot
Post Reply