File: documentation_patches

package info (click to toggle)
ifeffit 2%3A1.2.11d-12.7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 12,336 kB
  • sloc: fortran: 35,441; ansic: 8,458; makefile: 4,775; python: 3,315; perl: 3,144; sh: 2,721; ada: 1,003; tcl: 95
file content (191 lines) | stat: -rw-r--r-- 7,676 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
From: Carlo Segre <segre@debian.org>
Date: Tue, 6 Aug 2024 12:53:43 +0200
Subject: Remove ifpdf definition in documentation

This patch is required for squeeze as the pdflatex package already
defines the ifpdf variable and consequently latex fails on compilation
of the docuementation.
---
 doc/RefMan/.latex_type      |  2 +-
 doc/RefMan/fourier.tex      | 12 ++++++------
 doc/RefMan/ifmacs.tex       |  8 +++++---
 doc/RefMan/ifmacs_pdf.tex   |  6 ++++--
 doc/RefMan/plotting.tex     |  8 ++++----
 doc/Tutorial/ifmacs_pdf.tex |  6 ++++--
 doc/Tutorial/ifmacs_ps.tex  |  6 ++++--
 7 files changed, 28 insertions(+), 20 deletions(-)

diff --git a/doc/RefMan/.latex_type b/doc/RefMan/.latex_type
index 5a5134c..da0de7e 100644
--- a/doc/RefMan/.latex_type
+++ b/doc/RefMan/.latex_type
@@ -1 +1 @@
-ps
+pdf
diff --git a/doc/RefMan/fourier.tex b/doc/RefMan/fourier.tex
index bf99580..b19986d 100644
--- a/doc/RefMan/fourier.tex
+++ b/doc/RefMan/fourier.tex
@@ -170,7 +170,7 @@ functions of $k$.  The $R$-space windows are exactly analogous with
 %%#GraphicsFile%    win_hanning  WinHanning
 % Anatomy of the Hanning Window.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/win_hanning.ps}
+  \includegraphics[width=4.0in]{figs/win_hanning.png}
   \caption{ Anatomy of the Hanning Window.}\label{Fig:WinHanning}
 \end{center} \end{figure}
 %%#EndGraphics%
@@ -178,7 +178,7 @@ functions of $k$.  The $R$-space windows are exactly analogous with
 %%#GraphicsFile%    win_parzen  WinParzen
 % Anatomy of the Parzen Window.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/win_parzen.ps}
+  \includegraphics[width=4.0in]{figs/win_parzen.png}
   \caption{ Anatomy of the Parzen Window.}\label{Fig:WinParzen}
 \end{center} \end{figure}
 %%#EndGraphics%
@@ -186,7 +186,7 @@ functions of $k$.  The $R$-space windows are exactly analogous with
 %%#GraphicsFile%    win_welch  WinWelch
 % Anatomy of the Welch Window.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/win_welch.ps}
+  \includegraphics[width=4.0in]{figs/win_welch.png}
   \caption{ Anatomy of the Welch Window.}\label{Fig:WinWelch}
 \end{center} \end{figure}
 %%#EndGraphics%
@@ -194,7 +194,7 @@ functions of $k$.  The $R$-space windows are exactly analogous with
 %%#GraphicsFile%    win_gauss  WinGauss
 % Anatomy of the Gauss Window.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/win_gauss.ps}
+  \includegraphics[width=4.0in]{figs/win_gauss.png}
   \caption{ Anatomy of the Gauss Window.}\label{Fig:WinGauss}
 \end{center} \end{figure}
 %%#EndGraphics%
@@ -202,7 +202,7 @@ functions of $k$.  The $R$-space windows are exactly analogous with
 %%#GraphicsFile%    win_kaiser  WinKaiser
 % Anatomy of the Kaiser Window.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/win_kaiser.ps}
+  \includegraphics[width=4.0in]{figs/win_kaiser.png}
   \caption{ Anatomy of the Kaiser Window.}\label{Fig:WinKaiser}
 \end{center} \end{figure}
 %%#EndGraphics%
@@ -210,7 +210,7 @@ functions of $k$.  The $R$-space windows are exactly analogous with
 %%#GraphicsFile%    win_sine  WinSine
 % Anatomy of the Sine Window.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/win_sine.ps}
+  \includegraphics[width=4.0in]{figs/win_sine.png}
   \caption{ Anatomy of the Sine Window.}\label{Fig:WinSine}
 \end{center} \end{figure}
 %%#EndGraphics%
diff --git a/doc/RefMan/ifmacs.tex b/doc/RefMan/ifmacs.tex
index 5679257..719150f 100644
--- a/doc/RefMan/ifmacs.tex
+++ b/doc/RefMan/ifmacs.tex
@@ -1,8 +1,10 @@
-pho%%  macros for ifeffit        -*-latex-*-
+%%  macros for ifeffit        -*-latex-*-
 
 %%  determine if this is pdflatex or latex
- \newif\ifpdf
- \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
+% No need for this, use the package (CUS)
+ \usepackage{ifpdf}
+% \newif\ifpdf
+% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
 % %%% 
 % 
  \ifpdf
diff --git a/doc/RefMan/ifmacs_pdf.tex b/doc/RefMan/ifmacs_pdf.tex
index 2186fdb..6e36a10 100644
--- a/doc/RefMan/ifmacs_pdf.tex
+++ b/doc/RefMan/ifmacs_pdf.tex
@@ -1,8 +1,10 @@
 %%  macros for ifeffit        -*-latex-*-
 
 %%  determine if this is pdflatex or latex
- \newif\ifpdf
- \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
+% No need for this, use the package (CUS)
+ \usepackage{ifpdf}
+% \newif\ifpdf
+% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
 % %%% 
 % 
  \ifpdf
diff --git a/doc/RefMan/plotting.tex b/doc/RefMan/plotting.tex
index 4e233d8..8997f15 100644
--- a/doc/RefMan/plotting.tex
+++ b/doc/RefMan/plotting.tex
@@ -318,7 +318,7 @@ shown in Figure~\ref{Fig:PlotPoints}.  {\index{plotting!line style}}
 %   A selection of plotting line and points styles
 %   for {\ifeffit}.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/plot_styles.ps}
+  \includegraphics[width=4.0in]{figs/plot_styles.png}
   \caption{ A selection of plotting line and points styles
  for {\ifeffit}.}\label{Fig:PlotStyles}
 \end{center} \end{figure}
@@ -332,7 +332,7 @@ shown in Figure~\ref{Fig:PlotPoints}.  {\index{plotting!line style}}
 % types such as {\tt{style=linespoints3}} will show the same point type,
 % joined with a solid line.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/plot_points.ps}
+  \includegraphics[width=4.0in]{figs/plot_points.png}
   \caption{ The plotting point types for {\ifeffit}, as produced with
  syntax such as {\tt{style=points3}}, and so forth.  The linespoints
  types such as {\tt{style=linespoints3}} will show the same point type,
@@ -468,7 +468,7 @@ which will render fonts as shown in Figure~\ref{Fig:PlotFonts}.
 %  Sample of plotting text strings, fonts, and special characters
 %   for {\ifeffit}
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/plot_fonts.ps}
+  \includegraphics[width=4.0in]{figs/plot_fonts.png}
   \caption{ Sample of plotting text strings, fonts, and special characters
  for {\ifeffit}}\label{Fig:PlotFonts}
 \end{center} \end{figure}
@@ -536,7 +536,7 @@ which completely suppresses the arrowhead.
 %   A selection of examples of plotting arrow parameters
 %   for {\ifeffit}.
 \begin{figure}[tb] \begin{center}
-  \includegraphics[width=2.75in,angle=-90]{figs/plot_arrows.ps}
+  \includegraphics[width=4.0in]{figs/plot_arrows.png}
   \caption{ A selection of examples of plotting arrow parameters
  for {\ifeffit}.}\label{Fig:PlotArrows}
 \end{center} \end{figure}
diff --git a/doc/Tutorial/ifmacs_pdf.tex b/doc/Tutorial/ifmacs_pdf.tex
index f1ae7ec..719150f 100644
--- a/doc/Tutorial/ifmacs_pdf.tex
+++ b/doc/Tutorial/ifmacs_pdf.tex
@@ -1,8 +1,10 @@
 %%  macros for ifeffit        -*-latex-*-
 
 %%  determine if this is pdflatex or latex
- \newif\ifpdf
- \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
+% No need for this, use the package (CUS)
+ \usepackage{ifpdf}
+% \newif\ifpdf
+% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
 % %%% 
 % 
  \ifpdf
diff --git a/doc/Tutorial/ifmacs_ps.tex b/doc/Tutorial/ifmacs_ps.tex
index 98734cd..fdfc2a9 100644
--- a/doc/Tutorial/ifmacs_ps.tex
+++ b/doc/Tutorial/ifmacs_ps.tex
@@ -1,8 +1,10 @@
 %%  macros for ifeffit        -*-latex-*-
 
 %%  determine if this is pdflatex or latex
- \newif\ifpdf
- \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
+% No need for this, use the package (CUS)
+ \usepackage{ifpdf}
+% \newif\ifpdf
+% \ifx\pdfoutput\undefined{\pdffalse}\else{\pdfoutput=1 \pdftrue}\fi
 % %%% 
 % 
  \ifpdf