Debian Codegraph @

debian/patches/documentation_patches

raw
1 From: Carlo Segre <[email protected]>
2 Date: Tue, 6 Aug 2024 12:53:43 +0200
3 Subject: Remove ifpdf definition in documentation
4
5 This patch is required for squeeze as the pdflatex package already
6 defines the ifpdf variable and consequently latex fails on compilation
7 of the docuementation.
8 ---
9 doc/RefMan/.latex_type | 2 +-
10 doc/RefMan/fourier.tex | 12 ++++++------
11 doc/RefMan/ifmacs.tex | 8 +++++---
12 doc/RefMan/ifmacs_pdf.tex | 6 ++++--
13 doc/RefMan/plotting.tex | 8 ++++----
14 doc/Tutorial/ifmacs_pdf.tex | 6 ++++--
15 doc/Tutorial/ifmacs_ps.tex | 6 ++++--
16 7 files changed, 28 insertions(+), 20 deletions(-)
17
18 diff --git a/doc/RefMan/.latex_type b/doc/RefMan/.latex_type
19 index 5a5134c..da0de7e 100644
20 --- a/doc/RefMan/.latex_type
21 +++ b/doc/RefMan/.latex_type
22 @@ -1 +1 @@
23 -ps
24 +pdf
25 diff --git a/doc/RefMan/fourier.tex b/doc/RefMan/fourier.tex
26 index bf99580..b19986d 100644
27 --- a/doc/RefMan/fourier.tex
28 +++ b/doc/RefMan/fourier.tex
29 @@ -170,7 +170,7 @@ functions of $k$. The $R$-space windows are exactly analogous with
30 %%#GraphicsFile% win_hanning WinHanning
31 % Anatomy of the Hanning Window.
32 \begin{figure}[tb] \begin{center}
33 - \includegraphics[width=2.75in,angle=-90]{figs/win_hanning.ps}
34 + \includegraphics[width=4.0in]{figs/win_hanning.png}
35 \caption{ Anatomy of the Hanning Window.}\label{Fig:WinHanning}
36 \end{center} \end{figure}
37 %%#EndGraphics%
38 @@ -178,7 +178,7 @@ functions of $k$. The $R$-space windows are exactly analogous with
39 %%#GraphicsFile% win_parzen WinParzen
40 % Anatomy of the Parzen Window.
41 \begin{figure}[tb] \begin{center}
42 - \includegraphics[width=2.75in,angle=-90]{figs/win_parzen.ps}
43 + \includegraphics[width=4.0in]{figs/win_parzen.png}
44 \caption{ Anatomy of the Parzen Window.}\label{Fig:WinParzen}
45 \end{center} \end{figure}
46 %%#EndGraphics%
47 @@ -186,7 +186,7 @@ functions of $k$. The $R$-space windows are exactly analogous with
48 %%#GraphicsFile% win_welch WinWelch
49 % Anatomy of the Welch Window.
50 \begin{figure}[tb] \begin{center}
51 - \includegraphics[width=2.75in,angle=-90]{figs/win_welch.ps}
52 + \includegraphics[width=4.0in]{figs/win_welch.png}
53 \caption{ Anatomy of the Welch Window.}\label{Fig:WinWelch}
54 \end{center} \end{figure}
55 %%#EndGraphics%
56 @@ -194,7 +194,7 @@ functions of $k$. The $R$-space windows are exactly analogous with
57 %%#GraphicsFile% win_gauss WinGauss
58 % Anatomy of the Gauss Window.
59 \begin{figure}[tb] \begin{center}
60 - \includegraphics[width=2.75in,angle=-90]{figs/win_gauss.ps}
61 + \includegraphics[width=4.0in]{figs/win_gauss.png}
62 \caption{ Anatomy of the Gauss Window.}\label{Fig:WinGauss}
63 \end{center} \end{figure}
64 %%#EndGraphics%
65 @@ -202,7 +202,7 @@ functions of $k$. The $R$-space windows are exactly analogous with
66 %%#GraphicsFile% win_kaiser WinKaiser
67 % Anatomy of the Kaiser Window.
68 \begin{figure}[tb] \begin{center}
69 - \includegraphics[width=2.75in,angle=-90]{figs/win_kaiser.ps}
70 + \includegraphics[width=4.0in]{figs/win_kaiser.png}
71 \caption{ Anatomy of the Kaiser Window.}\label{Fig:WinKaiser}
72 \end{center} \end{figure}
73 %%#EndGraphics%
74 @@ -210,7 +210,7 @@ functions of $k$. The $R$-space windows are exactly analogous with
75 %%#GraphicsFile% win_sine WinSine
76 % Anatomy of the Sine Window.
77 \begin{figure}[tb] \begin{center}
78 - \includegraphics[width=2.75in,angle=-90]{figs/win_sine.ps}
79 + \includegraphics[width=4.0in]{figs/win_sine.png}
80 \caption{ Anatomy of the Sine Window.}\label{Fig:WinSine}
81 \end{center} \end{figure}
82 %%#EndGraphics%
83 diff --git a/doc/RefMan/ifmacs.tex b/doc/RefMan/ifmacs.tex
84 index 5679257..719150f 100644
85 --- a/doc/RefMan/ifmacs.tex
86 +++ b/doc/RefMan/ifmacs.tex
87 @@ -1,8 +1,10 @@
88 -pho%% macros for ifeffit -*-latex-*-
89 +%% macros for ifeffit -*-latex-*-
90
91 %% determine if this is pdflatex or latex
92 - \newif\ifpdf
93 - \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
94 +% No need for this, use the package (CUS)
95 + \usepackage{ifpdf}
96 +% \newif\ifpdf
97 +% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
98 % %%%
99 %
100 \ifpdf
101 diff --git a/doc/RefMan/ifmacs_pdf.tex b/doc/RefMan/ifmacs_pdf.tex
102 index 2186fdb..6e36a10 100644
103 --- a/doc/RefMan/ifmacs_pdf.tex
104 +++ b/doc/RefMan/ifmacs_pdf.tex
105 @@ -1,8 +1,10 @@
106 %% macros for ifeffit -*-latex-*-
107
108 %% determine if this is pdflatex or latex
109 - \newif\ifpdf
110 - \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
111 +% No need for this, use the package (CUS)
112 + \usepackage{ifpdf}
113 +% \newif\ifpdf
114 +% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
115 % %%%
116 %
117 \ifpdf
118 diff --git a/doc/RefMan/plotting.tex b/doc/RefMan/plotting.tex
119 index 4e233d8..8997f15 100644
120 --- a/doc/RefMan/plotting.tex
121 +++ b/doc/RefMan/plotting.tex
122 @@ -318,7 +318,7 @@ shown in Figure~\ref{Fig:PlotPoints}. {\index{plotting!line style}}
123 % A selection of plotting line and points styles
124 % for {\ifeffit}.
125 \begin{figure}[tb] \begin{center}
126 - \includegraphics[width=2.75in,angle=-90]{figs/plot_styles.ps}
127 + \includegraphics[width=4.0in]{figs/plot_styles.png}
128 \caption{ A selection of plotting line and points styles
129 for {\ifeffit}.}\label{Fig:PlotStyles}
130 \end{center} \end{figure}
131 @@ -332,7 +332,7 @@ shown in Figure~\ref{Fig:PlotPoints}. {\index{plotting!line style}}
132 % types such as {\tt{style=linespoints3}} will show the same point type,
133 % joined with a solid line.
134 \begin{figure}[tb] \begin{center}
135 - \includegraphics[width=2.75in,angle=-90]{figs/plot_points.ps}
136 + \includegraphics[width=4.0in]{figs/plot_points.png}
137 \caption{ The plotting point types for {\ifeffit}, as produced with
138 syntax such as {\tt{style=points3}}, and so forth. The linespoints
139 types such as {\tt{style=linespoints3}} will show the same point type,
140 @@ -468,7 +468,7 @@ which will render fonts as shown in Figure~\ref{Fig:PlotFonts}.
141 % Sample of plotting text strings, fonts, and special characters
142 % for {\ifeffit}
143 \begin{figure}[tb] \begin{center}
144 - \includegraphics[width=2.75in,angle=-90]{figs/plot_fonts.ps}
145 + \includegraphics[width=4.0in]{figs/plot_fonts.png}
146 \caption{ Sample of plotting text strings, fonts, and special characters
147 for {\ifeffit}}\label{Fig:PlotFonts}
148 \end{center} \end{figure}
149 @@ -536,7 +536,7 @@ which completely suppresses the arrowhead.
150 % A selection of examples of plotting arrow parameters
151 % for {\ifeffit}.
152 \begin{figure}[tb] \begin{center}
153 - \includegraphics[width=2.75in,angle=-90]{figs/plot_arrows.ps}
154 + \includegraphics[width=4.0in]{figs/plot_arrows.png}
155 \caption{ A selection of examples of plotting arrow parameters
156 for {\ifeffit}.}\label{Fig:PlotArrows}
157 \end{center} \end{figure}
158 diff --git a/doc/Tutorial/ifmacs_pdf.tex b/doc/Tutorial/ifmacs_pdf.tex
159 index f1ae7ec..719150f 100644
160 --- a/doc/Tutorial/ifmacs_pdf.tex
161 +++ b/doc/Tutorial/ifmacs_pdf.tex
162 @@ -1,8 +1,10 @@
163 %% macros for ifeffit -*-latex-*-
164
165 %% determine if this is pdflatex or latex
166 - \newif\ifpdf
167 - \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
168 +% No need for this, use the package (CUS)
169 + \usepackage{ifpdf}
170 +% \newif\ifpdf
171 +% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
172 % %%%
173 %
174 \ifpdf
175 diff --git a/doc/Tutorial/ifmacs_ps.tex b/doc/Tutorial/ifmacs_ps.tex
176 index 98734cd..fdfc2a9 100644
177 --- a/doc/Tutorial/ifmacs_ps.tex
178 +++ b/doc/Tutorial/ifmacs_ps.tex
179 @@ -1,8 +1,10 @@
180 %% macros for ifeffit -*-latex-*-
181
182 %% determine if this is pdflatex or latex
183 - \newif\ifpdf
184 - \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
185 +% No need for this, use the package (CUS)
186 + \usepackage{ifpdf}
187 +% \newif\ifpdf
188 +% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
189 % %%%
190 %
191 \ifpdf