Small pages and large framed texts
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
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
Thank you Wolfgang, I will try this! Willi
On 20 Mar 2019, at 18:26, Willi Egger
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 ___________________________________________________________________________________
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
wrote: Thank you Wolfgang, I will try this!
Willi
On 20 Mar 2019, at 18:26, Willi Egger
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 ___________________________________________________________________________________
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
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
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 ___________________________________________________________________________________
participants (2)
-
Willi Egger
-
Wolfgang Schuster