[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff/contrib/mm ChangeLog Makefile.sub refer-m...
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff/contrib/mm ChangeLog Makefile.sub refer-m... |
Date: |
Fri, 28 Jan 2011 10:23:34 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 11/01/28 10:23:34
Modified files:
contrib/mm : ChangeLog Makefile.sub
Added files:
contrib/mm : refer-mm.tmac
Log message:
Handle `refer-mm.tmac' file.
* refer-mm.tmac: New file.
* Makefile.sub (install_data, uninstall_sub): Handle it.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mm/ChangeLog?cvsroot=groff&r1=2.55&r2=2.56
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mm/Makefile.sub?cvsroot=groff&r1=2.9&r2=2.10
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mm/refer-mm.tmac?cvsroot=groff&rev=2.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/contrib/mm/ChangeLog,v
retrieving revision 2.55
retrieving revision 2.56
diff -u -b -r2.55 -r2.56
--- ChangeLog 28 Jan 2011 10:02:51 -0000 2.55
+++ ChangeLog 28 Jan 2011 10:23:33 -0000 2.56
@@ -1,3 +1,10 @@
+Fri Jan 28 11:15:29 2011 Werner LEMBERG <address@hidden>
+
+ Handle `refer-mm.tmac' file.
+
+ * refer-mm.tmac: New file.
+ * Makefile.sub (install_data, uninstall_sub): Handle it.
+
Fri Jan 28 10:56:29 2011 Werner LEMBERG <address@hidden>
Add `refer' support.
Index: Makefile.sub
===================================================================
RCS file: /cvsroot/groff/groff/contrib/mm/Makefile.sub,v
retrieving revision 2.9
retrieving revision 2.10
diff -u -b -r2.9 -r2.10
--- Makefile.sub 8 Jan 2009 08:28:26 -0000 2.9
+++ Makefile.sub 28 Jan 2011 10:23:34 -0000 2.10
@@ -1,4 +1,4 @@
-# Copyright 1991, 1992, 1993, 1999, 2000, 2001, 2006, 2007, 2009
+# Copyright 1991-1993, 1999-2001, 2006, 2007, 2009, 2011
#
# This file is part of groff.
#
@@ -44,6 +44,7 @@
test -f $(DESTDIR)$(tmacdir)/mm/$$f \
|| touch $(DESTDIR)$(tmacdir)/mm/$$f; \
done
+ $(INSTALL_DATA) $(srcdir)/refer-mm.tmac
$(DESTDIR)$(tmacdir)/refer-mm.tmac
install_m:
-test -d $(DESTDIR)$(tmacdir) \
@@ -82,5 +83,6 @@
-rm -f $(DESTDIR)$(tmacdir)/$(tmac_m_prefix)mm.tmac
-rm -f $(DESTDIR)$(tmacdir)/$(tmac_m_prefix)mse.tmac
-rm -f $(DESTDIR)$(tmacdir)/$(tmac_m_prefix)mmse.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/refer-mm.tmac
-rmdir $(DESTDIR)$(tmacdir)/mm
-rm -f $(DESTDIR)$(bindir)/mmroff
Index: refer-mm.tmac
===================================================================
RCS file: refer-mm.tmac
diff -N refer-mm.tmac
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ refer-mm.tmac 28 Jan 2011 10:23:34 -0000 2.1
@@ -0,0 +1,106 @@
+.\" -*- mode: nroff; coding: iso-latin-1; -*-
+.\"
+.\" refer-mm.tmac
+.\"
+.\" Refer support for mm macros.
+.\"
+.\" Copyright (C) 2011 Free Software Foundation, Inc.
+.\" Written by Werner Lemberg (address@hidden)
+.\"
+.\" This file is part of groff.
+.\"
+.\" groff is free software; you can redistribute it and/or modify it under
+.\" the terms of the GNU General Public License as published by the Free
+.\" Software Foundation, either version 3 of the License, or
+.\" (at your option) any later version.
+.\"
+.\" groff is distributed in the hope that it will be useful, but WITHOUT ANY
+.\" WARRANTY; without even the implied warranty of MERCHANTABILITY or
+.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+.\" for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
+.\"
+.\" Please send comments to address@hidden
+.
+.
+.als ref*error @warning
+.
+.de ref*text-label-start
+. FS "\\$1"
+..
+.de ref*text-label-end
+. FE
+..
+.
+.de ref*biblio-item-start
+. address@hidden "\\$1"
+..
+.de ref*biblio-item-start-nolabel
+. address@hidden \&
+..
+.de ref*biblio-item-end
+. address@hidden
+..
+.
+.ds ref*refnum-start \" empty
+.ds ref*refnum-end .\"
+.
+.ds [. \v'-.4m'\s-3[\"
+.ds .] ]\s0\v'.4m'\"
+.
+.ds ref*spec!0 Q A T S V N P I C D O
+.ds ref*spec!1 Q A T J S V N P I C D O
+.ds ref*spec!2 Q A T S V P I C D O
+.ds ref*spec!3 Q A T B E S V P I C D O
+.ds ref*spec!4 Q A T R G P I C D O
+.
+.ds ref*spec!A ", " "
+.ds ref*spec!B """ " " "in \fI" "" "\fP"
+.ds ref*spec!D """ " " "(" ")"
+.ds ref*spec!E ", " " "ed. "
+.ds ref*spec!G """ " " "(" ")"
+.ds ref*spec!J ", " " "\fI" "" "\fP"
+.ds ref*spec!N """ "(" "" ")"
+.ds ref*spec!O ". " "
+.ds ref*spec!P ", " " "p.\~"
+.ds ref*spec!PP ", " " "pp.\~"
+.ds ref*spec!T ", " " "\(lq" "" "\(rq"
+.ds ref*spec!T:0 ", " " "\fI" "" "\fP"
+.ds ref*spec!T:2 ", " " "\fI" "" "\fP"
+.ds ref*spec!V """ " " "\fB" "\fR"
+.ds ref*spec!dflt ", " "
+.
+.\" For the bibliography section, we emulate the .RS/.RF mechanism of mm by
+.\" collecting references (enclosed with .]- and .][) in macro `ref*mac'.
+.\" This macro gets expanded while calling the .RP macro.
+.
+.de ref*][-first-pass
+. ec
+. am ref*mac
+. ds [F "\\*([F\"
+. ][ "\\$1" "\\$2"
+\\..
+..
+.
+.de ref*biblio-start-hook
+. als ref*][-second-pass ][
+. als ][ ref*][-first-pass
+. de ref*item-start-hook
+. eo
+. am ref*mac ][
+\\..
+..
+.
+.de ref*biblio-end-hook
+. als ][ ref*][-second-pass
+. rm ref*item-start-hook
+. als ref*print ref*end-print
+. RP
+. als ref*print ref*normal-print
+..
+.
+.mso refer.tmac
+.
+.\" EOF
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff/contrib/mm ChangeLog Makefile.sub refer-m...,
Werner LEMBERG <=