On Aug 12 07:12:17, [email protected] wrote:
> On Sun, Aug 11, 2013 at 11:01:44PM +0200, Jan Stary wrote:
> > This diff to yacc(1) adds a reference to the original LALR(1) paper.
> > I am not sure about the markup, as mandoc render it as
> >
> > F. DeRemer and T. J. Pennello, "Efficient Computation of LALR(1)
> > Look-Ahead Sets", 4, TOPLAS, 4, 615-649, 1982.
> >
> > Note the order: issue number, journal name, volume number.
> > Is that expected? Should I just make it "issue 4:4"?
> >
>
> i would just use %A, %D, %T, and %J myself.
The original diff is not even correct
(%I is not the issue number, %N is).
I am using the n-dash for the page range,
because that's what I have seen in other .Rs blocks.
Is that preffered, or should that be simply 123-456?
Jan
Index: usr.bin/yacc/yacc.1
===================================================================
RCS file: /cvs/src/usr.bin/yacc/yacc.1,v
retrieving revision 1.26
diff -u -p -r1.26 yacc.1
--- usr.bin/yacc/yacc.1 18 Oct 2010 14:42:16 -0000 1.26
+++ usr.bin/yacc/yacc.1 15 Aug 2013 10:49:38 -0000
@@ -182,6 +182,16 @@ conflicts, the number of conflicts is al
to the standard error.
.Sh SEE ALSO
.Xr yyfix 1
+.Rs
+.%A F. DeRemer
+.%A T. J. Pennello
+.%T Efficient Computation of LALR(1) Look-Ahead Sets
+.%J TOPLAS
+.%V 4
+.%N 4
+.%D 1982
+.%P 615\(en649
+.Re
.Sh STANDARDS
The
.Nm