public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Peter Toft <pto@sslug.dk>
To: Stephen Wilhelm <swilhelm@theriver.com>
Cc: DocBook Mailing List <docbook-tools-discuss@sourceware.cygnus.com>
Subject: Re: Graphics image question
Date: Sun, 21 Jan 2001 01:15:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.30.0101211015280.2531-100000@pto.sslug> (raw)
Message-ID: <20010121011500.hzPRpgpE5BUpS5iF21wfDfdAV_l_FuTttUCvU2aFj1c@z> (raw)
In-Reply-To: <Pine.LNX.4.30.0101202313580.2373-100000@pto.sslug>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]

On Sat, 20 Jan 2001, Peter Toft wrote:

> On Sat, 20 Jan 2001, Stephen Wilhelm wrote:
>
> >
> > Hello everyone.  I have a DocBook document that has some images in it.  I
> > use the Cygnus tools to publish the SGML sources.  Now, db2html does a
> > great job, but db2ps and db2pdf gives some LaTeX errors about gif images
> > not being supported.  I switched to jpeg images, but the resulting
> > Postscript and PDF files look absolutely horrible (in one case, each pixel
> > of the image was rendered as a 50 pixel block, which is obviously
> > unacceptable).
> >
> > So, does anyone know if there is anything I can do to get gif's or jpeg's
> > working?  If not, is there another image format that I should consider?
> > The only thing I would require from another format would be that it must
> > work with web browsers as well (so no eps files).
>
> To my knowledge db2ps is the show-stopper - I only eats
> .eps-files.

UPS; to get you there you also need to include images
like this:

<figure id="ma7lang-fig" float="1">
<title>YOUR FIGURE TITLE</title>
<graphic fileref="YOUR_FILENAME.&magic;" SCALE="60"></graphic>
</figure>

SCALE can be dropped - but nice in ps/pdf-output.


-- 
Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto

"You don't win a battle by asking, `Will we win?'
You win it by doing your best to win" - Richard M Stallman

LinuxKonference i København: http://LinuxForum.dk/

  parent reply	other threads:[~2001-01-21  1:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-19 22:49 Stephen Wilhelm
2001-01-20 14:11 ` Stephen Wilhelm
2001-12-19 22:49 ` Ricardo
2001-02-05  8:17   ` Ricardo
2001-12-19 22:49   ` Ricardo
2001-02-05 11:19     ` Ricardo
2001-12-19 22:49 ` Peter Toft
2001-01-20 14:22   ` Peter Toft
2001-12-19 22:49   ` Peter Toft [this message]
2001-01-21  1:15     ` Peter Toft
2001-12-19 22:49 ` Eric Bischoff
2001-01-31  3:10   ` Eric Bischoff
2001-12-19 22:49   ` Stephen Wilhelm
2001-01-31 21:25     ` Stephen Wilhelm

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=Pine.LNX.4.30.0101211015280.2531-100000@pto.sslug \
    --to=pto@sslug.dk \
    --cc=docbook-tools-discuss@sourceware.cygnus.com \
    --cc=swilhelm@theriver.com \
    /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).