mkdir texmf
mkdir texmf/tex
mkdir texmf/tex/latex

scp texmf/tex/latex/

cd texmf/tex/latex/

   creating: algorithms/
  inflating: algorithms/COPYING      
  inflating: algorithms/README       
  inflating: algorithms/THANKS       
  inflating: algorithms/algorithm.sty  
  inflating: algorithms/algorithmic.sty  
  inflating: algorithms/algorithms.pdf  
  inflating: algorithms/algorithms.tex  

sudo texhash
[sudo] password for -----:
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R-TEXLIVE...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.

posted by citadel
Feynmp(Feynmf) is found on

# emacs test.tex &
\unitlength = 1mm
  \fmfleft{em,ep} \fmflabel{$e^+$}{ep} \fmflabel{$e^-$}{em}
  \fmfright{fb,f} \fmflabel{$\bar f'$}{fb} \fmflabel{$f$}{f}
# latex test.tex
# mpost
# latex test.tex

# dvips -E test.dvi -o test.eps 




The test.tex file is the exact same code that can be found in the simple examples of feynmp or feynmf except \pagestyle{empty} and the output file name such as example1.  Without the empty style,  dvips command cannot produce an eps file with the correct bounding box owing to the page number.

사용자 삽입 이미지

one more example is


사용자 삽입 이미지

The modified source is


사용자 삽입 이미지

posted by citadel
See the new post which might be what you want to find.
2008/01/30 - [computer] - eps file by AutoCAD


There is an blank page, which include the eps file that is created by AutoCAD, in ps file, which is created by LaTeX.

I installed three different gs on my linux. It can be change by the following message:

# update-alternatives --config gs

There are 3 alternatives which provide `gs'.

  Selection    Alternative
 +        1    /usr/bin/gs-esp
          2    /usr/bin/gs-gpl
*         3    /usr/bin/gs-afpl

Press enter to keep the default[*], or type selection number: 3

With gs-afpl, AutoCAD eps file or LaTeX ps file can be good. The eps file is open with emacs with unexpected long time. But I can't understand the content.

사용자 삽입 이미지

There are is a lot of ugly numbers. Probably AutoCAD does not like the end user can edit that file.

I don't like the above ugly eps file.

After eps2eps autocad.eps output.eps, the eps file can be open with emacs more easily.

사용자 삽입 이미지

This eps file is used in whatever gs you use.
eps2eps returns wrong bounding box information. It will be correct the old post: 2007/05/13 - [computer/linux] - How to create a stand alone eps file by using pstricks

posted by citadel