-
Notifications
You must be signed in to change notification settings - Fork 13
HowTo Indexing
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.
- 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 folderchapters/
toindexed/
, adding the index terms to them. - rename
chapters
tochapters.old
- rename
indexed
tochapters
- run
xelatex main
and debug - set the option
showindex
inmain.tex
and track down any errors occurring from index times inside of\caption
s,\label
s or\title
s and repair them. Make sure the pdf compiles correctly. - run the
makeindex
commands in the Makefile, runxelatex
and debug
- 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