source: scripts/untested/blfs-scripts/blfs-jadetex.sh@ 617118d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100755
File size: 1.8 KB
Line 
1#!/bin/bash
2
3### jadetex ###
4
5cd ${SRC}
6LOG=jadetex-blfs.log
7
8unpack_tarball jadetex-${JADETEX_VER}
9cd ${PKGDIR}
10
11max_log_init jadetex ${JADETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
12sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
13 /usr/share/texmf/web2c/texmf.cnf
14# TODO: This needs to be added below "ConTeXt is a memory hog" in
15# /usr/share/texmf/web2c/texmf.cnf
16#pool_size.context = 750000
17cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"
18
19% The following 3 sections added for JadeTeX
20
21% latex settings
22main_memory.latex = 1100000
23param_size.latex = 1500
24stack_size.latex = 1500
25hash_extra.latex = 15000
26string_vacancies.latex = 45000
27pool_free.latex = 47500
28nest_size.latex = 500
29save_size.latex = 5000
30pool_size.latex = 500000
31max_strings.latex = 55000
32font_mem_size.latex= 400000
33
34% jadetex settings
35main_memory.jadetex = 1500000
36param_size.jadetex = 1500
37stack_size.jadetex = 1500
38hash_extra.jadetex = 50000
39string_vacancies.jadetex = 45000
40pool_free.jadetex = 47500
41nest_size.jadetex = 500
42save_size.jadetex = 5000
43pool_size.jadetex = 500000
44max_strings.jadetex = 55000
45
46% pdfjadetex settings
47main_memory.pdfjadetex = 2500000
48param_size.pdfjadetex = 1500
49stack_size.pdfjadetex = 1500
50hash_extra.pdfjadetex = 50000
51string_vacancies.pdfjadetex = 45000
52pool_free.pdfjadetex = 47500
53nest_size.pdfjadetex = 500
54save_size.pdfjadetex = 5000
55pool_size.pdfjadetex = 500000
56max_strings.pdfjadetex = 55000
57EOF
58
59cp -R /usr/share/texmf/tex/latex/config . &&
60cd config &&
61tex -ini -progname=latex latex.ini &&
62mv /usr/share/texmf/web2c/latex.fmt \
63 /usr/share/texmf/web2c/latex.fmt.orig &&
64install -m 644 latex.fmt /usr/share/texmf/web2c &&
65cd ..
66
67min_log_init ${INSTLOGS} &&
68make install \
69 >> ${LOGFILE} 2>&1 &&
70echo " o ALL OK" || barf
71
72ln -sf tex /usr/bin/jadetex &&
73ln -sf pdftex /usr/bin/pdfjadetex &&
74mktexlsr
75
Note: See TracBrowser for help on using the repository browser.