diff options
author | hrs <hrs@FreeBSD.org> | 2011-01-04 19:48:03 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-01-04 19:48:03 +0800 |
commit | e93190784b04d87224c03b67ce5c0b6947444f62 (patch) | |
tree | eb25170bbd8a83eecdb164340ec86be08706d2f5 | |
parent | 6dbf252a5f8c0f2ca4aa4f2ae3c197d9cda31c0e (diff) | |
download | freebsd-ports-gnome-e93190784b04d87224c03b67ce5c0b6947444f62.tar.gz freebsd-ports-gnome-e93190784b04d87224c03b67ce5c0b6947444f62.tar.zst freebsd-ports-gnome-e93190784b04d87224c03b67ce5c0b6947444f62.zip |
Bump memory constants in texmf.cnf to suit recent machines with large memory.
JadeTeX now works with no manual configuration even for a large document like
FreeBSD Handbook.
Suggested by: simon
-rw-r--r-- | print/jadetex/Makefile | 4 | ||||
-rw-r--r-- | print/jadetex/files/pkg-message.in | 14 | ||||
-rw-r--r-- | print/jadetex/files/texmf.cnf | 4 | ||||
-rw-r--r-- | print/teTeX-base/Makefile | 2 | ||||
-rw-r--r-- | print/teTeX-base/files/patch-texk::kpathsea::texmf.in-teTeX | 23 |
5 files changed, 23 insertions, 24 deletions
diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile index 458150a9a738..ed795075147c 100644 --- a/print/jadetex/Makefile +++ b/print/jadetex/Makefile @@ -7,7 +7,7 @@ PORTNAME= jadetex PORTVERSION= 3.13 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF @@ -21,8 +21,6 @@ RUN_DEPENDS= etex:${PORTSDIR}/print/teTeX-base MAKE_JOBS_UNSAFE= yes MAKE_ENV= TEXMFCNF=${FILESDIR}:${TEXMFDIR}/web2c -PKGMESSAGE= ${WRKDIR}/pkg-message -SUB_FILES= pkg-message PLIST_SUB= TEXMFDIR=share/texmf MAN1= jadetex.1 pdfjadetex.1 diff --git a/print/jadetex/files/pkg-message.in b/print/jadetex/files/pkg-message.in deleted file mode 100644 index 9eabf806f705..000000000000 --- a/print/jadetex/files/pkg-message.in +++ /dev/null @@ -1,14 +0,0 @@ -JadeTeX uses quite a lot of TeX's resources. You may find it -necessary to increase the size of some of TeX's resource pools by -editing the file %%LOCALBASE%%/share/texmf/web2c/texmf.cnf with any text -editor. - -For example, to typeset the FreeBSD Handbook with JadeTeX, change the -following settings to the listed values: - - hash_extra = 60000 - save_size = 10000 - -If you change %%LOCALBASE%%/share/texmf/web2c/texmf.cnf, delete the word -"original" on line 1 of the file. This will prevent future -installations of TeX from overwriting changes you've made. diff --git a/print/jadetex/files/texmf.cnf b/print/jadetex/files/texmf.cnf deleted file mode 100644 index b23d29d33824..000000000000 --- a/print/jadetex/files/texmf.cnf +++ /dev/null @@ -1,4 +0,0 @@ - hash_extra = 60000 - pool_size = 1000000 - max_strings = 70000 - save_size = 10000 diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile index bdc570cd776d..cbc139f7ed39 100644 --- a/print/teTeX-base/Makefile +++ b/print/teTeX-base/Makefile @@ -7,7 +7,7 @@ PORTNAME= teTeX-base PORTVERSION= 3.0 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1 diff --git a/print/teTeX-base/files/patch-texk::kpathsea::texmf.in-teTeX b/print/teTeX-base/files/patch-texk::kpathsea::texmf.in-teTeX index 82a5443ad41b..77af01d54846 100644 --- a/print/teTeX-base/files/patch-texk::kpathsea::texmf.in-teTeX +++ b/print/teTeX-base/files/patch-texk::kpathsea::texmf.in-teTeX @@ -1,5 +1,5 @@ ---- texk/kpathsea/texmf.in-teTeX.orig Sun Feb 6 09:04:35 2005 -+++ texk/kpathsea/texmf.in-teTeX Sun Feb 13 03:44:45 2005 +--- texk/kpathsea/texmf.in-teTeX.orig 2005-02-06 09:04:35.000000000 +0900 ++++ texk/kpathsea/texmf.in-teTeX 2011-01-04 20:25:40.000000000 +0900 @@ -489,7 +489,7 @@ % Extra space for the hash table of control sequences (which allows 10K @@ -9,3 +9,22 @@ % Max number of characters in all strings, including all error messages, % help texts, font names, control sequences. These values apply to TeX and MP. +@@ -520,14 +520,14 @@ + % line. As a consequence, certain constructs require the buffer to be + % very large. As distributed, the size is 50000; most documents can be + % handled within a tenth of this size. +-buf_size = 200000 ++buf_size = 300000 + + hyph_size = 1000 % number of hyphenation exceptions, >610 and <32767. +-nest_size = 500 % simultaneous semantic levels (e.g., groups) ++nest_size = 2500 % simultaneous semantic levels (e.g., groups) + max_in_open = 15 % simultaneous input files and error insertions + param_size = 5000 % simultaneous macro parameters +-save_size = 5000 % for saving values outside current group +-stack_size = 1500 % simultaneous input sources ++save_size = 25000 % for saving values outside current group ++stack_size = 5000 % simultaneous input sources + + % These are Omega-specific. + ocp_buf_size = 20000 % character buffers for ocp filters. |