-
Notifications
You must be signed in to change notification settings - Fork 13
HowTo SanityCheck
The sanity check is available via
http://www.langsci-press-gug.org/doc2tex/home and http://langsci-press.org/templatesAndTools
Authors should perform the sanity check on all of their latex files before submitting their revised version.
Each tex-file can be checked individually on the web service, or a GitHub repo with a LangSci ID can be given.
A standalone program is available from https://github.com/langsci/pypi/langsci/wrapperscripts
The following checks are performed:
- no et al. in tex-file
- no explicit fonts
- no explicit changes of font size
- Tables and Figures are correctly referenced
- Footnote do not have a preceding space
- no double parentheses when citing
- dash instead of hyphen for page ranges
- no ff
- en-dash with spaces rather than em-dash without
- no \hline; use \midrule
- Sentences in examples should be capitalized and have punctuation
- no ALLCAPS
- no special capitalization
- use spaces after punctuation
The bibliography can be checked with the webservice as well. A standalone script is also available from https://github.com/langsci/pypi/langsci/wrapperscripts
The following things are checked:
- subtitles start with correct capitals
- full first names are given
- spaces after several initials
- not both author and editor present
- mandatory fields are given (author, title, year for all; publisher, address for books; journal, number, pages of articles)
- urls do not contains spaces
- no urls to commercial sites are given
- format of field "edition" is correct
- author field uses "and" rather than comma for multiple authors
- no fields to be printed have "???" in them.
Furthermore, the ordering of records is adjusted so as to make sure crossrefs can be resolved. The following fixes are also applied:
- dash for page ranges
- add booktitle for books with editors
- add sortname for authors or editors with diacritics
- the output can be restricted to the works actually cited in the *tex-files by setting
restricted
toTrue