Tidy and HTML tab spacing

Hiroki Sato hrs at FreeBSD.org
Fri Jan 27 16:59:14 UTC 2012


Warren Block <wblock at wonkity.com> wrote
  in <alpine.BSF.2.00.1201270821540.28751 at wonkity.com>:

wb> On Fri, 27 Jan 2012, Hiroki Sato wrote:
wb>
wb> > Hiroki Sato <hrs at freebsd.org> wrote
wb> >  in <20120127.155054.2121952239893273004.hrs at allbsd.org>:
wb> >
wb> > hr> I think the attached patch should fix the issue in the PDF format.
wb> > hr>  Could you test it?
wb> >
wb> > The previous patch did not include width calculation of the tab
wb> > expansion (always used 8 spaces).  The attached one does it for a
wb> > simple character sequence.
wb>
wb> That helps a lot!  Single tabs and multiple tabs are slightly
wb> different, but it's close.
wb> http://www.wonkity.com/~wblock/porters/tab1.png  (good!)
wb> http://www.wonkity.com/~wblock/porters/tab2.png  (close)
wb>
wb> http://www.wonkity.com/~wblock/porters/tab3.png
wb>
wb> Should be:
wb> LIB_DEPENDS+=           foo.0:${PORTSDIR}/devel/foo
wb> CONFIGURE_ARGS+=        --enable-foo
wb>
wb> The second line '=' lands right before a tab stop, and the tab is
wb> replaced with a single space.
wb>
wb> Thanks!

 How about the attached one?  A bug that could cause an extra space
 was fixed.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expand-tabs-freebsd-print.20120127-3.diff
Type: text/x-patch
Size: 4006 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20120128/903784f4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20120128/903784f4/attachment.sig>


More information about the freebsd-doc mailing list