groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff ChangeLog NEWS man/groff_tmac.man tmac/pt...


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog NEWS man/groff_tmac.man tmac/pt...
Date: Fri, 02 Jan 2009 08:07:04 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     09/01/02 08:07:04

Modified files:
        .              : ChangeLog NEWS 
        man            : groff_tmac.man 
Added files:
        tmac           : ptx.tmac 

Log message:
        * tmac/ptx.tmac: New file.
        
        * NEWS, man/groff_tmac: man: Document it.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1166&r2=1.1167
http://cvs.savannah.gnu.org/viewcvs/groff/NEWS?cvsroot=groff&r1=1.252&r2=1.253
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_tmac.man?cvsroot=groff&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/ptx.tmac?cvsroot=groff&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1166
retrieving revision 1.1167
diff -u -b -r1.1166 -r1.1167
--- ChangeLog   30 Dec 2008 09:05:56 -0000      1.1166
+++ ChangeLog   2 Jan 2009 08:07:03 -0000       1.1167
@@ -1,3 +1,9 @@
+2009-01-02  Werner LEMBERG  <address@hidden>
+
+       * tmac/ptx.tmac: New file.
+
+       * NEWS, man/groff_tmac: man: Document it.
+
 2008-12-30  Werner LEMBERG  <address@hidden>
 
        Fix more quoting issues.
@@ -163,7 +169,7 @@
        Tadziu Hoffmann.  It can now process multiple man pages with both
        man and mdoc formats intermixed.
 
-       * NEWS, tmaca/groff_man.man, tmac/groff_mdoc.man,
+       * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
        man/groff_tmac.man: Document it.
 
 2008-10-04  Werner LEMBERG  <address@hidden>
@@ -8093,7 +8099,7 @@
 
        * REVISION: Increased to 2.
 
-Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008
+Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
   Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,

Index: NEWS
===================================================================
RCS file: /cvsroot/groff/groff/NEWS,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -b -r1.252 -r1.253
--- NEWS        15 Dec 2008 14:50:42 -0000      1.252
+++ NEWS        2 Jan 2009 08:07:03 -0000       1.253
@@ -1,4 +1,5 @@
-    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
+                  2009
       Free Software Foundation, Inc.
 
     Copying and distribution of this file, with or without modification,
@@ -234,6 +235,9 @@
 o A new string, `SN-STYLE', has been added to the ms macros, controlling
   the formatting of section numbers in headings defined by `.NH'.
 
+o The new macro package `ptx' provides a template definition for the `.xx'
+  macro as needed by GNU ptx (for creating permuted indices).
+
 
 VERSION 1.19.2
 ==============

Index: man/groff_tmac.man
===================================================================
RCS file: /cvsroot/groff/groff/man/groff_tmac.man,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- man/groff_tmac.man  4 Oct 2008 21:24:38 -0000       1.33
+++ man/groff_tmac.man  2 Jan 2009 08:07:03 -0000       1.34
@@ -5,7 +5,7 @@
 
 This file is part of groff, the GNU roff type-setting system.
 
-Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008
+Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009
   Free Software Foundation, Inc.
 written by Bernd Warken <address@hidden> and Werner Lemberg
 <address@hidden>
@@ -477,6 +477,18 @@
 .
 .
 .TP
+.B ptx
+A single macro is provided in this file,
+.BR xx ,
+for formatting permuted index entries as produces by the GNU
+.BR ptx (1)
+program.
+.
+In case you need a different formatting, copy the macro into
+your document and adapt it to your needs.
+.
+.
+.TP
 .B trace
 Use this for tracing macro calls.
 .
@@ -1185,7 +1197,7 @@
 .SH AUTHOR
 .\" --------------------------------------------------------------------
 .
-Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008
+Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009
 Free Software Foundation, Inc.
 .
 .P

Index: tmac/ptx.tmac
===================================================================
RCS file: tmac/ptx.tmac
diff -N tmac/ptx.tmac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ tmac/ptx.tmac       2 Jan 2009 08:07:04 -0000       1.1
@@ -0,0 +1,40 @@
+.\" ptx.tmac
+.\"
+.\"   Provide `.xx' macro to format permuted index entries as created
+.\"   by GNU ptx.
+.\"
+.\" Written 2008 by Werner Lemberg (address@hidden)
+.\"
+.\" Public domain.
+.
+.nr ptx-ref-pos (\n[.l] - .65i)
+.nr ptx-head-pos (\n[ptx-ref-pos] / 2)
+.
+.ds ptx-sep-2 "   \"
+.ds ptx-sep-4 " \"
+.ds ptx-sep-5 " \"
+.
+.
+.de xx
+.  ds ptx-sep-1
+.  if \w\\$2 \
+.    ds ptx-sep-1 " \|\"
+.
+.  ds ptx-sep-3
+.  if \w\\$4 \
+.    ds ptx-sep-3 " \|\"
+.
+.  ds ptx-filler \\*[ptx-sep-4]\f3\a\fP\\*[ptx-sep-5]
+.  ta (\\n[ptx-ref-pos]u - \w\\*[ptx-sep-5]u)
+.
+\h(\\n[ptx-head-pos]u - \w\\$1\\*[ptx-sep-1]\\$2\\*[ptx-sep-2]u)\
+\\$1\\*[ptx-sep-1]\
+\\$2\\*[ptx-sep-2]\
+\\$3\\*[ptx-sep-3]\
+\\$4\\*[ptx-filler]\
+\\$5
+..
+.
+.nf
+.
+.\" eof




reply via email to

[Prev in Thread] Current Thread [Next in Thread]