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 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562
|
'\" t
.ig
roff.7
This file is part of groff, the GNU roff type-setting system.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
written by Bernd Warken <bwarken@mayn.de>
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with the
Invariant Sections being this .ig-section and AUTHOR, with no
Front-Cover Texts, and with no Back-Cover Texts.
A copy of the Free Documentation License is included as a file called
FDL in the main directory of the groff source package.
..
.\" $FreeBSD: doc/ja_JP.eucJP/man/man7/roff.7,v 1.4 2001/07/23 02:27:00 horikawa Exp $
.\" WORD: gremlin picture gremlin
.
.\" --------------------------------------------------------------------
.\" Setup
.\" --------------------------------------------------------------------
.
.if n \{\
. mso tty-char.tmac
. ftr CR R
. ftr CI I
. ftr CB B
.\}
.
.\" text lines in macro definitions or bracketed sections \{...\}
.de text
. if 1 \&\\$*\&
..
.
.de option
. ds @tmp@ \f(CB\\$1\fP
. shift 1
. text \\*[@tmp@]\\$*
. rm @tmp@
..
.
.de 'char
. ds @tmp@ `\f(CB\\$1\fP'
. shift
. text \\*[@tmp@]\\$*
. rm @tmp@
..
.
.de esc
. ds @tmp@ \f(CB\e\\$1\fP
. shift
. text \\*[@tmp@]\\$*
. rm @tmp@
..
.
.de argname
. ds @tmp@ \f(CI\\$1\fP
. shift 1
. text \\*[@tmp@]\\$*
. rm @tmp@
..
.
.de prefixednumber
. ds @tmp@ \&\\$1\ \f(CR\\$2\fP
. shift 2
. text \\*[@tmp@]\\$*
. rm @tmp@
..
.
.de TQ
.br
.ns
.TP \\$1
..
.
.\" --------------------------------------------------------------------
.\" Title
.\" --------------------------------------------------------------------
.TH ROFF 7 "6 August 2001" "Groff Version 1.17.2"
.SH ̾
roff \- roff ƥĴ
.\" --------------------------------------------------------------------
.SH
.\" --------------------------------------------------------------------
.I roff
Ȥץෲΰ̾ΤǤ
.IR troff ,
.IR nroff ,
.IR groff
ʤɤ̾ΤƤޤ
.LP
roff ƥϡѸ졢ޥѥå
ץץåϥǥХѥݥȥץå
桼ѥեȥɥץࡢѴġ뤫
Ƥޤ
.LP
ǤŪ roff ƥϥեեȥǤ
Ǥ
.I groff
(`GNU\ roff')
Ǥgroff μϡָŵ (1973 ǯޤ̤ޤ)
ȸƤ֤Ȥˤޤ
.LP
.I groff
ϡŵǤΥƥȲ̸ߴޤ¿
ĥƤꡢʤʲ³Ƥޤ
ۤȤɤ٤ƤηƥѤǤ뤿ᡢǤϻ¾
roff ɸȤʤäƤޤ
.LP
θŤˤ⤫餺roff ϺǤѤƤޤ
㤨СUNIX ƥΥޥ˥奢ڡ
.RI ( man ڡ )
roff ǽƤޤ
ƥȥǥХФ roff Ϥϡޤ¤֤ΤΤʤۤͥ
ޤեʽϤ¾ΥեץƱʼ
äƤޤΤˤäƤϾѥƥΤΤͥƤȤ
ޤ
.LP
ΥɥȤǤϳפΤߤܺ٤ʥɥȤˤĤƤ
ݥޤ
ΥɥȤϰݻƤ餺٤ˤʤäƤǽ
ޤΤʥɥȤɬפʤ groff info ե
ȤƤˤϾܺ٤Ǹ¤¨Τʥե
ޤޤƤޤ
.\" --------------------------------------------------------------------
.SH "Ѹ"
.\"--------------------------------------------------------------------
.I roff
ƥѤθؤ 3 ĤѸ줬ޤ
.I troff
ϡ
.I roff
θŵŪʬ˽֤Ȥ˻Ȥޤ
.I groff
GNU ĥޤǤꡢФ
.I roff
ϰŪѸǤ
.LP
.I groff
Τ٤ƤʬˤĤƵҤ줿ɥȤΰ켡
groff info եǤ
.BR groff (7)
ޥ˥奢ڡǤϡѤߤθǤ٤ƤˤĤ
ʷƤޤ
.LP
roff ѤɥȤϡ̤Υƥȥե
ǤǽΤǤ
ޥѥå 1 ĤȤäƹʼΥɥȤΤ
ȤƤñʤȤǤ
ޥѥåϹץߥΤ褦ʤΤǤꡢ
ФǤ roff C 䥢֥Τ褦
Ȥޤ
.LP
roff Υꥯȡޥץ
ʸѿͥ쥸ޤϥ쥸 C Τ褦
湽¤봰ʥץߥǤ
.ig /
In the 1980s, it was even possible to write the common utilities for
system administration by only using troff.
There were contests on writing the most unreadable program fake by
exclusively using troff.
Because of security impacts, these dangerous features were removed in
.IR groff .
./
.LP
θǤˤĤƤ餫ɬפǤ礦
ꥯȤϡC, C++ Τ褦ʥץߥˤä줿
ŪѥޥɤǤФơޥ roff
Ҥ줿ѥޥɤǤ
ɥȤԤϡꥯȤȥޥȤݤΰ㤤
ŤȤϤʤǤ礦ɤɥå
.'char .
ϤޤñȹԤǵҤޤ
˾ʤС桼ȼΥޥǤޤ
.LP
ץϥ饤ǤǡХåå
.'char \e
ǻϤޤޤϤޤޤʵǽΤ
Ȥޤˤϡ
.esc (
Ѥ ASCII ʸ
.esc *
ѤʸƤ
.esc n
Ѥ쥸ѿ
.esc f
ѤեȤѹ
.esc \(dq
ѤʸΥȡ
.esc \e
Τ褦üʸΥס
¾¿εǽޤޤޤ
.\" --------------------------------------------------------------------
.SH եޥå
.\"--------------------------------------------------------------------
եޥå groff ɥȤϤüʥǥХ˹ä
Ѵ뤿ΥեȥɥץǤ
ŵŪ
.I roff
ˤϥեޥå 2 Ĥޤ
.B nroff
ƥȥǥХѤǡ
.B troff
եǥХѤǤ
.LP
Υץ
.I groff
Ǥޤ¸ߤޤ̾
.BR groff
ȸƤФץ̤ƥޤ
ˤäơŤεǽ 1 ĤΥץ˷礷ĥ
ǤΤǤ
groff ˤ¿Υޥɥ饤ץޤʬ
.BR troff
餤ΤǤ
Υץ̩Ӥƨ٤桼եɥʥ桼ƥƥ
.B grog
(`groff guess' Ȥ줿̾Ǥ) ޤ
ϡɤΰȤ٤ɥȤ¬ơŬڤ
ޥɥ饤ɽޤ
ʤΤǤϤޤݤˤɤǤ礦
.\" --------------------------------------------------------------------
.SH ץץå
.\"--------------------------------------------------------------------
groff ǤޤѲǽʸŵŪץץåǤ
.RS
.LP
.PD 0
.TP
.I eqn
िΤΤǤ
.TP
.I grap
եǤ뤿ΤΤǤ (Υץץå
groff ȰˤϤĤƤޤɲåѥåǤ)
.TP
.I grn
gremlin ޤिΤΤǤ
.TP
.I pic
ޤ뤿ΤΤǤ
.TP
.I refer
ʸλѤǤ
.TP
.I soelim
¾ roff եिΤΤǤ
.TP
.I tbl
ĹΥơ֥ѤǤ
.PD
.RE
.LP
ΥץץåϤ줾ȼθƤꡢ
ץץå̤ȡroff ɤѴޤ
ǤΤǡθǽ줿ʬ roff ɥȤ
ǤäƤɤΤǤ
ĥɥȤϡºݤΥեޥåˤˡ
б 1 İʾΥץץå̤ޤ
.LP
ץץåץϡץץåѤ
ꤵƤɥȤʬФѴޤ
ץץåϡ
Υץ̾Ȥä UNIX ѥץ饤ǸƤӽФȤ⡢
⤷ groff ץǼưŪ˸ƤӽФȤǤޤ
.LP
.TS
center, box, tab (@);
C | C
CfCB | CfCB.
ץץå@groff ץ
=
eqn@\-e
grap@\-G
grn@\-g
pic@\-p
refer@\-R
tbl@\-r
soelim@\-s
.TE
.LP
.
.\" --------------------------------------------------------------------
.SH "ޥѥå"
.\" --------------------------------------------------------------------
ޥѥåϡüʼΥɥȤؤˡ
եޥåȤΤŬޥνǤ
ޥѥåˤäơroff λȤ꤬ʤɤʤޤ
ѥåΥޥϡ
.IB name .tmac
(ޤ
.BI tmac. name\c
) ȸƤФեݴɤƤޤǡ
.I name
ϤΥѥåФ roff Ǥ̾ΤǤ
٤Ƥ tmac եϡ
1 Ĥ뤤ϾΥǥ쥯ȥɸξݴɤƤޤ
.LP
ɥȤѤޥѥåϡ
եޥåΥޥɥ饤ץ
.option \-m
ǻꤷ㤨
.option "troff\ \-m"
.argname name
.option "groff\ \-m"
.argname name
Ȥޤ
ޥѥå̿̾Ӥ֤ˤĤƤΰŪʾܺ٤
.BR groff_tmac (5)
ˤޤ
.LP
Ť餢ͭ̾ʥޥѥå
.IR man ,
.IR mandoc ,
.I mdoc
ޥ˥奢ڡѡ
.IR me ,
.IR ms ,
.I mm
ҡƼѤǤ
Υ쥯Τۤˤ⡢groff ϤޤޤӤ
ޥѥåƤꡢοäƤޤ
㤨С¾Υե礷ѴꤹΤǤ
.\" --------------------------------------------------------------------
.SH "ե̾γĥ"
.\" --------------------------------------------------------------------
ޥ˥奢ڡ (man ڡ) ϥե̾γĥҤȤ
ֹȤޤ㤨СΥɥȤΥե̾
.IR roff.7
ǤĤޤꡢΥɥȤϥޥ˥奢ڡ
.prefixednumber section 7
¸ƤȤȤǤ
.LP
ŵŪʥޥѥåϡѥå̾ĥҤˤȤޤ
㤨С
.I me
ޥѥåȤäɥȤ
.IB file. me
Ȥʤꡢ
.IR mm
ޥѥåФƤ
.IB file. mm
.IR ms
ޥѥåФƤ
.IB file. ms
.I pic
եФƤ
.IB file. pic
ȤäǤ
.ig
.LP
But there is no general naming scheme for roff documents, though
.IB file. roff
or
.IB file. rof
seems to be a good choice.
.LP
File name extensions can be very handy in conjunction with the
.BR less (1)
pager.
It provides the possibility to feed all input into a command-line pipe that
is specified in the shell environment variable
.B LESSOPEN
This process is not well documented, so here an example
.B LESSOPEN='|lesspipe %s'
where
.B lesspipe
is either a system supplied command or a shell script of your own.
..
.\" --------------------------------------------------------------------
.SH Խˡ
.\" --------------------------------------------------------------------
ۤȤɤΥƥȥǥ roff ȤäɥȤԽ
ݡȤƤޤä˻Ȥ꤬ɤΤEmacs ǥ
Ȥ֤Ǥ
.B nroff-mode
Ǥ
.\" --------------------------------------------------------------------
.SH Ķѿ
.\" --------------------------------------------------------------------
.TP
.SM
.B GROFF_TMAC_PATH
ڤθǥ쥯ȥꥹȤǤ
.BR groff_tmac (5)
ȤƤ
.TP
.SM
.B GROFF_TYPESETTER
ǥեȤΥǥХǤ
.TP
.SM
.B GROFF_FONT_PATH
.BI dev name
ڤθǥ쥯ȥꥹȤǤ
.B troff
ϡ
.option \-F
ޥɥץͿ줿ǥ쥯ȥ˸ޤ
ˡ
.BR GROFF_FONT_PATH
õޤ
Ǹˡɸǥ쥯ȥ
.RB ( /usr/share/groff_font )
õޤ
.\" --------------------------------------------------------------------
.SH Ϣե
.\"--------------------------------------------------------------------
ǥեȤǤϡ
.I groff
ǡե
.I /usr/share/groff_font
Υ֥ǥ쥯ȥ
.I /usr/share/tmac
إȡ뤵ޤ
(㳰ϥƥͭΥޥѥåؤΥåѥեǤꡢ
.IR /usr/share/tmac
˥ȡ뤵ޤ)
ξϡƥˤäƤϰۤʤ뤫⤷ޤ
ʹߡԤ
.IR <groff_font_dir>
ȤơԤ
.IR <groff_macro_dir>
Ȥɽޤ
.LP
.TP
.IB <groff_macro_dir> /troffrc
troff Ѥνե
.TP
.IB <groff_macro_dir> / name .tmac
.TQ
.IB <groff_macro_dir> /tmac. name
ޥե
.TP
.IB <groff_font_dir> /dev name /DESC
.IR name
ǥХҥե
.TP
.IB <groff_font_dir> /dev name / F
.IR name
ǥХ
.I F
եѤΥեȥե
.LP
ǸˡΥޥǥ쥯ȥ
.I /usr/share/tmac
ϡȸͭΥޥȥѥåѤޤ
ǥեȤǤϡᥤΥޥǥ쥯ȥˤޤ
.\" --------------------------------------------------------------------
.SH Х
.\" --------------------------------------------------------------------
groff ɥȤϸߤȯŸӾǤ
ɥȴ֤ǰŪ˾ʿ㤤ǽޤ
.\" --------------------------------------------------------------------
.SH
.\" --------------------------------------------------------------------
ΥɥȤ groff ʤ GNU roff ʪΰǤ
Bernd Warken <bwarken@mayn.de> ޤ
.LP
ΥɥȤ FDL (GNU Free Documentation License) С 1.1
ʹߤξΤȤۤƤޤFDL Υԡƥ
äƤϤǤޤϥ饤
.RS
.LP
.IR <http://www.gnu.org/copyleft/fdl.html>
.RE
ǤǽǤ
.\" --------------------------------------------------------------------
.SH "Ϣ"
.\" --------------------------------------------------------------------
ʾϡ
.I groff
.BR info (1)
եǤ
.LP
Ѥߤ
.I groff
ǤˤĤƤ
.BR groff (7)
ޥ˥奢ڡ˵ܤޤ
.LP
եޥåӤΥåѤˤĤƤ
.BR groff (1),
.BR grog (1),
.BR nroff (1),
.BR troff (1)
˵ܤޤ
.LP
ϥǥХѤΥݥȥץåˤĤƤ
.BR grodvi (1),
.BR grohtml (1),
.BR grolbp (1),
.BR grolj4 (1),
.BR grops (1),
.BR grotty (1)
˵ܤޤ
.LP
ɸץץåˤĤƤ
.BR eqn (1),
.BR grn (1),
.BR grap (1),
.BR pic (1),
.BR refer (1),
.BR soelim (1),
.BR tbl (1)
˵ܤޤ
.LP
ޥѥåˤĤƤΥޥ˥奢ڡˤ
.BR groff_tmac (5),
.BR groff_man (7),
.BR groff_markup (7),
.BR groff_mdoc (7),
.BR groff_mdoc.samples (7),
.BR groff_me (7),
.BR groff_mm (7),
.BR groff_mmroff (7),
.BR groff_ms (7)
ޤޤƤޤ
.LP
Τ褦ʥ桼ƥƥѤǤޤ:
.BR addftinfo (1),
.BR afmtodif (1),
.BR hpftodit (1),
.BR indxbib (1),
.BR lookbib (1),
.BR pfbtops (1),
.BR tfmtodit (1),
.BR gxditview (1)
Ǥ
.LP
.I roff
ƥ GNU ˤĤƤξܺ٤
.BR groff_char (7),
.BR groff_font (7),
.BR groff_out (7)
groff ʪΥᥤǥ쥯ȥ
.I README
եȤƤ
.I groff
ȯ롼פȤϢμ仲äλˤĤƤ
ܺ٤ܤäƤޤ
.LP
ŵŪ
.troff
ɥȤϺǤ⥪饤ǽǤ
äͭפʤΤΥեǤ UNIX 7 ѤΥ٥븦ꥸʥ
Ǥ
.I http://cm.bell-labs.com/cm/cs/cstr.html
ˤޤơ Richard S. Stevens Υ쥯
.IR http://www.kohala.com/start/troff/
ˤޤ
.
.\" Local Variables:
.\" mode: nroff
.\" End:
|