ROFFBIB(1)

πŸ“¦ version 191015, in alpine 3.24

πŸ’– ROFFBIB(1) β€” like, the whole manual but make it make sense πŸ’–

okay bestie, so this is roffbib, from the General Commands Manual section of the Unix life. she runs off bibliographic databases and she's lowkey iconic for it. let's get into it 🫢


✨ NAME ✨

roffbib β€” run off bibliographic database

like, it takes your bib database and prints it all out pretty. that's the whole vibe check πŸ’…


🌸 SYNOPSIS 🌸

roffbib [-ehnorsxVQ] [-Tterm] [-mmac] [file ...]

yes she takes a whole lil pile of flags and some files, no cap ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: roffbib prints out all the records in a bibliographic database, in bibliography format rather than as footnotes or endnotes. it's giving main character reference list energy πŸ“šβœ¨

generally it is used in conjunction with sortbib, like so:

sortbib  database | roffbib

(not me putting two spaces in there, that's literally how it's written, keep it πŸ’€)

roffbib accepts most of the options understood by nroff(1) β€” most importantly the -T flag to specify terminal type. so yeah, she's flexible πŸ’œ

now, if abstracts or comments are entered following the %X field key, roffbib will format them into paragraphs for an annotated bibliography. and listen β€” several %X fields may be given if several annotation paragraphs are desired. go off, annotate as much as you want πŸŽ€

the -x flag will suppress the printing of these abstracts. bye bye annotation paragraphs 😭

a user-defined set of macros may be specified after the -m option. there should be a space between the -m and the macro filename (fr fr, don't forget the space, that's important bestie). this set of macros will replace the ones defined in /usr/share/heirloom-doctools/tmac/bib. so like, out with the old, in with your custom ones 🌈

the -V flag will send output to the Versatec; the -Q flag will queue output for the phototypesetter. vintage printer slay πŸ‘‘


πŸ‘‘ the four command-line registers πŸ‘‘

four command-line registers control formatting style of the bibliography β€” much like the number registers of ms(7). four of them. count 'em. let's go:

  • -rN1 β€” will number the references starting at one (1). counting from 1, as one does πŸ™ˆ
  • -rV2 β€” will double space the bibliography. spacious ✨
  • -rV1 β€” will double space references but single space annotation paragraphs. a whole mixed-spacing moment πŸ¦‹

and the line length can be changed from the default 6.5 inches to 6 inches with the -rL6i argument πŸ“

plus the page offset can be set from the default of 0 to one inch by specifying -rO1i β€” that's capital O, not zero, i cannot stress this enough bestie, capital O πŸ”₯

⚠️ note: with the -V and -Q flags the default page offset is already one inch. so like, it's already done for you there, no need to fight it πŸ’€

πŸ’€ FILES πŸ’€

  • /usr/share/heirloom-doctools/tmac/bib β€” file of macros used by nroff/troff

(the home of the macros that -m can replace, iykyk 🧚)


πŸ”₯ SEE ALSO πŸ”₯

the whole bib friend group, honestly 🫢


πŸ“ NOTES πŸ“

users have to rewrite macros to create customized formats. yep. that's on you, bestie. DIY era πŸ’…


β€” sign-off time, besties β€”

this page came from Debian, dated December 12, 2005, and it's filed under ROFFBIB(1) β€” the General Commands Manual section. vintage but still serving πŸ’œβœ¨πŸŽ€

ngl, go forth and run off some bibliographies. slay πŸ¦‹

πŸ“¦ where this page comes from