Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 08:54:08 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: Tidy and HTML tab spacing
Message-ID:  <alpine.BSF.2.00.1201270821540.28751@wonkity.com>
In-Reply-To: <20120127.222427.2203865340894432901.hrs@allbsd.org>
References:  <20120127.124619.1645166101623286100.hrs@allbsd.org> <alpine.BSF.2.00.1201262148480.25316@wonkity.com> <20120127.155054.2121952239893273004.hrs@allbsd.org> <20120127.222427.2203865340894432901.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

----Next_Part(Fri_Jan_27_22_24_27_2012_031)--
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <alpine.BSF.2.00.1201270821542.28751@wonkity.com>

On Fri, 27 Jan 2012, Hiroki Sato wrote:

> Hiroki Sato <hrs@freebsd.org> wrote
>  in <20120127.155054.2121952239893273004.hrs@allbsd.org>:
>
> hr>  I think the attached patch should fix the issue in the PDF format.
> hr>  Could you test it?
>
> The previous patch did not include width calculation of the tab
> expansion (always used 8 spaces).  The attached one does it for a
> simple character sequence.

That helps a lot!  Single tabs and multiple tabs are slightly different, 
but it's close.
http://www.wonkity.com/~wblock/porters/tab1.png  (good!)
http://www.wonkity.com/~wblock/porters/tab2.png  (close)

http://www.wonkity.com/~wblock/porters/tab3.png

Should be:
LIB_DEPENDS+=           foo.0:${PORTSDIR}/devel/foo
CONFIGURE_ARGS+=        --enable-foo

The second line '=' lands right before a tab stop, and the tab is 
replaced with a single space.

Thanks!


PS: somehow I missed escaping the '#' in my patch to doc.common.mk, 
revision attached.
----Next_Part(Fri_Jan_27_22_24_27_2012_031)--
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-tidytabs-patty.diff
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.BSF.2.00.1201270854080.28751@wonkity.com>
Content-Description: 
Content-Disposition: attachment; filename=patch-tidytabs-patty.diff

SW5kZXg6IGRvYy9zaGFyZS9tay9kb2MuY29tbW9uLm1rDQo9PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2hvbWUvZGN2cy9kb2Mvc2hhcmUv
bWsvZG9jLmNvbW1vbi5tayx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTgN
CmRpZmYgLXUgLXIxLjE4IGRvYy5jb21tb24ubWsNCi0tLSBkb2Mvc2hhcmUv
bWsvZG9jLmNvbW1vbi5tawkyIE5vdiAyMDA2IDE4OjU4OjE3IC0wMDAwCTEu
MTgNCisrKyBkb2Mvc2hhcmUvbWsvZG9jLmNvbW1vbi5tawkyNyBKYW4gMjAx
MiAxNTozMDoxNyAtMDAwMA0KQEAgLTksNiArOSw5IEBADQogR1JFUD89CQkv
dXNyL2Jpbi9ncmVwDQogUkVBTFBBVEg/PQkvYmluL3JlYWxwYXRoDQogU0VE
Pz0JCS91c3IvYmluL3NlZA0KKyMgYSBoYWNrIHRvIGtlZXAgdGlkeSBmcm9t
IGNvbnZlcnRpbmcgdGFicyB0byBzcGFjZXMNCisjIHJlcGxhY2UgdGhlbSB3
aXRoICYjMDk7IGJlZm9yZSBjYWxsaW5nIHRpZHkNCitSRUlOUExBQ0VfVEFC
U19DTUQ/PQkke1NFRH0gLWkgLWUgJ3MvCS9cJlwjMDk7L2cnDQogDQogLmlm
IGRlZmluZWQoRE9DX1BSRUZJWCkgJiYgIWVtcHR5KERPQ19QUkVGSVgpDQog
V0VCX1BSRUZJWD89CSR7RE9DX1BSRUZJWH0vLi4vd3d3DQpJbmRleDogZG9j
L3NoYXJlL21rL2RvYy5kb2Nib29rLm1rDQo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT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
aWYgIWRlZmluZWQoTk9fVElEWSkgfHwgZW1wdHkoTk9fVElEWSkNCiAuICBp
ZiAhZGVmaW5lZChOT19USURZLiR7X0lEfSkgfHwgZW1wdHkoTk9fVElEWS4k
e19JRH0pDQorCSR7UkVJTlBMQUNFX1RBQlNfQ01EfSAkey5UQVJHRVR9DQog
CS0ke1RJRFl9ICR7VElEWU9QVFN9ICR7LlRBUkdFVH0NCiAuICBlbmRpZg0K
IC4gZW5kaWYNCg==

----Next_Part(Fri_Jan_27_22_24_27_2012_031)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1201270821540.28751>