state=start]
\definelayer[foo][width=300pt,height=300pt]
\setlayerframed[foo][width=300pt,height=300pt]{foo}
\starttext
\startbuffer[test]
\framed[offset=overlay]{\tooltip{\CONTEXT}{a \TEX\ macropackage}}
\stopbuffer
\setlayerframed[foo][x=0pt,y=0pt][offset=overlay]{\getbuffer[test]} % big ski
TEXpage[width=0.99\textheight]
\placetable{}{
\bTABLE[offset=3pt,align={flushleft,high},option=stretch,style=...]
...
\eTABLE}
\stopTEXpage
\stopbuffer
\getbuffer
Works great for me ...
Steffen
(ver: 2011.01.14 MKIV)
___
If
\startbuffer[footnote:a]
Note A
\stopbuffer
\startsetups[footnote:b]
Note B
\stopsetups
%\setvariables[footnote][c={Note C}]
\setvariable{footnote}{c}{Note C}
\starttext
A\footnote{\getbuffer[footnote:a]}
B\footnote{\texsetup{footnote:b}}
C\footnote{\getvariable{footnote}{c}}
\stoptext
You can
)|p(\tabcolsize)|p(\tabcolsize)|]
\dorecurse{5}{\dorecurse{4}{\NC\knuth}\NC\NR}
\stoptabulate
\stopbuffer
\starttext
\placetable[here,split,90]{none}{\getbuffer[sometable]}
\stoptext
··8<·
As you can see, I need some advice on
C = b \NR
\stopalign\stopformula
\stopTEXpage
\stopbuffer
\starttext
\framed{\rotate[rotation=90]{\getbuffer[a]}}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Am 19.01.2012 um 15:28 schrieb Romain Diss:
> I forgot another question: does the 'enclosure' key accept a \getbuffer
> command? I tried and it seems that it doesn't work but I am not sure because
> my input doesn't compile completely.
It tested it and it do
ctionality cleanly as conTeXt macros.
> I imagine that this might be quite trivial for our TeX programming
> experts... (for once, a [useful?] suggestion that in the end will not
> entail many hours of work? :)
\startbuffer[a]
Line 1
\stopbuffer
\startbuffer[b]
Line 2
\stopbuffer
\startte
On 5-1-2010 15:27, H. van der Meer wrote:
\startbuffer[ABC]%
{} Braces at beginning fails with buffer
\stopbuffer
\starttext
\getbuffer[ABC]
\stoptext
the buffer content is "all lines between startbuffer and stopbuffer" and
both commands hav eto be on a line of their own with s
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
=shiftblock]
\setuppagenumbering
[alternative=doublesided]
\starttext
\startbuffer
\dorecurse{2}{\input knuth\par}
\startuserdata[shiftblock]
\input ward
\stopuserdata
\dorecurse{2}{\input zapf\par}
\stopbuffer
\dorecurse{10}{\getbuffer}
\stoptext
I'll t
\item Hello!
\stopitemize
\stopbuffer
which would get the original code and its result:
"
Sample code:
\typebuffer[demo][syntax=ConTeXt] % Specify syntax highlighter, show the
code
produces:
\getbuffer[demo] % Result
"
Is it possible somehow?
the 'option' key d
missed something?
I am using the latest minimals.
Alan
Place that section into a buffer:
\starttext
Here is a footnote.
\startbuffer[fn:abcd]
\startlines
a
b
c
d
\stoplines
\stopbuffer
\footnote{Some text:
\getbuffer[fn:abcd]
And some more
while keeping the table m untouched.
Please tell me how to do it.
Thank you.
Best regards,
Dalyoung
\startbuffer[test]
\startluacode
m = {{0, 2, 4},{2, 3 , 4}, {2, 2, -6}}
local tempM = {}
tempM = m
table.remove(tempM)
context(#tempM, “, ” , #m)
\stopluacode
\stopbuffer
\starttext
getbuffer
tes
\stopbuffer
\startplacetable[title=Test,
align=middle]
{\getbuffer[Tab01]}
\stopplacetable
\stoptext
If the footnote is commented out, the table is centered (as I want it).
With the footnote, the table is flushleft. I have managed to get what I
need by defining the \hsize of
] \Setupbodyfont{\setupbodyfont[#1,11pt]}
\define[1] \DisplayExample{\switchtobodyfont[#1]\getbuffer}
\setupfirstline [alternative=line,
style=\setfontfeature{smallcaps}]
\setupinitial [location=text,n=2,color=darkred]
\setuphead [chapter
10 more than it should be). WHY?
\startxtable
\startxrow
\startxcell Column 1\stopxcell
\startxcell Column 2\stopxcell
\stopxrow
\setcounter[mycounter][0] % initializing at this point works fine
\dorecurse{5}{\getbuffer[groups]}
\stopxtable
\stoptext
ext=, stopper=]
\setupitemgroup [subfigure] [a, text]
\starttext
\startbuffer
Dutch scenery
\startsubfigure
\startitem A cow \stopitem
\startitem A mill \stopitem
\stopsubfigure
\stopbuffer
\startplacefigure [title=\getbuffer, list=Dutch scenery, reference=fig:scenery]
\sta
e 6
longline 7
longline 8
\stoplines
\stopbuffer
\startbuffer [meta:personalInfo:]
\startlines
shortline 1
shortline 2
shortline 3
shortline 4
\stoplines
\stopbuffer
\starttext
\getbuffer[meta:personalInfo:\getvariable{meta}{personalInfo}]
\stopt
On Mon, Mar 04 2013, Wolfgang Schuster wrote:
> \usemodule[letter]
>
> \startsetups[letter:section:content]
> \getbuffer[MyLetter]
> \stopsetups
>
> \setuplettersection[content][alternative=setups]
>
> \def\StartLetter
> {\starttext
>\grabbufferdata[
# \starttext
#
# \startbuffer[]
# \startlines
# text
# text
# \stoplines
# \stopbuffer
#
# \getbuffer[]
#
# \stoptext
#
# Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wik
kup]
\startmymakeup
\vfill\externalfigure[cow][width=\hsize]\vfill
\stopmymakeup
\stopbuffer
\setuppagenumbering[alternative=doublesided,location=footer]
\setupheadertexts [{\getmarking[section]}] [outer] [outer]
[{\getmarking[section]}]
\starttext
\startpostponing[+2]
\getbuffer[m
e:a]
> Note A
> \stopbuffer
>
> \startsetups[footnote:b]
> Note B
> \stopsetups
>
> %\setvariables[footnote][c={Note C}]
> \setvariable{footnote}{c}{Note C}
>
> \starttext
>
> A\footnote{\getbuffer[footnote:a]}
>
> B\footnote{\texsetup{footnote:b}}
>
stuck at the following:
\def\starttransliterate {%
\bgroup\dostarttransliterate%
}
\def\stoptransliterate {%
\egroup
\transliterate{%
\getbuffer[trl]%
}%
}
\def\dostarttransliterate{%
\dostartbuffer[trl][starttransliterate][stoptransliterate]%
}
and the buffer content
stuck at the following:
\def\starttransliterate {%
\bgroup\dostarttransliterate%
}
\def\stoptransliterate {%
\egroup
\transliterate{%
\getbuffer[trl]%
}%
}
\def\dostarttransliterate{%
\dostartbuffer[trl][starttransliterate][stoptransliterate]%
}
and the buffer content
{$c=2a+3b$} \text {with $a=5$}
\cell {$c=10+3b$} \text {and $b=6$}
\cell {$c=10+18$} \text {we get}
\cell {$c=28$}
\stopSTEPtable
\stopbuffer
How can one center this STEPchart?
\getbuffer[test-chart]
\stoptext
I should add that \startalignment[middle], or \placefigure
$}
\cell {$c=10+3b$} \text {and $b=6$}
\cell {$c=10+18$} \text {we get}
\cell {$c=28$}
\stopSTEPtable
\stopbuffer
How can one center the following \type{\STEPchart}?
\getbuffer[test-chart]
\stoptext
I should add that \startalignment[middle], or \placefigure do
Mmm... \getbuffer[LST] obviously
Sorry for the noise
On 27 April 2010 15:04, Antoine Cailliau wrote:
> Hi,
>
> I'm trying to deal with \dostartbuffer.
>
> I found an old message on the ML about \dostartbuffer
> http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.h
is is page \recurselevel}
\vfill
\stopbuffer
\setupheadertexts[\CONTEXT]
\starttext
\dorecurse{16}{\getbuffer[Fakepage]\page}
\stoptext
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I
%20on%20tradepolicy.pdf}
\stopbuffer
\setupinteraction
[state=start]
\starttext
test\footnote{test \getbuffer[comurl] text.} text.
\stoptext
___
If your question is of interest to others as well, please add an ent
1 for tex.getcount()
>>> ! TeX capacity exceeded, sorry [input stack size=1].
>>
>> fixed
>
> • \processxtablebuffer[…]
>
> \starttext
> \startbuffer[table]
> \startxtable
> \startxrow \startxcell test \stopxcell \stopxrow
> \stopxtable
> \stop
t; \startbuffer[BufB]
> This is buffer B.
> \stopbuffer
>
> \starttext
> \BufA
> \getbuffer[BufB]
>
> \ifx\BufC\undefined No buffer C.\else\BufC\fi
\ifdefined\BufC … \else … \fi
Sometimes \setvariables is a better method to store texts in a document.
> \stoptext
>
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer
\setupheadertexts[\CONTEXT]
\starttext
\dorecurse{16}{\getbuffer[Fakepage]\page}
\stoptext
Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an as
7; mode.
> \stopamode
>
> \stoptext
>
> Can I use \startmode with \definestartstop?
No you can’t.
> Or is there a better way to do something like this?
It depends on what you want to do. You can create a buffer command:
\def\startamode{\grabbufferdata[amode][startamode][s
gt; suggested to me a few days ago). However, there's a problem with
> \baselineskip; here is an example:
>
> \starttext
>
> \def\startMyEnv{\dostartbuffer[MyEnv][startMyEnv][stopMyEnv]}
> \def\stopMyEnv{{\tfxx\getbuffer[MyEnv]\par}}
>
> \input tufte
>
> \startMyEnv
&g
ht=\paperheight]
>
> \startbuffer[test]
> \startcolumns[n=2]
> \input zapf
> \stopcolumns
> \stopbuffer
>
>
>
> \starttext
>
>
> \startstandardmakeup
>
> \setlayerframed
>[text]
>[x=1cm,
> y=3cm]
>[width=12cm,
>
\stopbuffer
{\typebuffer[footnote] \getbuffer[footnote]} \page
But this does nothing.
[before=\footnote{,
after=}]
does not work either (and is not equivalent to (b/e}group). Please advise!
Best
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
itemize[n,stopper={},width=1em]
> \item item 2.1
> \item item 2.2
> \item item 2.3
> \stopitemize
> \item item 3
> \startitemize[n,stopper={},width=1em]
> \item item 3.1
> \item item 3.2
> \stopitemize
> \stopbuffer
> %
> \setupitemize[n,serried,pack
est}/ETEX test
test test test/BTEX \bf(nota bene)/ETEX test
test test test /BTEX \bf(nota bene)/ETEX test
\stoptyping
\stopbuffer
\starttext
\bgroup\setuptyping[option=commands]\getbuffer\egroup
\stoptext
-
If you can't either, then either you or I are going to
,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
f]}
> {\input zapf \relax}}
>
> \placefigure
> {What a caption}
> {\placelegend[location=right]
> {\externalfigure[cow.pdf]}
> {\input zapf \relax}}
> using buffers makes sense here:
> \startbuffer
> lots of text
> \stopbuffer
>
> \placefigu
gt; \definestacking[one]
> > \definestacking[two]
> >
> > \startstackingsteps[one,two,{one,two}]
> > \startTEXpage[offset=1ts]
> > \getbuffer
> > \stopTEXpage
> > \stopstackingsteps
>
> I have crude macros which provide this features (save stuff
]
\leftaligned{\recurselevel\ - Front}%
\stopbuffer
\startbuffer[Back]
\leftaligned{\recurselevel\ - Back}%
\stopbuffer
\def\printactionpageone{%
\setupbackgrounds [page][background={pozadifront}]%
\getbuffer[Front]\page%
}%
\def\printactionpagetwo{%
\setupbackgrounds [page][background={pozadiback
tups[chapter:after]}]
>
> \startsetups chapter:before
>
> \page[left]
>
> \noheaderandfooterlines
>
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \noindent \em \getbuffer [chapter:quote]
> \stopnarrower
> \stopalig
On Aug 1, 2006, at 1:01 AM, Hans Hagen wrote:
> Aditya Mahajan wrote:
>> On Mon, 31 Jul 2006, David Arnold wrote:
>>
>>
>>> All,
>>>
>>> I would like to use:
>>>
>>> \placefigure
>>> [right][fig:pythagoras]
>>>
{\getbuffer[combined]}
\stoplinecorrection
%\startlinecorrection[blank]
%\midaligned{\processMPbuffer[two]}
%\stoplinecorrection
\stoptext
I am getting this error:
! Arithmetic overflow.
\@@raggedskipb
\setraggedness ...e \@@raggedskipa \@@raggedskipb
tupbodyfont[palatino,10pt]
>\definefont[RotFont][RegularBold]
> \stopMPenvironment
> \stopbuffer
>
> \definefont[RotFont][RegularBold]
>
> \getbuffer[mpenv]
>
> \setupcolors[state=start]
>
> \starttext
>
> \startuseMPgraphic{axis}
>tickstep := 1cm ; tickle
riggered some
> > additional features).
>
> A few (important) observations on floats:
>
> \startplacefloat
> \stopplacefloat
> triggers a paragraph break.
>
> I therefore locate them always at the beginning or at the end of a paragraph
> of text.
>
]
\getbuffer\\
\amainface\getbuffer\\
\smainface\getbuffer
\stopTEXpage
\stoptext
Not embedding all glyphs for the fallback font (failing to type
"force=yes") could lead to weird results. Not to mention when a font
isn’t embedded at all.
there are severwl tr
}
\stopnointerference
\typebuffer[knuth]
\getbuffer[knuth]
\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
\stopbuffer
\getbuffer
\placenotes[linenote]
\stoptext
I cannot compile it. ConTeXt complains about "\placenotes[linenote]"
being undefined.
Is there something I’m missing or have I hit a bug?
Many thanks for your help,
can you check with
\unprotect
\def\strc_linenotes
Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not
executed) with colour coding on the keyword and line numbered; then the block
text fakewords from the visual module; then the \fakewords macro shown (again
not executed) as per the default for typing.
What were you
\textwidth] a \stopxcell
\startxcell b \stopxcell
\startxcell c \stopxcell
\startxcell[width=.2\textwidth] d \stopxcell
\stopxrow
\stopxtable
This is the second paragraph.
\getbuffer[somextable]
This is the third paragraph.
\stoptext
...
\stopmyinput
\stopbuffer
but now not executed at once, but stored in and executable from a buffer with
\getbuffer[mystoragebuffer].
\setbuffer[foo]bar\endbuffer
But of course there might be a better way to execute the same code more than
once within one run of TeX.
for that to answer
]
\usemodule[t-vim]
\definevimtyping[TEX][syntax=context]
\inlineTEX{%}
\stopmode
‽
\stoptext
Is there any work-around to prevent this, other than avoiding it completely?
% \enablemode[test]
\starttext
\startbuffer[test]
\type{%}
\stopbuffer
\startmode[test]
\getbuffer
module?
Thanks in advance
Tommy
\usemodule [setups]
\starttext
%\startbuffer
%\framed [width=3cm,height=1cm] {testo}
%\stopbuffer
%
%\typebuffer
%\getbuffer
\cmdfullsetup [setuppapersize]
\stoptext
wer]
[text=Answer,
headcommand=\AnswerTextCommand]
\defineblock[answer]
\startbuffer
%
\startquestion
\input knuth
\stopquestion
%
\beginanswer
\startanswer
\input knuth
\stopanswer
\endanswer
%
\stopbuffer
\starttext
\dorecurse{10
er[A]
\input knuth
\blank[2*line]
\stopbuffer
\starttext
\starttitle[title=Charis SIL test]
\getbuffer[A]
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wik
On 9/1/2013 2:30 PM, Peter Münster wrote:
On Sun, Sep 01 2013, Wolfgang Schuster wrote:
\startrawsetups[letter:section:content]
Text before the content of the letter.
\getbuffer[MyLetter]
Text after the content of the letter.
\stoprawsetups
Yes, thanks! (I forgot about this part, because
nvoice[#1]{\egroup\getparameters[PRM][#1]%
\grabbufferdata[myLetter][beginInvoice][endInvoice]}
\def\endInvoice{\getbuffer[myLetter]}
\def\startInvoice#1\stopInvoice{#1}
\starttext
\beginInvoice[bla=blub,
blub=bla]
\startInvoice test \PRMblub \stopInvoice
\endInvoice
\beginInvoice
\startInvoice
Hello Hans,
thank you for contributing to solve my problem.
I've tried your proposition : how can I get the content of the buffer afterward
?
I've tried \getbuffer[Slide] with no success on MKIV beta that I've just
updated.
Does a buffer work only for verbatim content ?
best
I have started (after a hiatus) to compile my project again using an
updated ConTeXt
ConTeXt ver: 2008.03.03 00:34 MKII fmt: 2008.3.4 int: english/english
and something that used to work has stopped working:
\reference[logic:implicationprogram]
{\getbuffer[logic:implicationprogram
ntime, I have:
\startTEXbuffer[mybuffer]
\color[red]{Hello World!}
\stopTEXbuffer
in the xml, I have
mybuffer
and in the setups
\input MyInputs
\startxmlsetups xml:gettexbuffer
\getTEXbuffer[\xmlflush{#1}]
\stopxmlsetups
I tried with simple \startbuffer[mybuffer] ... \getbuffer[mybuffer]
]
\dorecurse{5}{\input tufte\par}
\startbuffer
\placefigure[btlr]{A placeholder
figure.}{\externalfigure[widefigure][width=\Two]}
\stopbuffer
\dorecurse{5}{\input tufte\par}
\getbuffer
\stopcolumnset
\stoptext
Using the current beta, the figure only cleanly spans one column --
vertical space for the
On 3/10/2020 3:07 PM, Taco Hoekwater wrote:
Hi,
Never mind, I got it (starting at \loggingall output for a while). This
patch to my input fixes it:
\unprotect
\setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable]
\tabl_ntb_prev_level}]
\protect
you beat me on this ... (still
align={nothyphenated,flushleft},
distance=4mm,
location=righthanging]
\startbuffer[caption]
\dorecurse{60}{very long caption }
\stopbuffer
\starttext
\startplacefigure[title={\getbuffer[caption]}]
\externalfigure[cow][height=40mm,width=80mm]
\stopplacefigure
\stoptext
Thank you,
buffer
%D \startformula[9pt] x = 1 \stopformula
%D \startformula[7pt] x = 1 \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
So, setting a smaller formula can also be done by \startformula[9pt] ?!
Steffen
___
> \definebuffer[Entity,before=\startENUM,after=\stopENUM]
> >
> \definebuffer[Entity][before=\startENUM,after=\stopENUM]
>
> \startEntity
> ...
> \stopEntity
>
> \getEntity
>
> or
>
> \def\startEntity
>{\dostartbuffer[Entity][startEntity][
\hpos {X-2} {circled} and connected by an \hpos {X-3} {arrow}.
As with most things in \CONTEXT, marking these words is separated
from declaring what to do with those words. This paragraph is keyed
in as:
\stopbuffer
\getbuffer[a,b]
ext
27 \startletter
28 Nach unserem Treffen in Brejlov kam schon Vieles in Bewegung.
29 \blank
30 Die offizielle Einladung kommt später.
31 >> \stopletter
32 \stoptext
\processlettervalues ...ox {\trialtypesettingtrue
\
ttingtrue
\getbuffer [lettercontent]...
should be \settrialtypesetting in mkiv; some of the state macros have
been generalized to that they can be consulted at the lua end as we
>
> which I use later when I place the figure
>
> \placefigure{My picture}{\getbuffer[mypic]}
>
> The problem is that the figure is not centred: it is always aligned with
> the left side of the document. I guess this has something to do with
> Context not being able to get t
starttextbox[#1]%
{\def\stoptextbox{\setlayerframed[textbox][#1]{\getbuffer[textbox]}}%
\startbuffer[textbox][starttextbox][stoptextbox]}
\starttext
\starttextbox[x=2cm,y=4cm,width=8cm,frame=off]
some text ...
more text ...
\stoptextbox
\starttextbox[x=6cm,y=12cm,width=8cm,frame=off]
another
\getbuffer \dostopnormalblock \egroup \par
! File ended while scanning use of \dododowithbuffer.
When I define the buffer outside the block, it works.
it's somewhat tricky as we need to feed back into tex and do so under
some catcode assumptions; i now use a different approach
can you
odule I tried to get rid of a few things which
> lead to problems or which didn’t fit into context normal syntax. The
> \encl, \cc and \ps had been such a thing and all three value can now only
> bet set as keyval argument, e.g. \startletter[enclosure=…]
I forgot another question: does the
Hello,
a question - I'm just curious:
What is advantage (or maybe intension) of using buffers over \def?
Compare:
\def\BufA{This is buffer A.}
\startbuffer[BufB]
This is buffer B.
\stopbuffer
\starttext
\BufA
\getbuffer[BufB]
\ifx\BufC\undefined No buffer C.\else\Bu
of this...
> > Or is there a better way to do something like this?
>
> It depends on what you want to do. You can create a buffer command:
>
> \def\startamode{\grabbufferdata[amode][startamode][stopamode]}
> %\def\stopamode {\getbuffer[amode]}
>
> \starttext
>
x27;s a problem with
\baselineskip; here is an example:
\starttext
\def\startMyEnv{\dostartbuffer[MyEnv][startMyEnv][stopMyEnv]}
\def\stopMyEnv{{\tfxx\getbuffer[MyEnv]\par}}
\input tufte
\startMyEnv
\input knuth
\stopMyEnv
\input tufte
\stoptext
Am I doing something wrong here?
\tfxx
nput tufte
\stopcolumns
\stopbuffer
\definelayer[paper][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background=paper]
\setlayerframed[paper]
[preset=lefttop,hoffset=.05\paperwidth,voffset=5cm]
[width=0.9\paperwidth,align=normal,offset=5mm]
{\getbuffer[abstract]}
I would be gr
lackrule[width=4cm, height=5mm, color=green]
\stopbuffer
\dorecurse{10}{%%
\blackrule[width=\textwidth]
\advance\cnt1cm \hskip\cnt
\getbuffer[greenbar]\page}
\stoptext
Marco
signature.asc
Description: Digital signature
_
blackrule[width=\myparameter, height=5mm, color=green]
> \stopbuffer
>
>
> \starttext
>
> \processmyparameters[1cm,2cm,3.5cm,4.5cm,8cm,11cm]{
> \getbuffer[greenbar]\page}
>
> \stoptext
Thank you for this solution.
r your environment and feed
the content of this buffer to the letter module.
\usemodule[letter]
\startsetups[letter:section:content]
\getbuffer[MyLetter]
\stopsetups
\setuplettersection[content][alternative=setups]
\def\StartLetter
{\starttext
\grabbufferdata[MyLetter][StartLetter][Stop
block.
>
> Please try 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]
> }
le 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 \ge
nsider 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
\stop
Steve Hawkins Division Bell Pink Floyd
\startTEXpage
\button
[width=fit,height=fit,align=middle,offset=1em,
frame=off,foregroundcolor=middleblue,
background=color,backgroundcolor=middleyellow]
{\nohyphens \getbuffer[text]}
[JS(SpeakToMe{{\directsetup{text}}}]
n odd (right side) page but when there is a quote that comes with the�
>> chapter I want to have that appear on the opposing side.
>>
>> G
\def\MyChapter[#1]%
{\doifsomething{#1}
{\page[left]
\setupheader[state=empty]
\startnarrower[3*left,4*right]
\get
mple
\nobreak
\typebuffer
\stopexample
\getbuffer}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038
h latest stable release.
> there is a dangling line of the background due to a break
>
> \def\ShowExample
> {\startexample
> \nobreak
> \typebuffer
> \stopexample
> \getbuffer}
Thank you. This takes care of it.
Aditya
--
Aditya Mahajan, EECS Systems, University of Michigan
file.
>>>>
>>>> 1. [snip]
>>>> 2. Accented characters inside \typebuffer are type set as
>>>> \dochar {225}
>>> This seems to be a bug. In utf-8 encoding, if an accented character is
>>> the first character of a buffer, it gets type
On Thu, 22 Mar 2007, Taco Hoekwater wrote:
> Wolfgang Werners-Lucchini wrote:
>> Hallo!
>>
>> The following simple example doesn't compile
>> (ConTeXt ver. 2007.01.02 and Live ConTeXt).
>>
>> What am I doing wrong?
>
> Diagnostics:
>
> The problem is not caused by the \framed, but by the (lack of)
> This is a serious bug. Even a simple example fails with the same
> error.
>
> \starttext
> \framed{
> \startformula
> x^2 = x\cdot x
> \stopformula}
> \stoptext
>
> A quick workaround is to use frametext instead of framed, but I am
> pretty sure that the above example used to work at some stage.
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> =
> \starttext
>> \startbuffer[tufte]
>> \input tufte
>> \stopbuffer
>> \startbuffer[knuth]
>> \input knuth
>> \stopbuffer
>> \dorecurse{100}{test \footnote{\typebuffer[knuth]} \en
avail.
> >
> > Any help would be greatly appreciated!
> >
> > Dean
>
> Hi,
>
> Hans will add some annotation mechanism (already on my computer to
> test a bit). In your case you can use the first example here:
>
> \startbuffer
> \unframed
> [al
offer the flexibility that tagged elements provide.
Can anyone suggest another alternative?
Example follows. As supplied, no tagged elements are generated and all
is well. Uncomment either the start/stop element lines in the table to
get one tagged element in the output, or the getbuffer line to
d}\fi\page
Ω\\
Ὧ\\
Α\\Ἀ\\Α\\Ἁ\\Α\\Ἂ\\Α\\Ἃ\\Α\\Ἄ\\Α\\Ἅ\\Α\\Ἆ\\Α\\Ἇ\\
Ἠ\\Η\\Ἡ\\Η\\Ἢ\\Η\\Ἣ\\Η\\Ἤ\\Η\\Ἥ\\Η\\Ἦ\\Η\\Ἧ\\Η
\stopbuffer
\starttext
\getbuffer
\setupalign[nothanging]
\feature[+][leftbounds]
\getbuffer
\stoptext
OpenType optical boun
en Wierde:
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\p
G},\quad \cal{H},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext
test-scriptfonts-mkiv.
tartxcell \cJ \stopxcell}
>> \doifdefined{cK}{\startxcell [left] \cK \stopxcell}
>> \stopxrow
>> \stopbuffer
>>
>> \setupxtable[offset=0cm,
>> frame=off,
>> bottomframe=on,
>> framecolor=gray,
>> option=stretch,
>> align=middle]
>>
>>
\starttext
\startbuffer
\startmathcollection[euler:texnansi]
\definemathsymbol [breve] [accent] [tf] ["15]
\stopmathcollection
\startmathcollection[euler:ec]
\definemathsymbol [breve] [accent] [tf] ["08]
\stopmathcollection
$\breve e$
\stopbuffer
Testing for code in \filename{cont-new.
first one with footnote texts only (as buffers):
\startbuffer[fn-1]
\input knuth
\stopbuffer
\startbuffer[fn-2]
\input zapf
\stopbuffer
Your sample file may read:
\setuppapersize[A6]
\input footnotes.tex
\protected\def\bufffn[#1]%
{\footnote{\getbuffer[#1]}}
\star
601 - 700 of 1030 matches
Mail list logo