}]
\starttext
\switchtobodyfont[face1]\dorecurse{100}{a b c }
\switchtobodyfont[face2]\dorecurse{100}{a b c }
\switchtobodyfont[palatino]\dorecurse{100}{a b c }
\stoptext
\setupbodyfont[palatino] or \switchtobodyfont[palatino] don’t seem to
work at all.
Results are different
Sylvain Hubert schrieb am 08.11.2020 um 03:43:
Dear List,
The first paragraph of the following example is not indented.
\setupindenting[yes,first,4cm]
\starttext
\section{a}
\dorecurse{84}{abc }
\dorecurse{84}{abc }
\stoptext
Does anyone know how to actually
e
> }{/\lastcounter[userpage]}]
>
> but \lastcounter[userpage] results in empty string.
Hi Sylvain,
\setupfootertexts[\pagenumber/\lastpagenumber]
\starttext
\dorecurse{25}{\null\page}
\stoptext
I never used you approach with \setuppagenubering (all being said).
This migh
Dear List,
The first paragraph of the following example is not indented.
\setupindenting[yes,first,4cm]
\starttext
\section{a}
\dorecurse{84}{abc }
\dorecurse{84}{abc }
\stoptext
Does anyone know how to actually get the first paragraph indented?
Thanks!
Best
,
effect={width=1.0}}}]
\starttext
\startitemize[n, packed]
\item \switchtobodyfont[face1]\it\dorecurse{100}{a b c }
\item \switchtobodyfont[face2]\it\dorecurse{100}{a b c }
\item \switchtobodyfont[face3]\it\dorecurse{100}{a b c }
\stopitemize
\stoptext
Could someone explain
ald}\index{Dom}\index{Dunno}
\page
\stopregister[index][test]
\input darwin\index{Darwin}
\page
\dorecurse{5}{
\input knuth
\index{Knuth}\index{Donald}\index{Dixit}
\page\index{Knothing}
}
\stoptext
___
If your qu
Hi Hraban,
Maybe you can add some « virtual » text in the section with an invisible color
such as
\startcolor[white] a \stopcolor
I don't know whether the following can solve your problem, but the entries of
the index appear correctly:
\usemodule[visual]
\starttext
\dorecurse{5
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
Thanks a lot for this hint, Hans!
On 15.10.20 09:15, Hans Hagen wrote:
> \starttext
>
> \setupbodyfont[plex,10pt]
> \setupalign[tolerant,stretch]
> \useMPlibrary[dum]
>
> \startpagecolumns[n=2]
> \dorecurse {10} {
> \startplac
Am 15.10.20 um 09:15 schrieb Hans Hagen:
experimental (already there for a while but i need top pickup on it):
\starttext
\setupbodyfont[plex,10pt]
\setupalign[tolerant,stretch]
\useMPlibrary[dum]
\startpagecolumns[n=2]
\dorecurse {10} {
\startplacefigure[location={left,none
]
\useMPlibrary[dum]
\startpagecolumns[n=2]
\dorecurse {10} {
\startplacefigure[location={left,none}]
\externalfigure[dummy][width=3em]
\stopplacefigure
\dorecurse {4} {
\samplefile{ward}\par
}
}
\stoppagecolumns
\stoptext
don't tell
]
\starttext
\dorecurse{25}{\input{zapf}\input{cuomo}}
\stoptext
On page 36 (https://pdf.ousia.tk/wrong-font-expansion.pdf#page=36),
lines 4, 11 and 20 are wrong.
Current LMTX (LuaTeX 2.07 20200920 + ConTeXt MkIV 2020.09.20 23:02) has
the issue, while MkIV (LuaTeX 1.11 7226 + ConTeXt MkIV
Dear list,
I have the following sample:
\showframe\showgrid
\setuplayout[width=middle]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
[features={default, quality}]
\setupbodyfont[mainface, 20pt]
\setupalign[hanging, hz]
\starttext
\dorecurse{25}{\input{zapf}\input{cuomo
\bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
\eTABLEbody
\eTABLE
\stopplacetable
\stoptext
So, the caption appears on each page, and the footnote is attached
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
\eTABLEbody
\eTABLE
\stopplacetable
\stoptext
So, the caption appears on each page, and the footnote is attached to
the last caption. Ideally, the footnote
.
\starttext
\bTABLE[split=yes]
\bTABLEhead
\bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
\eTABLEbody
\eTABLE
\stoptext
Wolfgang
.)
```
\setuppapersize[A6][A6]
\starttext
\startpostponingnotes
\bTABLE[split=yes]
\dorecurse{20}{
\bTR \bTD a\footnote{A footnote} \eTD \eTR
}
\eTABLE
\stoppostponingnotes
\stoptext
```
Is there anything else I can try? Or is that simply not possible? The
problem is that I have a table where it is really
[split=yes]
\setupTABLE [start] [spaceinbetween=25pt]
Thanks. What exactly does [start] do?
\starttext
\bTABLE
\dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR}
\eTABLE
Try to avoid blank lines in tables, it shouldn't matter in this case
but in certain cases this can lead
]
\starttext
\bTABLE
\dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR}
\eTABLE
Try to avoid blank lines in tables, it shouldn't matter in this case but
in certain cases this can lead to unwanted whitespace.
Wolfgang
Hi,
spaceinbetween seems to have no effect in this example:
===
\setupTABLE [spaceinbetween=25pt,split=yes]
\starttext
\bTABLE
\dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR}
\eTABLE
\stoptext
==
What am I missing?
Best,
Denis
> will see that it happens in the first page(s).
>
> The problem is that you are not giving ConTeXt a fair chance to update the
> page number,
> because a series of \vbox to \paperheight {}’s cannot cleanly be broken
> into separate
> pages. The solution is to use
>
> \
separate
pages. The solution is to use
\dorecurse{\noffigurepages}
{\vbox to \paperheight
{\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax
\hbox to \hsize
{\hskip-\backspace
\layeredtext[]
, method=overlay]{}
\setcounter[userpage][101]
\noheaderandfooterlines
\getfiguredimensions[HannahBW.pdf]
\dorecurse{\noffigurepages}
{\vbox to \paperheight
{\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax
\hbox to \hsize
{\hskip-\backspace
\layeredtext
After further testing guided by Hans’ suggestion, I now have
\setupexternalfigures[location=default]
\setuplayer[preset=rightbottom, method=overlay]{}
\setuppagenumbering[color=darkmagenta]
\starttext
\getfiguredimensions[HannahBW.pdf]
\dorecurse{\noffigurepages}{
\startTEXpage[pagestate=start
/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
I need is: sausage 1-2i
Is this possible?
MWE
\defineprocessor[important][right={\it{i}}]
\starttext
\samplefile{knuth}
\startregister[index][sausage][important->sausage]{sausage}
\dorecurse{6}{\samplefile{knuth}}
\stopregister[index][sausage]{sausage}
\samplefile{knuth}
\page
\placein
>width=1\textwidth, height=1\textheight,
>before={\setuppapersize[rotate]}] % there's no before
> in setupfloat
> \setupcaption[bigfigure][location={opposite}] % there's no opposite location
> in setupcaption
>
> \starttext
\starttext
\showframe
\dorecurse{2}{\input{knuth}}
\setuppapersize[rotate] % this doesn't work because is in same page
\startplacebigfigure[title={A cow}]{\externalfigure[cow]}\stopplacebigfigure
\setuppapersize[default]
\dorecurse{2}{\input{knuth}}
\stoptext
Dear Aditya, Jairo, Wolfgang, and Otared,
Thank you for the replies and explanations.
I also read the blog.
In this case, using '##1’ is an easy way.
For more complex table, I may use luacode.
Thanks again.
Best regards,
Dalyoung
\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 21 Sep 2020, at 16:42, Aditya Mahajan wrote:
>
> On Mon, 21 Sep 2020, Wolfgang Schuster wrote:
>
>> Aditya Mahajan schrieb am 21.09.2020 um 16:35:
>>> […]
>
> You gave the same reply 11 years ago :-) which is also listed in the blog
> post.
… Which shows that some things don't change
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
\dorecurse{8}
{\startxrow\startxcell \recurselevel \stopxcell\stopxrow}
\stopxtable
\stoptext
Best regards: Otared K.
> On 21 Sep 2020, at 16:07, Jeong Dal wrote:
>
> Hi,
>
> I tried to make a table using \dorecurse or \doloop as in the example.
> There is no error
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
2020 a la(s) 09:16, Jeong Dal (hak...@me.com)
escribió:
> 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
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
Hi,
I'm trying to typeset a parallel text that should appear in columns. The
sources are XML, and there I have to use tables for this. So, I thought
the easiest way is to use extreme tables for this:
=
\starttext
\dorecurse{3}{\input knuth}
\startxtable[split=yes
On 9/17/20 3:23 PM, Hans Hagen wrote:
\setuplayout[width=16cm]
\starttext
\enabledirectives[tabulate.linenumbers]
\showframe
\starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]
\NC
\startlinenumbering
\dorecurse{10}{\input ward \par
\startlinenumbering
\dorecurse{10}{\input ward \par}
\stoplinenumbering
\NC
\dorecurse{3}{\input tufte \par}
\NC \NR
\stoptabulate
\disabledirectives[tabulate.linenumbers]
\starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]
\NC
\startlinenumbering
]
\setupcolumnset[example:6][width=6cm]
\starttext
\startcolumnset[example]
\dorecurse{5}{
\dorecurse{3}{\fakewords{10}{15}\par}
\column[yes]
}
\stopcolumnset
\stoptext
ends in "tex error > tex error on line 23 in file /tmp/test.tex: !
Undefined control sequence
So I'm a bit confus
,grid=yes]
\showframe
\usemodule[newcolumnsets]
\definecolumnset[colset][n=2]
\starttext
\startcolumnset[colset]
\section{One section}
\dorecurse{16}{\input ward \par}
\placefigure[page]{Legend. \input ward
}{\externalfigure[dummy][width=\makeupwidth,height=15cm]}
\section{Two section
]
\setuplabeltext
[en]
[chapter=Chapter ,
appendix=Appendix ]
\starttext
\startbodymatter
\stopbodymatter
\dorecurse{5}{\chapter{Chapter #1}}
\startappendices
\dorecurse{5}{\chapter{Chapter #1}}
\stopappendices
\stoptext
Wolfgang
caption[topfigure][
> number=no,
> location=bottom,
> style={\switchtobodyfont[8bp]},
> ]
> \starttext
> \dorecurse{4}{\samplefile{knuth}}
>
> \startplacetopfigure[title={\samplefile{ward}}]
> \blackrule[width=6.5in,height=2in,color=transparentred]
> \stopplacetopfigure
[topfigure][topfigures][figure]
\setupfloat[topfigure][
default={margin},
location=flushleft,
maxwidth=6.5in,
]
\setupcaption[topfigure][
number=no,
location=bottom,
style={\switchtobodyfont[8bp]},
]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacetopfigure[title={\samplefile{ward
at the
bottom of the page? I hope what I ask makes sense.
/Mikael
\useMPlibrary[dum]
\definefloat[bottomfigure][bottomfigures][figure]
\setupfloat[bottomfigure][default=bottom]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacebottomfigure
\externalfigure[dummy][width=\textwidth
():
>
> \starttext
>
> \showframe
>
> \enabletrackers[math.toysymbol]
>
> \definemathtoysymbol[Plus] [bin][+]
> \definemathtoysymbol[Minus][bin][-]
> \definemathtoysymbol[Equal][rel][=]
>
> $\dorecurse{199} {
> x_{#1} \ifodd#1\relax\Plus\else\Minus\fi
> }
\showframe
\enabletrackers[math.toysymbol]
\definemathtoysymbol[Plus] [bin][+]
\definemathtoysymbol[Minus][bin][-]
\definemathtoysymbol[Equal][rel][=]
$\dorecurse{199} {
x_{#1} \ifodd#1\relax\Plus\else\Minus\fi
} x_{200} \Equal n$
\blank
\dorecurse{10} {
test \discretionary
Dear list,
I have the following sample:
\startmode[*first]
\startbuffer[abcde]
\setuppapersize[A5, landscape]
\setupbodyfont[100pt]
\starttext
\dorecurse{158}{%
\startmakeup[page][style=\bf\ss, align=center, pagestatus=start
influence this behaviour. Doesn’t seem to be grid or font related.
Any hint where I could look?
Hraban
\usemodule[visual]
\starttext
\starttabulate[|p(0.33\textwidth)|p|]
\dorecurse{100}{\NC:\fakewords{1}{15}–\NC–\fakewords{1}{20}.\NC\NR}
\stoptabulate
\stoptext
][criterium=all]
\startregister[index][test]{Knuth}
\input tufte
\index{Donald}
\page
\input knuth
\index{Donald}
\page
\stopregister[index][test]
\input darwin
\page
\dorecurse{5}{
\input knuth
\index{Knuth}\index{Donald}
\page
}
\stoptext
Hraban
is not my girlfriend, it's just for the example
(withcolor (normaldeviate,normaldeviate,normaldeviate) withpen pencircle
scaled 1/5)
scaled 1 ;
\stopuseMPgraphic
\dorecurse{20}{%
\startplacefigure[location=force,number=no]
\useMPgraphic{cornystuff}
\stopplacefigure
\page[yes]
}
\stoptext
change
Dear list,
I have this sample:
\showframe
\startsetups[footers]
\starttabulate
[|cw(.5\textwidth)|
cw(.5\textwidth)|]
[unit=0pt]
\NC one\NC two\NC\NR
\stoptabulate
\stopsetups
\setupfootertexts[\directsetup{footers}]
\starttext
\dorecurse{20}{\input{zapf.tex}\par
][align=middle,pagestate=start,doublesided=no]
\starttext
\startfrontmatter
\startmakeup[ToC]
\placecontent
\stopmakeup
\chapter{Preface}
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\chapter{Foo}}
\stopbodymatter
\stoptext
I have
tmakeup[ToC]
\placecontent
\stopmakeup
\chapter{Preface}
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\chapter{Foo}}
\stopbodymatter
\stoptext
I have no idea how to allow chapters to start at arbitrary pages when
alternative=doublesided.
Nicola
___
agenumbering[alternative=doublesided]
\definemakeup[ToC][align=middle,pagestate=start]
\starttext
\startfrontmatter
\startmakeup[ToC]
\placecontent
\stopmakeup
\input{knuth}
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\chapter{Foo}}
\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
\stopfrontmatter
\startbodymatter
\setuppagenumber[number=1]
\dorecurse{10}{\startchapter[title={XYZ}]\input{tufte}\stopchapter}
\stopbodymatter
\stoptext
% vertical position
>[This is a chapter page] % content
>
> \definetext
>[chapterfooter]
> [footer]
>[pagenumber]
>
> \setuphead
> [chapter]
>[header=chapterheader,
> footer=chapterfooter]
>
> \starttext
>
> \dorecurse{
ng sample:
>
> \showframe\showgrid
> \setuppapersize[A7]
> \setuplayout[setups=*lessstrict]
> \startsetups[*lessstrict]
> \widowpenalty=1000
> \clubpenalty=1000
> \brokenpenalty=1000
> \stopsetups
> \setupbodyfont[15
\dorecurse{5}{a\\
b\\
c\\
d\par}
\stoptext
Compiling it with current latest in LMTX (2020.08.07 23:37) leaves an
orphan line on page 2 (page #2 starts with "d").
MkIV beta from 2020.01.30 14:13 moves the the last line to avoid the
orphan (page #2 starts with "c&q
]
\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
0 License.
> Ok, here is the more robust variant:
>
> \blank
> \ifnum\boxlines\EnglishBox=\boxlines\SpanishBox
> \ifnum\boxlines\EnglishBox=\boxlines\FrenchBox
> \ifnum\boxlines\EnglishBox>0
> \dorecurse{\boxlines\SpanishBox}{%
>
=\boxlines\SpanishBox
\ifnum\boxlines\EnglishBox=\boxlines\FrenchBox
\ifnum\boxlines\EnglishBox>0
\dorecurse{\boxlines\SpanishBox}{%
\dontleavehmode\llap{\hbox to 1.5em{\txx#1\hss}}%
\boxline \EnglishBox#1\
ssale épave, infinis et nus,
Les sables monotones et solitaires s’étendent au loin. »
\egroup
\dorecurse{\boxlines \spanishbox}{%
\strut\llap{\hbox to 1.5em{\txx#1\hss}}\boxline \englishbox#1\par
\strut\boxline \spanishbox#1\par
\strut\boxline \frenchbox#1\par
\blank
}
\stoptext
Thank you f
=chapterfooter]
\starttext
\dorecurse{10}
{\expanded{\chapter{Chapter \recurselevel}}
\dorecurse{\numexpr2*\recurselevel\relax}{\samplefile{knuth}}}
\stoptext
end example
Wolfgang
___
If your question
it?
>>> it might relate to protrusion (which needs to enter nested boxes to
>>> determine an edge) but how that then can relate to the number of entries
>>> puzzles me, unless we pop too less ... in which case i need to trace (with
>>> a mwe)
>> I can’t repro
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
h
\doloop {
\page
\ifvoid\MyNoteOverflow
\exitloop
\else
\null \page
\fi
}
\stopsetups
\starttext
\dorecurse{10}{
test \endnote{\input ward }\input tufte.tex \par
test \endnote{This is a note a
me options (and passes the values to \setupcounter).
\setupfootertexts[\userpagenumber]
\starttext
\setupuserpagenumber[state=stop]
\dorecurse{10}{\input knuth }
\page \setupuserpagenumber[state=start,number=7]
\dorecurse{10}{\input zapf }
\stoptext
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,
,
frame=off,
location=always,
]
\showframe
\starttext
\starttextbackground[fondpaille]
\startplacefigure[number=no,location=right]
\externalfigure[dummy]
\stopplacefigure
\startitemize[n]
\dorecurse{3}{\startitem \input ward
tbackground[fondpaille]
> [background=color,
> backgroundcolor=fondpaille,
> frame=off,
> location=always]
>
> \starttext
>
> \starttextbackground[fondpaille]
> \startplacefigure[number=no,location=right]
> \externalfigure[dummy]
&
gt; \starttext
>
> \starttextbackground[fondpaille]
> \startplacefigure[number=no,location=right]
> \externalfigure[dummy]
> \stopplacefigure
> \startitemize[n]
> \dorecurse{3}{\startitem \input ward \stopitem}
> \s
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
\starttextbackground[fondpaille]
\startplacefigure[number=no,location=right]
\externalfigure[dummy]
\stopplacefigure
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stoptextbackground
\stoptext
Best regards
,background=color,backgroundcolor=fondpaille]
\placefloat[][right,none]{}
{\externalfigure[dummy]}
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stopframedtext
\stoptext
Side floats don't work in frames, use the textbackground
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
]
\placefloat[][right,none]{}
{\externalfigure[dummy]}
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stopframedtext
\stoptext
___
If your question is of interest
[chapter,section,subsection]
[criterium=all,
interaction=all,
alternative=c]
\startchapter
[title=My first chapter]
\dorecurse{2}{\input knuth}
\startsection
[title=My first section]
\dorecurse{2}{\input knuth}
\startsubsection
[title=My first subsection
t=0pt,width=max,frame=off]
> \getinlineuserdata
> \stopframedtext}
> \stopsetups
>
> \showframe
> \starttext
> \startuserdata[margintext]
> {\bf Remarque — }\input ward
> \stopuserdata
> \startuserdata[margintext]
> \externalfigure[dummy][width=\rightma
\stopframedtext}
\stopsetups
\showframe
\starttext
\startuserdata[margintext]
{\bf Remarque — }\input ward
\stopuserdata
\startuserdata[margintext]
\externalfigure[dummy][width=\rightmarginwidth]
\stopuserdata
\startchapter[title=First chapter]
\dorecurse{2}{\input knuth}
\stopchapter
\stoptext
> On 6
ration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
> > \starttext
> > \startproposition[1]
> > \dorecurse{10}{\input ward}
> > \stopproposition
> > \in[prop:1]
> > \
ration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
> \starttext
> \startproposition[1]
> \dorecurse{10}{\input ward}
> \stopproposition
> \in[prop:1]
> \stoptext
>
> works almost perfectly.
The following:
\setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
\defineenumeration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
\starttext
\startproposition[1]
\dorecurse{10
=high]}
\startuserdata[margintext]
\input ward
\stopuserdata
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=high]}
\startchapter[title=First chapter]
\dorecurse{2}{\input knuth}
\stopchapter
\stoptext
Le jeu. 2 juil. 2020 à 19:04, Marco Patzer a écrit :
> On Thu, 2
]
\dorecurse{2}{\input knuth}
\stopchapter
\stoptext
___
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-context
\the\curCol}\input ward
\InfoInMargin{\bf \the\curCol} \input ward}
\starttext
\startpagecolumns[n=2,distance=25mm]
\dorecurse{5}{\TestText\par}
\stoppagecolumns
\stoptext
\c_page_col_current works most of the time, but unfortunately it tells
you the current column before the lines
{\bf \the\curCol} \input ward}
\starttext
\startpagecolumns[n=2,distance=25mm]
\dorecurse{5}{\TestText\par}
\stoppagecolumns
\stoptext
\c_page_col_current works most of the time, but unfortunately it tells
you the current column before the lines of a paragraph get distributed
over columns
.
\defineenumeration
[question]
[text=,
alternative=serried,
distance=1em,
width=fit,
before={\testpage[4]\blank[3*big]},
after={\blank}]
\starttext
\dorecurse{10}{
\startquestion
\input ward
\stopquestion
\startitemize[packed,a]
\startitem \input ward \stopitem
fi}
>
> \setuppapersize [A10][A8]
> \setuparranging [1*4*reversed]
> \setuplayout[margin=0pt, width=fit]
>
> \showframe
>
> \starttext
> \dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
> \stoptext
> ```
>
> imposition scheme i
{#1}000\arrangedpageA % 4
\poparrangedpages
\fi}
\setuppapersize [A10][A8]
\setuparranging [1*4*reversed]
\setuplayout[margin=0pt, width=fit]
\showframe
\starttext
\dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
\stoptext
```
imposition scheme
another approach. This sample reflects my problem:
\setupinteraction[state=start]
%~ \showframe\showgrid
\starttext
\dorecurse{41}{one line\par}
\ \comment[location={rightmargin}]{comment}
\stoptext
Since layers are problematic for the task, I insert the comments right
after the text
601 - 700 of 4194 matches
Mail list logo