* Small pages and large framed texts
@ 2019-03-20 17:26 Willi Egger
2019-03-20 17:36 ` Wolfgang Schuster
2019-03-20 19:48 ` Willi Egger
0 siblings, 2 replies; 6+ messages in thread
From: Willi Egger @ 2019-03-20 17:26 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Hi,
I deal with a small project, in which I should be able to make a framed text break over the page. — Does anyone have an idea how to achieve this?
\setuppapersize[A6][A6]
\setupbodyfont[pagella,rm,10pt]
\starttext
\framedtext
{\dorecurse{3}{\input ward\blank}}
\stoptext
Any hints would be welcome
Willi
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small pages and large framed texts
2019-03-20 17:26 Small pages and large framed texts Willi Egger
@ 2019-03-20 17:36 ` Wolfgang Schuster
2019-03-20 19:48 ` Willi Egger
1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2019-03-20 17:36 UTC (permalink / raw)
To: mailing list for ConTeXt users, Willi Egger
Willi Egger schrieb am 20.03.19 um 18:26:
> Hi,
>
> I deal with a small project, in which I should be able to make a framed text break over the page. — Does anyone have an idea how to achieve this?
>
> \setuppapersize[A6][A6]
>
> \setupbodyfont[pagella,rm,10pt]
>
>
> \starttext
> \framedtext
> {\dorecurse{3}{\input ward\blank}}
> \stoptext
>
>
> Any hints would be welcome
Use the textbackground environment.
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small pages and large framed texts
2019-03-20 17:26 Small pages and large framed texts Willi Egger
2019-03-20 17:36 ` Wolfgang Schuster
@ 2019-03-20 19:48 ` Willi Egger
2019-03-20 21:11 ` Willi Egger
1 sibling, 1 reply; 6+ messages in thread
From: Willi Egger @ 2019-03-20 19:48 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Thank you Wolfgang, I will try this!
Willi
> On 20 Mar 2019, at 18:26, Willi Egger <context@boede.nl> wrote:
>
> Hi,
>
> I deal with a small project, in which I should be able to make a framed text break over the page. — Does anyone have an idea how to achieve this?
>
> \setuppapersize[A6][A6]
>
> \setupbodyfont[pagella,rm,10pt]
>
>
> \starttext
> \framedtext
> {\dorecurse{3}{\input ward\blank}}
> \stoptext
>
>
> Any hints would be welcome
>
> Willi
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small pages and large framed texts
2019-03-20 19:48 ` Willi Egger
@ 2019-03-20 21:11 ` Willi Egger
2019-03-20 21:31 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Willi Egger @ 2019-03-20 21:11 UTC (permalink / raw)
To: NTG-Context ConTeXt users
It’s me again…
I appears that I was not clear enough, though I am happy about the possibility of using textbackground.
What I must do is to prepare a list of ConTeXt commands on a very small page. So the specific question is, how I can influence the \placelistofsorts[texcommand] in such a way, that the framed pieces break over the page.
\usemodule[x][set-11]
\loadsetups[i-context]
\setuppapersize[A6][A6]
\setupbodyfont[pagella,rm,10pt]
\starttext
\startsection[title=hSort Version of the Command]
\shortsetup{setupframed}
\shortsetup{setupinteraction}
\stopsection
\startsection[title=\TEX -commands]
\placelistofsorts[texcommand]
\stopsection
\stoptext
Willi
> On 20 Mar 2019, at 20:48, Willi Egger <context@boede.nl> wrote:
>
> Thank you Wolfgang, I will try this!
>
> Willi
>
>> On 20 Mar 2019, at 18:26, Willi Egger <context@boede.nl> wrote:
>>
>> Hi,
>>
>> I deal with a small project, in which I should be able to make a framed text break over the page. — Does anyone have an idea how to achieve this?
>>
>> \setuppapersize[A6][A6]
>>
>> \setupbodyfont[pagella,rm,10pt]
>>
>>
>> \starttext
>> \framedtext
>> {\dorecurse{3}{\input ward\blank}}
>> \stoptext
>>
>>
>> Any hints would be welcome
>>
>> Willi
>> ___________________________________________________________________________________
>> 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://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small pages and large framed texts
2019-03-20 21:11 ` Willi Egger
@ 2019-03-20 21:31 ` Wolfgang Schuster
2019-03-21 15:13 ` Willi Egger
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2019-03-20 21:31 UTC (permalink / raw)
To: mailing list for ConTeXt users, Willi Egger
Willi Egger schrieb am 20.03.19 um 22:11:
> It’s me again…
>
> I appears that I was not clear enough, though I am happy about the possibility of using textbackground.
>
> What I must do is to prepare a list of ConTeXt commands on a very small page. So the specific question is, how I can influence the \placelistofsorts[texcommand] in such a way, that the framed pieces break over the page.
\usemodule [setups]
\setuppapersize [A6] [A6]
\setupbodyfont [pagella,9pt]
\definetextbackground
[SetupsParameter]
[before=\blank,
after=\blank,
topoffset=10pt,
leftoffset=10pt,
location=paragraph,
frame=on]
\startsetups [xml:setups:start]
\starttextbackground [SetupsParameter]
\stopsetups
\startsetups [xml:setups:stop]
\stoptextbackground
\stopsetups
\starttext
\startsection[title={Short Version of the Command}]
\cmdshortsetup [setupframed]
\cmdshortsetup [setupinteraction]
\stopsection
\startsection[title={\TEX-commands}]
\placesetup
\stopsection
\stoptext
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small pages and large framed texts
2019-03-20 21:31 ` Wolfgang Schuster
@ 2019-03-21 15:13 ` Willi Egger
0 siblings, 0 replies; 6+ messages in thread
From: Willi Egger @ 2019-03-21 15:13 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Gosh Wolfgang! Thank you so much for your piece of code! — It starts to look nicer and nicer in my little project :-)
Kindest regards
Willi
> On 20 Mar 2019, at 22:31, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
>
> Willi Egger schrieb am 20.03.19 um 22:11:
>> It’s me again…
>> I appears that I was not clear enough, though I am happy about the possibility of using textbackground.
>> What I must do is to prepare a list of ConTeXt commands on a very small page. So the specific question is, how I can influence the \placelistofsorts[texcommand] in such a way, that the framed pieces break over the page.
>
> \usemodule [setups]
>
> \setuppapersize [A6] [A6]
>
> \setupbodyfont [pagella,9pt]
>
> \definetextbackground
> [SetupsParameter]
> [before=\blank,
> after=\blank,
> topoffset=10pt,
> leftoffset=10pt,
> location=paragraph,
> frame=on]
>
> \startsetups [xml:setups:start]
> \starttextbackground [SetupsParameter]
> \stopsetups
>
> \startsetups [xml:setups:stop]
> \stoptextbackground
> \stopsetups
>
> \starttext
>
> \startsection[title={Short Version of the Command}]
>
> \cmdshortsetup [setupframed]
> \cmdshortsetup [setupinteraction]
>
> \stopsection
>
> \startsection[title={\TEX-commands}]
>
> \placesetup
>
> \stopsection
>
> \stoptext
>
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-03-21 15:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 17:26 Small pages and large framed texts Willi Egger
2019-03-20 17:36 ` Wolfgang Schuster
2019-03-20 19:48 ` Willi Egger
2019-03-20 21:11 ` Willi Egger
2019-03-20 21:31 ` Wolfgang Schuster
2019-03-21 15:13 ` Willi Egger
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).