[PATCH][0.19] IE-safe bzr_man.html (was: Re: [MERGE] Bazaar User Reference)

Alexander Belchenko bialix at ukr.net
Tue Aug 7 14:20:06 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko пишет:
> Alexander Belchenko ?8H5B:
>> Martin Pool ?8H5B:
>>> On 8/6/07, Ian Clatworthy <ian.clatworthy at internode.on.net> wrote:
>>>> A patch to generate a "complete" User Reference from online help is
>>>> attached. If you're only interested in seeing the end result rather than
>>>> the code, a sample output can be found here:
>>>> http://people.ubuntu.com/~ianc/doc/bzr_man.htm.
>>> That looks good.  It prints (well, to pdf) ok in Safari so I'd suspect
>>> an IE-specific problem.
>> Definitely there is IE-specific problem. When I try to preview document for printing
>> I've got "Error during executing scenario". Also there is too much misformatting
>> in IE that looks ugly (see attached screenshot).
>> I think there is some problems with CSS.
> 
> I tracked down problem to the help of `tags` command. If bzr_man have
> this topic inside then page becomes unprintable. Something weird
> with tags occurs. Something like reserved keyword, I guess.
> 
> I never faced with this ugly problem before.
> May be someone with deeper knowledge of IE/html could help?
> 
> If I change topic header from `tags` to `tags-xxx` then problem disappear.
> So the html line in question is:
> 
> <h2><a class="toc-backref" href="#id3" id="tags" name="tags">tags</a></h2>
> 
> Something wrong with `id` and `name` attributes.

I did not found in the docutils documentation the method to change id/name attribute
for html elements, so here is quick workaround for this problem.

Generated page is available at: http://bzrdev.bialix.com/bzr_man.htm

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuHGFzYr338mxwCURAlvbAJ4prTnoIP2cMYRdk0KrsHE2rYM1RQCggp2Q
eqzmwmI4FXgWPIwHvZWAJ3M=
=ICEH
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ie-safe-bzr-man.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070807/3f62bc32/attachment.diff 


More information about the bazaar mailing list