なんだこれは

はてなダイアリーから移転しました。

設定ファイル.eq2img

例えばこんな設定でどうだ。

#!/bin/sh 
#
# eq2gif configure file 
#
# Time-stamp: <05/09/13 15:45:32 fu7mu4>

# this read by eq2gif (3.0-) using source command if this exist in $HOME.
# this file gives eq2gif default values 

# you can add some commands for initializing

echo "now reading init file"

###platex mode###
# platex work with under batch / nonstop / default mode

TeXmode="batch"

# it supports "batch" , "nonstop" or "errorstop"=other 
# NOTICE : some platex system doesn't support "nonstop"

###headder file name###

# headder file name is (1) env variable TEXHEADDERFILE value or
# (2) variable DEFHEADDER value .  

DEFHEADDER="headder"

# if headder file not exist , eq2gif use default value .

### Temporary Directory name###
# TMP dir name , $$ represent process id

DEFTMPDIR="/tmp/Eq2Gif$$"
# if TMPDIR not exist , eq2gif try to make it , and fail to make ,
# eq2gif stop

### Do you want temporary files ?##

# equation part file 
NeedEq="YES" #NO
# Enhanced PostScript file
NeedEPS="YES" #NO

### Do you want some message ?## 

# Message is PID or some info , if TeXmode=batch or nonstop . YES
# means you want to recieve PID info

NeedMessage="YES" #"NO"

# Warning is Warning and Error Messages. YES means you want to recieve
# Warning and Error messages.

NeedWarning="YES" #YES or NO

### Color ###
# Background Color: tranparent . Foreground Color: white, black, red,
# green, blue, yellow, pink...are supported

#Color="white"
Color="black"

# Convert can read many color name directory. 
# if you don't know color name, use RGB or CMYK representation

# for example red color 
 
# "rgb(255,0,0)" r=255,g=b=0, each integer range 0 to 255 
# "rgb(100%,0%,0%)" r=100%,g=b=0% each float range is 0% to 100%
# "#f00" r=0xf g=b=0x0 
# "#ff0000" for rrggbb , or "#ffff00000000" for rrrrggggbbbb 

# CMYK representation is the same as rgb
# cmyk(100%,100%,100%,100%) or cmyk(255,255,255,255)
# except hex, 

# if you want to know about coloro name, see http://www.imagemagick.org/script/color.php