Skip to content
glottotopia edited this page Mar 23, 2021 · 1 revision

Refer to the guidelines available at http://langsci-press.org/templatesAndTools for information about manual indexing.

automatic indexing,

  • create a folder indexed/ in your skeleton.
  • Add terms to be indexed to localsubjectterms.txt.
  • Add languages to be indexed to locallanguages.txt.
  • get the python scripts from https://github.com/langsci/pypi/tree/master/langsci/wrapperscripts and https://github.com/langsci/pypi/tree/master/langsci/langsci and put them in your working directory
  • Run python3 autoindex.py. This will copy all *tex-files from the folder chapters/ to indexed/, adding the index terms to them.
  • rename chapters to chapters.old
  • rename indexed to chapters
  • run xelatex main and debug
  • set the option showindex in main.tex and track down any errors occurring from index times inside of \captions, \labels or \titles and repair them. Make sure the pdf compiles correctly.
  • run the makeindex commands in the Makefile, run xelatex and debug

key word extraction with SketchEngine

  • log in to sketchengine.co.uk
  • create new corpus
  • compile the corpus
  • select keywords
  • 300 is a sensible length for the term lists
  • reference corpus should be "Open Access Journals"
  • download the *xls for single an multiterm and extract the relevant column
  • weed out irrelevant terms and put the result into localsubjectterms.txt
  • proceed as above