blob: 87408aebd44755c8714d2bbff8587151daf11ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Do not require picins.sty.
https://bugs.gentoo.org/577828#c4
--- gnuplot-5.0.6-orig/docs/Makefile.am
+++ gnuplot-5.0.6/docs/Makefile.am
@@ -189,7 +189,6 @@
touch figures.idx ; \
rm -f pdffigures.tex ; \
( echo "\usepackage{graphicx}" > pdffigures.tex ; \
- echo "\usepackage{picins}" >> pdffigures.tex ; \
) ; \
TEXINPUTS=.:$(srcdir):$(top_srcdir):${TEXINPUTS}: $(PDFLATEX) $< ; \
TEXINPUTS=.:$(srcdir):$(top_srcdir):${TEXINPUTS}: $(PDFLATEX) $< ; \
--- gnuplot-5.0.6-orig/docs/doc2tex.c
+++ gnuplot-5.0.6/docs/doc2tex.c
@@ -170,9 +170,9 @@
case 'F': /* embedded figure */
if (figures) {
line[strlen(line)-1]=NUL;
- (void) fputs("\\parpic[r][rt]{\\includegraphics[width=3in,keepaspectratio]{",b);
+ (void) fputs("\\begin{figure}[htb]\n\\centering\\includegraphics[width=3in,keepaspectratio]{",b);
fputs(line+1, b);
- (void) fputs("}}\n",b);
+ (void) fputs("}\n\\end{figure}\n",b);
}
break;
|