] {\startstandardmakeup
\getbuffer[course_name]
\getbuffer[date]}{\stopstandardmakeup}
But it does not print anything else than the title.
buffers serve a different purpose and are part if a text flow
\starttext
David Arnold wrote:
Then you do:
\getbuffer
will the setup be in a group, and only pertain to the stuff set with
\getbuffer?
No, normally they will live on (buffers often contain definitions).
But you can use
\setupbuffer[before=\begingroup,after=\endgroup]
Cheers, taco
.
I changed distance=0pt to distance=5cm and see no change.
\startbuffer
\placeformula \startformula \startalign[n=5,distance=5cm]
x = yy = xx = yy = zz \\
a = b = p = q = w \\
\stopalign \stopformula
\stopbuffer
\typebuffer \getbuffer
Thanks
Aditya
--
Aditya Mahajan, EECS Systems
the following example for the source.
I changed distance=0pt to distance=5cm and see no change.
\startbuffer
\placeformula \startformula \startalign[n=5,distance=5cm]
x = yy = xx = yy = zz \\
a = b = p = q = w \\
\stopalign \stopformula
\stopbuffer
\typebuffer \getbuffer
it's only used when m
line
%\stopalign}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b \formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC
\formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c \EQ d \NR
%D \NC\EQ f \NR[for:demo-a-1]
%D \NC\EQ g \NR[for:demo
}
\stopbuffer
\startbuffer
\startcombination[2*1]
{\externalfigure[1][width=0.45\textwidth,type=buffer]}{}
{\externalfigure[2][width=0.45\textwidth,type=buffer]}{}
\stopcombination
\stopbuffer
\placefigure
[][-]
{none}
{\getbuffer}
\stoptext
As you can see, Hans' solution works perfectly
\getbuffer[table3]
\stoptext
---
does not work. Here is a log from live-wiki:
(./texweb-table3.tmp
! Use of \dododecrement doesn't match its definition.
\doifnextcharelse ...token =#1\def \!!stringa {#2
}}
\stopformula}
\stopbuffer
\startbuffer
\startcombination[2*1]
{\externalfigure[1][width=0.45\textwidth,type=buffer]}{}
{\externalfigure[2][width=0.45\textwidth,type=buffer]}{}
\stopcombination
\stopbuffer
\placefigure
[][-]
{none}
{\getbuffer}
\stoptext
As you can see, Hans' solution
\stopbuffer
\starttext
\getbuffer[table3]
\stoptext
---
does not work. Here is a log from live-wiki:
(./texweb-table3.tmp
! Use of \dododecrement doesn't match its definition.
\doifnextcharelse ...token =#1\def \!!stringa {#2
in their
respective half of the page?
wikiable:
\definecombination[twoformulas][location=top,align=middle]
\startalignment[middle] \dontleavehmode \startcombination
[twoformulas][2*1]
{\getbuffer[1]} {}
{\getbuffer[2]} {}
\stopcombination \stopalignment
\def\StartTwo{\startalignment[middle
}
\eTABLE
\stopbuffer
\starttext
\startcolumns
\getbuffer[table]
\stopcolumns
\stoptext
--
Thanks
Vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c \EQ d \NR
%D \NC\EQ f \NR[for:hans]
%D \NC\EQ g \NR[for:whoelse][a]
%D \NC\EQ h \NR[for:whomore][b]
%D \NC
.
However, with multiple columns, \NC ... \NC does not work as expected.
Consider
\usemodule[math-ext]
\starttext
Three columns work correctly if I use \
\startbuffer
\startformula \startalign[n=3]
a = b = c \\
d = e = f
\stopalign \stopformula
\stopbuffer
\typebuffer \getbuffer
But they do
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c \EQ d \NR
%D \NC\EQ f \NR[for:hans]
%D \NC\EQ g \NR[for:whoelse][a]
%D \NC\EQ h \NR[for:whomore][b]
%D \NC\EQ i \NR
%D \stopalign \stopformula
%D \stopbuffer
%D
%D
}}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b \formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c
\formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c \EQ d \NR
%D \NC\EQ f \NR[for:hans]
%D \NC\EQ g \NR[for:whoelse][a]
%D \NC
When I put a \cite inside buffer and that I \getbuffer inside the text,
the reference displys correctly BUT the list of reference isn't anymore
displayed.(I use Bibtex) I have the latest bibmodule (11.23.2005)
Is that a bug ? Hos to avoid this behaviour ? (I'm a beginner).
Thanks
Alexandre Billon wrote:
When I put a \cite inside buffer and that I \getbuffer inside the text,
the reference displys correctly BUT the list of reference isn't anymore
displayed.(I use Bibtex) I have the latest bibmodule (11.23.2005)
Is that a bug ? Hos to avoid this behaviour ? (I'm
Hoekwater [EMAIL PROTECTED]:
Alexandre Billon wrote: When I put a \cite inside buffer and that I \getbuffer inside the text, the reference displys correctly BUT the list of reference isn't anymore displayed.(I use Bibtex) I have the latest bibmodule (
11.23.2005) Is that a bug ? Hos to avoid
\startitemize[n]
\item item 4.1
\item item 4.2
\stopitemize
\stopbuffer
\startitemize[n,repeat,6*broad,packed]
\getbuffer
\stopitemize
\blank[3*big]
\startitemize[n,repeat,packed]
\getbuffer
\stopitemize
\blank[3*big]
\setupitemize[each][atmargin][width=3em]
\startitemize[n,repeat,packed]
\getbuffer
\stopbuffer
\completecontent
\chapter{The Process of\crlf Growing Wheat}
\input tufte
\startbuffer
\startcombination[2*1]
{\useMPgraphic{david}}{First caption}
{\useMPgraphic{david}}{Second caption}
\stopcombination
\stopbuffer
\placefigure[][fig:11]
{This is the caption of the figure.}
{\getbuffer
\section[parabola]{The Parabola}
\input tufte
\placefigure[][fig:1]
{This is the caption of the figure.}
{\getbuffer[figure]}
\input tufte
\placetable[][tab:1]
{A very simple example of a table.}
{\getbuffer[table]}
\input tufte
\placefigure[][fig:2]
{This is the caption of the figure
caption}
\stopcombination
\stopbuffer
\completecontent
\chapter[quadratic]{Quadratic Functions}
\input tufte
\section[parabola]{The Parabola}
\input tufte
\placefigure[][fig:1]
{This is the caption of the figure.}
{\getbuffer[figure]}
\input tufte
\placetable[][tab:1]
{A very simple example
\setupinterlinespace[line=2ex]%
\startalignment[middle]%
\getbuffer[label]%
\stopalignment%
\page}
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
\stopgb
\stopbuffer
\startbuffer[right]
\startgb[none]
\input zapf
\stopgb
\stopbuffer
\starttext
\input tufte
\definepairedbox[gb][location={right,top}]
\startbaselinecorrection
\placepairedbox[gb]
{\getbuffer[left]}
{\getbuffer[right]}
\stopbaselinecorrection
\input zapf
\stoptext
\stopgb
\stopbuffer
\startbuffer[right]
\startgb[none]
\input zapf
\stopgb
\stopbuffer
\starttext
\input tufte
\definepairedbox[gb][location={right,top}]
\startbaselinecorrection
\placepairedbox[gb]
{\getbuffer[left]}
{\getbuffer[right]}
\stopbaselinecorrection
\input zapf
]
\startgb[none]
\input tufte
\stopgb
\stopbuffer
\startbuffer[right]
\startgb[none]
\input zapf
\stopgb
\stopbuffer
\starttext
\input tufte
\definepairedbox[gb][location={right,top}]
\startbaselinecorrection
\placepairedbox[gb]
{\getbuffer[left
}
\marking[M]{k1}\marking[M]{k2}
\input knuth
\section{Zapf}
\marking[M]{z}
\input zapf
\stopbuffer
\dorecurse{10}{\getbuffer}
\stoptext
---
If I try the same example in columnset layout, only last variant works
as expected
]@ \fontstyle }
\edef \fontstyle
{\fontstyle }\if...
...
l.644 {\funny
\getbuffer[sample]}
?
Hitting s at this point to scroll through the errors, the compile
finishes and I have an mfonts.pdf. Of course, the Lucida stuff is
missing
\currentvalue]}
%D \framed{\ab}
%D \stopbuffer
%D \typebuffer
%D
%D Gives: \getbuffer
Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\noindent \em \getbuffer [chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\noheaderandfooterlines
\blank[force,2*big]
\stopsetups
\startsetups
\em \getbuffer [chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\noheaderandfooterlines
\blank[force,2*big]
\stopsetups
\startsetups chapter:after
\blank[3*big]
\stopsetups
John Steinbeck} --- Sweet Thursday
\stopbuffer
\startsetups chapter:quote
\getbuffer
\stopsetups
This works for me. But you better give the buffer a name :)
Gretings,
Peter
\chapter[h:foo]{Foo}
===
I get that every word that is in the input
Thanks for your suggestion, but I didn't get it to work. In the end,
I had recourse to some low-level stuff (caution, ugly code ahead!):
\defineoverlay[info][{\getbuffer[info]}]
\setupbackgrounds[page][background={info}]
\startbuffer[info]
\vbox to \paperheight \bgroup
\vskip -1 cm
no output
\stoptext
%%% Local Variables:
%%% mode: context
%%% TeX-master:
%%% End:
See details.pdf for layer usage :)
Peter
\defineoverlay[info][{\getbuffer[info]}]
\setupbackgrounds[page][background={info}]
\startbuffer[info]
\vbox to \paperheight \bgroup
\vskip -1 cm
\framed
\doStartLong}
\egroup
\def\doStartLong#1\StopLong{%
\setbuffer[x]#1\endbuffer
\endgroup
\getbuffer[x]
}
\starttext
\StartLong
\starttyping
abcde
\stoptyping
and now
for something
completely different
\StopLong
\stoptext
Christopher
___
ntg-context
this:
\bgroup
\catcode`\^^M=\active
\gdef\StartLong{\begingroup\obeylines\let^^M^^J\doStartLong}
\egroup
\def\doStartLong#1\StopLong{%
\setbuffer[x]#1\endbuffer
\endgroup
\getbuffer[x]
}
\starttext
\StartLong
\starttyping
abcde
\stoptyping
and now
for something
completely
in buffers:
\startbuffer[table]
...
\stopbuffer
\startbuffer[figure]
...
\figure
\placetable
[here][label]
{caption}
{\centerline
{\placesidebyside
{\getbuffer[table]}
{\getbuffer[figure
scaled 6000]\test TEST \par
%D \stopbuffer
%D
%D \typebuffer
%D
%D \startpacked
%D \getbuffer
%D \stoppacked
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
).
\startbuffer[def]
\defineframed[Shaped][background=Shape,frame=off,location=low]
\stopbuffer
\getbuffer[def]
We can now put this background shape behind the running text,
for instance with:
\startbuffer
some \inframed[background=Shape]{text} with a frame ...
some \Shaped{text
\startappendices
\getbuffer[synopsis]
\stopappendices
As always a lifesaver: THNX!!!
Best
Idris
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context
]
\usetypescript [lucida] [\defaultencoding]
\setupbodyfont [palatino]
\setupoutput[pdftex]
\startbuffer
Some {\bf text} to {\it test} {\sl font} {\bs switching}.
\stopbuffer
\starttext
\getbuffer
\switchtobodyfont [postscript] \getbuffer
\switchtobodyfont [lucida] \getbuffer
\stoptext
Works
}+\dot{c}}$$
\stopbuffer
\starttext
\getbuffer
\switchtobodyfont[mytf]
\getbuffer
\switchtobodyfont[modern]
\getbuffer
\stoptext
Third formula remains roman. Why so?
--
Radhelorn [EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http
\hbox{$\vcenter{\getbuffer[test]}\llap{$\vcenter{\getbuffer[testing]}$}$}
}
\stopbuffer
\getbuffer[Test]
\stoptext
===
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
://partners.adobe.com/public/developer/en/font/5091.Design_MM_Fonts.pdf]
\setupinteraction[state=start]
\startbuffer
\url[Adobe]
\from[Adobe]
\stopbuffer
\starttext
\typebuffer
\getbuffer
\stoptext
--
Patrick
--
ConTeXt wiki and more: http://contextgarden.net
Hi all,
I have a following code:
--
\startbuffer
\bTABLE
\bTR
\bTH title1 \eTH
\bTH title2 \eTH
\eTR
\bTR
\bTD data1 \eTD
\bTD data2 \eTD
\eTR
\eTABLE
\stopbuffer
\startTEX
\getbuffer
\stopTEX
\getbuffer
VnPenguin wrote:
Hi all,
I have a following code:
--
\startbuffer
\bTABLE
\bTR
\bTH title1 \eTH
\bTH title2 \eTH
\eTR
\bTR
\bTD data1 \eTD
\bTD data2 \eTD
\eTR
\eTABLE
\stopbuffer
\startTEX
\getbuffer
\stopTEX
\getbuffer
Gerben Wierda wrote:
I have been trying to do this for a test with larger notes, but this fails:
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
it's \getbuffer else you
= Original Message From Hans Hagen [EMAIL PROTECTED] =
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
it's \getbuffer else you indeed get a verbatim
]
\input zapf
\stopbuffer[sometext]
\startbuffer[moretext]
\input ward
\stopbuffer[moretext]
\setuptexttexts
[margin]
[\setups{flushmynotes}]
[]
\startsetups flushmynotes
\vbox to \textheight{\placenotes[mynote]\vfill}
\stopsetups
\starttext
\dorecurse{10}{\input tufte \mynote{\getbuffer
=color,
backgroundcolor=blue,
foregroundcolor=red,
align=normal]
% {\setuptyping[before=,after=]\typebuffer[title]}}}
{\getbuffer[title]}}}
\setupbackgrounds[page][background=TitleGraphic]
\starttext
\startstandardmakeup
\stopstandardmakeup
\stoptext
test test
test \linenote {oeps} test test test test test test
test \extralinenote {oeps} test test test test test test
test \stoplinenote [well] test test test test test test
\stoplinenumbering
\stopbuffer
{\typebuffer[test] \getbuffer[test]} \page
\startbuffer[setup]
\setuplinenumbering
[align=left
\starttext
{\raggedright{ \getbuffer[Knuth]}}
\blank[2*big]
{\raggedleft {\getbuffer[Ward]}}
\blank[2*big]
{\raggedright {\getbuffer[Zapf]}}
\framedtext[align=left,width=9cm,fram=on,offset=.5cm]{
\getbuffer[Zapf]}
\stoptext
___
ntg-context
torunska: \TestA \getbuffer}\blank
{antikwa torunska light: \TestB \getbuffer}\blank
{antikwa torunska condensed: \TestC \getbuffer}\blank
{antikwa torunska light condensed: \TestD \getbuffer}
\stopTEXpage
\stoptext
(of course you need the latest antykwa fonts)
Hans
characters
\stopbuffer
\chardef\utfunicodetracer=0 \blank \getbuffer \blank
\chardef\utfunicodetracer=2 \blank \getbuffer \blank
\chardef\utfunicodetracer=7 \blank \getbuffer \blank
\stoptext
but i cannot test the font part, can you send me a zip with your t2a tfm files
and map file
that the utf part is okay:
\enableregime[utf]
% \definetypeface [russian]
% [rm] [serif] [computer-modern] [default] [encoding=t2a]
%
% \setupbodyfont[russian]
\starttext
\startbuffer
% Some russian characters
\stopbuffer
\chardef\utfunicodetracer=0 \blank \getbuffer \blank
\chardef\utfunicodetracer=2
{initials},
%formalname=\XMLflush{formalname},
%informalname=\XMLflush{informalname}
%content={\getbuffer[texletter]},
%,content=\getbuffer
concerns=Ge\interesseerd?, date=10 januari 2005, author=Dr. R.J.H.M. Ermers
]
\setvariables[contacts][selection=n, file=test-data.xml]
\startsetups
-pol-jan2005
%\stopbuffer
\setvariables
[letter:data]
[address=\XMLflush{address},
%prefix=\XMLflush{prefix},
%initials=\XMLflush{initials},
%formalname=\XMLflush{formalname},
%informalname=\XMLflush{informalname}
%content={\getbuffer[texletter]},
%,content=\getbuffer
concerns=Ge\interesseerd?, date
},
content={\getbuffer[texletter]}
]
Result in pdf:
Geachte Heer Hagen,
input brieftekst
Met vriendelijke groet,
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
buffers makes sense here:
\startbuffer
lots of text
\stopbuffer
\placefigure
{What a caption}
{\placelegend
{\externalfigure[cow.pdf]}
{\getbuffer}}
Yeah, that's a good suggestion,
nikolai
--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka
\stopbuffer
\placefigure
{What a caption}
{\placelegend
{\externalfigure[cow.pdf]}
{\getbuffer}}
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
is a minimum (I think) file which demonstrates the problem very
clearly.
\setupinteraction[state=start]
\setupwhitespace[big]
\starttext
\input tufte
\startbuffer[]
\bTABLE[width=2.5in]
\bTR \bTD \input tufte \eTD\eTR
\eTABLE
\stopbuffer
\placetable
[right]
[tab:1]
{A Table}
{\getbuffer
}
{\getbuffer[]}
\input tufte
\in{Table}[tab:1] this paragraph does not format correctly because the
hypereference is at the first character of the paragraph. Note that the
spacing (before) is incorrect as well as the width.
T\in{able}[tab:1] this paragraph does format correctly because
\startprogramlisting
Hello World! Hello + txtName.text + !
\stopprogramlisting
\stopbuffer
\bTABLE
\bTR
\bTD Set the value to \eTD
\bTD \getbuffer \eTD
\eTR
\eTABLE
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman
{palatino: hz, ragged right}
\setupalign[right,hanging,hz]
\input tufte \endgraf
\subject{palatino: no hz, aligned}
\setupalign[normal,hanging,nohz] \input tufte \endgraf
\subject{palatino: hz, aligned}
\setupalign[normal,hanging,hz] \input tufte\endgraf
\page}
\stopbuffer
\getbuffer \page
\setuplayout
Salman Khilji wrote:
Why don't I see capitals in the following example?
\setupbodyfont [cmr,12pt]
\starttext
\startbuffer[test]
The quick brown fox jumps over the lazy dog.
\stopbuffer
\getbuffer[test]
\CAP{\getbuffer[test]}
\stoptext
in this case you should follow Hraban's suggestion
Why don't I see capitals in the following example?
\setupbodyfont [cmr,12pt]
\starttext
\startbuffer[test]
The quick brown fox jumps over the lazy dog.
\stopbuffer
\getbuffer[test]
\CAP{\getbuffer[test]}
\stoptext
___
ntg-context mailing list
sources
- i want to stimulate users to writ etheir own styles not to mimick
existing ones (i.e. avoid the 'all tex files look the same' problem)
- also: most examples in manuals are typeset using
\startbuffer
...
\stopbuffer
\typebuffer \getbuffer
so ... there are no hidden tricks (unless
,nothyphenated,width} that was suggested in the reply
here is the piece I work with:
\setlayerframed[page][preset=righttop,
column=1,line=30][width=\dimexpr((\paperwidth-2cm)/2),align=]{\getbuffer[b]}
with the buffer:
\startfiguretext
[left][]{}
{\externalfigure[t1][width=.2\textwidth]}
... nohypened
Willi Egger wrote:
\startbuffer[test]
\starttyping
pack .ok .cancel .help -side top
\stoptyping
\stopbuffer
\startbuffer[test]
pack .
\stopbuffer
\starttext
\SideFigure{right}{pack2}{figure.jpg}{0.25}
{
\getbuffer[test]
\typebuffer[test]
}
Hans
\SideFigure{right}{pack2}{figure.jpg}{0.25}
{
\getbuffer[test]
}
\stoptext
kind regards Willi
[EMAIL PROTECTED] wrote:
Hi all !
let us imagine we have defined the following command:
\def\SideFigure#1#2#3#4#5%
{
\placefigure[#1]{#2}{\externalfigure[#3][width=#4\makeupwidth]}
#5
}
which can
]
\definelayer[page][width=\paperwidth,height=\paperheight]
\starttext
\startbuffer[a]
\input ward
\stopbuffer
\startbuffer[b]
\input ward
\stopbuffer
\setlayerframed[page][preset=lefttop,
x=2cm,y=2cm][width=5cm,align=normal]{\getbuffer[a]}
\setlayerframed[page][preset=rightbottom,x=2cm,y=2cm
Hallo ConTeXt debater,
this buffer storage works perfectly:
\starttext
\startbuffer[TMP]
Bla
\stopbuffer
\getbuffer[TMP]
\stoptext
but why not this one?
\starttext
\def\tmp{%
\startbuffer[TMP]
Bla
\stopbuffer
}
\tmp
\getbuffer[TMP]
\stoptext
Thanks
Vit
]
{\switchtobodyfont[10pt]\getbuffer[Adr\recurselevel]}
\setlayer
[Etiket]
[preset=lefttop,location={right,bottom}]
{\switchtobodyfont[5pt]\Logo}
\placelayer[Etiket]}
\stoptext
\dorecurse{\Addresses}{%
\setlayer
[Etiket]
[preset=leftbottom,location={right,top},y=-3mm,x=-3mm]
{\switchtobodyfont[10pt]\getbuffer[Adr\recurselevel]}
\setlayer
[Etiket]
[preset=lefttop,location={right,bottom}]
{\switchtobodyfont[5pt]\Logo
]]} {\input knuth \relax} \input knuth \blank
\input tufte \SomeNote{[[tufte]]} {\input tufte \relax} \input tufte \blank
\input bryson \SomeNote{[[bryson]]}{\input bryson\relax} \input bryson \blank
\stopbuffer
\dorecurse{10}{\getbuffer}
\stoptext
___
ntg
\input ward
\stoppagecomment
\page
\stopbuffer
\setuppagecomment[state=start,location=right] \getbuffer
\setuppagecomment[state=start,location=bottom] \getbuffer
\setuppagecomment[state=start,location=left]\getbuffer
\setuppagecomment[state=start,location=top] \getbuffer
\stoptext
...
\stopframedtext
\page
\stopbuffer
\startbuffer[Addresse2]
\startframedtext
...
\stopframedtext
\page
\stopbuffer
\starttext
\dorecurse{6}{\getbuffer[Addresse\recurselevel]}%between first braces
number of addresses you have in buffers
\stoptext
You will have to play
but if I use
\startnitram
\getbuffer
\stopnitram
I have as result:
\getbuffer
;)
I would like to define some code in buffer and use it
as example (typing this code) and show how it works (use this code).
I can use \getbuffer and \typebuffer, but I would like to put code
into a 'nice' frame ;)
I can
Hi,
It works but if I use
\startnitram
\getbuffer
\stopnitram
I have as result:
\getbuffer
;)
right, that is verbatim mode :)
I would like to define some code in buffer and use it
as example (typing this code) and show how it works (use this code).
I can use \getbuffer
Hi,
I try to define new command with typing in this way:
\def\Command#1%
{
\framed[options]
{
\starttyping
#1
\stoptyping
}
}
and use it in this way:
\Command{\getbuffer[name]}
but I have an error:
! Argument of \copyverbatimline has an extra }.
If I change to \def\Command#1#2%
I have
901 - 982 of 982 matches
Mail list logo