X-Spam-Check-By: sourceware.org X-Mailer: 21.4 (patch 19) "Constant Variable" XEmacs Lucid (via feedmail 10 I) To: cygwin AT cygwin DOT com Subject: Re: gnuplot and tex References: <4556C648 DOT 5030905 AT cwilson DOT fastmail DOT fm> From: "Dr. Volker Zell" Date: Thu, 16 Nov 2006 10:42:27 +0100 In-Reply-To: <4556C648.5030905@cwilson.fastmail.fm> (Charles Wilson's message of "Sun, 12 Nov 2006 01:59:20 -0500") Message-ID: <82slgj7mnw.fsf@vzell-de.de.oracle.com> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com >>>>> Charles Wilson writes: > Okay, so what to do? > (a) custom cygwin patch for gnuplot/variable.c, on the lines of > (UNTESTED; but fixup stupid linewrapping before trying to apply): > - { "$`kpsewhich -expand-path=$HOMETEXMF`\\fonts\\type1!" }, > - { "$`kpsewhich -expand-path=$TEXMFLOCAL`\\fonts\\type1!" }, > - { "$`kpsewhich -expand-path=$TEXMFMAIN`\\fonts\\type1!" }, > - { "$`kpsewhich -expand-path=$TEXMFDIST`\\fonts\\type1!" }, > + { "$`if kpsewhich --help >/dev/null 2>&1; then kpsewhich > -expand-path=$HOMETEXMF ; else echo nonexist ; fi`\\fonts\\type1!" }, > + { "$`if kpsewhich --help >/dev/null 2>&1; then kpsewhich > -expand-path=$TEXMFLOCAL ; else echo nonexist ; fi`\\fonts\\type1!" }, > + { "$`if kpsewhich --help >/dev/null 2>&1; then kpsewhich > -expand-path=$TEXMFMAIN ; else echo nonexist ; fi`\\fonts\\type1!" }, > + { "$`if kpsewhich --help >/dev/null 2>&1; then kpsewhich > -expand-path=$TEXMFDIST ; else echo nonexist ; fi`\\fonts\\type1!" }, > ... > - { "$`kpsexpand '$HOMETEXMF'`/fonts/type1!" }, > - { "$`kpsexpand '$TEXMFLOCAL'`/fonts/type1!" }, > - { "$`kpsexpand '$TEXMFMAIN'`/fonts/type1!" }, > - { "$`kpsexpand '$TEXMFDIST'`/fonts/type1!" }, > + { "$`if kpsexpand dummy >/dev/null 2>&1; then kpsexpand > '$HOMETEXMF' ; else echo nonexist ; fi`/fonts/type1!" }, > + { "$`if kpsexpand dummy >/dev/null 2>&1; then kpsexpand > '$TEXMFLOCAL' ; else echo nonexist ; fi`/fonts/type1!" }, > + { "$`if kpsexpand dummy >/dev/null 2>&1; then kpsexpand > '$TEXMFMAIN' ; else echo nonexist ; fi`/fonts/type1!" }, > + { "$`if kpsexpand dummy >/dev/null 2>&1; then kpsexpand > '$TEXMFDIST' ; else echo nonexist ; fi`/fonts/type1!" }, > This would not be cross-platform, because the "/dev/null" and IO > redirection is not supported everywhere. But I think it would solve > this problem, and allow us to remove 'tetex-bin' as a rrequires: of > gnuplot. > (b) split the kpse* stuff out of tetex-bin into its own (set of?) > packages, and have gnuplot depend on THOSE and not the entire tetex > distro. This might be an easier way to go -- if Jan is willing. I second this one. Jan ? > Chuck Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/