groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff ChangeLog Makefile.comm src/devices/xditv...


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog Makefile.comm src/devices/xditv...
Date: Sun, 25 Feb 2007 21:06:22 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     07/02/25 21:06:22

Modified files:
        .              : ChangeLog Makefile.comm 
        src/devices/xditview: GXditview.ad TODO gxditview.man 

Log message:
        * src/devices/xditview/TODO: Add some more items.
        
        * Makefile.comm (.man.n): Add @address@hidden
        Sort entries.
        
        * src/devices/xditview/gxditview.man: Document GXditview resource
        file.
        Other documentation enhancements based on a patch from Jörg.
        
        * src/devices/xditview/GXditview.ad: Make all keys work regardless
        of the current mouse position.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1075&r2=1.1076
http://cvs.savannah.gnu.org/viewcvs/groff/Makefile.comm?cvsroot=groff&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/xditview/GXditview.ad?cvsroot=groff&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/xditview/TODO?cvsroot=groff&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/xditview/gxditview.man?cvsroot=groff&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1075
retrieving revision 1.1076
diff -u -b -r1.1075 -r1.1076
--- ChangeLog   20 Feb 2007 19:08:44 -0000      1.1075
+++ ChangeLog   25 Feb 2007 21:06:21 -0000      1.1076
@@ -1,3 +1,20 @@
+2007-02-25  Werner LEMBERG  <address@hidden>
+
+       * src/devices/xditview/TODO: Add some more items.
+
+       * Makefile.comm (.man.n): Add @address@hidden
+       Sort entries.
+
+       * src/devices/xditview/gxditview.man: Document GXditview resource
+       file.
+       Other documentation enhancements based on a patch from Jörg.
+
+2007-02-25  Tadziu Hoffmann  <address@hidden>
+           Joerg van den Hoff <address@hidden>
+
+       * src/devices/xditview/GXditview.ad: Make all keys work regardless
+       of the current mouse position.
+
 2007-02-20  Werner LEMBERG  <address@hidden>
 
        * tmac/groff_man.man: Revised to improve visual appearance.

Index: Makefile.comm
===================================================================
RCS file: /cvsroot/groff/groff/Makefile.comm,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- Makefile.comm       31 Dec 2006 17:34:32 -0000      1.35
+++ Makefile.comm       25 Feb 2007 21:06:21 -0000      1.36
@@ -1,4 +1,4 @@
-# Copyright (C) 1989-2000, 2002, 2003, 2004, 2006
+# Copyright (C) 1989-2000, 2002, 2003, 2004, 2006, 2007
 #   Free Software Foundation, Inc.
 #      Written by James Clark (address@hidden)
 # 
@@ -136,36 +136,37 @@
 .man.n:
        @echo Making $@ from $<
        @-rm -f $@
-       @sed -e "s|@BINDIR@|$(bindir)|g" \
-       -e "s|@FONTDIR@|$(fontdir)|g" \
-       -e "s|@LOCALFONTDIR@|$(localfontdir)|g" \
-       -e "s|@LEGACYFONTDIR@|$(legacyfontdir)|g" \
-       -e "s|@OLDFONTDIR@|$(oldfontdir)|g" \
-       -e "s|@MACRODIR@|$(tmacdir)|g" \
+       @sed -e "s|@APPRESDIR@|$(appresdir)|g" \
+       -e "s|@BINDIR@|$(bindir)|g" \
+       -e "s|@BROKEN_SPOOLER_FLAGS@|$(BROKEN_SPOOLER_FLAGS)|g" \
+       -e "s|@COMMON_WORDS_FILE@|$(common_words_file)|g" \
        -e "s|@DATASUBDIR@|$(datasubdir)|g" \
-       -e "s|@SYSTEMMACRODIR@|$(systemtmacdir)|g" \
-       -e "s|@LOCALMACRODIR@|$(localtmacdir)|g" \
+       -e "s|@DEFAULT_INDEX@|$(indexdir)/$(indexname)|g" \
+       -e "s|@DEFAULT_INDEX_NAME@|$(indexname)|g" \
+       -e "s|@DEVICE@|$(DEVICE)|g" \
        -e "s|@DOCDIR@|$(docdir)|g" \
        -e "s|@EXAMPLEDIR@|$(exampledir)|g" \
+       -e "s|@FONTDIR@|$(fontdir)|g" \
+       -e "s|@g@|$(g)|g" \
+       -e "address@hidden@!`echo $(g) | tr [a-z] [A-Z]`!g" \
        -e "s|@HTMLDOCDIR@|$(htmldocdir)|g" \
-       -e "s|@PDFDOCDIR@|$(pdfdocdir)|g" \
-       -e "s|@DEVICE@|$(DEVICE)|g" \
-       -e "s|@DEFAULT_INDEX@|$(indexdir)/$(indexname)|g" \
-       -e "s|@DEFAULT_INDEX_NAME@|$(indexname)|g" \
        -e "s|@INDEX_SUFFIX@|$(indexext)|g" \
-       -e "s|@COMMON_WORDS_FILE@|$(common_words_file)|g" \
+       -e "s|@LEGACYFONTDIR@|$(legacyfontdir)|g" \
+       -e "s|@LOCALFONTDIR@|$(localfontdir)|g" \
+       -e "s|@LOCALMACRODIR@|$(localtmacdir)|g" \
+       -e "s|@MACRODIR@|$(tmacdir)|g" \
        -e "s|@MAN1EXT@|$(man1ext)|g" \
        -e "s|@MAN5EXT@|$(man5ext)|g" \
        -e "s|@MAN7EXT@|$(man7ext)|g" \
-       -e "s|@TMAC_S_PREFIX@|$(tmac_s_prefix)|g" \
-       -e "s|@TMAC_M_PREFIX@|$(tmac_m_prefix)|g" \
+       -e "s|@MDATE@|`$(SHELL) $(top_srcdir)/mdate.sh $<`|g" \
+       -e "s|@OLDFONTDIR@|$(oldfontdir)|g" \
+       -e "s|@PDFDOCDIR@|$(pdfdocdir)|g" \
+       -e "s|@SYSTEMMACRODIR@|$(systemtmacdir)|g" \
        -e "s|@TMAC_AN_PREFIX@|$(tmac_an_prefix)|g" \
+       -e "s|@TMAC_M_PREFIX@|$(tmac_m_prefix)|g" \
        -e "s|@TMAC_MDIR@|$(tmacdir)/mm|g" \
-       -e "s|@BROKEN_SPOOLER_FLAGS@|$(BROKEN_SPOOLER_FLAGS)|g" \
+       -e "s|@TMAC_S_PREFIX@|$(tmac_s_prefix)|g" \
        -e "s|@VERSION@|$(version)$(revision)|g" \
-       -e "s|@MDATE@|`$(SHELL) $(top_srcdir)/mdate.sh $<`|g" \
-       -e "s|@g@|$(g)|g" \
-       -e "address@hidden@!`echo $(g) | tr [a-z] [A-Z]`!g" \
        $< >$@
 
 .PHONY: install_man

Index: src/devices/xditview/GXditview.ad
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/xditview/GXditview.ad,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/devices/xditview/GXditview.ad   1 Jun 2004 10:39:54 -0000       1.1.1.1
+++ src/devices/xditview/GXditview.ad   25 Feb 2007 21:06:22 -0000      1.2
@@ -9,8 +9,7 @@
 GXditview.paned.viewport.showGrip:     false
 GXditview.paned.label.skipAdjust:      true
 
-GXditview.paned.viewport.dvi.translations: #augment \
-       <Btn1Down>:     XawPositionSimpleMenu(menu) MenuPopup(menu)\n\
+GXditview.paned.translations: #augment \
        <Key>Next:      NextPage()\n\
        <Key>n:         NextPage()\n\
        <Key>space:     NextPage()\n\
@@ -23,20 +22,10 @@
        <Key>Find:      OpenFile()\n\
        <Key>r:         Rerasterize()\n\
        <Key>q:         Quit()
+GXditview.paned.viewport.dvi.translations: #augment \
+       <Btn1Down>:     XawPositionSimpleMenu(menu) MenuPopup(menu)
 GXditview.paned.label.translations: #augment \
-       <Btn1Down>:     XawPositionSimpleMenu(menu) MenuPopup(menu)\n\
-       <Key>Next:      NextPage()\n\
-       <Key>n:         NextPage()\n\
-       <Key>space:     NextPage()\n\
-       <Key>Return:    NextPage()\n\
-       <Key>Prior:     PreviousPage()\n\
-       <Key>p:         PreviousPage()\n\
-       <Key>BackSpace: PreviousPage()\n\
-       <Key>Delete:    PreviousPage()\n\
-       <Key>Select:    SelectPage()\n\
-       <Key>Find:      OpenFile()\n\
-       <Key>r:         Rerasterize()\n\
-       <Key>q:         Quit()
+       <Btn1Down>:     XawPositionSimpleMenu(menu) MenuPopup(menu)
 GXditview.menu.nextPage.label:         Next Page
 GXditview.menu.previousPage.label:     Previous Page
 GXditview.menu.selectPage.label:       Select Page

Index: src/devices/xditview/TODO
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/xditview/TODO,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/devices/xditview/TODO   1 Jun 2004 10:39:54 -0000       1.1.1.1
+++ src/devices/xditview/TODO   25 Feb 2007 21:06:22 -0000      1.2
@@ -1,4 +1,10 @@
-Replace Imakefile with a configure script.
+Make the arrow keys do the obvious (perhaps behaving similar to gv).
+
+Open the main window with the correct width and height, depending on
+both the selected device and the paper dimensions.
+
+Add a command line option to specify the paper dimensions (similar to
+other groff devices).
 
 Better error handling.
 

Index: src/devices/xditview/gxditview.man
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/xditview/gxditview.man,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- src/devices/xditview/gxditview.man  31 Dec 2006 17:34:32 -0000      1.7
+++ src/devices/xditview/gxditview.man  25 Feb 2007 21:06:22 -0000      1.8
@@ -51,11 +51,11 @@
 is different for all devices.
 .
 .B \%gxditview
-can view it for all devices, but the quality is not always good.
+can view it for all devices, but the quality is device dependent.
 .
 .
 .PP
-The best result is achieved with the
+The best results are achieved with the
 .BR X *
 devices for
 .BR groff 's
@@ -82,20 +82,39 @@
 .B \%gxditview
 automatically for viewing.
 .
+For example, to view this man page with a base resolution of 12pt, say
+.
+.IP
+.B groff \-TX100\-12 \-man \-rS12 address@hidden@
+.
+.PP
+(option
+.BI \-rS XX
+is documented in the
+.BR groff_man (@MAN7EXT@)
+man page).
 .
 .PP
 .BR groff 's
 option
 .B \-X
-should be considered obsolete today; it produces
+produces
 .I intermediate output
-for
+for the
 .I Postscript
-and uses
+device and subsequently uses
 .B \%gxditview
-as a viewer for it, but with a bad quality.
+as a viewer for it.
+.
+The quality of the result depends mainly on the chosen point size and
+display resolution; for rapid previewing, however, something like
+.
+.IP
+.BI "groff \-X \-P\-resolution \-P100 " document
+.
+.PP
+yields acceptable results.
 .
-Simply don't use it.
 .
 .
 .PP
@@ -380,6 +399,22 @@
 for more details.
 .
 .
+.SH FILES
+.TP
+.B @APPRESDIR@/GXditview
+The default resource file of
+.BR \%gxditview .
+Users should override these values in the
+.B .Xdefaults
+file, normally located in the user's home directory.
+.
+See
+.BR xrdb (1)
+and
+.BR appres (1)
+for more.
+.
+.
 .SH "SEE ALSO"
 .BR X (1),
 .BR xrdb (1),




reply via email to

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