Re: [NTG-context] Trying to get figure frame corners to clip figure

2011-07-07 Thread Kip Warner
On Thu, 2011-07-07 at 07:35 +0200, Wolfgang Schuster wrote:
 There is a example in the metafun manual: http://pragma-ade.com/show-man-7.htm
 
 Wolfgang

Wolfgang,

I appreciate the effort, but you've linked me to a 657 page manual which
is totally useless to me. I don't have time to learn another language.
I've already spent a great deal of time just trying to learn ConTeXt and
get that up and running.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

[NTG-context] Trying to get figure frame corners to clip figure

2011-07-06 Thread Kip Warner
Hey list,

I'd like the rounded corners of my figure's frame to clip off the
outside corners of the image so they aren't sticking out. This is what
I'm making do with:

\setupexternalfigures
  [frame=on,
   corner=25,
   framecolor=colour_frame_border,
   background=color, 
   backgroundcolor=colour_page,
   rulethickness=2pt]

It almost works, but the image still sticks out at the corners beyond
the frame edge.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Trying to get figure frame corners to clip figure

2011-07-06 Thread Aditya Mahajan

On Wed, 6 Jul 2011, Kip Warner wrote:


Hey list,

I'd like the rounded corners of my figure's frame to clip off the
outside corners of the image so they aren't sticking out. This is what
I'm making do with:

\setupexternalfigures
 [frame=on,
  corner=25,
  framecolor=colour_frame_border,
  background=color,
  backgroundcolor=colour_page,
  rulethickness=2pt]

It almost works, but the image still sticks out at the corners beyond
the frame edge.


You can use

\clip[mp=...]{\framed[...]{...}}

(I think that the metafun manual gives an example).

Aditya
___
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
___


Re: [NTG-context] Trying to get figure frame corners to clip figure

2011-07-06 Thread Kip Warner
On Wed, 2011-07-06 at 23:48 -0400, Aditya Mahajan wrote:
 You can use
 
 \clip[mp=...]{\framed[...]{...}}
 
 (I think that the metafun manual gives an example).
 
 Aditya

Thanks Aditya, I'll look into it. I searched both the reference and
tutorial pdf and there is no description of \clip, but I found some
things that use it on the wiki.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Trying to get figure frame corners to clip figure

2011-07-06 Thread Kip Warner
On Wed, 2011-07-06 at 23:48 -0400, Aditya Mahajan wrote:
 You can use
 
 \clip[mp=...]{\framed[...]{...}}
 
 (I think that the metafun manual gives an example).
 
 Aditya

Aditya, correct me if wrong, but it looks like \clip performs
rectangular clipping only?

As I mentioned earlier, I'd like the rounded corners of my figure's
frame to clip off the outside corners of the image so they aren't
sticking out. This is what I'm making do with so far:

\setupexternalfigures
  [frame=on,
   corner=25,
   framecolor=colour_frame_border,
   background=color, 
   backgroundcolor=colour_page,
   rulethickness=2pt]

What would the syntax for \setupclipping look like to have that done? I
can find scant documentation for either that or \clip.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Trying to get figure frame corners to clip figure

2011-07-06 Thread Wolfgang Schuster

Am 07.07.2011 um 07:18 schrieb Kip Warner:

 On Wed, 2011-07-06 at 23:48 -0400, Aditya Mahajan wrote:
 You can use
 
 \clip[mp=...]{\framed[...]{...}}
 
 (I think that the metafun manual gives an example).
 
 Aditya
 
 Aditya, correct me if wrong, but it looks like \clip performs
 rectangular clipping only?
 
 As I mentioned earlier, I'd like the rounded corners of my figure's
 frame to clip off the outside corners of the image so they aren't
 sticking out. This is what I'm making do with so far:
 
 \setupexternalfigures
  [frame=on,
   corner=25,
   framecolor=colour_frame_border,
   background=color, 
   backgroundcolor=colour_page,
   rulethickness=2pt]
 
 What would the syntax for \setupclipping look like to have that done? I
 can find scant documentation for either that or \clip.

There is a example in the metafun manual: http://pragma-ade.com/show-man-7.htm

Wolfgang

___
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
___