langsci / 259

Müller, Stefan et al. (eds): Head-Driven Phrase Structure Grammar: The handbook
Creative Commons Attribution 4.0 International
22 stars 7 forks source link

hpsg-handbook

The very cool open access handbook for HPSG that will end all handbook attempts.

Tested with texlive 2020.

The project uses memoize, a new package for externalizing figures Sašo Živanović.

https://github.com/sasozivanovic/memoize

If you run into problems with memoize, please change the line \usepackage{.styles/memoize} in localpackages.tex to \usepackage{./styles/nomemoize}.

Since the book is in the hot phase now, we decided not to maintain styles and chapters/styles any longer as two identical

The project uses memoize, a new package for externalizing figures. Since the book is in the hot phase now, we decided not to maintain styles and chapters/styles any longer as two identical copies. We use a symbolic link now. If you use Windows or any other operating system that does not deal with symbolic links, please copy all files from styles to chapter/styles manually.

Please compile check-hpsg.tex after commenting in your chapter and maybe chapters you cite.

xelatex check-hpsg.tex; biber check-hpsg

If you are just interested in single chapters, you can go to the directory "chapters" and compile them standalone:

xelatex order; biber order

You can compile the whole book by calling:

xelatex main; biber main

The command

make main.pdf

compiles the book several times and creates the reference and indices.

You may not be able to compile the whole book due to memory limitations.


Edit your texmf.cnf file. This file can be found at e.g. /usr/local/texlive/2017/texmf.cnf (for TeXLive/MacTeX 2017). Change its contents to contain something like:

main_memory=8000000
extra_mem_top=5000000
font_mem_bot=4000000

Afterwards, call texhash to update the LaTeX format files.


Cloning

Since this repository has a rather long history, if you have trouble downloading the complete git revision history (e.g. b/c of slow internet connection, limited disk space), it is possible to clone the repository with a limited number of revisions:

git clone git@github.com:langsci/259.git --depth n

where n is a number. Something between 10 and 100 is recommended.

Contributors

This project exists thanks to all the people who contributed. Some contributed via github directly, work of others was checked in by Stefan Müller.