Re: [NTG-context] Left frame on a block of text

2019-04-20 Thread Gilles Waeber
Thanks, that's exactly what I needed. I got inspired by your post at https://adityam.github.io/context-blog/post/frame-with-solid-left-line/ for my original code. I just added linecap:=butt; at the beginning of the metapost code to get squared ends. Gilles > Framed does not provide enough

[NTG-context] Left frame on a block of text

2019-04-20 Thread Gilles Waeber
Hi, I'm trying to create a style with a left border in the margin. I want the border to start and stop with the text. For the bottom I used framedepth but the bar still goes too far on the top? \showframe \showboxes \defineframedtext[leftbartext][ width=broad, frame=off,

Re: [NTG-context] Using context.setupexternalfigures

2018-10-10 Thread Gilles Waeber
09 October 2018 10:53 Hans Hagen wrote: > On 10/8/2018 11:36 PM, [m...@gilleswaeber.ch](mailto:m...@gilleswaeber.ch) > wrote: > > How should I call context.setupexternalfigures? > \directlua{ > context.setupexternalfigures { > % directory = { 'images', >