Re: [NTG-context] \framed feature request

2011-08-27 Thread Hans Hagen
On 27-8-2011 09:34, Aditya Mahajan wrote: On Sat, 27 Aug 2011, Marcin Borkowski wrote: Hello Hans, there are toffset, boffset, loffset and roffset parameters to \framed, and an offset parameter which sets all four (if I get it right). Would it be a trouble to add also hoffset (setting [l

Re: [NTG-context] \framed feature request

2011-08-27 Thread Aditya Mahajan
On Sat, 27 Aug 2011, Marcin Borkowski wrote: Hello Hans, there are toffset, boffset, loffset and roffset parameters to \framed, and an offset parameter which sets all four (if I get it right). Would it be a trouble to add also hoffset (setting [l|]offset) and voffset (setting [t|b]offset

[NTG-context] \framed feature request

2011-08-27 Thread Marcin Borkowski
Hello Hans, there are toffset, boffset, loffset and roffset parameters to \framed, and an offset parameter which sets all four (if I get it right). Would it be a trouble to add also hoffset (setting [l|]offset) and voffset (setting [t|b]offset)? Best, -- Marcin Borkowski

Re: [NTG-context] Getting framed text to page break

2011-07-07 Thread Kip Warner
On Thu, 2011-07-07 at 07:04 +0200, Wolfgang Schuster wrote: > Am 07.07.2011 um 03:16 schrieb Kip Warner: > > > I'm not very competent with ConTeXt, but I tried to translate what you > > and wrote into the following: > > > > [...] > > Solution 1: > > \definestartstop > [SpecialFramed] > [

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Wolfgang Schuster
Am 07.07.2011 um 03:16 schrieb Kip Warner: > I'm not very competent with ConTeXt, but I tried to translate what you > and wrote into the following: > > [...] Solution 1: \definestartstop [SpecialFramed] [ before={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground},

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Kip Warner
On Wed, 2011-07-06 at 10:44 +0200, Philipp Gesang wrote: > Hi again, > > there’s also the background mechanism which has been explicitly > (see pack-rul.mkiv) designed with page breaks in mind. Example: > > ···8< > > \setupbackground[ >

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Philipp Gesang
On 2011-07-06 <00:22:39>, Kip Warner wrote: > Hey list, > > I'd like to get framed text to break over a page, but I'm not sure how > to do this. Right now, I am using: Hi again, there’s also the background mechanism which has been explicitly (see pack-rul.mkiv) desig

[NTG-context] Getting framed text to page break

2011-07-06 Thread Kip Warner
Hey list, I'd like to get framed text to break over a page, but I'm not sure how to do this. Right now, I am using: \def\StartSpecialFramedText% { \crlf \startframedtext [width=broad, bottom=\vss, top=\vss, align=right, corner=rectangular] \i

Re: [NTG-context] setups on framed

2011-04-20 Thread Wolfgang Schuster
Am 20.04.2011 um 18:09 schrieb Aditya Mahajan: > Another approach: > > \unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol] > > \setupframed[framecolor=green] > > \starttext > \framed[parent=defaultoptions]{test} > \stopt

Re: [NTG-context] setups on framed

2011-04-20 Thread Aditya Mahajan
,leftframe=on] \stopsetups \starttext \framed[setups=test]{A fancy title} \stoptext \framed[extras=\setup{test}]{…} but you can’t change all values because the hook is called to late. Another approach: \unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol

Re: [NTG-context] setups on framed

2011-04-20 Thread Wolfgang Schuster
leftframe=on] > \stopsetups > \starttext > \framed[setups=test]{A fancy title} > \stoptext \framed[extras=\setup{test}]{…} but you can’t change all values because the hook is called to late. Wolfgang ___ If yo

[NTG-context] setups on framed

2011-04-20 Thread Reviczky, Adam
Hi As a follow-up to this: http://www.ntg.nl/pipermail/ntg-context/2011/058569.html I was wondering if it is possible to something like this: \startsetups test \setupframed[frame=off,topframe=on,leftframe=on] \stopsetups \starttext \framed[setups=test]{A fancy title} \stoptext Adam PS: I am

Re: [NTG-context] about \framed and \inframed

2011-03-05 Thread Wolfgang Schuster
Am 04.03.2011 um 12:28 schrieb Jeong Dalyoung: > Dear all, > > I defined "Example" as following: > > \defineenumeration[Example] > [location=serried, > headstyle=bold, > command={\framed[height=1.3em]}, > text={\ss \white 예제}, > prefix=

Re: [NTG-context] [framed] how to deal with big text?

2011-03-05 Thread Milton Galo Patricio Inostroza Aguilera
2011/3/5 Wolfgang Schuster : > > > Use textbackground. > > \definetextbackground >  [myframe] >  [location=paragraph, >   framecolor=black, >   background=] > > \starttext > \startmyframe > \dorecurse{20}{\input knuth\par} > \stopmyframe > \stoptext thanks! it works like a charm :-) -- Milton _

Re: [NTG-context] [framed] how to deal with big text?

2011-03-05 Thread Wolfgang Schuster
Am 04.03.2011 um 21:47 schrieb Milton Galo Patricio Inostroza Aguilera: > Hi, > > I'm a new user of context. I'm working with \framed and I have a > problem when I try to fit a big text in it :-(. The system cuts the > text and it doesn't display in the next

[NTG-context] [framed] how to deal with big text?

2011-03-05 Thread Milton Galo Patricio Inostroza Aguilera
Hi, I'm a new user of context. I'm working with \framed and I have a problem when I try to fit a big text in it :-(. The system cuts the text and it doesn't display in the next page. I read the manual but I can not find an argument of framed that can do this job. An example of

[NTG-context] about \framed and \inframed

2011-03-04 Thread Jeong Dalyoung
Dear all, I defined "Example" as following: \defineenumeration[Example] [location=serried, headstyle=bold, command={\framed[height=1.3em]}, text={\ss \white 예제}, prefix=yes, prefixsegments=chapter, way=bychapter, width=broad, number=yes, before={

Re: [NTG-context] framed float with offset

2011-01-01 Thread Sanjoy Mahajan
Peter, > \placefigure[right]{This is ok!}{\framed[offset=20pt, > background=color, > backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}} > \input knuth Ah, I had tried almost that recipe (of wrapping the \externalfigure in a \framed) but had used backgrou

Re: [NTG-context] framed float with offset

2011-01-01 Thread Peter Münster
[scale=500, frame=on, offset=20pt, background=color, backgroundcolor=lightgray]} \input knuth \placefigure[right]{This is ok!}{\framed[offset=20pt, background=color, backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}} \input knuth \stoptext Peter -- Contact i

[NTG-context] framed float with offset

2011-01-01 Thread Sanjoy Mahajan
wrapping the externalfigure in a \framed, and also wrapping that in an \vbox or an \hbox (desperate measures, I admit). But somehow the \placefigure always knew exactly the size of the cow itself and used only that information, rather than the size of the enlarged background. Any suggestions appreciated

Re: [NTG-context] Centering framed text.

2010-11-13 Thread John Culleton
On Saturday 13 November 2010 21:11:50 Li Yanrui (李延瑞) wrote: > 2010/11/14 John Culleton : > > Given the following, how do I center the framed text box on the > > page? > > \setupframedtexts[background=screen,width=.6\hsize, align=middle] &

Re: [NTG-context] Centering framed text.

2010-11-13 Thread 李延瑞
2010/11/14 John Culleton : > Given the following, how do I center the framed text box on the page? > > \setupframedtexts[background=screen,width=.6\hsize, align=middle] > \setupcolors[state=start] > % > \starttext > \startframedtext >

[NTG-context] Centering framed text.

2010-11-13 Thread John Culleton
Given the following, how do I center the framed text box on the page? \setupframedtexts[background=screen,width=.6\hsize, align=middle] \setupcolors[state=start] % \starttext \startframedtext \cbox{\bf\ss\tfb WARNING} The text of the warning. % \stopframedtext

Re: [NTG-context] vertical space between \framed ’s

2010-10-13 Thread Wolfgang Schuster
Am 13.10.2010 um 11:25 schrieb Philipp Gesang: >> \testbox\nointerlineskip\testbox > > Thanks, that does it. Is there, perhaps, an ‘official’ setup for this? The small space is inserted by *TeX* and you shouldn’t change this at the global level. To disable \interlineskip at a local range you ca

Re: [NTG-context] vertical space between \framed ’s

2010-10-13 Thread Andreas Harder
Am 13.10.2010 um 10:54 schrieb Philipp Gesang: > Hi, > > > how do I get rid of the space between two consecutive framed > texts? In the following example: > > ···8< > > \def\testbox{\framed[frame=

[NTG-context] vertical space between \framed’ s

2010-10-13 Thread Philipp Gesang
Hi, how do I get rid of the space between two consecutive framed texts? In the following example: ···8< \def\testbox{\framed[frame=on,width=2em,height=2em]{A\par}} \setupinterlinespace[0pt] \starttext \testbox\testbox \stoptext ·

Re: [NTG-context] Centered framed text in two columns

2010-09-01 Thread Wolfgang Schuster
Am 31.08.2010 um 09:13 schrieb Flavien Lambert: > Dear All, > I would like to vertically center a framed text in front of an item list, > something like : > - item > - item > - item my framed text > - item > - item > > I tried with two columns then by de

Re: [NTG-context] Centered framed text in two columns

2010-09-01 Thread Flavien Lambert
No idea ? 2010/8/31 Flavien Lambert > Dear All, > I would like to vertically center a framed text in front of an item list, > something like : > - item > - item > - item my framed text > - item > - item > > I tried with two columns then by defining a paragraph

Re: [NTG-context] Indenting in framed environments

2010-09-01 Thread Wolfgang Schuster
Am 31.08.2010 um 21:21 schrieb Géry Ogam: > Hi, > >> How can I indent text within framedtext environments? >> I'm asking because my definitions/theorems/etc. commands are surrounded by >> startframed/stopframed and I want the text inside to be >> indented. \setupenumerations[...][indenting=y

[NTG-context] Indenting in framed environments

2010-08-31 Thread Géry Ogam
Hi, > How can I indent text within framedtext environments? > I'm asking because my definitions/theorems/etc. commands are surrounded by > startframed/stopframed and I want the text inside to be > indented. Géry___

[NTG-context] Centered framed text in two columns

2010-08-31 Thread Flavien Lambert
Dear All, I would like to vertically center a framed text in front of an item list, something like : - item - item - item my framed text - item - item I tried with two columns then by defining a paragraph but without success. I would also like the columns to have a fixed width like 70%-30% of

Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Hans Hagen
On 30-8-2010 7:23, Aditya Mahajan wrote: On Mon, 30 Aug 2010, Mojca Miklavec wrote: Dear list, I'm trying to find the command (in manual, wiki or mailing list) that enables using background behind text spanning over multiple pages. Hey, you are getting rusty :-) imagine how more better mki

Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Hans Hagen
On 30-8-2010 8:11, Aditya Mahajan wrote: On Mon, 30 Aug 2010, Mojca Miklavec wrote: On Mon, Aug 30, 2010 at 19:23, Aditya Mahajan wrote: On Mon, 30 Aug 2010, Mojca Miklavec wrote: I'm trying to find the command (in manual, wiki or mailing list) that enables using background behind text spann

Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Hans Hagen
On 30-8-2010 7:42, Mojca Miklavec wrote: On Mon, Aug 30, 2010 at 19:23, Aditya Mahajan wrote: On Mon, 30 Aug 2010, Mojca Miklavec wrote: I'm trying to find the command (in manual, wiki or mailing list) that enables using background behind text spanning over multiple pages. Hey, you are getti

Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Aditya Mahajan
On Mon, 30 Aug 2010, Mojca Miklavec wrote: On Mon, Aug 30, 2010 at 19:23, Aditya Mahajan wrote: On Mon, 30 Aug 2010, Mojca Miklavec wrote: I'm trying to find the command (in manual, wiki or mailing list) that enables using background behind text spanning over multiple pages. Hey, you are ge

Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Mojca Miklavec
On Mon, Aug 30, 2010 at 19:23, Aditya Mahajan wrote: > On Mon, 30 Aug 2010, Mojca Miklavec wrote: > >> I'm trying to find the command (in manual, wiki or mailing list) that >> enables using background behind text spanning over multiple pages. > > Hey, you are getting rusty :-) I am. In past I used

Re: [NTG-context] framed text over multiple pages

2010-08-30 Thread Aditya Mahajan
On Mon, 30 Aug 2010, Mojca Miklavec wrote: Dear list, I'm trying to find the command (in manual, wiki or mailing list) that enables using background behind text spanning over multiple pages. Hey, you are getting rusty :-) At the moment I have \startframedtext [width=\textwidth, backgrou

[NTG-context] framed text over multiple pages

2010-08-30 Thread Mojca Miklavec
Dear list, I'm trying to find the command (in manual, wiki or mailing list) that enables using background behind text spanning over multiple pages. At the moment I have \startframedtext [width=\textwidth, background=color, backgroundcolor=mycolor1, frame=off, leftframe=on, frame

Re: [NTG-context] \framed \placelist

2010-08-17 Thread Andreas Harder
Am 17.08.2010 um 00:49 schrieb taco: > Andreas Harder wrote: >> Hi all, >> if I try to put \placelist in \framed an error (You can't use `\prevdepth' >> in restricted horizontal mode) occurs. >> \starttext >> \framed >> [background=co

Re: [NTG-context] \framed \placelist

2010-08-16 Thread taco
Andreas Harder wrote: Hi all, if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. \starttext \framed [background=color,backgroundcolor=gray] {\placelist[section]} \dorecurse{10}{\section{test #1} \input tufte } \st

[NTG-context] \framed \placelist

2010-08-16 Thread Andreas Harder
Hi all, if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. \starttext \framed [background=color,backgroundcolor=gray] {\placelist[section]} \dorecurse{10}{\section{test #1} \input tufte } \stoptext So what is the wa

Re: [NTG-context] component key for \framed

2010-07-20 Thread Hans Hagen
On 20-7-2010 10:25, Wolfgang Schuster wrote: Hi Hans, the 'component' for \framed does not work, looking at the source reveals that it can be used to hide the framed content in the document by disabling the corresponding pdf layer but the following example shows there is no layer for

[NTG-context] component key for \framed

2010-07-20 Thread Wolfgang Schuster
Hi Hans, the 'component' for \framed does not work, looking at the source reveals that it can be used to hide the framed content in the document by disabling the corresponding pdf layer but the following example shows there is no layer for the frame. \showlayoutcomponents \setupi

Re: [NTG-context] \framed

2010-06-27 Thread Alan BRASLAU
On Sunday 27 June 2010 08:27:44 Peter Münster wrote: > > You need \dontleavehmode (see also here, question 21: > http://wiki.contextgarden.net/FAQ ) > Of course. I remembered this afterwords. We need to explain this more clearly in the documentation under \framed{} (which contains d

Re: [NTG-context] title page (& \framed)

2010-06-26 Thread Peter Münster
On Sun, Jun 27 2010, Alan BRASLAU wrote: > In typesetting a title page, > why in this minimal example is the framed title not centered? > > \starttext > \startstandardmakeup [doubleside=no,align=middle] > \framed > {Title} > \stopstandardmakeup >

[NTG-context] title page (& \framed)

2010-06-26 Thread Alan BRASLAU
In typesetting a title page, why in this minimal example is the framed title not centered? \starttext \startstandardmakeup [doubleside=no,align=middle] \framed {Title} \stopstandardmakeup \stoptext If I remove the \framed, the Title then gets centered. (I suppose that

Re: [NTG-context] Two \framed texts, one below the other

2010-06-15 Thread Taco Hoekwater
Marcin Borkowski wrote: Dnia Tue, Jun 15, 2010 at 09:10:40AM +0200, Taco Hoekwater napisał(a): Marcin Borkowski wrote: Hi all! When I say \framed{a} \framed{b} there is some space between frames. How can I turn it off? \starttext \offinterlineskip \framed[bottomframe=off,width=5in]{top

Re: [NTG-context] Two \framed texts, one below the other

2010-06-15 Thread Marcin Borkowski
Dnia Tue, Jun 15, 2010 at 09:10:40AM +0200, Taco Hoekwater napisał(a): > Marcin Borkowski wrote: > >Hi all! > > > >When I say > > > >\framed{a} > >\framed{b} > > > >there is some space between frames. How can I turn it off? > > \starttex

Re: [NTG-context] Two \framed texts, one below the other

2010-06-15 Thread Taco Hoekwater
Marcin Borkowski wrote: Hi all! When I say \framed{a} \framed{b} there is some space between frames. How can I turn it off? \starttext \offinterlineskip \framed[bottomframe=off,width=5in]{top left \hfill top right} \framed[topframe=off,width=5in]{center} \stoptext Is there a better way

[NTG-context] Two \framed texts, one below the other

2010-06-14 Thread Marcin Borkowski
Hi all! When I say \framed{a} \framed{b} there is some space between frames. How can I turn it off? I want to say something like \framed[bottomframe=off]{top left \hss top right} \framed[topframe=off]{center} to get +--+ |top left

Re: [NTG-context] Questions about \setuphead and \framed

2010-04-27 Thread Michael Ewe
ot;test" is > > not aligned > > Setting a font for style is not the same as setting it to textstyle and > numberstyle. > > > 3 The value of "strut" has no effect at all. > > strut in \setuphead accepts only yes and no, in \framed you can use the >

Re: [NTG-context] Questions about \setuphead and \framed

2010-04-24 Thread Wolfgang Schuster
of "strut" has no effect at all. strut in \setuphead accepts only yes and no, in \framed you can use the values yes, no, global and local, dimensions are no legal argument. Since you haven't shown what dou want to achieve i can only guess but maybe this setup is what yo

Re: [NTG-context] \framed[height=broad] vs \framed[height=fit]

2010-04-21 Thread Wolfgang Schuster
Am 21.04.10 05:34, schrieb Aditya Mahajan: Hi, I was updating the wiki page on \framed and realized that I do not know the difference between height=broad|fit in \framed. Reading pack-rul suggests that both should behave similarly. The following example from pack-rul also shows no difference

[NTG-context] \framed[height=broad] vs \framed[height=fit]

2010-04-20 Thread Aditya Mahajan
Hi, I was updating the wiki page on \framed and realized that I do not know the difference between height=broad|fit in \framed. Reading pack-rul suggests that both should behave similarly. The following example from pack-rul also shows no difference. \starttext \bgroup \showstruts

[NTG-context] Questions about \setuphead and \framed

2010-04-20 Thread Michael Ewe
] \setuphead[ChapterB][command=\Cmd,textstyle=\FontA,numberstyle=\FontA] \def\Cmd#1#2{% \hbox{% {\framed[frame=on,offset=none,strut=1cm]{#1}} {\framed[frame=on,offset=none,strut=1cm]{#2}} } } \starttext \ChapterA{Test} \Cmd{\FontA 1}{\FontA Test} \hbox{% {\framed[frame=on

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-06 Thread Hans Hagen
On 6-4-2010 5:11, Matthias Weber wrote: Thanks Aditya, that is what I need. I don't really understand the difference between framedtext and textbackground, but all my framing and coloring desires seem to be realizable with framedtext. framedtext is the older mechanism, with some limitations bu

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
Weber wrote: Dear all, my problem with framed text persists in paragraphs: The frame extends over the entire page as soon as the paragraph has more than one line. Problem exists in mkii and mkiv. Minimal example below. I have seen this before when trying to use textbacground to highlight

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Aditya Mahajan
On Mon, 5 Apr 2010, Matthias Weber wrote: Dear all, my problem with framed text persists in paragraphs: The frame extends over the entire page as soon as the paragraph has more than one line. Problem exists in mkii and mkiv. Minimal example below. I have seen this before when trying to use

[NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
Dear all, my problem with framed text persists in paragraphs: The frame extends over the entire page as soon as the paragraph has more than one line. Problem exists in mkii and mkiv. Minimal example below. Thanks, Matthias \setupcolors[state=start] \setupcolor[rgb] \definetextbackground

Re: [NTG-context] \framed[location=top] and slanted tex gyre bonum

2010-04-05 Thread Vianney le Clément
\setupinterlinespace without changing offset does the trick. Many thanks, Vianney On Mon, Apr 5, 2010 at 14:13, Peter Münster wrote: > On Mon, Apr 05 2010, Vianney le Clément wrote: > >> \setupframed >>   [frame=none, >>    offset=0pt, >>    location=top] > > Hello, > > I cannot explain why, but

Re: [NTG-context] \framed[location=top] and slanted tex gyre bonum

2010-04-05 Thread Peter Münster
On Mon, Apr 05 2010, Vianney le Clément wrote: > \setupframed > [frame=none, >offset=0pt, >location=top] Hello, I cannot explain why, but offset=overlay seems to be slightly better. > \blank\sl \setupinterlinespace Cheers, Peter -- Contact information: http://pmrb.free.fr/contact

[NTG-context] \framed[location=top] and slanted tex gyre bonum

2010-04-05 Thread Vianney le Clément
have some problems with the vertical alignment of \framed and some slanted fonts. Using the latest beta, the test file at the end of this message adds a slight whitespace in the two last blocks (using a slanted font). This does not happen when using the default Latin Modern font. Is this a bug or

[NTG-context] \framedtext vs. \framed in columns

2010-03-23 Thread Andreas Harder
\par \framed[align=normal,width=broad]{\input tufte \par} \stopcolumns \stoptext shouldn't location=high be the default behaviour? Greeting Andreas ___ If your question is of interest to others as well, p

Re: [NTG-context] Left, right, top, bottom margins in a \framed box

2010-02-21 Thread Bernhard Rosensteiner
liebe Grüße Bernhard Rosensteiner - brosenstei...@gmail.com - Am 21.02.2010 um 09:54 schrieb Wolfgang Schuster: > Am 20.02.10 22:15, schrieb Bernhard Rosensteiner: >>>> I'm wondering how I can get different margins between the contents of a >>>> framed

Re: [NTG-context] Left, right, top, bottom margins in a \framed box

2010-02-21 Thread Wolfgang Schuster
Am 20.02.10 22:15, schrieb Bernhard Rosensteiner: I'm wondering how I can get different margins between the contents of a framed box and its left, right, top or bottom border. Somehow "offset" affects all margins simultaneously MkIV only: (l|r|t|b)offset sorry

Re: [NTG-context] Left, right, top, bottom margins in a \framed box

2010-02-20 Thread Bernhard Rosensteiner
Am 26.12.2009 um 16:18 schrieb Wolfgang Schuster: > > Am 26.12.2009 um 14:43 schrieb Oliver Buerschaper: > >> Dear all, >> >> I'm wondering how I can get different margins between the contents of a >> framed box and its left, right, top or bottom bo

Re: [NTG-context] Framed text with arrows

2010-02-19 Thread Xan
En/na Alan BRASLAU ha escrit: On Friday 19 February 2010 14:16:39 Xan wrote: How can we change the width, height and color of the second node ("chart") in this example: \usemodule[chart] \setupFLOWcharts[height=3\lineheight] \startFLOWchart[example] \startFLOWcell \name {flow} \location

Re: [NTG-context] Framed text with arrows

2010-02-19 Thread Alan BRASLAU
On Friday 19 February 2010 14:16:39 Xan wrote: > How can we change the width, height and color of the second node > ("chart") in this example: > > \usemodule[chart] > \setupFLOWcharts[height=3\lineheight] > > \startFLOWchart[example] > \startFLOWcell > \name {flow} > \location {1,1} > \text

Re: [NTG-context] Framed text with arrows

2010-02-19 Thread Xan
En/na Willi Egger ha escrit: You might use grouping \bgroup ... setup, part of the FLOWchart \egroup. Willi On Feb 18, 2010, at 8:43 PM, Xan wrote: How can I do that? Can you put me an example? How can we change the width, height and color of the second node ("chart") in this example: \usem

Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Willi Egger
, Xan wrote: Hi, I'm a novice yet. I just want to put framed long texts (paragraphs) with arrows connecting these. I want to decorate these frames (background, beaty border, etc.). Like entity- relationship diagrams but more beauty and that I could put long text in each node. Is thi

Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Xan
En/na Willi Egger ha escrit: Hi Xan, Did you consider the use of the FLOWchart module? There is a nice manual at the pragma-ade site (Charts). Willi On Feb 18, 2010, at 5:13 PM, Xan wrote: Is there any way of specifying the width and height of _only one_ chart (not for all charts) \setupFLOW

Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Xan
En/na Willi Egger ha escrit: Hi Xan, Did you consider the use of the FLOWchart module? There is a nice manual at the pragma-ade site (Charts). Willi On Feb 18, 2010, at 5:13 PM, Xan wrote: Hi, I'm a novice yet. I just want to put framed long texts (paragraphs) with arrows connecting the

Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Willi Egger
Hi Xan, Did you consider the use of the FLOWchart module? There is a nice manual at the pragma-ade site (Charts). Willi On Feb 18, 2010, at 5:13 PM, Xan wrote: Hi, I'm a novice yet. I just want to put framed long texts (paragraphs) with arrows connecting these. I want to decorate

[NTG-context] Framed text with arrows

2010-02-18 Thread Xan
Hi, I'm a novice yet. I just want to put framed long texts (paragraphs) with arrows connecting these. I want to decorate these frames (background, beaty border, etc.). Like entity-relationship diagrams but more beauty and that I could put long text in each node. Is this possible? Do I

Re: [NTG-context] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread Matthias Weber
Sure. But that is of course not want I want. Matthias On Feb 13, 2010, at 10:29 AM, mpg wrote: Matthias Weber escribió: Dear all, I have set up enumerations with framed backgrounds, and when I place these into a figuretext, the frame+background disappear. The problem occurs both in mk2

Re: [NTG-context] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread mpg
Matthias Weber escribió: Dear all, I have set up enumerations with framed backgrounds, and when I place these into a figuretext, the frame+background disappear. The problem occurs both in mk2 and mk4. In mk4, you can also see the unexpected indent I mentioned in my previous email. Example

[NTG-context] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread Matthias Weber
Dear all, I have set up enumerations with framed backgrounds, and when I place these into a figuretext, the frame+background disappear. The problem occurs both in mk2 and mk4. In mk4, you can also see the unexpected indent I mentioned in my previous email. Example below. Thanks, Matthias

Re: [NTG-context] Removing vertical space before heading within framed layer

2009-12-29 Thread Oliver Buerschaper
> Why not just > > \definedfont[TitleFont][Serif sa 3] > > and > > {\TitleFont > > \startbuffer[test] > {\TitleFont Lorem ipsum dolor sit amet, consectetur, sadipisci\unknown\par} > > \input zapf > \stopbuffer You're right, that's a good way to go! I now have: --- \definefont [TopicFont]

Re: [NTG-context] Removing vertical space before heading within framed layer

2009-12-26 Thread luigi scarso
On Sat, Dec 26, 2009 at 10:41 PM, Oliver Buerschaper wrote: >>> slowly getting to grips with layer etc. However, some vertical space at the >>> top of my framed layer appears whenever the first element is a heading: >> >> you can find in the details manual better wa

Re: [NTG-context] Removing vertical space before heading within framed layer

2009-12-26 Thread Wolfgang Schuster
Am 26.12.2009 um 22:41 schrieb Oliver Buerschaper: >>> slowly getting to grips with layer etc. However, some vertical space at the >>> top of my framed layer appears whenever the first element is a heading: >> >> you can find in the details manual better wa

Re: [NTG-context] Removing vertical space before heading within framed layer

2009-12-26 Thread Oliver Buerschaper
>> slowly getting to grips with layer etc. However, some vertical space at the >> top of my framed layer appears whenever the first element is a heading: > > you can find in the details manual better ways to set heading texts with a > layer Well, actually I don't w

Re: [NTG-context] Removing vertical space before heading within framed layer

2009-12-26 Thread Wolfgang Schuster
Am 26.12.2009 um 20:04 schrieb Oliver Buerschaper: > Hi everyone, > > slowly getting to grips with layer etc. However, some vertical space at the > top of my framed layer appears whenever the first element is a heading: you can find in the details manual better ways to set headin

[NTG-context] Removing vertical space before heading within framed layer

2009-12-26 Thread Oliver Buerschaper
Hi everyone, slowly getting to grips with layer etc. However, some vertical space at the top of my framed layer appears whenever the first element is a heading: --- \definelayer [text] [width=\paperwidth, height=\paperheight] \setupbackgrounds [page] [background=text

Re: [NTG-context] Left, right, top, bottom margins in a \framed box

2009-12-26 Thread Oliver Buerschaper
> MkIV only: > > - loffset > - roffset > - toffset > - boffset Wonderful! Many thanks, Oliver ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Left, right, top, bottom margins in a \framed box

2009-12-26 Thread Wolfgang Schuster
Am 26.12.2009 um 14:43 schrieb Oliver Buerschaper: > Dear all, > > I'm wondering how I can get different margins between the contents of a > framed box and its left, right, top or bottom border. Somehow "offset" > affects all margins simultaneously MkIV only:

[NTG-context] Left, right, top, bottom margins in a \framed box

2009-12-26 Thread Oliver Buerschaper
Dear all, I'm wondering how I can get different margins between the contents of a framed box and its left, right, top or bottom border. Somehow "offset" affects all margins simultaneously ... Best

Re: [NTG-context] \framed

2009-12-08 Thread Hans Hagen
Wolfgang Schuster wrote: Hi Hans, there was a while ago a suggestion to make \framed a horizontal command by adding \dontleavehmode, it is clear this is not a good idea to make this the default behavior but can't you add a option mode=horizontal|vertical where 'mode=vertic

[NTG-context] \framed

2009-12-08 Thread Wolfgang Schuster
Hi Hans, there was a while ago a suggestion to make \framed a horizontal command by adding \dontleavehmode, it is clear this is not a good idea to make this the default behavior but can't you add a option mode=horizontal|vertical where 'mode=vertical' is the normal \frame

Re: [NTG-context] \framed inside \startalignment\stopalignment

2009-12-08 Thread Wolfgang Schuster
Am 08.12.2009 um 09:33 schrieb Alan BRASLAU: > Strange behavior with \framed or \inframed > inside \startalignment [middle] \stopalignment. > > Alan > > Minimal example: > > \starttext > > \startalignment [middle] > \inframed {This {\bf should} be align

[NTG-context] \framed inside \startalignment\stopalignment

2009-12-08 Thread Alan BRASLAU
Strange behavior with \framed or \inframed inside \startalignment [middle] \stopalignment. Alan Minimal example: \starttext \startalignment [middle] \inframed {This {\bf should} be aligned and centered} along with the following. \stopalignment \blank \startalignment [middle] Here, \inframed

Re: [NTG-context] framed items

2009-11-17 Thread luigi scarso
On Tue, Nov 17, 2009 at 4:41 PM, Aditya Mahajan wrote: .. done at http://wiki.contextgarden.net/Framed#Width_broad_and_local -- luigi ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] framed items

2009-11-17 Thread Aditya Mahajan
, in the wiki... where ? Not sure. It could go on the page on Framed, but how ConTeXt treats \textwidth, \hsize, \localhsize is more general, so maybe on a new page. Aditya ___ If your question is of interest to

Re: [NTG-context] framed items

2009-11-17 Thread luigi scarso
On Tue, Nov 17, 2009 at 4:32 PM, Aditya Mahajan wrote: > I did not know about width=local (and therefore wanted width=broad to behave > like it). Given that, I think that broad behaves just fine. These differnt > options need to be documented better. yes, in the wiki... where ? -- luigi ___

Re: [NTG-context] framed items

2009-11-17 Thread Aditya Mahajan
use \framed[width=local] and don't forget \setlocalhsize after \startitemize. yes, right. I remembered of something similar That's what I mean with not sure that \hsize and \startitemize must play well together \showframe \starttext \framed[width=\hsize,align=middle]{width=hsize

Re: [NTG-context] framed items

2009-11-17 Thread Wolfgang Schuster
Am 17.11.2009 um 09:12 schrieb luigi scarso: > What I mean is that I already found that \startitemize and \framed with > width=broad was not ok, because broad is related to \hsize but it's > ok in other situations. You can't use \hsize because it the width of the compl

Re: [NTG-context] framed items

2009-11-17 Thread luigi scarso
On Tue, Nov 17, 2009 at 6:52 AM, luigi scarso wrote: > That's what I mean with not sure that  \hsize and \startitemize must > play well together No, sorry, wrong phrase. What I mean is that I already found that \startitemize and \framed with width=broad was not ok, because broad is

Re: [NTG-context] framed items

2009-11-16 Thread luigi scarso
On Tue, Nov 17, 2009 at 12:24 AM, Wolfgang Schuster wrote: > from pack-rul: > >   \else\ifx\localwidth\v!broad >     \boxhaswidthtrue >     \!!framedwidth\hsize >   \else\ifx\localwidth\v!local >     \boxhaswidthtrue >     \setlocalhsize >     \!!framedwidth\localhsize

Re: [NTG-context] framed items

2009-11-16 Thread Wolfgang Schuster
d should be now egual to \localhsize > and not \hsize, > if I understand what Aditya said. from pack-rul: \else\ifx\localwidth\v!broad \boxhaswidthtrue \!!framedwidth\hsize \else\ifx\localwidth\v!local \boxhaswidthtrue \setlocalhsize \!!framedwidth\localhsize use

Re: [NTG-context] framed items

2009-11-16 Thread luigi scarso
On Tue, Nov 17, 2009 at 12:01 AM, Wolfgang Schuster wrote: > > Am 16.11.2009 um 23:49 schrieb luigi scarso: > >> \showframe >> \starttext >> \dorecurse{1}{% >> \hsize=\dimexpr \textwidth / 1 *\recurselevel\relax >> \framed[width=broad,align=middle]{

Re: [NTG-context] framed items

2009-11-16 Thread Wolfgang Schuster
Am 16.11.2009 um 23:49 schrieb luigi scarso: > \showframe > \starttext > \dorecurse{1}{% > \hsize=\dimexpr \textwidth / 1 *\recurselevel\relax > \framed[width=broad,align=middle]{\the\hsize} > \bgroup > \startitemize > \advance\hsize -\itemgrouplistwidth\relax% > \

<    1   2   3   4   5   6   7   >