3 # Setup TeX/LaTeX Ghostscript C-shell environment for LilyPond.
5 # Red Hat-like systems should install this in /etc/profile.d/
7 # If run by hand or from you .login, run as follows
8 # source lilypond-profile
12 # strange shell, this C
13 set datadir
="@local_lilypond_datadir@"
15 # setenv LILYPONDPREFIX "$datadir"
16 # bit silly. for ly2dvi, overrules compiled-in datadir...
17 # setenv LILYPONDPREFIX "@local_lilypond_datadir@"
19 # Add the installation directory to the teTeX system tree,
20 # see Documentation/misc/fontinstallation
23 setenv TEXMF
"{$datadir,"`kpsexpand \$TEXMF`"}"
28 # if ( $?GS_LIB ) then
29 # setenv GS_LIB "$datadir/ps:$GS_LIB"
31 # setenv GS_LIB "$datadir/ps"
36 # Add all available TeX Type1 fonts (including Feta) to Ghostscript:
37 #if ( $?GS_FONTPATH ) then
38 # setenv GS_FONTPATH `kpsewhich -expand-path=\$T1FONTS`:$GS_FONTPATH
40 # setenv GS_FONTPATH `kpsewhich -expand-path=\$T1FONTS`