[NTG-context] inline textbackgrounds across linebreaks

Mohammad Hossein Bateni bateni at gmail.com
Tue Jan 15 15:08:35 CET 2019


I guess it works fine for me on beta 2019.01.07 16:10.

On Tue, Jan 15, 2019 at 8:37 AM Taco Hoekwater <taco at elvenkind.com> wrote:

> Hi,
>
> Quick explanation: I am trying to implement the concept of the HTML <u>
> tag,
> which is supposed to be like a font switch, but doing underlining. I have
> a
> bunch of french clients, and this is a requirement I cannot get around.
> French
> officials _love_ underlining and uppercasing :(
>
> Because of its flexibility, I try to use text backgrounds, but that seems
> to
> only work when the text does not break across lines: when on one line, the
> background starts and stops at the right spot, great! But if there is a
> line
> break, then it underlines complete lines, even for the first and last line.
>
> Is there any way to have underlining + line breaks behave correctly?
> (perhaps not using text backgrounds at all?)
>
> My current code is attached.
>
> Best wishes,
> Taco
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190115/ea466c07/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s.pdf
Type: application/pdf
Size: 9611 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190115/ea466c07/attachment-0001.pdf>


More information about the ntg-context mailing list