From owner-freebsd-questions@FreeBSD.ORG Mon Jul 16 18:59:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE0C9106564A for ; Mon, 16 Jul 2012 18:59:50 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A506C8FC08 for ; Mon, 16 Jul 2012 18:59:50 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SqqWL-0003uH-M7 for freebsd-questions@freebsd.org; Mon, 16 Jul 2012 19:59:49 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SqqWL-0006jj-IK for freebsd-questions@freebsd.org; Mon, 16 Jul 2012 19:59:49 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6GIxnx9043606 for ; Mon, 16 Jul 2012 19:59:49 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6GIxndf043605 for freebsd-questions@freebsd.org; Mon, 16 Jul 2012 19:59:49 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Mon, 16 Jul 2012 19:59:49 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120716185948.GA43227@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: how to preserve local modifications to /usr/local/share/texmf/web2c/texmf.cnf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 18:59:51 -0000 I was getting Tex capacity exceeded, sorry [main memory size 1000000] error, so had to increase main_memory in /usr/local/share/texmf/web2c/texmf.cnf main_memory = 7000000 % words of inimemory available; also applies to inimf&mp This works fine, but this file will be overwritten if I update/reinstall print/teTeX-base. I was trying to make a local copy instead: TZAV> cat $HOME/.texmf-var/web2c/texmf.cnf % refer to /usr/local/share/texmf/web2c/texmf.cnf, % installed by teTeX-base-3.0_23: print/teTeX-base % for details main_memory = 7000000 % words of inimemory available; also applies to inimf&mp TZAV> but this doesn't help. Please advise -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423