=-3mm]
{\switchtobodyfont[10pt]\getbuffer[Adr\recurselevel]}
\setlayer
[Etiket]
[preset=lefttop,location={right,bottom}]
{\switchtobodyfont[5pt]\Logo}
\placelayer[Etiket]}
\stoptext
tiket]
[preset=righttop,location={left,bottom}]
{\bfb Productname}
\setlayer
[Etiket]
[preset=leftbottom,location={right,top}]
{\switchtobodyfont[7pt]\getbuffer[Logoinhalt]}
\placelayer[Etiket]}
\sto
,
header=empty,
footer=chpaterfooter,
sectionsegments=chapter,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[
stopcombination in wrong spot
\stopbuffer
\starttext
\dorecurse{3} {\getbuffer[programa]}
\stoptext
disable object reuse
\startplacefigure
\startcombination[2*1]
{\externalfigure[ammeter][type=buffer,object=no,width=8cm]}{\_\_\_\_\_\_\_\_\_\_$\pm$\_\_\_\_\_\_\_\_}
{\externalfigure[ammeter
: \First, arg: \Arg)]
%\setupparagraphintro[next][(first: \First, arg: \Arg)]
\getbuffer[TestBuffer]
\stopparagraph
Hans,
That works for the over-simplified case here, but fails in practice.
For a \startnarrower[left] paragraph, the mark is still in the main
margin, not the 'margi
اَلْحَمْدُ لِلّٰهِ حَمْدَ مُعْتَرِفٍ بِحَمْدِهٖ، مُغْتَرِفٌ مِنْ بِحَارِ
> مَجْدِهٖ، بِلِسَانِ
> الثَّنَاۤءِ شَاكِرًا، وَلِحُسْنِ اٰلاۤئِهٖ نَاشِرًا؛ اَلَّذِيْ خَلَقَ
> الْمَوْتَ وَالْحَيٰوةَ، وَالْخَيْرَ
> وَالشَّرَّ، وَالنَّفْعَ وَالضَّرَّ، وَالسُّكُوْنَ وَالْحَرَكَةَ،
ecurse{100}{\bTR \dorecurse{8}{\bTC text \eTC} \eTR}
\eTABLEbody
\bTABLEfoot
\bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR
\eTABLEfoot
\eTABLE
\stopbuffer
\starttext
\placetable[here,split][tab:five]{Salary Stats}{\getbuffer}
\stoptext
···8<
k[force]
> \midaligned{\Style}
> \vfill
> \midaligned{This is page \recurselevel}
> \vfill
> \stopbuffer
>
> \setupheadertexts[\CONTEXT]
>
> \starttext
> % \showframe
> \dorecurs
#x27;line 7.1 ( \n\n)line 7.2\n\n') context.blank()
context('line 8.1 ( \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()
\stopl
ption of figure with link to bibliography
\cite[hh2010a].}
}
{\externalfigure[fig1]}
\stopbuffer
\starttext
Citation one is \cite[hh2010a] and another citation is
\cite[Eijkhout1991].
\getbuffer[fig1]
% When you uncomment next line, then bibliography crashed
%\section{Li
gt; \bf\dorecurse{15}{\dorecurse{20}{french }\par}
> \stopbuffer
>
> \stopenvironment
> ]])
> fp:close()
> end
>
> local function create_pages(s)
> local fp = io.open("pages.tex", "w")
> fp:write(format([[
> \enablemode[columns]
> \envir
d would like to pipe them to
Metapost. I thought I could use a textext(\getbuffer[i])-construct,
it failed. So I tried it with \setMPtext{}{} …
What is the approach to achieve this?
Well, if nothing else works, you can always cheat.
\startluacode
userdata = userdata or {}
userdata
f at 60pt]\test TEST \par
%D \definefont[test][Serif scaled 6000]\test TEST \par
%D \stopbuffer
%D
%D \typebuffer
%D
%D \startpacked
%D \getbuffer
%D \stoppacked
-
Hans Hagen | PRAGMA ADE
echansim will never be
> perfect (or close to perfect) in the sense of parsing arbitrary input.
The most dummy solution that I could think of (using slightly modified
Hans's ruby script):
\unprotect
\def\startstatistics
{\dodoubleempty\dostartstatistics}
\def\dostartstatistics[
...
or would I somehow be able to refer to the whole text of the
preface and do something like
\startproduct dissertation
\component preface
\chapter{Preface}
\getbuffer{buf:preface}
\startfrontmatter
...
with the whole text of the preface in a buffer?
I would appreciate
]} {\input ward \relax} \input ward \blank
\input knuth \SomeNote{[[knuth]]} {\input knuth \relax} \input knuth \blank
\input tufte \SomeNote{[[tufte]]} {\input tufte \relax} \input tufte \blank
\input bryson \SomeNote{[[bryson]]}{\input bryson\relax}
ef\Logo%
> {\externalfigure[wooden_coptic][height=\textheight]}
>
> %\input adreslist %Contains the addresses as given below:
>
> % \startbuffer[Adr1]
> %\framedtext{%
> %\startlines
> %Mr. Robert Ermers \\
> %\CONTEXT-technician\\
> %W
{\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 inte
context.EQ()
context(structures.counters.get("realpage",1,"last"))
context.NC()
context.NR()
context.stoptabulate()
\stopluacode
\stopbuffer
\starttext
\dorecurse
{\randomnumber{5}{10}}
{\getbuffer[pagenumber]
\page}
\stoptext
As addendum ..
igits {12,345.67e89}$
51 \setdigitmode {5} \setdigitorder{1} $\digits {12,345.67e89}$
61 \setdigitmode {6} \setdigitorder{1} $\digits {12,345.67e89}$
\stopbuffer
\typebuffer
This is typeset as:
\startlines \getbuffer \stoplines
In text, the \type{\digits} command works fine:
\setdigitmo
b}{cc}{dd}[ee]
\mycommand{aa}{bb}{cc}
\mycommand{aa}{bb}{cc}{dd}
\mycommand{aa}{bb}{cc}{dd}[ee]
\stopbuffer
\typebuffer
\startlines \getbuffer \stoplines
\stoptext
I'm not saying that it's the best solution, you can add \protected in
etelistofsynonyms
Command/ completeregister
Command/ copylabeltext
Command/ ctxfunction
Command/ ctxfunctiondefinition
Command/ currentlabel
Command/ delimitedtext
Command/ description
Command/ enumeration
Command/ fence
Command/ fraction
Command/ framed
Command/ framedtext
Command/ getbuffer
Command/ hbox
Co
\beginanswer
\startanswer
\input knuth
\stopanswer
\endanswer
%
\stopbuffer
\starttext
\dorecurse{10}{\getbuffer}
\page
\useblocks[answer]
\stoptext
end example
Wolfgang
___
If your qu
???}
\stopeffect
\stopcolor
\stopbuffer
\startuseMPgraphic{HeartTest}
picture h,q ;
h := "♥" infont "\truefontname{DejaVuSerif-Bold.ttf}" scaled 5 ;
q := textext("{\getbuffer[Outer]}") scaled 3 ;
draw h withcolor blue ;
\xmlflushtext{#1}\par\stopxmlsetups\setupletterlayer [address] [alternative=setups, y=6cm, x=12cm, color=red, style=\ss\tfa]\startsetups[letter:section:content] \getbuffer[lettercontent]\stopsetups%\startbuffer[lettercontent]%content of the letter \xmltext{#1}{/city}%\input knuth \relax
e} \NC\NR
\NC Room \EQ \getvariable{talk}{room} \NC\NR
\HL
\stoptabulate
\stopbuffer
\setvariable{talk}{set}{\getbuffer[pagetalk]}
\showframe[text][text]
\starttext
\setvariables
[talk]
[speakername={Gauss},
title={Remarks on Number Theory},
time={10:
graph
\doifelsebuffer{ChapterEpigraph}
{\page[yes,header,footer,left]
\dontleavehmode
\vfill
\getbuffer [ChapterEpigraph]
\resetbuffer [ChapterEpigraph]
\vfill
\vfill
}
{\page[yes,h
wdimen\fontstep\fontstep = 1pt
\starttext
\definefont[Cover][Sans at \the\coverfont]
\gettwopassdata{cover}
\iftwopassdatafound
\coverfont\twopassdata
\definefont[Cover][Sans at \the\coverfont]
\fi
\setbox\cover\ruledvbox
{\hsize\coverwidth
\Cover\setupinterlinespace
\s
toptyping
\referencetable[sec:table]
\startbuffer
\reference[ref:test]{Is this the text or the title?}
\stopbuffer
\getbuffer \typebuffer
\referencetable[ref:test]
\stoptext
With the third argument you can control which prefixes (section numbers
which a
106: \unit{2.21 GW}
107: \unit{345 mW}
108: \unit{152.20 mHz}
109: \unit{55.5 mmol}
110: \unit{6.7 mol/l}
111: \unit{125 g/l}
112: \unit{125 g / l}
113: \unit{125 km/s}
114: \unit{125 m/s}
115: \unit{125 mA/s}
\stopbuffer
\typebuffer
Result: \startlines \getbuffer \stoplines
\stoptext
Thank yo
-\emwidth\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
\get
]} {spot color}
{\externalfigure[demo-b][color=yellow-100]} {spot color}
\stopcombination
\stopbaselinecorrection
\stopbuffer
\starttext
\getbuffer \typebuffer
\stoptext
%%% Local Variables:
%%% mode: context
%%% TeX-master: ""
%%% End:
multitone.7z
Description: B
\CONTEXT\ Publication Module, The user documententation}
\pubyear{2006}
\note{In case you didn't know: this is the main manual wriiten on bib-module.}
\pages{14}
\stoppublication
\stopbuffer
\getbuffer[bibexample]
\setuppublications[numbering=yes]
\setupcite[num,left={[},right={]}]
\section
s know exactly the same
things. The game is played in the mind.''\crlf
``I don't get it.''\crlf
``Well, look! You can't cheat in mathematics or poetry or music because
they're based on truth. Untruth or cheating is just foreign,
]} {no color}
{\externalfigure[demo-b][color=combicolor]} {indexed duotone}
{\externalfigure[demo-b][color=blue-100]} {spot color}
{\externalfigure[demo-b][color=yellow-100]} {spot color}
\stopcombination
\stopbaselinecorrection
\stopbuffer
\getbuffer \typebuffer
\stoptext
lignment[center]
\hbox \bgroup \ignorespaces
\externalfigure[Pachiraaquatica.jpg][width=.5\paperwidth]
\unskip \quad \ignorespaces
\getbuffer[caracteristiques]
\unskip \egroup
\stopalignment
\stoptext
and the answer from texmfstart newtexexec.rb --autopdf --pdf
pachira-quest.tex
={\blank[small]},
before={\blank[small]}]
\def\ShowExample
{\startexample
% \nobreak
\typebuffer
\stopexample
\getbuffer}
\setvariables
[magazine]
[title={Using \textbackslash startalign and friends},
author=Aditya Mahajan,
date=\currentdate,
]
\starttext \setups
ent in this way:
>>>
>>> \def\startFOO#1\stopFOO{...}
>>>
>>> This means TeX reads everything from \startFOO till \stopFOO and looks
>>> afterwards at the replacement text.
>>>
>> I am not sure how something like that you work.
gt;
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \em \getbuffer[chapter:quote]
> \stopnarrower
> \stopalignment
> \resetsetups[quote:text]
>
text
>
> \tolerant\def\mycommand#=#=#=#=#:[#5]%
> {\ifparameter#1\or(1:#1)\fi
> \ifparameter#2\or(2:#2)\fi
> \ifparameter#3\or(3:#3)\fi
> \ifparameter#4\or(4:#4)\fi
> \ifparameter#5\or[5:#5]\fi}
>
> \startbuffer
> \mycommand{aa}{bb}{cc}
> \mycommand{aa}
\llap{\Mark}\inlinebuffer[TestBuffer]
% \ (first: \First, arg: \Arg)
\margintext{\Mark}
\setupparagraphintro[first][(first: \First, arg: \Arg)]
%\setupparagraphintro[next][(first: \First, arg: \Arg)]
\getbuffer[TestBuffer]
\stopparagraph
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
ayerframed
[somelayer]
[preset=lefttop,
x=1cm,
y=4cm]
[width=10cm,
align=normal]
{\getbuffer}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlan
>> This file has been typeset on \currentdate{} at \currenttime, mkiv,
>> ConTeXt
>> version \contextversion,
>> % LuaTeX version \luatexversion,
>> LuaTeX revision \luatexrevision,
.
Any suggestions?
The above graphic is used as follows...
\start
\setupTABLE[c][first][background={table:frame:Lrtb}]
\getbuffer
\stop
Thanks,
Lars
___
If your question is of interest to others as well, pleas
haracterkerning[mykerning]
\getbuffer
\par
}
\stopsetups
\startuniqueMPgraphic{cover}
StartPage ;
left_margin := 0.3472in ;
top_margin := 0.3472in ;
draw
textext.lrt("\setups[covertext]")
shifted ulcorne
\texsetup{dictum}]
>>
>> \startsetups dictum
>>
>> \doifelsebuffer{dictum}
>>{\startframedtext[right][frame=off,offset=none,width=.5\
>> textwidth,foregroundstyle=\itx]
>> \getbuffer [dictum]
>> \resetbuffer[dictum]
>> \stopfra
ng a pdf
output is that we can show the output of code snippets. For example,
\startbuffer
some tex code
\stopbuffer
\typebuffer
gives
\getbuffer
thereby ensuring that the documentation is showing the correct behavior.
To do this in html requires additional context run, converting the output
t\dostarttextbox}
\def\dostarttextbox[#1]%
{\def\stoptextbox{\setlayerframed[textbox][width=6cm,align=normal,frame=off,#1]{\getbuffer[textbox]}}%
\startbuffer[textbox][starttextbox][stoptextbox]}
\starttext
\starttextbox[x=2cm,y=4cm]
The Earth, as a habitat for animal life, is in old ag
upbackgrounds[page][background=textbox]
\def\starttextbox
{\dosingleargument\dostarttextbox}
\def\dostarttextbox[#1]%
{\def\stoptextbox{\setlayerframed[textbox][width=6cm,align=normal,frame=off,#1]{\getbuffer[textbox]}}%
\startbuffer[textbox][starttextbox][stoptextbox]}
\startt
{\edef\tline{\currentreferencedefault}% was
\currentreferencetext
\ifx\fline\tline#2\else#3\fi}
{\unknownreference{#1}#2}}
{\unknownreference{#1}#2}}
\def\startMyCite[#1]%
{\def\stopMyCite
{\setuplines[before=,after=]%
\startlines\startline[#1]\getbuffer[
yle }
\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
missin
based on that input, so i suggest
> that the two of you come up with specs
Context supports everything that latex array provides, with a slightly
different syntax. Some extract from the update on myway on alignment
(I am still working on it)
% \def\ShowExample
% {\hairline
%\typ
howStats{We do some great things in \in{section}[a]}
% I do not know the internals, but section 1 seems unbreakable
\ShowStats{$a=b$} %What did you expect? It may be possible to treat
%each math token as mathord and allow it to break
%but that will not give an
} \input ward \blank
\input knuth \SomeNote{[[knuth]]} {\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}
\
environment in this way:
>>>
>>> \def\startFOO#1\stopFOO{...}
>>>
>>> This means TeX reads everything from \startFOO till \stopFOO and looks
>>> afterwards at the replacement text.
>>>
>> I am not sure how something like that you work.
>&
nation[2*2]
>> {\externalfigure[7starmagic1][width=.25\makeupwidth]}{G}
>> {\externalfigure[one.tmp]}{AA}
>> {\externalfigure[one.tmp]}{BB}
>> {\externalfigure[one.tmp]}{CC}
>> \stopcombination}
>>
>> \stoptext
>>
>> Then, I got a strange output(fig 1: wi
}]
\NC (\lambda + \mu ) \cdot a \NC = \NC \lambda \cdot a + \mu \cdot a \NR
\NC \lambda ( a + b ) \NC = \NC \lambda \cdot a + \lambda \cdot b \NR
\stopaligned
\quad
\text{(distributieve eigenschappen)}
\stopformula
\stopbuffer
\starttext
Test user defined math matrices without a section (with Aditya&
therLayer]{Other pages}
>> \setupbackgrounds[page][background={FirstLayer,OtherLayer}]
>> %~ \mbox{}\blank[75mm]
>> \dorecurse{17}{\input zapf\par}
>> \cA\hfill
>> \cB
>> \page
>> \stopbuffer
>>
>> \opencsvfile{mail.csv}
>> \doloop{\ifn
e course {\em\Course}, achieving the
> following grade: \Grade.\page
> \stopbuffer
> \doloopforall{\getbuffer}
> \stoptext
Which is exactly what the other module supports. See page 4 of
http://dl.contextgarden.net/myway/csv.pdf
> Having to do that with before and after opti
edList[\recurselevel]]}(x) :=
\cldcontext{ListOfFunctions[ShuffledList[\recurselevel]]}$. Prove that
\startformula
\cldcontext{ListOfNames[ShuffledList[\recurselevel]]}'(x) =
\cldcontext{ListOfDerivatives[ShuffledList[\recurselevel]]}
\stopformula
\stopbuffer
\dorecurse{6}{\blank[mediu
but
until now I had no luck implementing it; I'm stuck at the following:
\def\starttransliterate {%
\bgroup\dostarttransliterate%
}
\def\stoptransliterate {%
\egroup
\transliterate{%
\getbuffer[trl]%
}%
}
\def\dostarttransliterate{%
\dostartbuffer[trl][starttransliterate][stoptransliterate]
ontext.stopplacewidefigure()
end
end
context.protect()
end
\stopluacode
\starttexdefinition stopplacesmartfigure
\scratchdimen\hsize
\hsize\maxdimen
\setbox\scratchbox\vbox{\getbuffer[smart_figure_buffer]}
\hsize\scratchdimen
\luacode{userdata.do_place_smart_figure(
stoptable
>> \stopbuffer
>>
>> \page
>> P�gina 2.
>>
>> % It works if you place a comment \start \startlocal and \stoplocal and \stop
>> % It wont work without the "%"
>>
&g
ttp://ctan.org/tex-archive/support/detex/ I have not used it, but I
think that it strips off every command \something from the tex file.
Then you can filter the file through wc to get a rough estimate of
the number of words. One approach that will work is
\startstatistics[filename][words|lett
gt;
> >>> I defined my environment in this way:
> >>>
> >>> \def\startFOO#1\stopFOO{...}
> >>>
> >>> This means TeX reads everything from \startFOO till \stopFOO and
> looks
> >>> afterwards at the replacement text.
> >>&
gure[one.tmp]}{CC}
> \stopcombination}
>
> \stoptext
>
> Then, I got a strange output(fig 1: wide blank spaces between
> columns). If I use \getbuffer instead of \externalfigure, I got
> somewhat proper output(fig 2), but the figure is located much higher
> than the matrix(h
\getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\noheaderandfooterlines
\blank[force,2*big]
\stopsetups
\startsetups chapter:after
\blank[3*big]
\stopsetups
\setuptolerance[horizontal=strict]
\setupcolors[state=start
ic
\startuseMPgraphic{somecolorcircle}
colorcircle(2cm,white,.625red,\MPcolor{Orange}) ;
\stopuseMPgraphic
\startTEXpage
\definelayer[somelayer]%[width=600pt,height=450pt]
\setlayer[somelayer]
{\useMPgraphic{somebackground}}
\setlayer[somelayer][
t; \startluacode
> > context.starttabulate()
> > context.NC()
> > context("Current page")
> > context.EQ()
> > context(structures.counters.get("realpage",1,"number"))
> > context.NC()
> > c
}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\noheaderandfooterlines
\startparagraph
% \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer]
% \ (first: \First, arg: \Arg)
\margintext{\Mark}
\setupparagraphintro[first][(first: \First, arg: \Arg)]
%\setupparagraphintro[next][(first: \First, arg: \Arg)]
\getbuffer[TestBuffer
tex code
\stopbuffer
\typebuffer
gives
\getbuffer
thereby ensuring that the documentation is showing the correct behavior. To
do this in html requires additional context run, converting the output to
png, and displaying the png (this is how the wiki treats ...
tags).
That is also something to
aps}capped 123 \addff{oldstyle}123!}\blank
% Hello there {\addff{smallcaps}capped \subff{smallcaps}normal} \blank
% \stopbuffer
%
% \typebuffer \getbuffer
4. For example, I gathered that I needed a [default] [default]
[...onum=yes...] to get oldstyle numerals by default, but what if I
w
al but probably that does not matter here.
%D
%D \startbuffer
%D $aââââââ
âââââââ$
%D \stopbuffer
%D
%D \typebuffer \blank \getbuffer \blank
\unprotect
\unexpanded\def\mathunicodesupercrap#1{\mathortext{{^{#1}}}{\high{#1}}}
\unexpanded\def\mathunicodesubcrap #1{\mathortext
rttextbox[#1]%
{\def\stoptextbox{\setlayerframed[textbox][width=6cm,align=normal,frame=off,#1]{\getbuffer[textbox]}}%
\startbuffer[textbox][starttextbox][stoptextbox]}
\starttext
\starttextbox[x=195.3pt,y=115.2pt,width=560.7pt,foregroundstyle={\switchtobodyfont[impact,48pt]},align=middle]
gbats,
unicoding=yes]
\definefontsynonym
[ZapfDingbats]
[file:uzdr.afm]
[features=dingbats]
\stopbuffer
\typebuffer \getbuffer
I tend to qualify the Dingbat font in \TEX\ distributions as rather unstable
because of name changes and them either or not being included. Therefore
it's best to
us
[demo-b][color=blue-100]} {spot color}
{\externalfigure[demo-b][color=yellow-100]} {spot color}
\stopcombination
\stopbaselinecorrection
\stopbuffer
\getbuffer \typebuffer
\stoptext
The images in the column "indexed duotone" do not show up.
Piotr
2009/7/7 Hans Hagen :
> Piotr
\startformula
\startaligned[left={\left.},right={\right\}}]
\NC (\lambda + \mu ) \cdot a \NC = \NC \lambda \cdot a + \mu \cdot a \NR
\NC \lambda ( a + b ) \NC = \NC \lambda \cdot a + \lambda \cdot b \NR
\stopaligned
\quad
\text{(distributieve eigenschappen)}
\stopformula
\stopbuffer
\starttext
Test use
ut knuth
>>
>> \stoptext
>> end example
>
> Thanks. I tried this
>
> % Every chapter starts with a quote on the LHS page:
> \setuphead
> [chapter]
> [page=,
> before={\setups[chapter:before]},
>after={\setups[chapter:after]}]
>
> \startsetu
bla
bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla
\stopbuffer
\setlayerframed
[somelayer]
[preset=lefttop,
x=1cm,
y=4cm]
[width=10cm,
size-\emwidth\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 bett
\\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
L -- \VL\LR
\HL
\stoptable}{\tt bodyfont=6pt,distance=small}
\stopcombination}
\stopbuffer
\typebuffer
\getbuffer
\stoptext
Further, I do not see the effect of \setupcaption[style=boldslanted] in
example 11.10 (pp 34-35)
Typo in the manual. It should be
\setupcaptions[style=...]
or
on
%D \getbuffer
%D \stoplinecorrection
\protect \endinput
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co
xtensions and taco/myself implement things based on that input, so i
>suggest
>> that the two of you come up with specs
>
>Context supports everything that latex array provides, with a slightly
>different syntax. Some extract from the update on myway on alignment
>(I am still working
to make a small change in
your file to make it work:
comment this line:
%\def\StopPersDatTab{\stoptables\stop}
uncomment this one:
\def\StopPersDatTab{\NC\use{2}\ReFormat[l]{}\NC\LR\stoptables\stop}
> I get no error, but
> 1. placetable ... \externalfigure[buffername.tmp] does not wo
ement\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 that ${\rm e}\sim 2.73$ is irrational.
This i
\doifelsebuffer{SectionEpigraph}
{\getbuffer[SectionEpigraph]
\resetbuffer[SectionEpigraph]}
{\donothing}
\page[yes,header,footer,right]
\stopsetups
\starttext
\completecontent
\startfrontmatter
\startchapter[title
around but
%D in a more modern way.
%D
%D \startbuffer
%D \basegrid
%D [nx=8,ny=5,
%Ddx=.5,dy=.25,
%Dunit=cm,scale=2,factor=1,
%Doffset=1ex,xstep=2,ystep=1,
%Dalign=middle,style=\tt\tx]
%D \stopbuffer
%D
%D \typebuffer
%D
%D \placefigure
%D {An example of a grid.}
%D {\getbuff
TeX.
>>
>> e.g:
>> \startbuffer
>> ...
>> \stopbuffer
>>
>> starts storing "things" in a buffer(aka. Variable). This would be simailar
>> to "command" as you can access the buffer with \getbuffer and \putbuffer.
>> Of cou
layer]
[preset=lefttop,
x=1cm,
y=4cm]
[width=10cm,
align=normal]
{\getbuffer}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 03
\start
\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 finetunin
ffer
> \definefontfeature
> [dingbats]
> [mode=base,
> goodies=dingbats,
> unicoding=yes]
>
> \definefontsynonym
> [ZapfDingbats]
> [file:uzdr.afm]
> [features=dingbats]
> \stopbuffer
>
> \typebuffer \getbuffer
>
> I tend to qualify the Dingbat
on
%D \getbuffer
%D \stoplinecorrection
\protect \endinput
Thanks,
Aditya
___
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/ma
ring in Okular/Poppler (I remember the same phenomena with early
LMTX). See the screenshot attached (math-mkiv-online.png). Is there a
newer version somewhere? Maybe it is meaningful to delete the old
version.
Best
Gerion
From 187f2bf0901d414bf55869054d29ee2c4bec1a64 Mon Sep 17 00:00:00 200
efine\noanswer
{\getbuffer[noanswer]}
% example of use:
\starttext
\startchapter[title=Questions]
\startquestion[q:1]
Prove that ${\rm e}\sim 2.73$ is irrational.
This is the first question, with its own reference, for later use.
\stopquestion
\beginanswer
\startanswer
This is the answer t
= {
["x"] = { ["x"] = 500 },
[" "] = { ["J"] = 500 }
}
}
\stopluacode
\startbuffer[Sample]
g, Jaxxb AJon
\stopbuffer
\define[2]\Test{
{\switchtobodyfont[#1]#2\getbuffer[Sample]}}
\setupb
xtract the %D lines and post-process
> them by any tool that you like. The biggest advantage of using a pdf output
> is that we can show the output of code snippets. For example,
>
> \startbuffer
> some tex code
> \stopbuffer
>
> \typebuffer
>
> gives
>
> \getbuffer
source and the documentation are in sync or not. Basically,
>>> context sources are documented as
>>>
>>> %D documentation ...
>>>
>>> \tex code
>>>
>>> %D documentation
>>>
>>> \tex code
>>>
>>> I
901 - 1000 of 1030 matches
Mail list logo