|
From: Tatsuro M. <tma...@ya...> - 2022-01-02 13:20:45
|
Ethan
Thank you for your reply.
> That would not surprise me. I broke it on linux also :-(
> See Bug #2453
> I tried to fix that, but it could be that I made things worse.
>
>
> Is it this file?
> .../config/mingw/Makefile
>
> How is that file generated?
> Is it automatically created or is it edited by hand?
On native windows, there are no mechanisms for automatic generation for Makefile
and need to edit it by hand.
I usually store the changes into the diff file and restore the changes by patch command at each cloning file image.
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> diff --git a/config/mingw/Makefile b/config/mingw/Makefile
> index 3c578b27e..80b4824c0 100644
> --- a/config/mingw/Makefile
> +++ b/config/mingw/Makefile
> @@ -955,6 +955,9 @@ gnuplot.pdf: gnuplot-figures.tex $(TOP)/VERSION $(D)toc_entr.sty $(D)titlepag.te
> cp gnuplot-figures.tex gp_tex2.tex
> echo "\usepackage{graphicx}" > pdffigures.tex
> echo "\usepackage{picins}" >> pdffigures.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
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
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.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 }
?
****************************************************************************
> 良いお年を
Year I am glad to hear your message and am happy spending good new year days.
A happy new year!
Tatsuro
> On Saturday, 1 January 2022 21:31:47 PST Tatsuro MATSUOKA wrote:
> > In development source (5.5), 'make docs' stops at the below
> >
> > *********************************************
> > ! Undefined control sequence.
> > l.1626 \gpinsetfigure
> > {figure_E0}
> > ?
> > *********************************************
> >
> > All outputs are given
> > http://tmacchant33.starfree.jp/Files/latex-error.txt
> >
> > The error does not occur in Cygwin build.
> >
> > For native windows build, I have used the MikTeX that are usable without problem until 5.4 sources.
> >
> > Today I tried to use Cygwin's Texlive 2021 in the mingw build, the results are almost the same.
> >
> > Any suggestions are welcome.
>
>
> At the very top of your log file are these lines
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> $ PATH=/f/Programs/MiKTeX/miktex/bin/x64:$PATH make docs
> cp gnuplot-figures.tex gp_tex2.tex
> echo "\usepackage{graphicx}" > pdffigures.tex
> echo "\usepackage{picins}" >> pdffigures.tex
> # Call LaTeX three times to get the toc right.
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> I think this means that your build path under Windows uses a Makefile
> I did not know about and therefore failed to include when modifying
> the mechanism for figure generation in commits 0a0a64 12aabd
>
> That would not surprise me. I broke it on linux also :-(
> See Bug #2453
> I tried to fix that, but it could be that I made things worse.
>
>
> Is it this file?
> .../config/mingw/Makefile
>
> How is that file generated?
> Is it automatically created or is it edited by hand?
>
> I think that the patch below would fix the problem you show,
> but I don't know whether to apply it to that file directly or
> apply it to a higher-level Makefile.am or Makefile.in.
>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> diff --git a/config/mingw/Makefile b/config/mingw/Makefile
> index 3c578b27e..80b4824c0 100644
> --- a/config/mingw/Makefile
> +++ b/config/mingw/Makefile
> @@ -955,6 +955,9 @@ gnuplot.pdf: gnuplot-figures.tex $(TOP)/VERSION $(D)toc_entr.sty $(D)titlepag.te
> cp gnuplot-figures.tex gp_tex2.tex
> echo "\usepackage{graphicx}" > pdffigures.tex
> echo "\usepackage{picins}" >> pdffigures.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
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> 良いお年を
>
> Ethan
>
|
|
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
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>
>
>
|
|
From: Ethan A M. <me...@uw...> - 2022-01-03 00:04:13
|
On Sunday, 2 January 2022 14:36:59 PST Tatsuro MATSUOKA wrote:
> 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.
I have never seen that error message.
Perhaps this is a difference between MiKTeX and TexLive?
You could try changing the word "include" to "input" on line 42 of titlepag.tex
% This is only needed if you want to embed figures
- \include{gpinsetfigure}
+ \input{gpinsetfigure}
> (gpinsetfigure.tex
>
> ! LaTeX Error: Command \gpinsetfigure already defined.
> Or name \end... illegal, see p.192 of the manual.
This one makes no sense to me.
Please check the content of gpinsetfigure.tex
It should look like this:
[~/git/gnuplot-main/docs] cat gpinsetfigure.tex
\usepackage{graphicx}
\usepackage{picins}
\newcommand{\gpinsetfigure}[1]{
\parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}}
}
There should be no "\end" in the file, and the definition of
gpinsetfigure should appear only once.
Ethan
> 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
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> >
> >
> >
>
>
|
|
From: Tatsuro M. <tma...@ya...> - 2022-01-03 01:19:02
|
> ----- Original Message -----
>
> From: "Ethan A Merritt" <me...@uw...>
> To: "beta" <gnu...@li...>; "Tatsuro MATSUOKA" <tma...@ya...>
> Date: 2022/01/03 月 09:04
> Subject: Re: inquiry make documentation on native windows
>
>
> On Sunday, 2 January 2022 14:36:59 PST Tatsuro MATSUOKA wrote:
> > 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.
>
> I have never seen that error message.
> Perhaps this is a difference between MiKTeX and TexLive?
> You could try changing the word "include" to "input" on line 42 of titlepag.tex
>
> % This is only needed if you want to embed figures
> - \include{gpinsetfigure}
> + \input{gpinsetfigure}
The change makes the warining disappeared
but even if the change does not apply, results are the same.
>
> > (gpinsetfigure.tex
> >
> > ! LaTeX Error: Command \gpinsetfigure already defined.
> > Or name \end... illegal, see p.192 of the manual.
>
> This one makes no sense to me.
> Please check the content of gpinsetfigure.tex
> It should look like this:
>
> [~/git/gnuplot-main/docs] cat gpinsetfigure.tex
> \usepackage{graphicx}
> \usepackage{picins}
> \newcommand{\gpinsetfigure}[1]{
> \parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}}
> }
I found two type mistakes in your patch
Two "gpinsetfigures.tex" are found (not "gpinsetfigure.tex")
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
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 # should be gpinsetfigure.tex
+ echo "\usepackage{picins}" >> gpinsetfigures.tex # should be gpinsetfigure.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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
After type mistakes are corrected, "make docs "with both MiKTeX and TeXLive on cygwin on native windows build are successful.
Please push corrected patch to the master branch.
Tatsuro
> There should be no "\end" in the file, and the definition of
> gpinsetfigure should appear only once.
>
> Ethan
>
> > 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
> > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> > >
> > >
> > >
> > >
> >
> >
>
>
>
>
|
|
From: Tatsuro M. <tma...@ya...> - 2022-01-03 07:24:25
|
Ethan Thank you for updating the config/mingw/Makefile in the master branch. https://sourceforge.net/p/gnuplot/gnuplot-main/ci/b838ebe0e44a28561f9193f307f15f3301cf654e/ Now we can build document by MiKTeX or TeXLive on windows environments in current development branch. Tatsuro > > ----- Original Message ----- > > > > > > > > On Sunday, 2 January 2022 14:36:59 PST Tatsuro MATSUOKA wrote: > > > 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. > > > > I have never seen that error message. > > Perhaps this is a difference between MiKTeX and TexLive? > > You could try changing the word "include" to "input" on line 42 of titlepag.tex > > > > % This is only needed if you want to embed figures > > - \include{gpinsetfigure} > > + \input{gpinsetfigure} > > The change makes the warining disappeared > but even if the change does not apply, results are the same. > > > > > > > > (gpinsetfigure.tex > > > > > > ! LaTeX Error: Command \gpinsetfigure already defined. > > > Or name \end... illegal, see p.192 of the manual. > > > > This one makes no sense to me. > > Please check the content of gpinsetfigure.tex > > It should look like this: > > > > [~/git/gnuplot-main/docs] cat gpinsetfigure.tex > > \usepackage{graphicx} > > \usepackage{picins} > > \newcommand{\gpinsetfigure}[1]{ > > \parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}} > > } > I found two type mistakes in your patch > Two "gpinsetfigures.tex" are found (not "gpinsetfigure.tex") > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > 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 # should be gpinsetfigure.tex > + echo "\usepackage{picins}" >> gpinsetfigures.tex # should be gpinsetfigure.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 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > After type mistakes are corrected, "make docs "with both MiKTeX and TeXLive on cygwin on native windows build are successful. > > Please push corrected patch to the master branch. > > Tatsuro > > > > > > > There should be no "\end" in the file, and the definition of > > gpinsetfigure should appear only once. > > > > Ethan > > > > > 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 > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
|
From: Ethan A M. <me...@uw...> - 2022-01-02 17:43:54
|
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|