ROFFBIB(1)
π 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-Vand-Qflags 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 bynroff/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
- alpine 3.24: heirloom-doctools-doc 191015-r6 Β· CDDL-1.1
- Copyright (c) 1983 Regents of the University of California
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms