[dev-context] Local settings for frame borders
Hans Hagen
pragma at wxs.nl
Mon May 28 19:06:39 CEST 2012
On 28-5-2012 18:01, Wolfgang Schuster wrote:
>
> Am 28.05.2012 um 17:08 schrieb Aditya Mahajan:
>
>> On Mon, 28 May 2012, Wolfgang Schuster wrote:
>>
>>>
>>> Am 28.05.2012 um 16:40 schrieb Marco:
>>>
>>>> On 2012-05-23 Marco<netuse at lavabit.com> wrote:
>>>>
>>>> I improved the code. There is no interference any more and no
>>>> strange offsets. One thing is still unsolved:
>>>>
>>>> The top/bottom/…rulethickness settings are not inherited from
>>>> rulethickness (see the table example at the end). This breaks the
>>>> compilation if only rulethickness is provided but not
>>>> toprulethicknes and bottomrulethickness. I don't know how to fix
>>>> that. That's not what users expect and is a bug.
>>>
>>> Add these setups to the module (there is no need for the braces):
>>>
>>> \setupTABLE [ \c!left\c!rulethickness=\framedparameter\c!rulethickness, \c!left\c!framecolor=\framedparameter\c!framecolor]
>>> \setupTABLE [ \c!right\c!rulethickness=\framedparameter\c!rulethickness, \c!right\c!framecolor=\framedparameter\c!framecolor]
>>> \setupTABLE [ \c!top\c!rulethickness=\framedparameter\c!rulethickness, \c!top\c!framecolor=\framedparameter\c!framecolor]
>>> \setupTABLE [\c!bottom\c!rulethickness=\framedparameter\c!rulethickness,\c!bottom\c!framecolor=\framedparameter\c!framecolor]
>>
>> I made some more changes at
>>
>> https://github.com/adityam/context-fences-extra
>
> I made also a few modifications on Marcos code, maybe a few of them should be moved to the core.
>
> It would be also a good idea to change the name of the module to meta-imp-frame.mkiv or something similar.
last week I was considering leftframeoffset (but decided to stick to som
emp jugling) and wondered if lframeoffset made more sense then (as it
matches the loffset keyword which we have in order not to clash with
leftoffset elsewhere .. \framed is often used as helper)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the dev-context
mailing list