[line]
\stopbuffer
\setupalign [middle]
\starttext
\obeylines
\JHair \getbuffer[Sampler]
\JThin \getbuffer[Sampler]
\JLigh \getbuffer[Sampler]
\JBook \getbuffer[Sampler]
\JMedi \getbuffer[Sampler]
\JSemi \getbuffe
lash\ ; ' , . / \{ \} \| : " < > ?
\fontname\font
\blank [line]
\stopbuffer
\setupalign [middle]
\starttext
\obeylines
\JHair \getbuffer[Sampler]
\JThin \getbuffer[Sampler]
\JLigh \getbuffer[Sampler]
\JBook
}}$
\stopbuffer
\starttext
\defineparagraphs[myparagraphs][n=5, rule=on]
\setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax]
\setupparagraphs[myparagraphs][2][width=\dimexpr 0.3\textwidth\relax]
\setupparagraphs[myparagraphs][3][width=\dimexpr 0.3\textwidth\relax]
\section{{\tt \backsla
\stopbuffer
\starttext
\defineparagraphs[myparagraphs][n=5, rule=on]
\setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax]
\setupparagraphs[myparagraphs][2][width=\dimexpr 0.3\textwidth\relax]
\setupparagraphs[myparagraphs][3][width=\dimexpr 0.3\textwidth\relax]
\section{{\tt \backslash set
-fallback]
\stoptypescript
\definefontfamily[mainface][mm][mainface]
\definefontfamily[mainface][rm][pagella][bf=style:bold]
\usetypescript[mainface]
\setupbodyfont[mainface]
\startbuffer
The quick brown fox jumps over the lazy dog
\stopbuffer
\starttext
% \rm % works
{\rm \getbuffer}\par
{\ss
:MinionPro-Regular*nonekerned at
100pt]\getbuffer[KernTest] }}
{\vbox{\blue\definedfont[name:MinionPro-Regular*basekerned at
100pt]\getbuffer[KernTest] }}
{\vbox{\darkgray\definedfont[name:MinionPro-Regular*nodekerned at
100pt]\getbuffer[KernTest] }}
\stopoverlay
\stopTEXpage
\st
nput 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 of a table.}
{\getbuffer[table]}
\input tufte
\placefigure[][fig:2]
{This is the caption of
]
[EB Garamond]
\startbuffer[words]
office final floor affliction
\stopbuffer
\startbuffer[ligatures]
{\em \getbuffer[words]}\\
{\bi \getbuffer[words]}\\
{\getbuffer[words]}\\
{\bf \getbuffer[words]}\\
\stopbuffer
\starttext
\startTEXpage[offset=1em
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
d}}{Second 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
][compress=yes,compressmethod=stopper] \getbuffer
\setupnote[MyNote][compress=yes,compressmethod=separator] \getbuffer
\setupnote[MyNote][compress=yes,compressmethod=space] \getbuffer
\setupnote[MyNote][compress=yes,compressmethod=] \getbuffer
\setupnote[MyNote][compress=no
=.5em]
> \item \dorecurse{20}{eins }
> \item \dorecurse{20}{zwei }
> \item \dorecurse{20}{drei }
> \stopitemize
> \stopbuffer
> \getbuffer % -> correct indenting
> \bTABLE
> \bTR\bTD \getbuffer \eTD\eTR
> \eTABLE
> \getbuffer % -> wrong indenting
> \stopt
btw, in mkiv you show chars with \usemodule[fnt-25] ...
\startbuffer[mathtest]
\begingroup\mm\mr\showmathfontcharacters\endgroup
\stopbuffer
\starttext
\usetypescript[cambria] \setupbodyfont[cambria, 12pt]
\getbuffer[mathtest]
\usetypescript[lmvirtual] \setupbodyfont[lmvirtual
right now.
> Is it possible to use \startcombination in some way?
> Or, is there any way to perform such a display?
>
\startbuffer[a]
your first table
\stopbuffer
etc
\startcombination[3*2]
{\getbuffer[a]} {a}
{\getbuffer[b]} {b}
{\getbuffer[c]} {c}
{\getbuffer[d]} {d}
{\g
ween \frac{} and
\tfrac{} ?
\frac switches the math style while \tfrac (textstyle), \dfrac
(displaystyle) and \sfrac (scriptstyle) enforce a certain style.
begin example
\startbuffer[frac]
\frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2}
\stopbuffer
\starttext
\startformula
\getb
=bold]
\setuphead[subject][alternative=text,style=bolditalic]
\setuphead[subsubject][alternative=text,style=\ss]
\setuphead[subsubsubject][alternative=text,style=\ss\it]
\startbuffer[waltham]
\input waltham
\stopbuffer
\starttext
\startlinenumbering
\starttitle[title={Waltham}]
\dorecurse{4}{\getb
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
\starttext
\startbuffer
\startbuffer[demo]
\start
\getbuffer[setup]
\subject{[ {\myslanted myslanted} ] [ {\it it} ] [ {\slanted
slanted} ] [ $x=1$ ]}
[ {\myslanted myslanted} ] [ {\it it} ] [ {\slanted slanted} ]
[ $x=1$ ]
\typebuffer[setup]
\black
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
s hidden behind the semi-transparent layer.
>
>
> I have no idea what tikz is doing:
>
> \usemodule[tikz]
>
> \definecolor[light][s=1,a=1,t=0.1]
> \definecolor[dark] [s=1,a=1,t=0.95]
>
> \defineframedtext[normal] [width=4cm, background=color]
> \defineframedtext[reverse][width=4
On 8/2/2021 8:54 PM, Benjamin Buchmuller via ntg-context wrote:
That's great, I wikified a Note for testing if a buffer exists or has content
(using the \getbuffer[…] approach for the moment).
If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one could think
ematics[functionstyle=\backslash
rm\backslash tf,textstyle=\backslash rm\backslash tf]} (default setup)}
\define\mathfunctionstyle{\rm\tf}
\define\mathtextstyle{\rm\tf}
\startmyparagraphs
\switchtobodyfont[rm]
{\tt \backslash switchtobodyfont[rm]}\crlf
{\tt \backslash tf}: {\tf \getbuffer}\par
{\tt \b
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR
\stoptabulate
\stopbuffer
\nohyphencollapsing
\getbuffer
\setupbodyfont[pagella]
\getbuffer
\dohyphencollapsing
\getbuffer
Dear Hans,
It is very interesting example.
Thank you for a new method.
Best regards,
Dalyoung
>
> \def\determinednoflines#1%
> {\localcontrolled{\determinenoflines{#1}}\noflines}
>
> \startbuffer
>\input tufte
> \stopbuffer
>
> \fillinrules[n=\determinednof
eature[with-tnum][default][tnum=yes]
\definefontfamily[mainface][sans][Alwyn New]
\setupbodyfont[mainface]
\setupTABLE[alignmentcharacter=., aligncharacter=yes]
\starttext
\startbuffer
\bTABLE \bTR \bTD 111.111 \eTD \eTR \bTR \bTD 444.444 \eTD \eTR \eTABLE
\stopbuffer
\getbuffer\addfeature[wit
. (It completely
annihilates any whitespace.)
Compile this to see what I mean:
\definepapersize[Tmp][width=120mm,height=400mm]
\setuppapersize [Tmp]
\setupwhitespace[2\lineheight]
\startbuffer
bla, bla\crlf bla, bla
\stopbuffer
\starttext
Normal text:
\getbuffer\par
\getbuffer
I
]
\bTR \bTD abc \eTD \bTD def \eTD \eTR
\bTR \bTD ghi \eTD \bTD jkl \eTD \eTR
\eTABLE
\stopbuffer
\starttext
\startchapter [title=First]
\startsection [title=1st Section]
\startplacetable
\startcombination [2*1]
{\getbuffer} {(a)}
{\getbuffer} {(b)}
\
n,
itlc=yes]
\setupitaliccorrection
[global, always]
\definefontfamily
[mainfont]
[rm]
[EB Garamond]
\startbuffer[words]
office final floor affliction
\stopbuffer
\startbuffer[ligatures]
{\em \getbuffer[words]}\\
{\bi \getbuffer[words]}\\
{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}:
\startbuffer [basicsetup]
\cmdbasicsetup [startxtable]
\stopbuffer
\typebuffer [basicsetup]
\getbuffer [basicsetup]
When you show the syntax of a command without the options:
\startbuffer [shortsetup]
\cmdshortsetup [startxtable]
\stopbuffer
-(x-3)}{x+2}\cr
&=\frac{2-x+3}{x+2}\cr
&=\frac{5-x}{x+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
or has
>> content (using the \getbuffer[…] approach for the moment).
>> If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one
>> could think of similar commands that test for empty "objects".
>> Is there an option for testing blocks? (I ac
extra whitespace}
With text here there is no extra whitespace before the itemization.
\getbuffer[Item]
\subsection{No extra whitespace}
With text here there is no extra whitespace before the itemization.
\getbuffer[Item]
\section{Extra whitespace}
\getbuffer[Item]
With no
onTeXt
or LuaTeX because it does only appear with OpenType math fonts:
Input:
\usemodule[simplefonts]
\setmainfont[Calluna]
\startbuffer[example]
\input ward\par
\startformula
c^2=a^2+b^2 \quad \binom{1}{2}
\stopformula
\stopbuffer
\starttext
\getbuffer[example]
\setmathfont[palatino]\get
harter][default][encoding=ec]
\setupbodyfont[charter,10pt]
\startbuffer[tufte]
\input tufte
\stopbuffer
\starttext
\getbuffer[tufte]
\blank
{\it\getbuffer[tufte]}
\blank
{\bf\getbuffer[tufte]}
\blank
{\sc\getbuffer[tufte]}
\bla
uffer
\dontleavehmode
\blackrule[color=colX,width=3cm]\hskip-1.5cm
\blackrule[color=colY,width=3cm]
\stopbuffer
\getbuffer \par \color[colY]{\getbuffer}
\setupcolors[rgb=no]
\getbuffer \par \color[colY]{\getbuffer}
\setupcolors[rgb=no,cmyk=no]
\getbuffer \par \color[colY]{\getbuffer}
\stoptex
26 21:43
>>
>> Maybe intended behaviour, maybe a bug. Donno.
>
> colorspace, color and transparency are different axis
>
> \definecolor[colX] [r=.5]
> \definecolor[colY] [t=.5,a=1]
>
> \starttext
>
> \startbuffer
> \dontleavehmode
> \blackrule[colo
All,
If you do something like:
\startbuffer
\setupYadaYada
.
.
.
.
\stopbuffer
Then you do:
\getbuffer
will the setup be in a group, and only pertain to the stuff set with
\getbuffer?
___
ntg-context mailing list
ntg-context@ntg.nl
http
Dear list member, Following up from:https://www.mail-archive.com/ntg-context@ntg.nl/msg94719.html The below MWE works but how can I avoid having to type \startmode[en] \getbuffer[en] \stopmode \startmode[nl] \getbuffer[nl] \stopmode after every block of text? I tried to
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
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
oman\TwoColumns
\getbuffer[Plato]
\stopTwoColumns
\startTwoColumns
Italic\TwoColumns
{\it\getbuffer[Plato]}
\stopTwoColumns
\startTwoColumns
Semi bold\TwoColumns
{\sb\getbuffer[Plato]}
\stopTwoColumns
\startTwoColumns
Bold\TwoColumns
{\bf\getbuffer[Plato]}
\stopTwoColumns
\startTwoColumns
S
ikz]
\starttext
\startbuffer[1]
\starttikzpicture
\draw[->] (0,0)--(1cm,1cm);
\stoptikzpicture
\stopbuffer
% \ruledhbox{\getbuffer[1]}
\ruledhbox
{\ruledhbox{\getbuffer[1]}
\ruledhbox{\getbuffer[1]}}
\ruledhbox
{\ruledhbox{\getbuffer[1]}%
\ruledhbox{\getbuf
\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
][cg][Arial Narrow][tf=file:ARIALN.TTF]
\setupbodyfont[mainface]
\startbuffer
\ConTeXt\ is awesome!\par
\stopbuffer
\starttext
\startTEXpage[offset=1em]
\getbuffer
\ss\getbuffer
\tt\getbuffer
\cg\getbuffer
\stopTEXpage
\stoptext
I have no problem to get
Hi all,
how can I prevent the indent after a \startline[…]-construct. Here is an
example:
\setupindenting[medium,next,yes]
\def\NoIndent{\noindentation{\red\bf Indent?}\enspace}
\startbuffer
\dorecurse{3}{\dorecurse{10}{some text, } \par }
\stopbuffer
\starttext \showframe
\getbuffer
I had this code working (it was in an article I submitted for NTG-MAPS
a while ago, july 2007). Now this same code gives an error on getbuffer.
What happened to getbuffer? Is it possible a \fi has disappeared in
the getbuffer code between now and last july? Is there a quick patch
because now
>
> \setmainfont[Calluna]
>
> \startbuffer[example]
> \input ward\par
> \startformula
> c^2=a^2+b^2 \quad \binom{1}{2}
> \stopformula
> \stopbuffer
>
> \starttext
>
> \getbuffer[example]
>
> \setmathfont[palatino]\getbuffer[example]
>
> \setmathfont[eul
makeup]
\startmakeup[standard][align=middle]
123
\stopmakeup
\stopbuffer
\getbuffer[makeup]
\startpostponing[3]
\getbuffer[makeup]
\stoppostponing
\input knuth
\getbuffer[makeup]
\input knuth
\getbuffer[makeup]
\stoptext
It is also weird tha
[mainface][tt][Cousine]
\definefontfamily[mainface][cg][Arial Narrow][tf=file:ARIALN.TTF]
\setupbodyfont[mainface]
\startbuffer
\ConTeXt\ is awesome!\par
\stopbuffer
\starttext
\startTEXpage[offset=1em]
\getbuffer
\ss\getbuffer
\tt\getbuffer
\cg
][tt][Cousine]
\definefontfamily[mainface][cg][Arial Narrow][tf=file:ARIALN.TTF]
\setupbodyfont[mainface]
\startbuffer
\ConTeXt\ is awesome!\par
\stopbuffer
\starttext
\startTEXpage[offset=1em]
\getbuffer
\ss\getbuffer
\tt\getbuffer
\cg\getbuffer
tnitram
> crazy
> \stopnitram
> \stoptext
It works 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 \
\fillinrules[n=\determinednoflines{\getbuffer},
width=fit]{first}
\fillinrules[n=\determinednoflines{\getbuffer},
width=broad]{first}
\fillinrules[n=\determinednoflines{\getbuffer},
width=3cm]{first}
\fillinrules[n=\determinednoflines{\getbuffer},
width=3cm,distance=.5em,separator=:]{first
o scale?
\starttext
\startbuffer[address]
Name \crlf
Address 1 \crlf
A long line that wraps \crlf
Town \crlf
Postcode
\stopbuffer
\framed[width=3cm,align=flushleft]{\getbuffer[address]}
\framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}}
\stoptext
\starttext
\startbuffer[a
الْأَسْمَرُ السَّرِيعُ يَقْفِزُ فَوْقَ الْكَلْبِ الْكَسُولِ!
The quick brown fox jumps over the lazy dog!
\stoplines
\stopbuffer
{\tfxx \type{\tfxx} \getbuffer}
{\tfx \type{\tfx} \getbuffer}
\type{\tf} \getbuffer
{\tfa \type{\tfa} \getbuffer}
{\tfb \type{\tfb} \getbuffer}
{\tfc \type{\tfc} \getbuffer
a problem before and it
still works perfectly in both pdfTeX and XeTeX. So something really
looks suspicious on the MKIV part.
I would love to help debugging, but I have zero clue what and where to look for.
> \usemodule[tikz]
>
> \starttext
>
> \startbuffer[1]
> \start
\stopxcell
\startxcell[background=color,backgroundcolor=yellow,width=1.0in] 1in?
\stopxcell \stopxrow
\stopxtable \stopbuffer
\getbuffer[testtable1]
\getbuffer[testtable2]
\startxtable
\startxrow \startxcell[fnit] \getbuffer[testtable1] \stopxcell \startxcell[wd2]
\getbuffer[testtable1
ter [title=First]
\startsection [title=1st Section]
\startplacetable
\startcombination [2*1]
{\getbuffer} {(a)}
{\getbuffer} {(b)}
\stopcombination
\stopplacetable
\stopsection
\stopchapter
\startchapter [title=Second]
\startplacetable [loca
can some please explain the (for me) funny output
of p(fit) and p(fixed)?
Herbert, mkiv and ii
\starttext
%\showframe
\showstruts
\startbuffer
\toplinebox{\framed[width=2cm,height=0.8cm]{i}}
\stopbuffer
\starttabulate[|p|p|]
\NC \getbuffer \NC some more text \NC\NR
\NC
> \dorecurse{3}{\dorecurse{10}{some text, } \par }
> \stopbuffer
>
>
> \starttext \showframe
> \getbuffer \blank
>
> \startlinenumbering
> \startline[lin:1]
> \NoIndent \getbuffer
> \stopline[lin:1]
>
> \NoIndent \getbuffer
> \stoplinenumber
trouble
with placefigure
This is a dummy paragraph to support a little bit of math to show the
trouble
with placefigure}
\stopbuffer
\starttext
\getbuffer[figure]
\getbuffer[test]
\page
\getbuffer[figure]
\getbuffer[mathtest]
\stoptext
Thanks,
Aditya
--
Aditya Mahajan, EECS Systems
What's the reaosn for this behaviour?
Try:
\starttext
\startbuffer
\start
\setupTABLE[frame=on]
\bTABLE\bTR\bTD text \eTD\eTR\eTABLE
\stop
\stopbuffer
\framed[offset=overlay]{\getbuffer}
\startbuffer
\start
\setupTABLE[frame=on]
\setupTABLE[c][1][align=right]
\bTABLE\bTR\bTD text \eT
\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
The behavior of \getbuffer has changed with the new beta. With the
following sample code, one line of text is produced with the 2015-03-25
beta. Two lines of text are produced with the more recent betas.
\startbuffer
A
\stopbuffer
\starttext
A \getbuffer
\stoptext
--
rik
they have to be used
> > according to needs?
> >
> > Are there other commands of this kind?
>
> \usemodule[setups]
>
> \starttext
>
> When you describe a command, e.g.
> \type{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}:
>
> \startbuffer
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 sugge
,liga=yes]
\definefontfeature[default:block][default][blockligatures=yes]
% block certain ligatures globally, but not f|fl, f|fi
\blockligatures [ft,fft,fj,ffj,fk]
\definefontfamily[times][rm][Times New Roman]
\startbuffer[test]
fj\\
ffi\\
ffl\\
ff\\
fi
\stopbuffer
\starttext
\getbuffer[test
I can do something like this:
>
> \startcolumns
> \getbuffer[Muenchen]
> \stopcolumns
>
> Or do something with \defineparagraph
>
> Is it somehow possible to apply styles to all buffers that gets
> included via \getbuffer by defining a special getbuffer-style?
\setupbuff
]
>>
>> \def\NoIndent{\noindentation{\red\bf Indent?}\enspace}
>>
>> \startbuffer
>> \dorecurse{3}{\dorecurse{10}{some text, } \par }
>> \stopbuffer
>>
>>
>> \starttext \showframe
>> \getbuffer \blank
>>
>&g
topbuffer
% ok
\bTABLE[frame=on,width=3em]
\getbuffer
\eTABLE
% nok, messy table
\bTABLE[frame=on]
\setupTABLE[c][each][width=3em]
\getbuffer
\eTABLE
% ok, width=3em for each column
\bTABLE[frame=on,width=0.1pt]
\setupTABLE[c][each][width=3em]
\getbuffer
\eTABLE
% ok
\bTABLE[frame=on]
\ge
omment
\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
\st
was in an article I submitted for NTG-MAPS
> a while ago, july 2007). Now this same code gives an error on getbuffer.
> What happened to getbuffer? Is it possible a \fi has disappeared in
> the getbuffer code between now and last july? Is there a quick patch
> because now I get stuck o
e=\blank,
after=\blank]
\starttext
Normal comment:
\startbuffer
% comment
\stopbuffer
\typebuffer \getbuffer
Comment in \type{asciimode} environment:
\startbuffer
\startasciimode
% comment
\stopasciimode
\stopbuffer
\typebuffer \getbuffer
Comment in the argument of
ith
one
longer
stanza
\stoplines
\stopbuffer
\startbuffer[lines2]
\startlines[inbetween={\blank}]
this
is
a
poem
with
some
stanzas
here is
another one
and another one
\stoplines
\stopbuffer
\starttext
Just the buffers.
One:
\getbuffer[lines1]
Two:
\getbuffer[lines2]
Via paragraphs
{b}+\dot{c}}$$
>\stopbuffer
>
>\starttext
>\getbuffer
>\switchtobodyfont[mytf]
>\getbuffer
>\switchtobodyfont[modern]
>\getbuffer
>\stoptext
>
>Third formula remains roman. Why so?
I dunno.
I might be tempted to call it a bug...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[A9]
\starttext
\startbuffer[makeup]
\startmakeup[standard][align=middle]
123
\stopmakeup
\stopbuffer
\getbuffer[makeup]
\startpostponing[3]
\getbuffer[makeup]
\stoppostponing
\input knuth
\getbuffer[makeup]
\input knuth
\eTABLE
\stopbuffer
% vertical mode
\getbuffer
% horizontal mode
%\dontleavehmode\getbuffer
\placetable[frame=off]
{whow}
{\placelegend[align={right}]
{\dontleavehmode\getbuffer}
{NOTE: hmode or not hmode the legend is still off to the left}
}
\stoptext
On 7/4/07, Wolfgang
= mc^2 \bigotimes \sum$
$α^2 + β^2 = γ^2$
\blank[big]
\stopbuffer
\getbuffer[mathbuffer]
\usetypescript[lucida][texnansi]
\setupbodyfont[lucida]
\getbuffer[mathbuffer]
\usetypescript[cambria]
\switchtotypeface[cambria]
\getbuffer[mathbuffer]
\usetypescript[palatino]
\switchtotypeface[palatino
le
> with placefigure
> \startformula
>a = b
> \stopformula
> This is a dummy paragraph to support a little bit of math to show the
> trouble
> with placefigure
> This is a dummy paragraph to support a little bit of math to show the
> trouble
> with placefigure}
2007/7/2, Hamid Kamrani <[EMAIL PROTECTED]>:
> What's the reaosn for this behaviour?
>
> Try:
>
> \starttext
> \startbuffer
> \start
> \setupTABLE[frame=on]
> \bTABLE\bTR\bTD text \eTD\eTR\eTABLE
> \stop
> \stopbuffer
> \framed[offset=overlay]{\get
\dorecurse{20}{\ruby[spread]{XYZ}{fooledbar} }\par
\dorecurse{20}{\ruby{extremely}{wide} }\par
\dorecurse{20}{\ruby{wide}{extremely} }\par
stopbuffer
\testfeatureonce{1}{\start \setupinterlinespace[16pt]
\setupruby[location=none] \getbuffer \stop \page}
\testfeatureonce
On 3/28/2015 1:50 AM, Rik Kabel wrote:
The behavior of \getbuffer has changed with the new beta. With the
following sample code, one line of text is produced with the 2015-03-25
beta. Two lines of text are produced with the more recent betas.
\startbuffer
A
\stopbuffer
Hi all,
I am currently writing a text where I want to include text snippets
either by including files or including buffers.
What is the best way to style all these included buffers?
I know that I can do something like this:
\startcolumns
\getbuffer[Muenchen]
\stopcolumns
Or do something with
Aditya Mahajan wrote:
Hans, should we add this to strc-ali?
sure, i'll also do the same with getbuffer, as often using buffere is
convenient in such cases:
\unexpanded\def\getbuffer
{\dodoubleempty\dogetbuffer}
\starttext
\startbuffer[a]
$\startmathmatrix \NC 1 \NC 1 \NR \NC
> Because buffers are verbatim-like environments.
>
> --
> Giuseppe "Oblomov" Bilotta
Hi,
I expected that buffers are verbatimly stored to the file immediately in the
time of processing \startbuffer...\stopbuffer thand the file is read
processing \getbuffer.
But it seems
efinefontfeature[with-tnum][default][tnum=yes]
>> \definefontfamily[mainface][sans][Alwyn New]
>> \setupbodyfont[mainface]
>> \setupTABLE[alignmentcharacter=., aligncharacter=yes]
>> \starttext
>> \startbuffer
>> \bTABLE \bTR \bTD 111.111 \eTD \eTR \bTR \bTD 444.4
nHead,
]
\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]
\startbuffer[Item]
\startitemz
\item Item
\item Item
\stopitemz
\stopbuffer
\starttext
\section{No Whitespace}
No extra whitespace before items.
\getbuffer[Item]
\section{Extra Whitespace}
\getbuffer[Item]
Unexpected
test\-test\par test-test \par
\stopbuffer
\blank \start \nl \hsize 2mm\getbuffer \stop \blank
\blank \start \nl \hsize 2mm \nohyphens \getbuffer \stop \blank
\startbuffer
\nohyphens NEDERLANDS {\dohyphens Nederlands} nederlands\par
\stopbuffer
\blank \start \nl \hsize 2mm \getbuffer
n t statt bekannt.
\stopbuffer
%
\starttext
%
\startchapter[title={Vorbemerkungen}]
\startsection[title={Test}]
\getbuffer\hfill OK
\stopsection
\startsection[title={Das Dokument}]
\startsubsection[title={Allgemein}]
\getbuffer\hfill PROBLEM !?
\stopsubsection
\startsubsection[title={
On Fri, 27 Mar 2015 20:50:52 -0400
Rik Kabel wrote:
> The behavior of \getbuffer has changed with the new beta. With the
> following sample code, one line of text is produced with the
> 2015-03-25 beta. Two lines of text are produced with the more recent
> betas.
>
> \s
b=.62]
\def\cautionbox#1{
\framed[background=color,backgroundcolor=caution,framecolor=red,align=normal,width=\textwidth]{#1}}
\startbuffer
\input tufte
\stopbuffer
\starttext
\cautionbox{\getbuffer}
\cautionbox{\getbuffer\footnote{And now a little footnote} \par\getbuffer}
But as the text cont
pencircle scaled 2pt ;
label.llft(btex \m{O} etex,origin) ;
label.rt(btex \m{A} etex,0.7cm*dir 0) ;
label.lft(btex \m{M} etex,0.7cm*dir 180) ;
\stopMPcode
\stopxcell
\startxcell
mma wrote:
>
> Dear list member,
>
> Following up from:
> https://www.mail-archive.com/ntg-context@ntg.nl/msg94719.html
>
> The below MWE works but how can I avoid having to type
> \startmode[en]
> \getbuffer[en]
> \stopmode
> \s
rtformula \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
rcr}}{\def\\{&\doalignNR[+][]\crcr}}%
% end of compatibility mode
\numberedeqalign{#2}}
%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
%
[hyphenation.applied.visualize]
% \enabletrackers[hyphenation.applied.console]
\startbuffer
\samplefile{tufte}
\blank
{\hsize 4em \dorecurse{4}{x\discretionary{aa}{bb}{cc}x #1 }}
\blank
\stopbuffer
\starttext
\switchtobodyfont[modern] \getbuffer
\switchtobodyfont[pagella
\switchtobodyfont[modern-designsize] \subject{modern-designsize}
\getbuffer \blank
\switchtobodyfont[modern]\subject{modern}
\getbuffer \blank
\switchtobodyfont[xits] \subject{xits}
\getbuffer \blank
\switchtobodyfont[pagella] \subject{pagella}
\getbuffer \blank
\blankskip \fi \endgroup
l.3 \stopblankhandling
\dovspacing ...argument #1\else \s!default \fi ")}
\leavevmode
...
l.20 \setlayer[FOO]{\getbuffe
y
\enabletrackers[math.dictionaries]
\starttext
\definemathgroupset[demoa][binary arithmic,nary relation]
\definemathgroupset[demob][binary relation,nary relation]
% \tracingmath2 \tracingonline2 \showmakeup[mathglue]
\startbuffer[a]
$ a \leq b \geq c < d > e = \naturalnumbers = ℕ$
\stopbuffer
\getb
Are there other commands of this kind?
\usemodule[setups]
\starttext
When you describe a command, e.g.
\type{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}:
\startbuffer [basicsetup]
\cmdbasicsetup [startxtable]
\stopbuffer
\typebuffer [basicsetup]
from it.
\starttext
\startbuffer
\vrule width 4cm height 4cm depth 0pt\relax
\stopbuffer
\typebuffer \getbuffer
\startbuffer
\hrule width 4cm height 4cm depth 0pt\relax
\stopbuffer
\typebuffer \getbuffer
\startbuffer
\frule width 4cm height 4cm type fill\relax
\stopbuffer
\typebuffer
1 - 100 of 1029 matches
Mail list logo