)
withstacking i
;
endfor ;
\stopuseMPgraphic
\unprotect
\tolerant\protected\def\useMPanimation[#1]#2%
{\begingroup
\scratchtoks\emptytoks
\dorecurse{10}{\etoksapp\scratchtoks{{\useMPgraphic[\c!stacking={\recurselevel}]{#2%
\expanded{\startanimation[#1]\the\scratchtoks
{\udCount}
{\useMPgraphic{foldUD}{num=\recurselevel}}
{\useMPgraphic{dotLines}{num=\recurselevel}}
%}
%\stopanimation
\stoptext
However, it draws all the figures under the \startanimation case.
There may be something I missed or there is something uncertain between
\dorecurse and \startanimation.
{n}}{%
\letmpcategoryparameter{i}\recurselevel
\begincsname\??mpgraphic#1\endcsname\empty
}%
\meta_end_graphic_group}
% so, the main thing here is that we added the loop and
% for convenience i store the current step
\protect
\starttext
\setupMPvariables
[animation]
[n=4
Dear Hans,
Your code works fine.
> \starttext
>
> \startMPcode
>numeric maxCount;
>maxCount := 10;
>setglobalmacro("MyMacro",decial maxCount);
>setglobalcount("MyCount",maxCount);
> \stopMPcode
>
>
> \dorecurse{\MyMa
initializations are run:
\starttext
\setbox\scratchbox\hbox{\startMPcode draw unitcircle; \stopMPcode}
\dorecurse{\udCount}
{\useMPgraphic{foldUD}{num=\recurselevel}}
{\useMPgraphic{dotLines}{num=\recurselevel}}
\stoptext
A run with no sideeffects in the content stream
> >setglobalcount("MyCount",maxCount);
> > \stopMPcode
> >
> >
> > \dorecurse{\MyMacro}{It is \recurselevel. }\par
> > \dorecurse{\MyCount}{It is \recurselevel. }\par
> >
> > \stoptext
>
> I applied your method to my code as following.
>
n := \MPvar{num}-1;
G := z[n-1];
grayUD(n);
\stopuseMPgraphic
\startuseMPgraphic{dotLines}{num}
numeric n;
n := \MPvar{num}-1;
linesUD(n);
\stopuseMPgraphic
\setupinteraction[state=start]
\usemodule[animation]
\starttext
\startanimation[menu=yes]
\dorecurse{7}
{
{\useMPgraphic{f
Hi,
Is there a way to deliver the value of a variable in MetaFun to ConTeXt.
For example, I want to do the following:
\starttext
\startMPcode
numeric maxCount;
% … some code
maxCount := 10;
\stopMPcode
dorecurse{maxCount}
{It is \recurselevel.\par}
\stoptext
Thank you for reading.
Best
On 6/23/2021 10:00 PM, Jeong Dal wrote:
Hi,
Is there a way to deliver the value of a variable in MetaFun to ConTeXt.
For example, I want to do the following:
\starttext
\startMPcode
numeric maxCount;
% … some code
maxCount := 10;
\stopMPcode
dorecurse{maxCount}
{It is \recurselevel.\par
;>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> I defined a macro definition in metafun, and draw figures using
> >>>> \startbuffer[] … \stopbuffer and \processMPbuffer[].
> >>>> As you see in the attached cod
> \startbuffer[] … \stopbuffer and \processMPbuffer[].
>>>> As you see in the attached code, the same macro definition is used
>>>> repeatedly by changing the numeric argument.
>>>> Is there a better way to simplify the code, for example, using \dorecurse
>>>> a
n is used
> >> repeatedly by changing the numeric argument.
> >> Is there a better way to simplify the code, for example, using \dorecurse
> >> and recurselevel?
> >
> > See attached. The main idea is to store the repetitive bits in
> > \startuseMPgraphic{..
ing
>> \startbuffer[] … \stopbuffer and \processMPbuffer[].
>> As you see in the attached code, the same macro definition is used
>> repeatedly by changing the numeric argument.
>> Is there a better way to simplify the code, for example, using \dorecurse
>> and recurse
the numeric argument.
> Is there a better way to simplify the code, for example, using \dorecurse and
> recurselevel?
See attached. The main idea is to store the repetitive bits in
\startuseMPgraphic{...} and then reuse them using \includeMPgraphic.
Aditya
mp-test.te
, using \dorecurse and
recurselevel?
Thank you for reading.
Best regards,
Dalyoung
\startbuffer[UDBasic]
pair A,B,C,D;
pair E, F, G, H;
path p,q;
numeric ang,maxNum;
u:=1in;
A=(.95*TextWidth,u); B=(0,u); C=(0,0); D=(.95*TextWidth,0);
p := A--B--C--D;
q := (TextWidth,1.5u)--(0,1.5u
ch, width}]
>> \dorecurse{25}{\startxrow
>>\startxcell \Characters{\recurselevel}\stopxcell
>>\startxcell \characters{\recurselevel}\stopxcell
>> \stopxrow}
>>\stopembeddedxtable
>
> \item
>\startfixed
> % put your tab
]
\item a
\item
\startembeddedxtable[option={stretch, width}]
\dorecurse{25}{\startxrow
\startxcell \Characters{\recurselevel}\stopxcell
\startxcell \characters{\recurselevel}\stopxcell
\stopxrow}
\stopembeddedxtable
\item
\startfixed
% put your table
={stretch, width}]
\dorecurse{25}{\startxrow
\startxcell \Characters{\recurselevel}\stopxcell
\startxcell \characters{\recurselevel}\stopxcell
\stopxrow}
\stopembeddedxtable
\item b
\stopitemize
\stoptext
And I get two issues:
1. Item number in 2 is placed on the bottom
Dear list,
I have the following sample:
\starttext
\startitemize
\dorecurse{15}
{\item[\recurselevel]whatever}
\stopitemize
As exposed in \in{item}[9]...
\stoptext
How can I add style to the item reference (9)?
I mean, how can I get “As exposed in item {\em 9}”?
Many thanks
artxcell More Header \stopxcell
\stopxrow
\stopxtablehead
\startxtablebody
\dorecurse{10} {
\startxrow
\startxcell
{\bf (\recurselevel) some tale:}
\startitemize
\item a quick
\item brown fox
\item jumps over
\item the lazy dog
\stopitemize
\stopxcell
\startxcell
{\bf and a fact:}
\startitemize
\item the
xt
\completecontent
\dorecurse{3}
{\startpart
\edef\pn{\recurselevel}
\dorecurse{30}
{\startchapter\markpage[start-\pn.\recurselevel]
\dorecurse{\randomnumber{0}{30}}
{\input knuth\par}
\markpage[stop-\pn.\recurselevel]\stopchapter}
\stoppart}
\stoptext
Th
{10}
{\startchapter\markpage[start-\recurselevel]
\dorecurse{\randomnumber{0}{1000}}
{\input knuth\par}
\markpage[stop-\recurselevel]\stopchapter}
\stoptext
"start-" and "stop-" could define page ranges when the same identifier
is used.
The select style
{\startchapter\markpage[start-\recurselevel]
\dorecurse{\randomnumber{0}{1000}}
{\input knuth\par}
\markpage[stop-\recurselevel]\stopchapter}
\stoptext
"start-" and "stop-" could define page ranges when the same identifier
is used.
The select style could
only use here
because I need a centered table. I can set the height of the page manually, but
the whole purpose of using TEXpage was to avoid that.
(2) \recurselevel is always zero in the output. Normally, it counts the
iterations. This issue is not relevant for my actual use-case, but I found
. It's probably related to \placetable which I only use here
because I need a centered table. I can set the height of the page manually, but
the whole purpose of using TEXpage was to avoid that.
(2) \recurselevel is always zero in the output. Normally, it counts the
iterations. This issue
On 2/24/21 7:44 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 24.02.2021 um 19:23:
>> [...]
>>\starttext
>> \startTEXpage[offset=1em]
>>\startoverlay
>> \dostepwiserecurse{25}{95}{5}
>>{{\recurselevel\ }}
>
Pablo Rodriguez schrieb am 24.02.2021 um 19:23:
Dear list,
I have the following sample:
\starttext
\startTEXpage[offset=1em]
\startoverlay
\dostepwiserecurse{25}{95}{5}
{{\recurselevel\ }}
\stopoverlay
\stopTEXpage
\stoptext
Which is the right
Dear list,
I have the following sample:
\starttext
\startTEXpage[offset=1em]
\startoverlay
\dostepwiserecurse{25}{95}{5}
{{\recurselevel\ }}
\stopoverlay
\stopTEXpage
\stoptext
Which is the right way to loop an overlay?
Many thanks for your help
\dorecurse{8}{Test: \recurselevel \page}
\stoptext
Works in mkiv. With lmtx, I get
tex error > tex error on line 7 in file ./test.tex: You can't use
'integer 340' in internal vertical mode
I have no clue because it just works here. I uploaded a new version (no
real changed in that a
On 20.02.21 17:12, Hans Hagen wrote:
hm, but it still makes sense to know if something fails .. keep en eye
on it
I just stumbled upon the same error. Arranging is broken in lmtx. MWE:
\setuppapersize[A6][A4]
\setuparranging[2*4]
\starttext
\dorecurse{8}{Test: \recurselevel \page
>
> \definefontsynonym
>[AnotherFontMain]
>[file:texgyrepagellaregular]
>[fallbacks=AnotherFontFallback]
>
> \definefont [AnotherFont] [AnotherFontMain*default]
>
> \starttext
>
> \dorecurse{26}{\convertnumber{A}{\recurselevel}\space}\par
> \dorecurse{
]
\definefont [AnotherFont] [AnotherFontMain*default]
\starttext
\dorecurse{26}{\convertnumber{A}{\recurselevel}\space}\par
\dorecurse{26}{\convertnumber{a}{\recurselevel}\space}
\AnotherFont
\dorecurse{26}{\convertnumber{A}{\recurselevel}\space}\par
\dorecurse{26}{\convertnumber{a}{\recurselevel
Hans,
rscale doesn’t work with latest from 2021.01.24 16:07:
\definefontfamily[mainface][rm][Latin Modern Serif]
\definefontfamily[mainface][tt][Latin Modern Sans][rscale=2]
\setupbodyfont[mainface, 60pt]
\starttext
\dorecurse{26}
{\character{\recurselevel}{\tt\character
Dear list,
I have the following sample:
\starttext
\startitemize[n][margin=yes]
\item a
\item
\startembeddedxtable[option={stretch, width}]
\dorecurse{25}{\startxrow
\startxcell \Characters{\recurselevel}\stopxcell
\startxcell \characters{\recurselevel}\stopxcell
: Re: [NTG-context] Randomize order of blocks
> Following up my previous message, here is an example:
>
> %% begin shuffled list of exercises
> \setuprandomize[2021]
>
> \startluacode
> function shuffle(tableau)
> local maxsize, t, tt
>
> "-2x\\sin(x^2)",
> "x\\cos(x) + \\sin(x)",
> "1 + \\tan(x)^2",
> "3x^2 - 6x",
> "\\frac{-2x}{(1 + x^2)^2}",
> "\\frac{
"\\frac{\\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 $\cldcontext{ListOfNames[Shuffl
introduced ... thanks for testing.
Many thanks for the new upload, Hans.
Even headings and lists are indented now:
\showframe\showgrid
\setupindenting[yes, always, big]
\starttext
\placelist[section]
\dorecurse{5}
{\section{Section \recurselevel} \input{zapf}}
\stoptext
I
for the new upload, Hans.
Even headings and lists are indented now:
\showframe\showgrid
\setupindenting[yes, always, big]
\starttext
\placelist[section]
\dorecurse{5}
{\section{Section \recurselevel} \input{zapf}}
\stoptext
I think this may be a bug.
Minimal example
Even headings and lists are indented now:
\showframe\showgrid
\setupindenting[yes, always, big]
\starttext
\placelist[section]
\dorecurse{5}
{\section{Section \recurselevel} \input{zapf}}
\stoptext
I think this may be a bug.
Pablo
--
http
after the next chapter.
> I guess the problem is that there’s no (text) content, but \par and \strut
> didn’t help.
>
>
Add *\dontleavehmode*\index{Something}\index{A\recurselevel} before \index
command.
Regards,
Jano
_
}{%
\startchapter[title={\recurselevel}]
\dorecurse{5}{%
\startsection[title={\fakewords{3}{5}}]
\startcolor[white] a \stopcolor
\index{Something}\index{A\recurselevel}
}
\stopchapter
}
\completeindex
\stoptext
Best regards: OK
> On 31 Oct 2020, at 17:56, Henning Hraban Ramm wrote:
>
>
didn’t help.
The MWE shows that index entries in empty sections are ignored, i.e.
“Something” is supposedly only on p.6:
\usemodule[visual]
\starttext
\dorecurse{5}{%
\startchapter[title={\recurselevel}]
\dorecurse{5}{%
\startsection[title={\fakewords{3}{5}}]
\index{Something}\index
ce TeXpage with a
> "page"
> >> layout.
> >>
> >> \startlayout[page]
> >> \dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]}
> >> \stoplayout
> >
> > Thanks for the comment (also I didn't know about \startla
/context-blog/post/include-multi-page-pdf/
When both document have the same size you can replace TeXpage with a "page"
layout.
\startlayout[page]
\dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]}
\stoplayout
Thanks for the comment (also I didn't know about \s
ttps://adityam.github.io/context-blog/post/include-multi-page-pdf/
>
> When both document have the same size you can replace TeXpage with a "page"
> layout.
>
> \startlayout[page]
> \dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]}
> \stoplayout
Tha
[location=default]
\starttext
...
\page
\getfiguredimensions[texit.pdf]
\noheaderandfooterlines
\dorecurse{\noffigurepages}
{\vbox to \vsize
{\vskip-\dimexpr\headerheight+\topspace\relax
\hbox to \hsize
{\hskip-\backspace
\externalfigure[texit.pdf][page=\recurselevel
\starttabulate[|c|]
\dorecurse{9}{\expanded{\NC \recurselevel \NC\NR}}
\stoptabulate
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Hi,
I tried to make a table using \dorecurse or \doloop as in the example.
There is no error but \recurselevel is not increased, all are 0 in the first
example and only two rows are created with the \recurselevel 0 and 2 only in
the second example.
Does the tabulate cause the error?
What
On Mon, 21 Sep 2020, Wolfgang Schuster wrote:
> Aditya Mahajan schrieb am 21.09.2020 um 16:35:
> > On Mon, 21 Sep 2020, Jeong Dal wrote:
> >
> > > Hi,
> > >
> > > I tried to make a table using \dorecurse or \doloop as in the example.
> > > T
Hi Dalyoung,
I don't know why \recurselevel returns 0 inside a tabulate environment, but the
following works fine:
\starttext
\startxtable[frame=off,bottomframe=on,width=1cm,align={middle,lohi}]
\startxrow\startxcell \stopxcell\stopxrow % just to have a line on the top of
the first row
Aditya Mahajan schrieb am 21.09.2020 um 16:35:
On Mon, 21 Sep 2020, Jeong Dal wrote:
Hi,
I tried to make a table using \dorecurse or \doloop as in the example.
There is no error but \recurselevel is not increased, all are 0 in the first
example and only two rows are created
Hi,
Using ##1 instead of \recurselevel makes it work in this specific case if
you want a quick and dirty solution. It seems to be a thing with nesting,
as using #1 complains. I'd prefer the solutions as shown by Aditya:
constructing tables via Lua, etc.
Regards,
Jairo
El lun., 21 de sep. de
On Mon, 21 Sep 2020, Jeong Dal wrote:
> Hi,
>
> I tried to make a table using \dorecurse or \doloop as in the example.
> There is no error but \recurselevel is not increased, all are 0 in the first
> example and only two rows are created with the \recurselevel 0 and 2 only i
]
\recurselevel
\stopmakeup}
\stoptext
\stopbuffer
\savebuffer[abcde][singular.tex]
\executesystemcommand{context --purgeall
--result=\jobname-singular.pdf \jobname-singular.tex}
\ctxlua{os.remove(tex.jobname.."-singular.tex")}
\stopmode
\st
g
>[alternative={singlesided,doublesided}]
>
> %\setuppagenumbering
> % [alternative=singlesided]
>
> %\setuppagenumbering
> % [alternative=doublesided]
>
> \setuphead
>[chapter]
>[page=right]
>
> \showframe
>
> \starttext
>
> \do
he second
and third pagenumbering setup-
\setuppagenumbering
[alternative={singlesided,doublesided}]
%\setuppagenumbering
% [alternative=singlesided]
%\setuppagenumbering
% [alternative=doublesided]
\setuphead
[chapter]
[page=right]
\showframe
\starttext
\dorecurse{3}
{
=chapterheader,
footer=chapterfooter]
\starttext
\dorecurse{10}
{\expanded{\chapter{Chapter \recurselevel}}
\dorecurse{\numexpr2*\recurselevel\relax}{\samplefile{knuth}}}
\stoptext
end example
Wolfgang
Thank you Wolfgang!
I tried to change your code from chapters to sections
% vertical position
>[This is a chapter page] % content
>
> \definetext
>[chapterfooter]
>[footer]
>[pagenumber]
>
> \setuphead
>[chapter]
>[header=chapterheader,
> footer=chapterfooter]
>
> \starttext
>
> \dorecurse{
=chapterfooter]
\starttext
\dorecurse{10}
{\expanded{\chapter{Chapter \recurselevel}}
\dorecurse{\numexpr2*\recurselevel\relax}{\samplefile{knuth}}}
\stoptext
end example
Wolfgang
___
If your question
duce it with a simple example like
>> \setupalign[hanging]
>> \starttext
>> \placeregister[index][criterium=all]
>> \dorecurse{1}{\par\strut\index{Test\recurselevel}}
>> \stoptext
>> \recurselevel is empty in that context, \expanded didn’t help, but I guess
&g
need to trace (with a mwe)
I can’t reproduce it with a simple example like
\setupalign[hanging]
\starttext
\placeregister[index][criterium=all]
\dorecurse{1}{\par\strut\index{Test\recurselevel}}
\stoptext
\recurselevel is empty in that context, \expanded didn’t help, but I guess we
][]
[%
{\framed[
align={flushright,bottom},
frame=off,
height=\textheight,
% width=\ColWidth,
]{%
\strut\vfill\placenotes[footnote]}}%
]
\starttext
\dorecurse{6}{\input ward\expanded{\footnote{This is a footnote
\recurselevel}} }
test
\dorecurse{10
onscreen[option=max, delay=5]
\setuppagetransitions[random]
\setupbodyfont[50pt]
\starttext
\dorecurse{2}{%
\startmakeup[page][style=\bf\ss, align=center]
\recurselevel
\stopmakeup%
}
\stoptext
The output PDF document may contain a /Page object such as:
6 0 ob
\setuppagetransitions[random]
\setupbodyfont[50pt]
\starttext
\dorecurse{25}{%
\startmakeup[page][style=\bf\ss, align=center]
\recurselevel
\stopmakeup%
}
\stoptext
Just in case it helps,
panded twice. This interferes badly with the things I want to happen.
>
> No, the content is stored in a box and placed later.
>
> \definecounter[test]
>
> \starttext
>
> \dorecurse{10}
> {\inleft{\incrementedcounter[test]}Line \recurselevel\par}
>
> \st
is that macro expansions inside the {}'s
are expanded twice. This interferes badly with the things I want to happen.
No, the content is stored in a box and placed later.
\definecounter[test]
\starttext
\dorecurse{10}
{\inleft{\incrementedcounter[test]}Line \recurselevel\par}
\stoptext
Tracing
,
for everything else you need a multi pass mechanism (save the page
number in the first run and provide it in the second).
\setuppapersize[A6]
\definepagestate[pagenumber]
\starttext
\subject{\tex{pagenumber}}
\dorecurse{50}{\twodigits{\recurselevel}: \pagenumber\par}
\page
\subject{\tex
On 6/14/2020 11:41 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\starttext
\dorecurse{25}{\recurselevel\par}
\doloopoverstring{a,b,c}{\recursestring}
}
\stoptext
Both LMTX and MkIV complain about \recursestring for being undefined.
I wonder
ld be passed automatically to a
\filterpages command.
A sample that generates something similar:
\setuppapersize[A8]
\setupinteraction[state=start]
\starttext
\dorecurse{5}{\part{\romannumerals{\recurselevel}}
\dorecurse{15}{\chapter{\recurselevel}
\comment
[title=whatever,
Dear list,
I have the following sample:
\starttext
\dorecurse{25}{\recurselevel\par}
\doloopoverstring{a,b,c}{\recursestring}
}
\stoptext
Both LMTX and MkIV complain about \recursestring for being undefined.
I wonder whether this is inteded or it is a bug.
Many thanks
t
%\startplacefigure[]
\startanimation[menu=yes]
\dorecurse{10}{
\useMPgraphic{inversionPoint}{n=\recurselevel}
}
\stopanimation
%\stopplacefigure
\stoptext
Also see my simple wrapper around this:
https://adityam.github.io/context-blog/post/metapos
the same size for each frame, otherwise your
> graphic jumps around.
>
> When you use \recurselevel you have to use this:
>
> \startanimation[menu=yes]
> \dorecurse{10}
>{\startexpanded
> \startframe
> \useMPgraphic{inversionPoint}{n=\recurselevel}%
the boundingbox to the same size for each frame, otherwise
your graphic jumps around.
When you use \recurselevel you have to use this:
\startanimation[menu=yes]
\dorecurse{10}
{\startexpanded
\startframe
\useMPgraphic{inversionPoint}{n=\recurselevel}%
\stopframe
rtanimation[menu=yes]
\dorecurse{10}{
\useMPgraphic{inversionPoint}{n=\recurselevel}
}
\stopanimation
%\stopplacefigure
\stoptext
___
If your question is of interest to others as well, please add an entry to
\setupbodyfont[sans]
\starttext
\dorecurse{5}{%
\recurselevel\footnote{\recurselevel}\page}
\stoptext
I use LuaTeX 2.05 20200229 + ConTeXt MkIV 2020.03.10 14:52, but I
remember that I built mupdf from git sources (so my version is later
than 1.16.1 [to be released yet]).
> The
for your help,
Pablo
> \installshipoutmethod{savepages}
> {\dowithnextbox
> {\invokepagehandler{normal}{\copy\nextbox}%
> \putboxincache{savedpages}{\number\realpageno}\nextbox}
>\hbox}
>
> \setuppaper[method=savepages]
>
> \starttext
>
> \dorecurse
he stored box afterwards.
\installshipoutmethod{savepages}
{\dowithnextbox
{\invokepagehandler{normal}{\copy\nextbox}%
\putboxincache{savedpages}{\number\realpageno}\nextbox}
\hbox}
\setuppaper[method=savepages]
\starttext
\dorecurse{8}
{\expanded{\chapter{Chapter \recurselevel}}
{\noffigurepages}
{\externalfigure[a-test.pdf][page=\recurselevel]}
\stoptext
But after a closer inspection, the docuemnts are properly malformed.
They include some top and left extra margins.
Is there any way to remote those extra margins? (Offset doesn’t seem to
work here.)
Many thanks
rm]
[\DesiredFont]
[features={italic}]
\startTEXpage[offset=1em]
\dorecurse{26}
{\switchtobodyfont[mainface\DesiredFont]%
[{\em \recurselevel}]
[{\em \characters{\recurselevel}}]
[{\em \Characters{\recurselevel}}]
({\em \characters
]
\startTEXpage[offset=1em]
\dorecurse{26}
{\setupbodyfont[mainface]%
[{\em \recurselevel}]
[{\em \characters{\recurselevel}}]
[{\em \Characters{\recurselevel}}]
({\em \characters{\recurselevel}})
({\em \Characters{\recurselevel
\recurselevel}]
[{\em \characters{\recurselevel}}]
[{\em \Characters{\recurselevel}}]
({\em \characters{\recurselevel}})
({\em \Characters{\recurselevel}})
\hfill
\setupbodyfont[mainface_corrected]
[{\em \recurselevel
mation}\def\use_meta_animation[#1]#2%{\edef\c_MP_animation_frames{\getvalue{\MPanimationvariables#2:n}}%\startanimation[#1]\dorecurse{\c_MP_animation_frames}{\expanded{\frame{\useMPgraphic{animation:#2}{n=\c_MP_animation_frames,t=\recurselevel\stopanimation}\protect|
>> In the code, t
{animation:#2}{n=\c_MP_animation_frames,t=\recurselevel\stopanimation}\protect|
In the code, there are many “”.(\MPanimationvariables#1,
{\??mpgraphic animation:#1})
I wonder it is correct or not.
Would you please check it?
these ?? etc indicate (protected) namespaces so it's correct
ion[#1]
\dorecurse{\c_MP_animation_frames}
{\expanded{\frame{\useMPgraphic{animation:#2}{n=\c_MP_animation_frames,t=\recurselevel
\stopanimation}
\protect
In the code, there are many “”.(\MPanimationvariables#1, {\??mpgraphic
animation:#1})
I wonder it is c
ei]
>> \fakewords{30}{50}
>> \column
>> \fakewords{30}{50}
>> \column
>> \fakewords{30}{50}
>> \stopcolumnset
>>
>> \stoptext
Thank you, but it doesn’t help:
tex error > tex error on line 12 in file context-tests/columnsettest.tex:
! Missing number
]
\HL
\VL \color[white]{\bf Table NAME} \CM[black] \VL\NR
\HL
\VL \VL \bf Description: \VL\NR
\HL
\VL \VL
\startitemize
\dorecurse{60}{\item Item \recurselevel}
\stopitemize
\VL\NR
\HL
\stoptabulate
\stoptext
white]{\bf Table NAME} \CM[black] \VL\NR
> \HL
> \VL \VL \bf Description: \VL\NR
> \HL
> \VL \VL
> \startitemize
> \dorecurse{60}{\item Item \recurselevel}
> \stopitemize
> \VL\NR
> \HL
> \stoptabulate
> \stoptext
>
\dorecurse{60}{\item Item \recurselevel}
\stopitemize
\VL\NR
\HL
\stoptabulate
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
}]
\setuplist[section][width=10mm, style=,textcommand={\ss }]
\showframe
\startfrontmatter
\completecontent
\page[empty]
\stopfrontmatter
\startbodymatter
\dorecurse{9}
{\chapter{Ch \recurselevel}
\dorecurse{8}
{\section{Section \recurselevel}}
}
\stopbodymatter
%\setupnote[footnote][way=bychapter,location=none]
\setupfootnotes[way=bychapter,location=none]
\starttext
\dorecurse{10}
{\expanded{\chapter{Chapter \recurselevel}}
\dorecurse{10}{\input tufte\footnote{\input ward }\par}
\placenotes[footnote]}
\stoptext
Wolfgang
Robert Zydenbos
– but I have so many notes
>> in a chapter that the frame runs off the last page.
>>
>> Is there any way to let the endnotes run on naturally to the next page?
>
> Hi Robert,
>
> I’m not sure I understand your issue. At least, I’m not able to
> reproduce it:
he endnotes run on naturally to the next page?
Hi Robert,
I’m not sure I understand your issue. At least, I’m not able to
reproduce it:
\starttext
\dorecurse{500}{\recurselevel\endnote{This is an endnote.} }
\placenotes[endnote]
\stoptext
Could you modify the sample to reproduce you
t; of the header?
Hi Huseyin,
this should work:
\setuppagenumbering[alternative=doublesided, location=]
\setupheadertexts[center]
%~ \setupheadertexts[\doifoddpageelse{odd}{even}]
\starttext
\dorecurse{10}{\Romannumerals{\recurselevel}\page}
\stoptext
Uncomment the commented line
]
\setupinteraction[state=start]
\setupinteractionscreen[option={portrait, paper}, print=pages]
\starttext
\getfiguredimensions[i-context.pdf]
\dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]}
\startmarkpages[page]
\dostepwiserecurse{100}{300}{1
pinteraction[state=start]
> \setupinteractionscreen[option={portrait, paper}, print=pages]
> \starttext
> \getfiguredimensions[i-context.pdf]
> \dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]}
> \startmarkpages[page]
> \dostep
pdf]
\dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]}
\startmarkpages[page]
\dostepwiserecurse{100}{300}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]}
\stopmarkpages
\dostepwiserecurse{301}{\noffigurepages}{1}{\exte
>
> \starttext
>
> \dorecurse{3}
> {\expanded{\part{Rubrik \recurselevel}}
>\dorecurse{5}
> {\expanded{\chapter{Kapitel \recurselevel}}
> \dorecurse{10}{\input{lorem}\par}}}
>
> \stoptext
>
> Wolfgang
> _
ecurse{3}
{\expanded{\part{Rubrik \recurselevel}}
\dorecurse{5}
{\expanded{\chapter{Kapitel \recurselevel}}
\dorecurse{10}{\input{lorem}\par}}}
\stoptext
Wolfgang
___
If your question is of interest to
g][header][chapter]
>
> \setuphead[chapter][header=henning]
>
> \starttext
>
> \dorecurse{5}
> {\expanded{\chapter{Kapitel \recurselevel}}
>\dorecurse{10}{\input{lorem}\par}}
>
> \stoptext
>
> Wolfgang
>
>> Henning Hraban Ramm 20. Februar 20
101 - 200 of 853 matches
Mail list logo