Hi folks,

I've got an image, generated from a database schema editor, that
I would like to include in an ASCIIDOC document.  The size of the
image is 1664 x 698.

I am finding it difficult to figure out how to incorporate it in such a way
that it looks good in both PDF and HTML outputs.

I find that if I use:

  image::a4d_schema.png["A4D Database 
Schema",width=640,link="a4d_schema.png"]

the HTML production is very nice,  the tables are readable in the HTML
page and a user can click on it to expand to the full sized image if they
desire a better resolution.

Using the PDF mode of a2x, the image runs off the side of the page.  I can 
used an
attribute liked 'scaledwidth="..."', but that results in the image being so 
grainy that
it is unreadable in the PDF.  And, of course, there isn't an option to then 
click on
it and get a higher resolution.

I'm wondering if other folks have faced this sort of problem and what they 
did
to solve it?

Is there a way, for example, for me to declare that on HTML output I want it 
to
use an image and on PDF output I want it to merge in a PS representation
of the image (or another PDF?).


Jim



-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/caK2q0GvBiYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to