From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11826 invoked by alias); 21 May 2009 10:22:54 -0000 Received: (qmail 11812 invoked by uid 22791); 21 May 2009 10:22:53 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from smtp-104-thursday.noc.nerim.net (HELO mallaury.nerim.net) (62.4.17.104) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 May 2009 10:22:49 +0000 Received: from [10.0.0.130] (ebischoff.pck.nerim.net [213.41.243.33]) by mallaury.nerim.net (Postfix) with ESMTP id 3A0CFA104D; Thu, 21 May 2009 12:22:45 +0200 (CEST) Cc: docbook-tools-discuss@sourceware.org Message-Id: From: Eric Bischoff To: Yang SongXiang In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: [docbook2pdf] How to generate horizontal lines in a PDF document? Date: Thu, 21 May 2009 10:22:00 -0000 References: X-IsSubscribed: yes Mailing-List: contact docbook-tools-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: docbook-tools-discuss-owner@sourceware.org X-SW-Source: 2009/txt/msg00001.txt.bz2 Le 21 mai 09 =E0 09:04, Yang SongXiang a =E9crit : > Hi, all, > > I want to add 2 horizontal lines in my docbook, like this: > > -------------------- > int i =3D 0; > sample code; > -------------------- > > But had no idea how to do that. I googled it, only found > http://oreilly.com/catalog/docbook/book2/iso-box.html, but still don't > know how to use it, since lack of demo sample. > > Can anyone provided a simple sample how to generate horizontal lines? You're on the wrong track. DocBook is not a presentation language. You=20=20 only describe the semantics of your text. To fine-tune the=20=20 presentation, you have to adapt the style sheets used for rendering. > =C9ric Bischoff ebischoff@nerim.net