summaryrefslogtreecommitdiff
path: root/print/tex-hugelatex/INSTALL
blob: 1dbebcc291daa98797641815cd482c3c86ccb9a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: INSTALL,v 1.2 2007/10/09 19:19:15 martti Exp $

case ${STAGE} in
POST-INSTALL)
	${CAT} >> @PKG_TEXMFPREFIX@/web2c/texmf.cnf <<EOF
%%% BEGIN hugelatex
% added by hugelatex package
main_memory.hugelatex = 1100000
param_size.hugelatex = 1500
stack_size.hugelatex = 1500
hash_extra.hugelatex = 15000
string_vacancies.hugelatex = 45000
pool_free.hugelatex = 47500
nest_size.hugelatex = 500
save_size.hugelatex = 5000
pool_size.hugelatex = 500000
max_strings.hugelatex = 55000
font_mem_size.hugelatex= 400000
%%% END hugelatex
EOF
	cd @PKG_TEXMFPREFIX@/web2c
	${MV} latex.fmt latex.fmt.BAK || ${TRUE}
	${ECHO} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}
	${MV} latex.fmt hugelatex.fmt
	${MV} latex.log hugelatex.log
	${MV} latex.fmt.BAK latex.fmt || ${TRUE}
	${RM} -f texsys.aux
	;;
esac