-
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
chapterstochapters.old - rename
indexedtochapters - run
xelatex mainand debug - set the option
showindexinmain.texand 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
makeindexcommands in the Makefile, runxelatexand 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