=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 try
[shiftblock]
\input ward
\stopuserdata
\dorecurse{2}{\input zapf\par}
\stopbuffer
\dorecurse{10}{\getbuffer}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
{\em The YIVO and the problems of our time}, and also as
{\em The YIVO faces the post-war world}.
\stopbuffer
\starttext
\getbuffer[Test]
\stoptext
--
Rik
___
If your question is of interest to ot
next time.
\starttext
\startbuffer[first]
First paragraph.
\stopbuffer
\startbuffer[second]
Second paragraph.
\stopbuffer
\start
\setupbuffer[before=,after=]
\getbuffer[first]%
\getbuffer[second]
\stop
\blank
\getbuffer[first,second]
\stoptext
Wolfgang
,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
\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
tance=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,
ghthanging]
>
> \startbuffer[caption]
> \dorecurse{60}{very long caption }
> \stopbuffer
>
> \starttext
> \startplacefigure[title={\getbuffer[caption]}]
> \externalfigure[cow][height=40mm,width=80mm]
> \stopplacefigure
> \stoptext
>
> Thank you,
> Jano
>
={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,
Jano
n\n ) line 8.2\n\n') context.blank()
context('line 9.1 (\n \n)line 9.2\n\n') context.blank()
context('line 0.1 (\n \n \n) line 0.2\n\n') context.blank()
\stopluacode
\stopbuffer
\typebuffer
\getbuffer
\stoptext
now, the question is, does this cover all cases and is
[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
gt; \definetyping[T]
> \definemode[mode][yes]
> \starttext
> \startmode[mode]
> \startT
> Bla
> \stopT
> \stopmode
> \stoptext
>
> Or use buffers (to avoid catcode all together):
>
> \definetyping[T]
> \definemode[mode][yes]
> \starttext
> \s
finemode[mode][yes]
\starttext
\startbuffer[code]
\startT
Bla
\stopT
\stopbuffer
\doifmode{mode}{\getbuffer[code]}
\stoptext
or (note type**T**buffer so that the output is formatting according to the
options of \definetyping[T])
\definetyping[T]
\definemode[mode][yes]
\starttext
\startbuffer[
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
\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
ure
...
\stoptikzpicture
\stopbuffer
\inmargin{\getbuffer[picture]}
Another option (but better to do that in tikz module) is:
\let\draw\relax
\let\x\relax
\inmargin{\starttikzpicture ... \stoptikzpicture}
Actually the command \startmarginblock ... \stop... described in the ConText
reference wo
ime \draw etc are undefined. One option is:
\startbuffer[picture]
\starttikzpicture
...
\stoptikzpicture
\stopbuffer
\inmargin{\getbuffer[picture]}
Another option (but better to do that in tikz module) is:
\let\draw\relax
\let\x\relax
\inmargin{\starttikzpicture ... \stoptikzpicture}
> Actually
\stopbuffer
\starttext
\startTEXpage[offset=2pt,strut=no]
\getbuffer
\switchtobodyfont[pagella]
\getbuffer
\switchtobodyfont[dejavu]
\getbuffer
\stopTEXpage
\stoptext
This is dedicated to Jano who wants to be able to search and these are
proper glyphs (so
maxsize = #tableau
> tt = {}
> t = {}
> for i = 1, maxsize do
> t[i] = {}
> t[i]["columnOne"] = tableau[i]
> t[i]["columnTwo"] = math.random(1,100*maxs
\\cos(\\log(x))}{x}",
> }
>
> \stopluacode
>
> \starttext
>
> % We define a buffer and a shuffled list of integers
>
> \startbuffer[test-derivatives]
> \startluacode
> ShuffledList = shuffle({1,2,3,4,5,6})
> \stopluacode
>
> Let $\cldco
edList[\recurselevel]]}(x) :=
\cldcontext{ListOfFunctions[ShuffledList[\recurselevel]]}$. Prove that
\startformula
\cldcontext{ListOfNames[ShuffledList[\recurselevel]]}'(x) =
\cldcontext{ListOfDerivatives[ShuffledList[\recurselevel]]}
\stopformula
\stopbuffer
\dorecurse{6}{\blank[medium]{\b
\stopbuffer and \getbuffer, such as in:
\setuplayout[topspace=1cm,header=1cm]
\setuplayout[middle]
\setupbodyfont[pagella,10pt]
\setupalign[verytolerant,stretch]
\setupwhitespace[big]
\starttext
\startbuffer
\definescaledfont[bfe][xscale=2000,yscale=6000,style=bf]
\setuphead[chapter
\glyphscale#1\relax
\setupinterlinespace
\samplefile{ward}%
\bf
\samplefile{ward}
\par
\stop
\page
}
\stopbuffer
\getbuffer
\title{Scaled fonts}
Although \CONTEXT\ is quite efficient with fonts there is always room for
improvement. However, after years of finetuning the font
\bgroup%
\vbox\bgroup}
\def\StopBox{\egroup\egroup\egroup}% close vbox, framed, hbox
\def\MeasureBuffer[#1]{\setbox0\hbox{\getbuffer[#1]}%
ht: \the\ht0\par}
% XML
\startbuffer[doc]
section
he problematic behavior.
>
> I don’t get diffferent results:
>
> \definefontfamily[mainface][rm][TeX Gyre Pagella]
> \definefontfamily[face][rm][TeX Gyre Heros]
> \setupbodyfont[mainface]
> \startbuffer
> In my case, the latter is the correct one, while the
I don’t get diffferent results:
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[face][rm][TeX Gyre Heros]
\setupbodyfont[mainface]
\startbuffer
In my case, the latter is the correct one, while the former does
nothing but falling back to latinmodern.\par
\stopbuf
fer[sample]
\startxtable
\startxrow
\startxcell \unknown \stopxcell
\stopxrow
\stopxtable
\stopbuffer
\getbuffer[sample]
\stoptext
Wolfgang
___
If your question is of interest to others as well,
as a trigger. Here are a few examples of usage:
162
163 \startbuffer
164 discrete---discrete
165 \stopbuffer
166 >> \typebuffer \startnarrower \dontcomplain \hsize 1pt \getbuffer \par
\stopnarrower
167 \startbuffer
168 discrete\discretionary{}{}{---}discrete
169 \stop
\recurselevel=7
\exitloop
\fi
\NC \recurselevel \NC \NC\NR \HL
}
\stoptabulate
\stopbuffer
\starttext
\getbuffer[AdjacencyList1]
\getbuffer[AdjacencyList2]
\stoptext
> 2020. 9. 21. 오후 10:50, ntg-context-requ...@ntg.nl 작성:
>
> Send ntg-context mailing list submissions to
>
>\ifnum \recurselevel=7
> \exitloop
>\fi
>\NC \recurselevel \NC \NC\NR \HL
> }
> \stoptabulate
> \stopbuffer
>
> \starttext
> \getbuffer[AdjacencyList1]
>
> \getbuffer[AdjacencyList2]
> \stoptext
>
>> 2020. 9. 21. 오후 10:50, ntg-con
recurse{8}
> {\NC \recurselevel \NC \NC\NR \HL}
> \stoptabulate
> \stopbuffer
>
> \startbuffer[AdjacencyList2]
> \starttabulate[|c|cw(2cm)|]
> \HL
> \doloop{
> \ifnum \recurselevel=7
> \exitloop
> \fi
> \NC \recurselevel \NC \NC\NR \HL
> }
> \stoptabulate
> \stopbuffe
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
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
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
]
\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}{\getbuffer
subsection}]
\dorecurse{2}{\getbuffer[mybuffer]}
\stopsubsection
\stopsection
\stopchapter
\startchapter
[title={Second chapter}]
\startsection
[title={Second section}]
\dorecurse{2}{\getbuffer[mybuffer]}
\stopsection
\stoptheorem
\stopchapter
\stoptext
end example
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
now that 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?
\setupbuffer has before and after keys
Am 17.05.20 um 19:04 schrieb Marco Patzer:
>>
>> Is it somehow possible to apply styles to all buffers that gets
>> included via \getbuffer by defining a special getbuffer-style?
>
> \setupbuffer has before and after keys which can be used. Example:
>
> \setupbuff
that 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
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
\setupheadertexts[\directsetup{header}]
\startbuffer[tablerow]
\startxrow
\startxcell first \stopxcell
\startxcell second \stopxcell
\stopxrow
\stopbuffer
\startbuffer[table]
\startxtable
\startxtablehead[head]
\getbuffer[tablerow]
\stopxt
d{cI}{\startxcell \cI \stopxcell}
\doifdefined{cJ}{\startxcell \cJ \stopxcell}
\doifdefined{cK}{\startxcell [left] \cK \stopxcell}
\stopxrow
\stopbuffer
%\startplacetable[]
\startxtable
\startxtablehead[head]
\doloopif{\lineno}{<}{2}{\getbuffer[loop]}
\stopxtablehead
\startxtablebody
\doloo
{\startxcell \cJ \stopxcell}
>> \doifdefined{cK}{\startxcell [left] \cK \stopxcell}
>> \stopxrow
>> \stopbuffer
>>
>> \setupxtable[offset=0cm,
>> frame=off,
>> bottomframe=on,
>> framecolor=gray,
>> option=stretch,
>> align=middle]
>>
>>
gt; data. I cannot guess why a second loop might be required.
> Hi Geert,
>
> this approach is simpler:
>
> \starttext
> \startxtable
> \startxtablehead[head]
> \doloopif{\lineno}{<}{2}{\getbuffer[loop]}
> \stopxtablehead
> \start
simpler:
\starttext
\startxtable
\startxtablehead[head]
\doloopif{\lineno}{<}{2}{\getbuffer[loop]}
\stopxtablehead
\startxtablebody
\doloopif{\lineno}{>}{1}{\getbuffer[loop]}
\stopxtablebody
\stopxtable
\stoptext
Only loop header with CSV lines numbered below 2
,
option=stretch,
align=middle]
\setupxtable[head][background=color,
backgroundcolor=gray,
topframe=on,
bottomframe=on,
framecolor=black,
foregroundcolor=blue]
\setupxtable[left][align=right]
\startxtable[header=repeat]
Add "split=repeat" to \startxtable.
\startxtablehead[h
pxtable[head][background=color,
backgroundcolor=gray,
topframe=on,
bottomframe=on,
framecolor=black,
foregroundcolor=blue]
\setupxtable[left][align=right]
\startxtable[header=repeat]
\startxtablehead[head]
\doloopfromto{1}{1}{\getbuffer[loop]}
\stopxtablehead
\startxtablebody
\doloop
> On 10 Mar 2020, at 16:20, Hans Hagen wrote:
>
> 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[{
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
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
Best wishes,
Taco
> On 10 Mar 2020, at 14:47, Taco Hoekwater wrote:
>
ffer{Quote}{
\doifoddpageelse
{\page[left]}
{\donothing}
{\definedfont[SerifItalic at 16pt]\quotation{\getbuffer[Quote]}\par}
\externalfigure[\PreImg][width=\textwidth]
\resetbuffer[Quote]
}{}
\page[right]
\stopsetups
\setupheadertexts[][pagenumber][pagenumber][chapter]
\setuphe
bers in a separate overlay to better control the positioning. Perhaps
a bit overthought, but it works for me ...
\setupheadertexts [][{\it\getmarking[section]}]
[{\it\getmarking[chapter]}][]
\startsetups section:epigraph
\doifelsebuffer{SectionEpigraph}
{\getbu
ode
\startbuffer[Sample]
g, Jaxxb AJon
\stopbuffer
\define[2]\Test{
{\switchtobodyfont[#1]#2\getbuffer[Sample]}}
\setupbodyfont[legends]
\starttext
\starttabulate[|l|l|l|]
\NC test \NC Serif \NC Sans
\NC \NR
\NC n
fonts.handlers.otf.addfeature {
name = "xkern",
type = "kern",
data = {
["x"] = { ["x"] = 500 },
[" "] = { ["J"] = 500 }
}
}
\stopluacode
\startbu
["x"] = { ["x"] = 500 },
[" "] = { ["J"] = 500 }
}
}
\stopluacode
\startbuffer[Sample]
g, Jaxxb AJon
\stopbuffer
\define[2]\Test{
{\switchtobodyfont[#1]#2\getbuffer[Sample]}}
\setupbodyfo
e
%\showsetups
%\showlayout
\getbuffer[tblcard]
\page
\getbuffer[tblcard]
\stoptext
On 22Dec19, Wolfgang Schuster wrote:
>
> \setuparranging[1*2-Conference]
--
Pavneet Arora m: +1 647-406-6843
Waroc Informatike: pavneet_ar...@waroc.com
tblplacecards.pd
lash\ ; ' , . / \{ \} \| : " < > ?
\fontname\font
\blank [line]
\stopbuffer
\setupalign [middle]
\starttext
\obeylines
\JHair \getbuffer[Sampler]
\JThin \getbuffer[Sampler]
\JLigh \getbuffer[Sampler]
\JBook \ge
\stopframedtext
\stopbuffer
\starttext
%~ \showframe
\rotate[rotation=180]{\getbuffer[tblcard]}
\page
\getbuffer[tblcard]
\stoptext
I hope it goes on time ;-),
Pablo
--
http://www.ousia.tk
_
[line]
\stopbuffer
\setupalign [middle]
\starttext
\obeylines
\JHair \getbuffer[Sampler]
\JThin \getbuffer[Sampler]
\JLigh \getbuffer[Sampler]
\JBook \getbuffer[Sampler]
\JMedi \getbuffer[Sampler]
\JSemi \getbuffer[Sam
buffer
\starttext
\showframe
\adaptpapersize[tblcard,mirrored][letter,portrait]\getbuffer[tblcard]
\page
\getbuffer[tblcard]
\stoptext
--
Pavneet Arora m: +1 647-406-6843
Waroc Informatike: pavne
foregroundstyle={\definedfont[Serif at 82pt]}]
> {JOURNEY}
>
> \setlayerframed
> [LAY]
> [x=360pt,
> y=50pt]
> [frame=off,
> width=200pt,
> align={normal,tolerant}]
> {\input ward
> \blank[line]
> \externalfigure[hacker][he
[hacker][height=.4\textheight]}
\flushlayer[LAY]
\stopbuffer
\getbuffer
\page
\setuplayer[LAY][hoffset=4cm,voffset=-2cm]
\getbuffer
\stoptext
Wolfgang
___
If your question is of interest to others as well, please
\startcolumns
\startlinenumbering
\marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par
\marking[Test]{TWO}TWO \dorecurse{29}{\getbuffer}\par
\marking[Test]{THREE}THREE \dorecurse{12}{\getbuffer}\par
\stoplinenumbering
\stopcolumns
\stoptext
In the result, the header of the first page reads &quo
dth\relax
\else
\parshape 1 \emwidth \dimexpr\hsize-\emwidth\relax
\fi
34, 57, 101-104, 276, 345, 401, 403, 512.
\stopalignment
\stopbuffer
\dorecurse
{10}
{\hsize\dimexpr.75\textwidth-#1\emwidth\relax
\getbuffer
\page}
\stoptext
Thanks Wolfgang.
I wrote a better version
\parshape 1 \emwidth \dimexpr\hsize-\emwidth\relax
\fi
34, 57, 101-104, 276, 345, 401, 403, 512.
\stopalignment
\stopbuffer
\dorecurse
{10}
{\hsize\dimexpr.75\textwidth-#1\emwidth\relax
\getbuffer
\page}
\stopte
1-104, 276, 345, 401–403.
\stopbuffer
\typebuffer \getbuffer
\startbuffer
\startalignment[end]
This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line 34, 57, 101-104, 276, 345, 401–403.
\stopalignment
\
,
method=page,
align=flushright,
]
\definemarking[Test]
\setupheadertexts[{\fetchmark[Test][top] -- \fetchmark[Test][bottom]}]
\startbuffer
\dorecurse{12}{words }
\stopbuffer
\starttext
\startcolumns
\startlinenumbering
\marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par
\marking
]
\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
\stopTEXpage
[{\fetchmark[Test][top] -- \fetchmark[Test][bottom]}]
\startbuffer
\dorecurse{12}{words }
\stopbuffer
\starttext
\startcolumns
\startlinenumbering
\marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par
\marking[Test]{TWO}TWO \dorecurse{29}{\getbuffer}\par
\marking[Test]{THREE}THREE \dorecurse{12}{\getbuffer
{\FontB \red test me #1,} \FontA \dorecurse{#1}{test ##1, }%
}\par
\stopbuffer
{\getbuffer \page}
\setexpansion[myexpansion] {\getbuffer \page}
\stoptext
Maybe it's useful (I hardly use expansion myself). Hopefully there are
no
e][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
https://mailman.ntg.nl/piperma
ter=\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 a command:
\s
On 11/1/19 11:08 AM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 01.11.2019 um 10:44:
>> [...]
>> \start
>> \catcode`\#=12 % local change of character TeX category
>> \doloopif{\cA}{~=}{}{\getbuffer[main]}
>> \stop
>>
&
your reply, Wolfgang.
Now I understand why it didn’t work.
In my real-world document, I get an error, probably caused by having
\giveattachment deployed in a buffer called inside:
\start
\catcode`\#=12 % local change of character TeX category
\doloopif{\cA}{~=}{}{\getb
("#1")}}
Many thanks for your reply, Wolfgang.
Now I understand why it didn’t work.
In my real-world document, I get an error, probably caused by having
\giveattachment deployed in a buffer called inside:
\start
\catcode`\#=12 % local change of character TeX category
\dol
} + e$\blank
$a + \overbrace [lt=1em,rb=1em] {b+c+d} + e$\blank
$a + \underbrace [lt=1em,rb=1em] {b+c+d} + e$\blank
$a + \doublebrace[lt=-4em,rb=-4em]{b+c+d} + e$\blank
\stopbuffer
\typebuffer[option=TEX]
\getbuffer
\stoptext
so, lt for lefttop etc
Hans
},\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.pdf
Description
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
[backspace=20mm,width=170mm,topspace=20mm,height=250mm]
\starttext
\startbuffer
\startMPcode
pair a, b;
a := (0,0);
b := (50,50);
draw a -- b;
\stopMPcode
\stopbuffer
\floatright{}{\getbuffer}
\startbuffer
\startMPcode
pair a;
a := 2cm;
draw fullcircle scaled (2*a);
\stopMPcode
\stopbuffer
Namenskonflikte}\\
\setbreakpoints[compound]
\hyphenatedword{gemessene Namens-konflikte Namenskonflikte}
\stopbuffer
\starttext
\startTEXpage[offset=3em]
\getbuffer[text]\\
\language[de]
\getbuffer[text]
\stopTEXpage
\stoptext
I hope it helps,
1)}}
\def\TestLuaB#1{\ctxlua{TestVarB(#1)}}
\startbuffer[testtext]
\dorecurse{100}{Words, words, words. }
\stopbuffer
\starttext
\startlinenumbering
Counter: \TestLuaA{\rawcountervalue[test]}\par
Lineref: \TestLuaB{1} \par
\getbuffer[testtext]
\someline[1]LABEL 1
% The line
reference is not expanded before being passed to
Lua.\getbuffer[testtext]\someline[1]LABEL 1 \stoplinenumbering\stoptext|||
\TestLua just passes the argument to the Lua command TestVar, which
prints it to stdout and returns it to TeX. The pdf result looks good at
first glance, showing
passed to
Lua.\getbuffer[testtext]\someline[1]LABEL 1 \stoplinenumbering\stoptext|||
\TestLua just passes the argument to the Lua command TestVar, which
prints it to stdout and returns it to TeX. The pdf result looks good at
first glance, showing the correct values as expected, but in stdout we
][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
l}})
({\em \Characters{\recurselevel}})
\par}
\stopTEXpage
\stopbuffer
\def\DesiredFont{TeX Gyre Termes}
\getbuffer[chars]
\def\DesiredFont{TeX Gyre Pagella}
\getbuffer[chars]
\stoptext
Best wishes,
Taco
}
\stopTEXpage
\stopbuffer
\getbuffer[chars]
\def\DesiredFont{TeX Gyre Pagella}
\getbuffer[chars]
\stoptext
This shows that sequences such as ({\em f}) are corrected with the
closing parenthesis, but not with the opening one.
Wouldn’t it be possible that italic correction could
}]
[{\em \characters{\recurselevel}}]
[{\em \Characters{\recurselevel}}]
({\em \characters{\recurselevel}})
({\em \Characters{\recurselevel}})
\par}
\stopTEXpage
\stopbuffer
\getbuffer[chars]
\def\DesiredFont{TeX Gyre Pagella}
\getbuffer
buffer
\startbuffer[wideframe]
\framed[width=2\rightmarginwidth,height=.6\rightmarginwidth,framecolor=darkred]{\tt
width=2*rightmarginwidth}
\stopbuffer
\starttext
\chapter{edge}
\dorecurse{10}{
\startplaceedgefigure
\getbuffer[fitframe]
\stopplaceedgefigure
\input knuth
}
\chapter{ma
[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
][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
wer]
[text=Answer,
headcommand=\AnswerTextCommand]
\defineblock[answer]
\startbuffer
%
\startquestion
\input knuth
\stopquestion
%
\beginanswer
\startanswer
\input knuth
\stopanswer
\endanswer
%
\stopbuffer
\starttext
\dorecurse{10
page[offset=3em]
{\bf \Vorname\ \Name}\\
\Function
\blank
\Company\\
\Street\\
\PLZ-\City\\
\Country\\
Telefon: \TelNo\\
\eMail\\
\URLAddress
\stopTEXpage
\stopbuffer
\doloopif{\cA}{~=}{}{\getbuffer[bscard]}
\stoptext
"Vorname";"Name";"Function";"Company";&quo
]
\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 severw
nge:greek, force=yes]
> \definefontfamily[smainface][rm][TeX Gyre Pagella]
> \setupbodyfont[mainface]
> \starttext
> \startTEXpage[offset=2em]
> \getbuffer\\
> \amainface\getbuffer\\
> \smainface\getbuffer
> \stopTEXpage
> \stopte
tfamily[amainface][rm][TeX Gyre Pagella]
\definefallbackfamily[smainface][rm][GFS Didot]
[preset=range:greek, force=yes]
\definefontfamily[smainface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=2em]
\getbuffer\\
]
\endhint
\beginanswer
\doglobal\increment\AnswerCounter
\incrementcounter[answer]
\endanswer
\stopbuffer
% ...and then the above buffer is invoked
\define\noanswer
{\getbuffer[noanswer]}
% example of use:
\starttext
\startchapter[title=Questions]
\startquestion[q:1]
Prove
\doifelsebuffer{ChapterEpigraph}
{\page[yes,header,footer,left]
\dontleavehmode
\vfill
\getbuffer [ChapterEpigraph]
\resetbuffer [ChapterEpigraph]
\vfill
\vfill
}
{\page[yes,header
m α β γ δ ε ζ}\\
>>{\bf α β γ δ ε ζ}\\
>>{\bf α β γ δ ε ζ}\\
>> \stopbuffer
>> \starttext
>>\startTEXpage[offset=1em]
>> \getbuffer
>> \tt\getbuffer
>> \ss\getbuffer
>> \hw\getbuffer
>>
ainface][tt][Latin Modern Mono]
\setupbodyfont[mainface, 300pt]
\setupalign[hanging]
\startbuffer
«a\par
«b\par
Ω\par
Ὧ\par
Ἠ\par
\stopbuffer
\starttext
\setupparagraphintro[each][\setfirstline]
\getbuffer
\stoptext
101 - 200 of 978 matches
Mail list logo