public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Eric Bischoff <ebischoff@nerim.net>
To: Yang SongXiang <a22301yangsongx@gmail.com>
Cc: docbook-tools-discuss@sourceware.org
Subject: Re: [docbook2pdf] How to generate horizontal lines in a PDF document?
Date: Thu, 21 May 2009 10:22:00 -0000	[thread overview]
Message-ID: <E3A673D9-94A6-4D24-903A-F3D92E043306@nerim.net> (raw)
In-Reply-To: <ccffc1000905210004i5af54105ma4ae7a7dfab3927d@mail.gmail.com>


Le 21 mai 09 à 09:04, Yang SongXiang a écrit :

> Hi, all,
>
> I want to add 2 horizontal lines in my docbook, like this:
>
> --------------------
> int i = 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  
only describe the semantics of your text. To fine-tune the  
presentation, you have to adapt the style sheets used for rendering.

>

Éric Bischoff
ebischoff@nerim.net



      reply	other threads:[~2009-05-21 10:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21  7:04 Yang SongXiang
2009-05-21 10:22 ` Eric Bischoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E3A673D9-94A6-4D24-903A-F3D92E043306@nerim.net \
    --to=ebischoff@nerim.net \
    --cc=a22301yangsongx@gmail.com \
    --cc=docbook-tools-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).