[xml/sgml-pkgs] Bug#374219: imageobjects, especially those scaled to \textwidth, should not be indented

Daniel Burrows dburrows at debian.org
Sat Jun 17 23:28:59 UTC 2006


Package: db2latex-xsl
Version: 0.8pre1-6.1
Severity: normal

  The TeX generation for the following DocBook fragment creates an image
that is scaled to \textwidth but indented by \parindent.  The result is
an image that begins to the right of the left margin, and protrudes over
the right margin by \parwidth.  Placing \noindent immediately before
\includegraphics in mediaobject.mod.xsl fixes the problem.

	<screenshot>
	  <mediaobject>
	    <imageobject>
	      <imagedata fileref='images/menu-snapshot.png' format='PNG' scalefit='1' width='100%'/>
	    </imageobject>
	  </mediaobject>
	</screenshot>

  Daniel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental'), (1, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

db2latex-xsl depends on no packages.

Versions of packages db2latex-xsl recommends:
ii  docbook-xml                   4.4-5      standard XML documentation system,
ii  tetex-bin                     3.0-16     The teTeX binary files
ii  xsltproc                      1.1.17-1   XSLT command line processor

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20060617/2bcc303b/attachment.pgp


More information about the debian-xml-sgml-pkgs mailing list