This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gnuplot and tex
- From: "Dr. Volker Zell" <Dr dot Volker dot Zell at oracle dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 16 Nov 2006 10:42:27 +0100
- Subject: Re: gnuplot and tex
- References: <4556C648.5030905@cwilson.fastmail.fm>
>>>>> 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/