Hi José

Next try (small corrections).
See inline comments.

/Andreas


On Mon, 04 Oct 2004 07:31:08 -0700 José Abílio Oliveira Matos wrote:

On Mon, Oct 04, 2004 at 12:19:35AM +0200, Andreas Vox wrote:

> What the Docbook SGML/XSL stylesheets make of that is another question,
> though ...
> OpenJade complains about the "%" in attributes, ignores 'scalefit="1" '
> and outputs additional '>' characters after each image (sgmltools lite
> 3.0.3)

  :-(


:-) Silly me. Why am I using 'if' if I'm outputting the same code anyhow ???
Now SGML writes "<graphic ... >" instead of "<graphic ... />".
Still ignoring scalefit, though.


> DB2LaTeX ignores all parameters unless I submit my patches and they get
> included.

  OK, then do it. :-)


No.
I just found out that the correct handling is already implemented for mediaobjects,
so I just changed insetgraphic.C again to output the new tags.
It now works with an out-of-the-box db2latex-0.8pre :-)

> Ideas for more support:
> * Wrap graphics which use relative measures in paragraphs of correct
> size, such that the "%"-param uses the correct base.

  How?
  I am not sure I like it. :-)

If we put a graphic inside a paragraph with right and left margins this will / should change \linewidth. Within a paragraph without margins or indent \linewidth should be equal to \colwidth and in single column mode equal to \textwidth.

I don't know, maybe there are better solutions.

Patch applied.

But not committed, it seems. The new patch includes the last one.

Cheers
/Andreas


Attachment: patch-insetgraphics3
Description: Binary data


Reply via email to