Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HELP - interaction between epsf.sty and feynman.sty

2 views
Skip to first unread message

Jeffrey Templon

unread,
Feb 18, 1993, 12:03:24 PM2/18/93
to sci-physic...@nluug.nl

I have the following problem: I use the file epsf.sty as provided
in the dvips package to include postscript figures in my
papers. I just tried to use the 'feynman' macro package
which has the following message upon executing:

--------------------
FEYNMAN: For generating Feynman Diagrams in LaTex
Mark 1.0 Last Altered by MJSL 2/89
--------------------

I have found that even if the file feynman is input (but none of
the macros are used), epsffile macro no longer works. As demonstration,
I have a file which runs fine thru latex and produces a good output
with dvips; if I add the line

\input{feynman}

then I get the following sort of error message on each call to
the epsffile macro:

--------------------
] [2]
! Missing number, treated as zero.
<to be read again>
{
\epsfsetgraph ...um \epsfrsize =0\relax \special {
PSfile=\the \toks 0 llx=\e...
l.270 \epsffile[95 387 506 711]{dsdo-theo.ps}
--------------------

It does not matter whether the \input{feynman} comes before or after
the \documentstyle command (where the epsf macros are specified,
as a style option). In case it matters, here is the top part of
the file.

----------------------------------------
\input{feynman}
\documentstyle[12pt,a4,epsf]{article}

%
\def\epsfsize#1#2{\textwidth}
\renewcommand{\baselinestretch}{1.25}
\renewcommand{\bottomfraction}{0.75}
\renewcommand{\textfraction}{0.25}
\renewcommand{\floatpagefraction}{0.6}
\newcommand {\dspace}{\normalsize \renewcommand{\baselinestretch}{1.25}}
\newcommand {\sspace}{\normalsize \renewcommand{\baselinestretch}{1.0}}

\input{nucleus}

\begin{document}
----------------------------------------

I appreciate any help; this paper needs to go out soon!!

JT


0 new messages