[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] An environment variable for enabling compatibility mode
From: |
Sigfrid Lundberg, NetLab |
Subject: |
Re: [Groff] An environment variable for enabling compatibility mode |
Date: |
Fri, 1 Feb 2002 17:00:09 +0100 (CET) |
On Thu, 31 Jan 2002, Werner LEMBERG wrote:
>
> > > I guess groff could say that a book author has to do the same thing,
> > > i.e. if they know groff 1.16 formats their book OK then they keep 1.16
> > > around for their book.
> >
> > I hope I'm not misunderstanding anything here, but you seem to
> > forget that not all users of groff may in fact be in a position to
> > keep a version around. I use the system-wide installation on a
> > Solaris machine where I have no sysadmin rights. And even if I could
> > manage to install a local copy on my own account then surely this
> > cannot be a desirable thing? I am currently writing a PhD thesis
> > using groff and the me macro package, and I have many references
> > with inserted ().
>
> According to the refer man page, you shouldn't do this but use the
> bracket-label command. Don't do
>
> .[ (
> foo
> .])
>
> (not the trailing space in the `.]' line!) but
>
> .R1
> bracket_label " (" ") " ", "
> .R2
>
> .[
> foo
> .]
>
> This gives you the possibility to change the formatting of the pre and
> post strings globally.
I used to have
.R1
sort "A+D+"
reverse "A1E1"
abbreviate "AE"
discard "NXYZ"
et-al " \fIet al.\fR" 2 3
no-label-in-reference
no-default-database
move-punctuation
date-as-label D.+yD.y%a*D.-y
database ../biblo/bibliography_long
join-authors " and " ", " " and "
short-label "(@|Q) ' ('(D.y%a*|D%a*)')'"
label "(@|Q) ', ' (D.y%a*|D%a*)"
bracket-label " (" ")" "; "
.R2
as standard
A "long" reference was made using
.[
[]
bla bla bla
.]
and a short one
.[
#
bla bla bla
.]
and they used to live together in the same texts.
Sigge
________________
Docent Sigfrid Lundberg, Fil. Dr. address@hidden
NetLab, Lunds Universitet, http://www.lub.lu.se/~siglun/
Box 134, 221 00 Lund 046-222 36 83