diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/eepic.dvi | bin | 37632 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/eepic.pdf | bin | 0 -> 118804 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/epic-eg3.fig | 62 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/epic-eg4.fig | 72 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg3.fig | 62 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg4.fig | 72 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/fig2eepic/fig2epic.1 | 205 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile | 35 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/fig2eepic/readme | 28 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eepic/grafig.shar | 535 |
10 files changed, 1071 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/eepic/eepic.dvi b/Master/texmf-dist/doc/latex/eepic/eepic.dvi Binary files differdeleted file mode 100644 index 54e2f8b48c0..00000000000 --- a/Master/texmf-dist/doc/latex/eepic/eepic.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/eepic/eepic.pdf b/Master/texmf-dist/doc/latex/eepic/eepic.pdf Binary files differnew file mode 100644 index 00000000000..f687a300908 --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/eepic.pdf diff --git a/Master/texmf-dist/doc/latex/eepic/epic-eg3.fig b/Master/texmf-dist/doc/latex/eepic/epic-eg3.fig new file mode 100644 index 00000000000..7652788af70 --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/epic-eg3.fig @@ -0,0 +1,62 @@ +#FIG 1.4 +80 2 +5 1 0 1 0 0 0 0 0.000 0 1 0 346.808 76.731 348 68 353 83 338 77 + 0 0 1.000 4.000 8.000 +5 1 0 1 0 0 0 0 0.000 1 1 0 203.688 42.688 207 50 206 35 196 45 + 0 0 1.000 4.000 8.000 +5 1 0 1 0 0 0 0 0.000 1 1 0 182.250 47.250 189 47 177 43 182 54 + 0 0 1.000 4.000 8.000 +1 1 0 1 0 0 0 0 0.000 1 0.000 69 62 34 13 69 62 103 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 198 62 11 11 198 62 198 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 266 62 11 11 266 62 266 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 334 62 11 11 334 62 334 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 401 62 11 11 401 62 401 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 468 62 11 11 468 62 468 74 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 108 62 181 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 216 62 249 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 282 62 317 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 350 62 384 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 418 62 451 62 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 329 74 289 104 229 109 199 94 194 79 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 264 74 244 89 219 89 204 74 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 256 73 234 79 210 73 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 389 49 329 29 279 49 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 394 44 353 16 259 24 214 53 9999 9999 +4 0 0 16 0 0 0 0.000 1 16 8 425 56 C +4 0 0 16 0 0 0 0.000 1 16 8 358 58 B +4 0 0 16 0 0 0 0.000 1 16 8 333 14 B +4 0 0 16 0 0 0 0.000 1 16 8 305 34 A +4 0 0 16 0 0 0 0.000 1 16 8 356 92 A +4 0 0 16 0 0 0 0.000 1 16 8 295 90 C +4 0 0 16 0 0 0 0.000 1 16 8 293 57 A +4 0 0 16 0 0 0 0.000 1 16 8 256 92 C +4 0 0 16 0 0 0 0.000 1 16 8 231 73 B +4 0 0 16 0 0 0 0.000 1 16 8 227 58 A +4 0 0 16 0 0 0 0.000 1 16 8 202 31 C +4 0 0 16 0 0 0 0.000 1 16 8 164 44 B +4 0 0 16 0 0 0 0.000 1 16 40 54 66 Start +4 0 0 16 0 0 0 0.000 1 16 8 197 66 1 +4 0 0 16 0 0 0 0.000 1 16 8 263 66 2 +4 0 0 16 0 0 0 0.000 1 16 8 333 66 3 +4 0 0 16 0 0 0 0.000 1 16 8 398 66 4 +4 0 0 16 0 0 0 0.000 1 16 8 467 66 * diff --git a/Master/texmf-dist/doc/latex/eepic/epic-eg4.fig b/Master/texmf-dist/doc/latex/eepic/epic-eg4.fig new file mode 100644 index 00000000000..cca46a6490a --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/epic-eg4.fig @@ -0,0 +1,72 @@ +#FIG 1.4 +80 2 +1 3 0 1 0 0 0 0 0.000 1 0.000 174 124 5 5 174 124 174 129 +1 3 0 1 0 0 0 0 0.000 1 0.000 209 169 5 5 209 169 209 174 +1 3 0 1 0 0 0 0 0.000 1 0.000 69 149 5 5 69 149 69 154 +1 3 0 1 0 0 0 0 0.000 1 0.000 129 241 5 5 129 241 129 246 +1 3 0 1 0 0 0 0 0.000 1 0.000 139 169 5 5 139 169 139 174 +1 3 0 1 0 0 0 0 0.000 1 0.000 223 241 5 5 223 241 223 246 +1 3 0 1 0 0 0 0 0.000 1 0.000 294 144 5 5 294 144 294 149 +1 3 0 1 0 0 0 0 0.000 1 0.000 219 84 5 5 219 84 219 89 +1 3 0 1 0 0 0 0 0.000 1 0.000 129 84 5 5 129 84 129 89 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 222 230 212 179 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 137 176 130 233 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 213 241 138 241 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 229 234 288 154 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 200 171 150 171 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 144 162 167 133 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 203 161 179 133 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 168 118 136 90 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 73 157 122 233 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 215 93 183 118 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 78 151 129 166 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 286 149 220 168 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 227 88 288 137 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 137 84 209 84 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 124 90 76 142 9999 9999 +4 0 0 16 0 0 0 0.000 1 16 8 243 154 7 +4 0 0 16 0 0 0 0.000 1 16 8 96 152 6 +4 0 0 16 0 0 0 0.000 1 16 8 82 200 5 +4 0 0 16 0 0 0 0.000 1 16 8 205 112 4 +4 0 0 16 0 0 0 0.000 1 16 8 256 105 3 +4 0 0 16 0 0 0 0.000 1 16 8 88 110 2 +4 0 0 16 0 0 0 0.000 1 16 8 170 81 1 +4 0 0 16 0 0 0 0.000 1 16 8 134 159 I +4 0 0 16 0 0 0 0.000 1 16 8 208 159 H +4 0 0 16 0 0 0 0.000 1 16 8 171 113 G +4 0 0 16 0 0 0 0.000 1 16 8 49 156 F +4 0 0 16 0 0 0 0.000 1 16 8 125 261 E +4 0 0 16 0 0 0 0.000 1 16 8 220 260 D +4 0 0 16 0 0 0 0.000 1 16 8 305 146 C +4 0 0 16 0 0 0 0.000 1 16 8 217 74 B +4 0 0 16 0 0 0 0.000 1 16 8 123 75 A diff --git a/Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg3.fig b/Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg3.fig new file mode 100644 index 00000000000..7652788af70 --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg3.fig @@ -0,0 +1,62 @@ +#FIG 1.4 +80 2 +5 1 0 1 0 0 0 0 0.000 0 1 0 346.808 76.731 348 68 353 83 338 77 + 0 0 1.000 4.000 8.000 +5 1 0 1 0 0 0 0 0.000 1 1 0 203.688 42.688 207 50 206 35 196 45 + 0 0 1.000 4.000 8.000 +5 1 0 1 0 0 0 0 0.000 1 1 0 182.250 47.250 189 47 177 43 182 54 + 0 0 1.000 4.000 8.000 +1 1 0 1 0 0 0 0 0.000 1 0.000 69 62 34 13 69 62 103 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 198 62 11 11 198 62 198 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 266 62 11 11 266 62 266 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 334 62 11 11 334 62 334 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 401 62 11 11 401 62 401 74 +1 3 0 1 0 0 0 0 0.000 1 0.000 468 62 11 11 468 62 468 74 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 108 62 181 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 216 62 249 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 282 62 317 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 350 62 384 62 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 418 62 451 62 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 329 74 289 104 229 109 199 94 194 79 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 264 74 244 89 219 89 204 74 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 256 73 234 79 210 73 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 389 49 329 29 279 49 9999 9999 +3 0 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 394 44 353 16 259 24 214 53 9999 9999 +4 0 0 16 0 0 0 0.000 1 16 8 425 56 C +4 0 0 16 0 0 0 0.000 1 16 8 358 58 B +4 0 0 16 0 0 0 0.000 1 16 8 333 14 B +4 0 0 16 0 0 0 0.000 1 16 8 305 34 A +4 0 0 16 0 0 0 0.000 1 16 8 356 92 A +4 0 0 16 0 0 0 0.000 1 16 8 295 90 C +4 0 0 16 0 0 0 0.000 1 16 8 293 57 A +4 0 0 16 0 0 0 0.000 1 16 8 256 92 C +4 0 0 16 0 0 0 0.000 1 16 8 231 73 B +4 0 0 16 0 0 0 0.000 1 16 8 227 58 A +4 0 0 16 0 0 0 0.000 1 16 8 202 31 C +4 0 0 16 0 0 0 0.000 1 16 8 164 44 B +4 0 0 16 0 0 0 0.000 1 16 40 54 66 Start +4 0 0 16 0 0 0 0.000 1 16 8 197 66 1 +4 0 0 16 0 0 0 0.000 1 16 8 263 66 2 +4 0 0 16 0 0 0 0.000 1 16 8 333 66 3 +4 0 0 16 0 0 0 0.000 1 16 8 398 66 4 +4 0 0 16 0 0 0 0.000 1 16 8 467 66 * diff --git a/Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg4.fig b/Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg4.fig new file mode 100644 index 00000000000..cca46a6490a --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/fig2eepic/epic-eg4.fig @@ -0,0 +1,72 @@ +#FIG 1.4 +80 2 +1 3 0 1 0 0 0 0 0.000 1 0.000 174 124 5 5 174 124 174 129 +1 3 0 1 0 0 0 0 0.000 1 0.000 209 169 5 5 209 169 209 174 +1 3 0 1 0 0 0 0 0.000 1 0.000 69 149 5 5 69 149 69 154 +1 3 0 1 0 0 0 0 0.000 1 0.000 129 241 5 5 129 241 129 246 +1 3 0 1 0 0 0 0 0.000 1 0.000 139 169 5 5 139 169 139 174 +1 3 0 1 0 0 0 0 0.000 1 0.000 223 241 5 5 223 241 223 246 +1 3 0 1 0 0 0 0 0.000 1 0.000 294 144 5 5 294 144 294 149 +1 3 0 1 0 0 0 0 0.000 1 0.000 219 84 5 5 219 84 219 89 +1 3 0 1 0 0 0 0 0.000 1 0.000 129 84 5 5 129 84 129 89 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 222 230 212 179 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 137 176 130 233 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 213 241 138 241 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 229 234 288 154 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 200 171 150 171 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 144 162 167 133 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 203 161 179 133 9999 9999 +2 1 1 1 0 0 0 0 4.000 1 0 + 0 0 1.000 4.000 8.000 + 168 118 136 90 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 73 157 122 233 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 215 93 183 118 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 78 151 129 166 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 286 149 220 168 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 227 88 288 137 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 137 84 209 84 9999 9999 +2 1 0 1 0 0 0 0 0.000 1 0 + 0 0 1.000 4.000 8.000 + 124 90 76 142 9999 9999 +4 0 0 16 0 0 0 0.000 1 16 8 243 154 7 +4 0 0 16 0 0 0 0.000 1 16 8 96 152 6 +4 0 0 16 0 0 0 0.000 1 16 8 82 200 5 +4 0 0 16 0 0 0 0.000 1 16 8 205 112 4 +4 0 0 16 0 0 0 0.000 1 16 8 256 105 3 +4 0 0 16 0 0 0 0.000 1 16 8 88 110 2 +4 0 0 16 0 0 0 0.000 1 16 8 170 81 1 +4 0 0 16 0 0 0 0.000 1 16 8 134 159 I +4 0 0 16 0 0 0 0.000 1 16 8 208 159 H +4 0 0 16 0 0 0 0.000 1 16 8 171 113 G +4 0 0 16 0 0 0 0.000 1 16 8 49 156 F +4 0 0 16 0 0 0 0.000 1 16 8 125 261 E +4 0 0 16 0 0 0 0.000 1 16 8 220 260 D +4 0 0 16 0 0 0 0.000 1 16 8 305 146 C +4 0 0 16 0 0 0 0.000 1 16 8 217 74 B +4 0 0 16 0 0 0 0.000 1 16 8 123 75 A diff --git a/Master/texmf-dist/doc/latex/eepic/fig2eepic/fig2epic.1 b/Master/texmf-dist/doc/latex/eepic/fig2eepic/fig2epic.1 new file mode 100644 index 00000000000..a6bf42af4ee --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/fig2eepic/fig2epic.1 @@ -0,0 +1,205 @@ +.TH FIG2EPIC 1 "23 August 1988" +.SH NAME +fig2epic \- translates Fig intermediate code into EPIC or EEPIC macros +.SH SYNOPSIS +.B fig2epic +[ +.B \-S +.I scale +] [ +.B \-s +.I size +] [ +.B \-m +.I mag +] [ +.B \-F +.I fspec +] [ +.B \-L +.I lang +] [ +.B \-l +.I lwidth +] [ +.B \-c +.I cfg-file +] [ +.B \-v +] [ +\fIfig-file\fR [ \fItex-file\fR ] ] +.SH DESCRIPTION +.I Fig2epic +translates fig objects in the named +.I fig-file +into EPIC or EEPIC macros and puts them in +.I tex-file. +If a file name is presented, it is assumed to be the input file (fig +output file). The output file +.I (tex-file), +if not presented, will be the stdout. +If the +.I fig-file +is not presented, input will be assumed to come from the stdin. +The output from fig2epic can be edited to change font sizes/types. +.LP +Fig (Facility for Interactive Generation of figures) is a screen-oriented +tool which allows the user to draw and manipulate objects interactively. +It runs under the Suntools/Sunview window environment. +Fig2epic is compatible with Fig versions 1.3 and 1.4. +.LP +EPIC is an enhancement to LaTeX picture drawing environment. +It was developed by Sunil Podar of Department of Computer Science +in S.U.N.Y at Stony Brook. +.LP +EEPIC is an extension to EPIC and LaTeX picture drawing +environment. It was written by Conrad Kwok of Division of +Computer Science at University of California, Davis. +.SH OPTIONS +.TP +.B \-S +Set the scale at which the figure is rendered to. This option +automatically set the magnification and default font to +.I scale +/ 12 and +.I scale +-tt respectively. The font can be changed using \-F option. +The default is 12 and other valid options are 8, 9, 10 and 11. +.TP +.B \-s +Change the default font size to +.I size +.TP +.B \-m +Set the magnification at which the figure is rendered to +.I mag. +The default is 1.0 unless \-s option is used. +.TP +.B \-c +Use +.I cfg-file +as the configuration file. +.TP +.B \-F +Set the font specification command which precedes every text object in the +picture to +.I fspec. +This option, if specified, overrides any font changing commands. +The default is none. +Note that no "\\" is required in the font name. +.TP +.B \-l +Use "\fB\\thicklines\fR" when width of the line is wider than +.I lwidth. +The default is 2. +.TP +.B \-L +Use the specified language +.I lang +in the output. Default is EEPIC. Other valid options are EPIC and +EEPIC-EMU. EEPIC-EMU is for use with EEPIC emulation package. +.TP +.B \-v +Include comment in the output file. + +.SH LATEX MACROS +In order to include EPIC or EEPIC pictures into a document, it is +necssary to load the EPIC and EEPIC macros. It can be done by +including \fBEPIC\fR and \fBEEPIC\fR in \fB\\documentstyle\fR +option. See the EPIC or EEPIC manaul for details. + +.SH Configuration File +All the defaults in fig2epic can be changed using configuration +file. When fig2pic is executed, it will look for the files +specified in \-c option if any, +.I fig-file.cfg +(if +.I fig-file +is ended with ".fig", it will be replaced by ".cfg"), fig2epic.cfg +and $HOME/.fig2epic in the order specified above. The first +configuration file found will be used. + +.TP +.I LowerLeftX +This specify X coordinate of the lower left hand corner of the Fig +picture. Default is 0. +.TP +.I LowerLeftY +This specify Y coordinate of the lower left hand corner in unitlength of the Fig +picture. Default is 0. +.TP +.I TopMargin +Set the distance in unitlength of the figure from the top of the +LaTeX picture box. Default is 5. +.TP +.I BottomMargin +Set the distance in unitlength of the figure from the bottom of the +LaTeX picture box. Default is 10. +.TP +.I SegmentLength +The maximum segment length in inch used in generating splines +(for EPIC) and arc (for EPIC and EEPIC-EMU). Default is 0.0625 +inch. +.TP +.I TextFont +Set the font used for all text. This option overrides FontType +and FontSize. However, it is overrided by \-s, -S and -F options. +Note that no "\\" is required in the font name. +.TP +.I Magnification +Same as \-m option. Default is 1.0. +.TP +.I Verbose +Same as \-v. Default is FALSE +.TP +.I DotDistance +Dot distance in unitlength for dotted lines. +.TP +.I LineThick +Same as \-l. Default is 2. +.TP +.I Language +Same is -L. Default is EEPIC +.TP +.I DashScale +Scale the dash length. Default is 1.0. +.TP +.I EllipseCommand +Specify the command used in drawing an ellipse. Default is +ellipse for EEPIC or EEPIC-EMU. oval is always used for EPIC. Possible +values are ellipse and oval. +.TP +.I UseBox +Specify whether fig2epic should generate \\framebox and/or +\\dashbox command +in the output file or not. Default is not to use the *box +command. Possible options are none, solid, dash and both. +.TP +.I DashType +This option is only used when EPIC option is selected. Valid options +are "Normal" (use dashline in drawing dash lines), "Economic" +(use drawline with -50 stretch in drawing dash lines) and +"Dotted" (use dotted lines to replace dash lines). Default is +"Normal". "Normal" option will use up TeX memory quickly if long +dash lines are drawn. If you get "TeX Capacity Exceed" error, you should +try the "Economic" or "Dotted" option. +.TP +.I FontType +Selects one of the following font types as the default--Roman, +Bold, Italics, Modern and Typewriter. Default is Typewriter. +.TP +.I FontSize +Selects default font size in points. Default is 12. + +.SH "SEE ALSO" +fig(1), +EPIC manual, +EEPIC manual and TransFig manual +.SH AUTHOR +Conrad Kwok (kwok@iris.ucdavis.edu) +.br +University of California, Davis +.br +August 14, 1988 +.sp +modified from fig2latex, fig2tex and f2p. diff --git a/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile b/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile new file mode 100644 index 00000000000..6574890b8d8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile @@ -0,0 +1,35 @@ +# Fig2epic : FIG to EPIC translator +# +# Conrad Kwok +# Modified from fig2pic which was modified from f2ps +# + +SRCDIR = ../src +SRCLIB = $(SRCDIR)/lib.a + +LIBS = -lm +# +# Use of gcc is recommended whenever available. +# -Inlcude DNoVPRINTF in CFLAGS if vprintf is not included in the library +# Include -DNoConfigFile and remove config.* if no configuration +# file is desired. +# +CFLAGS = -O $(CROSS) +CC = gcc $(CFLAGS) -I$(SRCDIR) + +fig2epic : fig2epic.o config.o $(SRCLIB) + $(CC) fig2epic.o config.o $(SRCLIB) -lm -o fig2epic + +# Include: +# -DINT32BIT when int is 32 bits long +# -DOldFashion when compiled using cc on Ultrix and BSD 4.x +config.o : config.c + $(CC) -DINT32BIT -c config.c + +$(SRCLIB): + (cd ../src; make) + +######### +clean : + rm -f *.o fig2epic core + diff --git a/Master/texmf-dist/doc/latex/eepic/fig2eepic/readme b/Master/texmf-dist/doc/latex/eepic/fig2eepic/readme new file mode 100644 index 00000000000..cc351f72e66 --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/fig2eepic/readme @@ -0,0 +1,28 @@ +fig2epic V1.0a supports Fig-TFX codes in changing font type and font +sizes. It also supports black filled for cirlce and ellipse. You +need to have the Transfig package in order to compile fig2epic. +Transfig can be obtained from svax.cs.cornell.edu + +EPIC can be obtained from cs.rochester.edu in +public/latex-style/eepic.shar[12] and EEPIC can be obained from +iris.ucdavis.edu[128.120.57.20] in pub/EEPIC10.shar using +anonymous ftp. + +When the configuration file option is included in the +compilation, the new ANSI keyword "void" is used. If your +compiler does not support the "void" type, you will get 30+ +warning about "illegal pointer combination" or similar messages. +However, the program should still work. + +fig2epic has been tested on BSD 4.3, SUN OS 3.4, Ultrix 2.1 and +Encore Umax 4.2 + +Bugs report, suggestions and comments are always welcome. + +Conrad Kwok + +internet: kwok@iris.ucdavis.edu +csnet : kwok@ucd.csnet +csnet : kwok%iris.ucdavis.edu@csnet.relay +uucp : {ucbvax, uunet, ... }!ucdavis!iris!kwok + diff --git a/Master/texmf-dist/doc/latex/eepic/grafig.shar b/Master/texmf-dist/doc/latex/eepic/grafig.shar new file mode 100644 index 00000000000..11158b0b6ad --- /dev/null +++ b/Master/texmf-dist/doc/latex/eepic/grafig.shar @@ -0,0 +1,535 @@ +#! /bin/sh +# This is a shell archive, meaning: +# 1. Remove everything above the #! /bin/sh line. +# 2. Save the resulting text in a file. +# 3. Execute the file with /bin/sh (not csh) to create the files: +# README +# Makefile +# grafig.1 +# object.h +# grafig.c +# This archive created: Wed Mar 15 16:57:30 1989 +export PATH; PATH=/bin:$PATH +if test -f 'README' +then + echo shar: will not over-write existing file "'README'" +else +cat << \SHAR_EOF > 'README' +GraFig 0.0 is a "trial balloon" program which creates very simple +graphs from numerical data. It is completely rigid in its operation, +with NO options or features. I am distributing it for several reasons: + + 1) To find out whether there is a need for a fancier + version of such a program in the user community. + + 2) To find out what the important features of such + a program would be. + + 3) To demonstrate how easy it is to write a small + program which produces graphics in the form of Fig code. + (GraFig 0.0 took only several hours to write). + +I am interested in hearing back from ANY user who is interested in +this program, even (especially) if you cannot use it because of lack +of features. I am considering development of a much fancier tool +for the analysis/plotting of data, with an interactive graphical +interface. + +Please note: the output of GraFig can be edited using any of the +existing versions of Fig, so you can do a lot of pretty-ing up +of the graphs by hand. This program is meant to be minimal, in +order to get design suggestions for a more mature version. +------- +Update 3/15/89 + +The GnuTeX version of the GnuPlot numerical plotting program can now +generate Fig code. Thus, it has many features one would want in a more +mature version of GraFig. GnuTeX is available via anonymous TFP +from duke.cs.duke.edu. For more information about GnuTeX, contact +David Kotz (dfk@cs.duke.edu). +SHAR_EOF +fi # end of overwriting check +if test -f 'Makefile' +then + echo shar: will not over-write existing file "'Makefile'" +else +cat << \SHAR_EOF > 'Makefile' +SHAR = ../../shar/shar +SHARFILES = README Makefile grafig.1 object.h grafig.c + +grafig: object.h grafig.c + cc -O -o grafig grafig.c -lm + + +shar: ${SHARFILES} + ${SHAR} ${SHARFILES} >../grafig.shar +SHAR_EOF +fi # end of overwriting check +if test -f 'grafig.1' +then + echo shar: will not over-write existing file "'grafig.1'" +else +cat << \SHAR_EOF > 'grafig.1' +.TH GRAFIG 1 "1 Februrary 1989" + +.SH NAME +grafig \- generates numerical graphs in Fig code + +.SH SYNOPSIS +.B grafig <data_stream >fig_code + +.SH DESCRIPTION +.I Grafig +transforms a stream of data points on its standard input to +a numerical graph on its standard output. +The input is in the form of pairs of numbers representing +x and y coordinates, seperated by white space. +Thus, the set of points {(x1, y1), (x2, y2), ...} could represented +by the input file +.sp +x1 y1 +.br +x2 y2 + ... +.sp +The output is in the form of +.I Fig +code, which can be viewed and edited with the fig(1) graphics editor, +and can be incorporated into TeX(1) troff(1), or PostScript documents +using the TransFig(1) translation package. +.PP +This early version of grafig takes NO options or flags. +The output has only one possible form. + +.SH "SEE ALSO" +fig(1), +tex(1), +transfig(1), +troff(1), +.SH AUTHOR +Micah Beck (beck@svax.cs.cornell.edu) +SHAR_EOF +fi # end of overwriting check +if test -f 'object.h' +then + echo shar: will not over-write existing file "'object.h'" +else +cat << \SHAR_EOF > 'object.h' +/* + * FIG : Facility for Interactive Generation of figures + * + * (c) copy right 1985 by Supoj Sutanthavibul (supoj@sally.utexas.edu) + * January 1985. + * 1st revision : Aug 1985. + * 2nd revision : Feb 1988. + * + * %W% %G% +*/ +#define DEFAULT (-1) + +typedef struct f_pattern { + int w, h; + int *p; + } + F_pattern; + +typedef struct f_pen { + int x, y; + int *p; + } + F_pen; + +typedef struct f_point { + int x, y; + struct f_point *next; + } + F_point; + +typedef struct f_pos { + int x, y; + } + F_pos; + +typedef struct f_arrow { + int type; + int style; + double thickness; + double wid; + double ht; + } + F_arrow; + +typedef struct f_ellipse { + int type; +#define T_ELLIPSE_BY_RAD 1 +#define T_ELLIPSE_BY_DIA 2 +#define T_CIRCLE_BY_RAD 3 +#define T_CIRCLE_BY_DIA 4 + int style; + int thickness; + int color; +#define BLACK 0 + int depth; + int direction; + double style_val; + double angle; + struct f_pen *pen; + struct f_pattern *area_fill; +#define UNFILLED (F_pattern *)0 +#define BLACK_FILL (F_pattern *)1 +#define DARK_GRAY_FILL (F_pattern *)2 +#define MED_GRAY_FILL (F_pattern *)3 +#define LIGHT_GRAY_FILL (F_pattern *)4 +#define WHITE_FILL (F_pattern *)4 + struct f_pos center; + struct f_pos radiuses; + struct f_pos start; + struct f_pos end; + struct f_ellipse *next; + } + F_ellipse; + +typedef struct f_arc { + int type; +#define T_3_POINTS_ARC 1 + int style; + int thickness; + int color; + int depth; + struct f_pen *pen; + struct f_pattern *area_fill; + double style_val; + int direction; + struct f_arrow *for_arrow; + struct f_arrow *back_arrow; + struct {double x, y;} center; + struct f_pos point[3]; + struct f_arc *next; + } + F_arc; + +typedef struct f_line { + int type; +#define T_POLYLINE 1 +#define T_BOX 2 +#define T_POLYGON 3 + int style; + int thickness; + int color; + int depth; + double style_val; + struct f_pen *pen; + struct f_pattern *area_fill; + struct f_arrow *for_arrow; + struct f_arrow *back_arrow; + struct f_point *points; + struct f_line *next; + } + F_line; + +typedef struct f_text { + int type; +#define T_LEFT_JUSTIFIED 0 +#define T_CENTER_JUSTIFIED 1 +#define T_RIGHT_JUSTIFIED 2 + int font; +#define DEFAULT_FONT 0 +#define ROMAN_FONT 1 +#define BOLD_FONT 2 +#define ITALIC_FONT 3 +#define MODERN_FONT 4 +#define TYPEWRITER_FONT 5 + int size; /* point size */ + int color; + int depth; + double angle; /* in radian */ + int style; +#define PLAIN 1 +#define ITALIC 2 +#define BOLD 4 +#define OUTLINE 8 +#define SHADOW 16 + int height; /* pixels */ + int length; /* pixels */ + int base_x; + int base_y; + struct f_pen *pen; + char *cstring; + struct f_text *next; + } + F_text; + +typedef struct f_control { + double lx, ly, rx, ry; + struct f_control *next; + } + F_control; + +#define int_spline(s) (s->type & 0x2) +#define normal_spline(s) (!(s->type & 0x2)) +#define closed_spline(s) (s->type & 0x1) +#define open_spline(s) (!(s->type & 0x1)) + +typedef struct f_spline { + int type; +#define T_OPEN_NORMAL 0 +#define T_CLOSED_NORMAL 1 +#define T_OPEN_INTERPOLATED 2 +#define T_CLOSED_INTERPOLATED 3 + int style; + int thickness; + int color; + int depth; + double style_val; + struct f_pen *pen; + struct f_pattern *area_fill; + struct f_arrow *for_arrow; + struct f_arrow *back_arrow; + /* + For T_OPEN_NORMAL and T_CLOSED_NORMAL points + are control points while they are knots for + T_OPEN_INTERPOLATED and T_CLOSED_INTERPOLTED + whose control points are stored in controls. + */ + struct f_point *points; + struct f_control *controls; + struct f_spline *next; + } + F_spline; + +typedef struct f_compound { + struct f_pos nwcorner; + struct f_pos secorner; + struct f_line *lines; + struct f_ellipse *ellipses; + struct f_spline *splines; + struct f_text *texts; + struct f_arc *arcs; + struct f_compound *compounds; + struct f_compound *next; + } + F_compound; + +#define ARROW_SIZE sizeof(struct f_arrow) +#define POINT_SIZE sizeof(struct f_point) +#define CONTROL_SIZE sizeof(struct f_control) +#define ELLOBJ_SIZE sizeof(struct f_ellipse) +#define ARCOBJ_SIZE sizeof(struct f_arc) +#define LINOBJ_SIZE sizeof(struct f_line) +#define TEXOBJ_SIZE sizeof(struct f_text) +#define SPLOBJ_SIZE sizeof(struct f_spline) +#define COMOBJ_SIZE sizeof(struct f_compound) + +/********************** object codes **********************/ + +#define O_ELLIPSE 1 +#define O_POLYLINE 2 +#define O_SPLINE 3 +#define O_TEXT 4 +#define O_ARC 5 +#define O_COMPOUND 6 +#define O_END_COMPOUND (-O_COMPOUND) +#define O_ALL_OBJECT 99 + +/************ object styles (except for f_text) ************/ + +#define SOLID_LINE 0 +#define DASH_LINE 1 +#define DOTTED_LINE 2 + +#define CLOSED_PATH 0 +#define OPEN_PATH 1 +SHAR_EOF +fi # end of overwriting check +if test -f 'grafig.c' +then + echo shar: will not over-write existing file "'grafig.c'" +else +cat << \SHAR_EOF > 'grafig.c' +/* + * GraFig 0.0 - Generates Numerical Graphs in Fig Code + * + * Author: Micah Beck + * (email: beck@cs.cornell.edu) + * Dept. of Computer Science + * Cornell University + * + * Version 0.0: February 1, 1989 + */ +#include <stdio.h> +#include "object.h" + +#define FIG_MAGIC "#FIG 1.4" +#define RES 80 +#define COORD_SYS 2 + +#define MAX_DATA 1000 + +#define MARK_SIZE .05 +#define TIC_SIZE .1 +#define NUM_OFF_X .5 +#define NUM_OFF_Y .25 + +#define orig_x 1.0 +#define orig_y 9.0 +#define length_x 5.0 +#define length_y 5.0 + +extern double pow(), floor(), log10(); + +struct datapt {double x, y} dataset[MAX_DATA], *datasort[MAX_DATA]; + +main(argc,argv) +int argc; +char **argv; +{ + int i, c, data_size, datacmp(); + double tic(); + double max_x, max_y, min_x, min_y; + double dx, dy; + double tic_x, tic_y, w; + + /* read data */ + for (data_size=0, c=2; data_size<MAX_DATA-1 && c == 2; data_size++) + c = scanf("%lf %lf", &dataset[data_size].x, &dataset[data_size].y); + + if (c == EOF) + --data_size; + else + if (c != 2) + error("bad data format"); + else + error("data set truncated"); + + if (data_size == 0) error("no data!"); + + /* calculate maxima */ + max_x = max_y = dataset[0].x; + for (i=1; i<data_size; i++) { + if (max_x < dataset[i].x) max_x = dataset[i].x; + if (max_y < dataset[i].y) max_y = dataset[i].y; + } + + /* calculate scaling factors */ + dx = length_x / max_x; + dy = length_y / max_y; + + /* print FIG header */ + printf("%s\n", FIG_MAGIC); + printf("%d %d\n", RES, COORD_SYS); + + /* draw axes */ + fig_comment("Graph Axes"); + fig_line(orig_x, orig_y, orig_x+length_x, orig_y); + fig_line(orig_x, orig_y, orig_x, orig_y-length_y); + + /* plot data points */ + fig_comment("Data Points"); + for (i=0; i<data_size; i++) { + + dataset[i].x = orig_x + (dataset[i].x * dx); + dataset[i].y = orig_y - (dataset[i].y * dy); + + fig_line(dataset[i].x-MARK_SIZE, dataset[i].y, + dataset[i].x+MARK_SIZE, dataset[i].y); + fig_line(dataset[i].x, dataset[i].y-MARK_SIZE, + dataset[i].x, dataset[i].y+MARK_SIZE); + } + + fig_comment("Data Curve"); + qsort((char *)dataset, data_size, sizeof(struct datapt), datacmp); + fig_plot(dataset, data_size); + + /* draw tic marks with numbering */ + fig_comment("Axis Numbering"); + tic_x = tic(max_x); + tic_y = tic(max_y); + + for (i=1; (i*tic_x)<=max_x; i++) { + w = orig_x + i*tic_x*dx; + fig_line(w, orig_y, w, orig_y+TIC_SIZE); + fig_number(w, orig_y+NUM_OFF_Y, i*tic_x); + } + for (i=1; (i*tic_y)<=max_y; i++) { + w = orig_y - i*tic_y* dy; + fig_line(orig_x, w, orig_x-TIC_SIZE, w); + fig_number(orig_x-NUM_OFF_X, w, i*tic_y); + } +} + +error(s) +char *s; +{ + fprintf(stderr, "grafig: %s\n", s); + exit(1); +} + +double tic(r) +double r; +{ + double t; + + t = pow(10.0, floor(log10(r))); + if (2*t>r) return t/10; + else return t; +} + +datacmp(a, b) +struct datapt *a, *b; +{ + if (a->x < b->x) return -1; + if (a->x > b->x) return 1; + return 0; +} + +/* + * Fig Code Generating Routines + */ +fig_comment(str) +char *str; +{ + printf("#\n# %s\n#\n", str); +} + +fig_line(ax, ay, bx, by) +double ax, ay, bx, by; +{ + printf("%d %d %d %d %d %d %d %d %6.3f %d %d\n", + O_POLYLINE, T_POLYLINE, + SOLID_LINE, 1, DEFAULT, DEFAULT, DEFAULT, DEFAULT, 0.0, + 0, 0); + printf("%.0f %.0f %.0f %.0f 9999 9999\n", + ax*RES, ay*RES, bx*RES, by*RES); +} + +fig_plot(dp, ds) +struct datapt *dp; +int ds; +{ + int i; + + printf("%d %d %d %d %d %d %d %d %6.3f %d %d\n", + O_POLYLINE, T_POLYLINE, + SOLID_LINE, 1, DEFAULT, DEFAULT, DEFAULT, DEFAULT, 0.0, + 0, 0); + for (i=0; i<ds; i++) + printf("%.0f %.0f ", dp[i].x*RES, dp[i].y*RES); + + printf("9999 9999\n"); +} + +fig_number(x, y, num) +double x, y, num; +{ + char buf[10]; + + sprintf(buf, "%6lg", num); + printf("%d %d %d %d %d %d %d %6.3f %d %d %d %.0lf %.0lf %s\01\n", + O_TEXT, T_LEFT_JUSTIFIED, + DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, 0.0, DEFAULT, + 16, 8*strlen(buf), x*RES, y*RES, buf); +} +SHAR_EOF +fi # end of overwriting check +# End of shell archive +exit 0 |