|
From: Tatsuro M. <tma...@ya...> - 2022-01-02 22:37:18
|
Ethan
Thank you for your reply again
Unfortunately the below patch gives a different error.
On MikTeX
(f:\programs\MiKTeX\tex/latex/tools\longtable.sty)
LaTeX Warning: \include should only be used after \begin{document} on input lin
e 42.
(gpinsetfigure.tex
! LaTeX Error: Command \gpinsetfigure already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 }
?
On TeXLive on cygwin
(/usr/share/texmf-dist/tex/latex/tools/longtable.sty)
\@input{gpinsetfigure.aux}
(./gpinsetfigure.tex
! LaTeX Error: Command \gpinsetfigure already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 }
?
Tatsuro
> ----- Original Message -----
>
> On Sunday, 2 January 2022 05:20:28 PST Tatsuro MATSUOKA wrote:
> > Ethan
> > Thank you for your reply.
> > >
> > I attached the above patch, situation will be better but is not complete yet,
> > I met the error below in both MikTeX on windows and TeXLive2021 on the cygwin64.
> >
> > ****************************************************************************
> > (gpinsetfigure.tex
> >
> > ! LaTeX Error: Command \gpinsetfigure already defined.
> > Or name \end... illegal, see p.192 of the manual.
>
>
> I apologize. The patch I gave was incomplete.
> It should also have changed the previous two lines in the Makefile.
> Here is a more complete patch:
>
> Ethan
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> diff --git a/config/mingw/Makefile b/config/mingw/Makefile
> index 3c578b27e..cc0adcce5 100644
> --- a/config/mingw/Makefile
> +++ b/config/mingw/Makefile
> @@ -953,8 +953,11 @@ gnuplot.ps: gnuplot.dvi
>
> gnuplot.pdf: gnuplot-figures.tex $(TOP)/VERSION $(D)toc_entr.sty $(D)titlepag.tex
> cp gnuplot-figures.tex gp_tex2.tex
> - echo "\usepackage{graphicx}" > pdffigures.tex
> - echo "\usepackage{picins}" >> pdffigures.tex
> + echo "\usepackage{graphicx}" > gpinsetfigures.tex
> + echo "\usepackage{picins}" >> gpinsetfigures.tex
> + echo "\newcommand{\gpinsetfigure}[1]{" >> gpinsetfigure.tex ; \
> + echo " \parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}}" >> gpinsetfigure.tex ; \
> + echo "}" >> gpinsetfigure.tex
> # Call LaTeX three times to get the toc right.
> TEXINPUTS=.:$(TOP):$(D):${TEXINPUTS}: pdflatex gp_tex2.tex
> TEXINPUTS=.:$(TOP):$(D):${TEXINPUTS}: pdflatex gp_tex2.tex
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>
>
>
|