From owner-freebsd-doc Sat Feb 1 13:25:58 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D4F737B401 for ; Sat, 1 Feb 2003 13:25:56 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C40543F79 for ; Sat, 1 Feb 2003 13:25:55 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-b018.otenet.gr [195.167.121.146]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h11LPoVq006826 for ; Sat, 1 Feb 2003 23:25:51 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h11LPmMP015929 for ; Sat, 1 Feb 2003 23:25:48 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h11LGsSU015423 for freebsd-doc@freebsd.org; Sat, 1 Feb 2003 23:16:54 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sat, 1 Feb 2003 23:16:54 +0200 From: Giorgos Keramidas To: freebsd-doc@freebsd.org Subject: PIC images for non-ascii output Message-ID: <20030201211654.GA15383@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have locally tested the attached patch tonight. It adds a pic(1) image to the "checkpoint" article and makes use of a to pull it in those versions of output that can display images. Does it look ok to you all? Should I commit it, and try to create more pic(1) images for the remaining ASCII-art-only diagrams and/or pictures we use in the docs? %%% Index: Makefile =================================================================== RCS file: /home/giorgos/cvsroot/giorgos/fx/doc/en_US.ISO8859-1/articles/checkpoint/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- Makefile 30 Dec 2002 02:40:45 -0000 1.1.1.1 +++ Makefile 1 Feb 2003 20:20:46 -0000 1.2 @@ -9,6 +9,8 @@ SRCS= article.sgml +IMAGES= networks.pic + DOC_PREFIX?= ${.CURDIR}/../../.. .include "${DOC_PREFIX}/share/mk/doc.project.mk" Index: article.sgml =================================================================== RCS file: /home/giorgos/cvsroot/giorgos/fx/doc/en_US.ISO8859-1/articles/checkpoint/article.sgml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- article.sgml 22 Jan 2003 19:44:57 -0000 1.12 +++ article.sgml 1 Feb 2003 20:20:46 -0000 1.13 @@ -83,13 +83,25 @@ The following is a diagram of the machines and networks referenced in this document. -External Interface External Interface + + + + + + + External Interface External Interface 208.229.100.6 216.218.197.2 | | +--> Firewall-1 <--> Internet <--> FreeBSD GW <--+ | | FW-1 Protected Nets Internal Nets -199.208.192.0/24 192.168.10.0/24 +199.208.192.0/24 192.168.10.0/24 + + + + FW-1 net and FreeBSD net + + The FreeBSD gateway GW serves as a firewall and NAT device for internal nets. Index: networks.pic =================================================================== RCS file: networks.pic diff -N networks.pic --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ networks.pic 1 Feb 2003 20:20:46 -0000 1.1 @@ -0,0 +1,29 @@ + +.PS + +A: box "Firewall-1" right; +B: line 1.4; +C: box "Internet" dashed; +D: line 1.4; +E: box "FreeBSD GW" wid 1.0; + +F: line down at A.s; +G: box ht .04 wid 1.8 fill \ + with .nw at F.s - (.4,0); + +H: line down at E.s; +I: box ht .04 wid 1.8 fill \ + with .ne at H.s + (.4,0); + +box ht .2 invis "\fC\s-2 208.229.100.6\s+2\fP" \ + with .sw at B.nw + (.06,0); +box ht .2 invis "\fC\s-2 216.218.197.2\s+2\fP" \ + with .se at D.e - (.12,0); +box wid 1.2 invis \ + "\fC\s-2199.208.192.0/24\s+2\fP" "FW-1 protected nets" \ + with .nw at G.w; +box wid 1.2 invis \ + "\fC\s-2199.208.192.0/24\s+2\fP" "internal nets" \ + with .ne at I.e; + +.PE %%% To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message