ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* intermezzo/sidebarswith rounded corners.
@ 2015-02-05 20:38 John Culleton
  2015-02-05 21:54 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: John Culleton @ 2015-02-05 20:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Client has an existing book that I am redoing
with many inserted square boxes of text slightly
protruding in the margin. Main text wraps
around each box. The line around each such box has
rounded corners. Is there an example somewhere in
the manuals or elsewhere?  

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: intermezzo/sidebarswith rounded corners.
  2015-02-05 20:38 intermezzo/sidebarswith rounded corners John Culleton
@ 2015-02-05 21:54 ` Hans Hagen
  2015-02-05 22:31   ` John Culleton
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2015-02-05 21:54 UTC (permalink / raw)
  To: ntg-context

On 2/5/2015 9:38 PM, John Culleton wrote:
> Client has an existing book that I am redoing
> with many inserted square boxes of text slightly
> protruding in the margin. Main text wraps
> around each box. The line around each such box has
> rounded corners. Is there an example somewhere in
> the manuals or elsewhere?
>
\starttext

     \defineframed
       [whatever]
       [width=1cm,
        height=1cm,
        background=color,
        backgroundcolor=darkblue,
        foregroundcolor=white,
        forgroundstyle=bold]

     \dorecurse {100} {
         \starthanging{\whatever{#1}}
             \input tufte
         \stophanging
     }
\stoptext


-- 

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: intermezzo/sidebarswith rounded corners.
  2015-02-05 21:54 ` Hans Hagen
@ 2015-02-05 22:31   ` John Culleton
  2015-02-05 23:42     ` Wolfgang Schuster
  2015-02-06  8:46     ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: John Culleton @ 2015-02-05 22:31 UTC (permalink / raw)
  To: ntg-context

On Thu, 05 Feb 2015 22:54:11 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> On 2/5/2015 9:38 PM, John Culleton wrote:
> > Client has an existing book that I am redoing
> > with many inserted square boxes of text
> > slightly protruding in the margin. Main text
> > wraps around each box. The line around each
> > such box has rounded corners. Is there an
> > example somewhere in the manuals or elsewhere?
> >
> \starttext
> 
>      \defineframed
>        [whatever]
>        [width=1cm,
>         height=1cm,
>         background=color,
>         backgroundcolor=darkblue,
>         foregroundcolor=white,
>         forgroundstyle=bold]
> 
>      \dorecurse {100} {
>          \starthanging{\whatever{#1}}
>              \input tufte
>          \stophanging
>      }
> \stoptext
> 
> 

And rounded corners?

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: intermezzo/sidebarswith rounded corners.
  2015-02-05 22:31   ` John Culleton
@ 2015-02-05 23:42     ` Wolfgang Schuster
  2015-02-06  8:46     ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2015-02-05 23:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]


> Am 05.02.2015 um 23:31 schrieb John Culleton <John@wexfordpress.com>:
> 
> On Thu, 05 Feb 2015 22:54:11 +0100
> Hans Hagen <pragma@wxs.nl <mailto:pragma@wxs.nl>> wrote:
> 
>> On 2/5/2015 9:38 PM, John Culleton wrote:
>>> Client has an existing book that I am redoing
>>> with many inserted square boxes of text
>>> slightly protruding in the margin. Main text
>>> wraps around each box. The line around each
>>> such box has rounded corners. Is there an
>>> example somewhere in the manuals or elsewhere?
>>> 
>> \starttext
>> 
>>     \defineframed
>>       [whatever]
>>       [width=1cm,
>>        height=1cm,
>>        background=color,
>>        backgroundcolor=darkblue,
>>        foregroundcolor=white,
>>        forgroundstyle=bold]
>> 
>>     \dorecurse {100} {
>>         \starthanging{\whatever{#1}}
>>             \input tufte
>>         \stophanging
>>     }
>> \stoptext
>> 
>> 
> 
> And rounded corners?

http://wiki.contextgarden.net/Framed#Rounded_Corners <http://wiki.contextgarden.net/Framed#Rounded_Corners>

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 6134 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: intermezzo/sidebarswith rounded corners.
  2015-02-05 22:31   ` John Culleton
  2015-02-05 23:42     ` Wolfgang Schuster
@ 2015-02-06  8:46     ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2015-02-06  8:46 UTC (permalink / raw)
  To: ntg-context

On 2/5/2015 11:31 PM, John Culleton wrote:
> On Thu, 05 Feb 2015 22:54:11 +0100
> Hans Hagen <pragma@wxs.nl> wrote:
>
>> On 2/5/2015 9:38 PM, John Culleton wrote:
>>> Client has an existing book that I am redoing
>>> with many inserted square boxes of text
>>> slightly protruding in the margin. Main text
>>> wraps around each box. The line around each
>>> such box has rounded corners. Is there an
>>> example somewhere in the manuals or elsewhere?
>>>
>> \starttext
>>
>>       \defineframed
>>         [whatever]
>>         [width=1cm,
>>          height=1cm,
>>          background=color,
>>          backgroundcolor=darkblue,
>>          foregroundcolor=white,
>>          forgroundstyle=bold]
>>
>>       \dorecurse {100} {
>>           \starthanging{\whatever{#1}}
>>               \input tufte
>>           \stophanging
>>       }
>> \stoptext
>>
>>
>
> And rounded corners?

you can either configure framed to do that or hook in some mp (see wiki)

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-06  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 20:38 intermezzo/sidebarswith rounded corners John Culleton
2015-02-05 21:54 ` Hans Hagen
2015-02-05 22:31   ` John Culleton
2015-02-05 23:42     ` Wolfgang Schuster
2015-02-06  8:46     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).