Hi,
How could I prevent a column break after the second section title please?
Minimal example:
\starttext
\startcolumns[n=2]
\section{title 1}
\dorecurse{22}{bla\par}
\section{title 2} % Here starts a new column.
\startitemize
\dorecurse{15}{\item bla}
\stopitemize
\stopcolumns
s{Test}][]
[\setups{Test}][]
\setuppagenumbering[location=footer]
\starttext
\startDatum[title={secA}]%
\dorecurse{50}{aaa }
\pagebreak
\dorecurse{50}{aaa }
\stopDatum
\startDatum[title={secB}]%
\dorecurse{630}{bbb }
\stopDatum
\startDatum[title={secC}]%
\dorecurse{50}{ccc }
\sto
]
\dorecurse{12}{\samplefile{knuth}}
\stopchapter
\startchapter [title=Zapf]
\dorecurse{12}{\samplefile{zapf}}
\stopchapter
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
g a custom list and use \writetolist immediately
> before each \stopchapter command?
>
> \definelist[LastPages][criterium=all]
> \starttext
> \completecontent
> \page
> \completelist[LastPages]
> \page
> \dorecurse{10}{
> \startchapter[title={This is my chapter
?
\definelist[LastPages][criterium=all]
\starttext
\completecontent
\page
\completelist[LastPages]
\page
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\writetolist[LastPages]{3.}{\namedstructurevariable{chapter
to disable gridfitting for startcolumns, but it produces a
completely distorted output.
The pagecolumns environment supports bottom aligned content.
\setupwhitespace[medium]
\setupalign[depth]
\starttext
\startpagecolumns
\dorecurse{20}{\samplefile{jojomayer}\par}
\stoppagecolumns
\stoptext
Wolfgang
quot; in the following example.
begin example
\showframe
\starttext
\setuphead[chapter][header=high]
\chapter{Lorem Ipsum}
\dorecurse{10}{\samplefile{lorem}}
\setuphead[chapter][header=empty]
\chapter{Lorem Ipsum}
\dorecurse{10}{\samplefile{lorem}}
\stoptext
end example
A
[StudyTitle][criterium=all]
\page[makeup]
\setnumber[userpage][1]
\def\Reference{RefSo01}
\startSourceTitle[reference={\Reference},
bookmark=Source01,
title={}][
title=Source01,
author=Author01,
authorInitials=ABC,
reference={\Reference},
]
\input knuth
\page
\dorecurse{25}{\input ward\par
, how?
When you use "header=high" you can't have a header because the block for
it no longer exists, compare the results for "header=high" and
"header=empty" in the following example.
begin example
\showframe
\starttext
\setuphead[chapter][header=high]
\ch
[sectionnumber] \space - \space \getmarking[section]
\stopsetups
\setupheadertexts[\setup{doc:header}]
\starttext
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\startsection[title={This is my section
ing:
\startsetups[doc:header]
\getmarking[chapternumber] \space - \space \getmarking[chapter]
\space :: \space
\getmarking[sectionnumber] \space - \space \getmarking[section]
\stopsetups
\setupheadertexts[\setup{doc:header}]
\starttext
\dorecurse{10}{
\startchapter[title={
[alternative=doublesided,location=,]
\setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}]
\setupfootertexts[][pagenumber][pagenumber][]
\setuphead[chapter][header=high]
\starttext
\dorecurse{10}{
\startchapter[title={This is my chapter
, as used in
\dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting
\Schema looks right, but \setuparranging doesn’t work. Where's my error?
You forgot about expansion and in your case \doifelsedocumentargument
is not fully expandable. This doesn't matter for \dorecurse where
Hraban Ramm schrieb am 19.03.2024 um 21:41:
Following up on the other imposition question, I'm trying to make an
example file that shows an imposition schema according to command line
arguments.
This way it works for the number of pages, as used in
\dorecurse{\Pages
Description: Binary data
> On 19 Mar 2024, at 21:41, Hraban Ramm wrote:
>
> Following up on the other imposition question, I'm trying to make an example
> file that shows an imposition schema according to command line arguments.
>
> This way it works for the number of pages, as
Following up on the other imposition question, I'm trying to make an
example file that shows an imposition schema according to command line
arguments.
This way it works for the number of pages, as used in
\dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting
\Schema looks
ction(n)
context(n + ((n % 4 == 0) and 1 or (5 - n % 4)))
end
}
\stopluacode
\unprotect
\def\beforequadruplenumber#1{\clf_beforequadruplenumber\numexpr#1\relax}
\def\afterquadruplenumber #1{\clf_afterquadruplenumber \numexpr#1\relax}
\protect
\starttext
\dorecurse{20}{\recurselevel\space =
\beforequ
://wiki.contextgarden.net/Imposition
I'll read and test it.
Hi Jean-Pierre,
in its simplest form, a booklet may be:
\setuppapersize[A4][A3, landscape]
\setuparranging[2UP]
\starttext
\dorecurse{28}{\section{Section}\input zapf}
\stoptext
I think this seems to be what you may be aiming at.
Just in case
][A3, landscape]
\setuparranging[2UP]
\starttext
\dorecurse{28}{\section{Section}\input zapf}
\stoptext
I think this seems to be what you may be aiming at.
Just in case it might help,
Pablo
___
If your question is of int
pr #1 + 3
\orelse\ifnum\modulonumber{4}{#1} = 3
\the\numexpr #1 + 2
\else
\the\numexpr #1 +1
\fi}
\dorecurse{25}{\recurselevel: \beforequadruplenumber{\recurselevel}\\}
\dorecurse{25}{\recurselevel: \afterquadruplenumber{\recurselevel}\\}
%\page[123]
%\null
\page[\befor
be greatly
appreciated.
\setupinteraction[state=start, color=darkblue]
\setupwhitespace [big]
\starttext
Consult the \goto{\ConTeXt\ wiki}[url(https://wiki.contextgarden.net/)]
.\par
\dorecurse{5}{\samplefile{lorem}\par}
\stoptext
Processed as follows:
context mwe.tex
context --extra=select
r][first][style=bold]
\setupTABLE[r][each][
topoffset=1em,bottomoffset=0.5em,
background=sketchylines,
% would be nice if the background wouldn’t start at each column
]
\setupTABLE[c][each][frame=off]
\bTABLE[]
\bTR
\bTD{Stadt}\eTD
\bTD{Land}\eTD
\bTD{Fluss}\eTD
\eTR
\dorecurse
7:56 am, Mikael Sundqvist wrote:
> >
> > Hi,
> >
> > not sure I get what you are missing. But you can try
> >
> > setbounds currentpicture to (fullsquare scaled 200) ;
> >
> > in base. And then do
> >
> > \dorecurse{5}{
> > \start
ages entry
> with it. Feel free to modify.
>
> Cheers
> Emanuel
>
> On Feb. 16 2024, at 7:56 am, Mikael Sundqvist wrote:
>
> Hi,
>
> not sure I get what you are missing. But you can try
>
> setbounds currentpicture to (fullsquare scaled 200) ;
>
>
. And then do\dorecurse{5}{\startTEXpage[offset=1DK]\useMPgraphic{layerset#1}\stopTEXpage}if that is the looping you are after./MikaelOn Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context wrote:>> Resp. the solution should be such that each generated PDF page has the same dimension, th
ot sure I get what you are missing. But you can try
> setbounds currentpicture to (fullsquare scaled 200) ;
> in base. And then do
> \dorecurse{5}{
> \startTEXpage[offset=1DK]
> \useMPgraphic{layerset#1}
> \stopTEXpage
> }
>
> if that is the looping you are after.
> /M
Hi,
not sure I get what you are missing. But you can try
setbounds currentpicture to (fullsquare scaled 200) ;
in base. And then do
\dorecurse{5}{
\startTEXpage[offset=1DK]
\useMPgraphic{layerset#1}
\stopTEXpage
}
if that is the looping you are after.
/Mikael
On Fri, Feb 16, 2024 at 6:54 AM
actually need to keep the \dorecurse mechanism of the mwe (from line 44
> on), because I need the "setbounds currentpicture to TheFrame" and also
> because I need page numbering inside the MPpage, as done with draw
> textext(decimal(currentime)).
> So, how can I use t
Dear Mikael,
I actually need to keep the \dorecurse mechanism of the mwe (from line 44 on),
because I need the "setbounds currentpicture to TheFrame" and also because I
need page numbering inside the MPpage, as done with draw
textext(decimal(currentime)).
So, how can I use the \us
dle}]
\setuplayout
[grid=yes]
\showgrid
\starttext
\samplefile{lorem}
\startPlaceAtBottom
{\sl\samplefile{lorem}}
\stopPlaceAtBottom
\page
\dorecurse{4}{\samplefile{lorem}}
\startPlaceAtBottom
{\sl\samplefile{lorem}}
\stopPlaceAtBottom
\stoptext
Wolfg
def\startPlaceAtBottom
{\PlaceAtBottom\bgroup}
\mainlanguage[de]
\setupbodyfont[libertinus, 12pt]
\setuppagenumbering
[location={footer,middle}]
\setuplayout
[grid=yes]
\showgrid
\starttext
\samplefile{lorem}
\startPlaceAtBottom
{\sl\samplefile{lorem}}
\stopPlaceAtBottom
\page
\dorecurs
On 1/19/2024 1:33 AM, Aditya Mahajan wrote:
\starttext
\dorecurse{5000}{\ReadFile{knuth}}
\stoptext
I'll send you the PDFs offlist.
lmtx defaults to 'modern' so you need to
\setupbodyfont[modern]
for mkiv
Hans
LMTX generates more pages so it is
> > faster.
>
> puzzling
>
> > Of course, this is a meaningless experiment from a practical point of view
> > as a 1000 page document will be more complex than just text.
> % engine=pdftex 1.2
> % engine=luatmetatex 1.6
>
from a practical point of view as a
1000 page document will be more complex than just text.
% engine=pdftex 1.2
% engine=luatmetatex 1.6
% engine=luatex 1.8
% engine=xetex 2.4
\starttext
\dorecurse{500} {
\input knuth \par
}
\stoptext
125 pages, so how does your test file
]
\setupcolumnset[mymixedcolumn:2][width=7cm]
\starttext
\startcolumnset[mymixedcolumn]
\dorecurse{5}{
\input{knuth}
}
\stopcolumnset
\stoptext
also is there a mechanism to automatically continue text between desired
frames? For example, is there a way to write a function that, if the text
an
numerals, followed by the main text starting from page 1 in arabic
numerals.
So the twelfth page is 'XII', while the twenty-second is '2'.
How do I get 'XII' from 12 and '2' from 22?
\defineconversionset
[frontpart:pagenumber] [] [romannumerals]
\setuppagenumber
[way=byblock]
% Alternative met
ge]
\setuppagenumbering
[state=stop]
\setupmakeup
[standard]
[align=middle]
\setupblank
[2*line]
\showframe
\starttext
\dorecurse{12}{%%
\startstandardmakeup
Text \blank
{\tfd\recurselevel} \blank
Text
\stopstandardmakeup
\page}
\stoptext
That's how I
;), .75A + .25B);\stopuseMPgraphic\starttext\dorecurse{4}{\startcombination[3*1]%distance=0mm]{\useMPgraphic{ticket}{i=\recurselevel,j=2}}{}{\useMPgraphic{ticket}{i=\recurselevel,j=1}}{}{\useMPgraphic{ticket}{i=\recurselevel,j=0}}{}\stopcombination\startcombination[3*1]%distance=0mm]{\useMPg
than being reset
%
% \startsectionblockenvironment[bodypart]
% \resetuserpagenumber
% \stopsectionblockenvironment
\starttext
\startfrontmatter
\dorecurse{20}{\samplefile{lorem}\page}
\stopfrontmatter
\startbodymatter
\dorecurse{20}{\samplefile{lorem}\page}
\stopbodymatter
\stoptext
;
TheFrame := fullsquare scaled 5in ;
z1 = (60,40);
z2 = (40,90);
z3 = (10,70);
p1:=image(
label("Word 1", z1);
);
p2:=image(
label("Mot 2", z2);
);
p3:=image(
label("Parola 3", z3);
);
\stopuseMPgraphic
\starttext
\dorecurse{3}{ % Frame
\startMPpage[pagestate
Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21:
Dear List,
In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?
\starttext
\startlinenumbering[left={[},right={]}]
\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth
Dear List,
In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?
\starttext
\startlinenumbering[left={[},right={]}]
\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth}
\stopchapter
}
\stoplinenumbering
\stoptext
Kind regards
t; \input knuth \par
>> a\footnote{b} \par
>> \dorecurse{7}{\input knuth \par}
>> \stoptext
>
> Many thanks for your fast reply, Bruce.
>
> I wanted to reply much sooner, but it was really impossible for me.
>
>> From your explanation, the first link (body to
,70);
>
> p1:=image(
> label(textext("Word 1"), z1);
> );
>
> p2:=image(
> label(textext("Mot 2"), z2);
> );
>
> p3:=image(
> label(textext("Parola 3"), z3);
> );
>
> \stopMPinclusions
>
> \starttext
>
>
\enablemathautospacing % more global
% \enablemathautofencing % more global
\enablemathautonumbers % more global
% \autofences % more local
\usemodule[ipsum]
\starttext
\ipsum
\stoptext
And I attach the two files to setup the font.
no math ... anyway
\showglyphs
\dorecurse{100}{test \im{\frac
On 11/22/23 00:06, Bruce Horrocks wrote:
> [...]
> I changed your example to the following:
> \setupinteraction[state=start, page=name, focus=standard]
> \starttext
> \input knuth \par
> a\footnote{b} \par
> \dorecurse{7}{\input knuth \par}
> \stoptext
Many thanks for yo
hic{base}
> picture p[];
> path TheFrame ;
> TheFrame := fullsquare scaled 5in ;
> z1 = (60,40);
> z2 = (40,90);
> z3 = (10,70);
>
> p1:=image(
> label("Word 1", z1);
> );
>
> p2:=image(
> label("Mot 2", z2);
> );
>
> p3:=image(
(
label("Word 1", z1);
);
p2:=image(
label("Mot 2", z2);
);
p3:=image(
label("Parola 3", z3);
);
\stopuseMPgraphic
\starttext
\dorecurse{3}{ % Frame
\startMPpage[pagestate=start]
\includeMPgraphic{base}
currentime := #1 ;
% Just for learning :
draw TheFrame
ns
picture p[];
path TheFrame ;
TheFrame := fullsquare scaled 5in ;
z1 = (60,40);
z2 = (40,90);
z3 = (10,70);
p1:=image(
label(textext("Word 1"), z1);
);
p2:=image(
label(textext("Mot 2"), z2);
);
p3:=image(
label(textext("Parola 3"), z3);
);
\stopMPinclusi
artPoint = point 0 of A;
>> pair AEndPoint; AEndPoint = point 4 of A;
>> path B; B = z5..z6;
>> pair BStartPoint; BStartPoint = point 0 of B;
>> pair BEndPoint; BEndPoint = point 1 of B;
>> path C; C = AStartPoint..AEndPoint;
>>
>> p1:=image(
>> draw A w
=image(draw A; label(lmt_outline [
> text = "\JapaneseFont 日本語"
> ], AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\Korea
, AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2, BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\KoreanFont 한국어"
> ], AStartPoint););
>
> p5:=image(
> label(textext("bāng"), BEndPoint);
);
p4:=image(draw A; label(lmt_outline [
text = "\KoreanFont 한국어"
], AStartPoint););
p5:=image(
label(textext("bāng"), BEndPoint);
draw C withcolor green;
);
p6:=image(
draw B withcolor blue;
);
\stopMPinclusions
\starttext
\dorecurse{6}{ % Frame
\setupMPpage[background=colo
e[0] := (0,0);
TheBrownianMotion := Coordinate[0] ;
variance := 10 ;
\stopMPinclusions
\dorecurse{600}{ % Frame
\setupMPpage[background=color, backgroundcolor=SpringGreen]
\startMPpage[pagestate=start]
currentime := #1 ;
% Just for learning :
draw TheFrame withpen pencircle scaled .1in withco
:
\starttext
\startmakeup[standard][pagestate=start]
\dorecurse{25}{\input knuth}
\stopmakeup
\stoptext
My sample explicitly displays that makeups are intended for a single page.
Since actual content for that makeup would fit in six pages without the
makeup, it looks weird insi
\showgrid
\setupinterlinespace[line=1.3ex]
\starttext
\dorecurse{25}{asa aeo eau}
\setuplayout[grid=yes]\page
\dorecurse{25}{asa aeo eau}
\stoptext
According to https://wiki.contextgarden.net/Grid_typesetting (feel free
to improve the article), a way of solving this would be to wrap your
stu
{1}{\n}}
\starttext
%% dots are vertically aligned
\dorecurse{6}{%%
Foo \PavelFiller Bar\par}
\hairline
%% dots are not aligned
\dorecurse{6}{%%
\oneword\PavelFiller\oneword\par}
\stoptext
Marco
LMTX 2023.09.04 19:15
ey in \setupinteraction.
It works fine now, with both the options you provided (and the patch,
many thanks for both).
I have accidentally discovered an issue in which users may run in an
uninteded ways.
If many destinations have the same identifier, only the first one is
generated.
Using the fol
Hello Pablo,
On Mon Nov 13, 2023 at 5:25 PM CET, Pablo Rodriguez via ntg-context wrote:
> Dear list,
>
> imagine I have a PDF document (named "whatever.pdf") such as the one
> generated from this source:
>
> \setupinteraction[state=start,
> focus=standard]
Dear list,
imagine I have a PDF document (named "whatever.pdf") such as the one
generated from this source:
\setupinteraction[state=start,
focus=standard]
\starttext
\dorecurse{5}
{\chapter[\recurselevel]{Chapter}
\section[sec-\recurselevel]{Section}}
\stoptext
T
/32768)\relax }} \par
\setbox \scratchbox \hbox {\dorecurse {26}{\character \recurselevel }}
\Width =\dimexpr \TA@alphabet
\setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6]
79 height=\the\Height,
80 width=\the\Width,
81 header=2\lineheight,
82 headerdi
area/t-typearea.tex:
Missing number, treated as zero
{
\TA@alphabets
\par \PageWidth =\dimexpr \paperwidth -\TA@bcor \relax \par \edef
\Ratio {\withoutpt {
\the \dimexpr 2\paperheight /(\PageWidth /32768)\relax }} \par
\setbox \scratchbox \hbox {\dorecurse {26}{\character \recurs
eargument]
\setupnotation[question][counter=]
\startdocument
\startcolumns[n=2, balanced]
\dorecurse{19}{
\question{1. This is a question for discussion. I wished it was on the current page instead of the end}
\input{knuth}
}
\stopcolumns
\stopdocument
mwe.pdf
Description: Adobe PDF
the below code but the 3 digit labels'
left sides go into the left > > margin. How can I fix it? > > > > Code: > > > >
\showframe > > \starttext > > \startitemize[n,broad][itemalign=flushright] > >
\dorecurse{250}{\item } > > \stopite
right and the widest
> > label's left side located at the left margin.
> > I tried the below code but the 3 digit labels' left sides go into the left
> > margin. How can I fix it?
> >
> > Code:
> >
> > \showframe
> > \starttext
> > \start
but the 3 digit labels' left sides go into the
left margin. How can I fix it?
Code:
\showframe
\starttext
\startitemize[n,broad][itemalign=flushright]
\dorecurse{250}{\item }
\stopitemize
\stoptext
You can use the width-key to set a value for the number, below is a
example for method
tried the below code but the 3 digit labels' left sides go into the
> left margin. How can I fix it?
Hi Csikos,
width is the key, such as in:
\showframe\showgrid\showstruts
\starttext
\startitemize[n,broad][width=.125tw, itemalign=flushright]
\dorecurse{250}{\item }
\stopitemize
margin. How can
I fix
it?Code:\showframe\starttext\startitemize[n,broad][itemalign=flushright]\dorecurse{250}{\item
}\stopitemize\stoptextThe resulted pdf is attached as
context-itemize-label-alignment.pdf.Thank you in advance,bcsikos
context-itemize-label-alignment.pdf
Description: Adobe PDF
Two column text that ends near the foot of a page can push the next line into
the footer rather than starting a new page.
MWE for ConTeXt ver: 2023.09.26 18:19 LMTX :-
\setuppapersize [A4]
\showframe
\starttext
Knuth in knolumns
\dorecurse{30}{\crlf}
\startcolumns
\input knuth
\stopcolumns
I had no luck with page floats in columnsets; according to the manual
they should work.
Hraban
\setuppapersize[A5,landscape]
\useMPlibrary[dum]
\definecolumnset[Two][n=2]
\starttext
\startcolumnset[Two]
\dorecurse{5}{1\recurselevel\samplefile{lorem}\par}
\startplacefigure[location=page
Dear list,
I have the following sample:
\showgrid
\setuplayout[grid=yes]
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{4}{\input knuth\par\pushoutputstream}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor
y shows the problem. I'm using ConTeXt
ver: 2023.09.04 19:15.
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{5}{\chapter{Stream One}
\dorecurse{10}{\input knuth\par}
}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[green]
\dorecurse{5}{\chapter{Stream Two}
ter headings
and it all looks fine to me[1] - the red text is all on the right hand side and
the greeen text is all on the left. If this doesn't help and you still have
problems then you'll need to post a sample that actually shows the problem. I'm
using ConTeXt ver: 2023.09.04 19:15.
\starttext
.
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{5}{\chapter{Stream One}
\dorecurse{10}{\input knuth\par}
}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[green]
\dorecurse{5}{\chapter{Stream Two}
\dorecurse{10}{\input zapf\par
this doesn't help and you still have
problems then you'll need to post a sample that actually shows the problem. I'm
using ConTeXt ver: 2023.09.04 19:15.
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{5}{\chapter{Stream One}
\dorecurse{10}{\input knuth\par}
this one.
Julian
The original (Wolfgang) code is as follows:
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{10}{\input knuth\par}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[green]
\dorecurse{10}{\input zapf\par}
\stopcolor
Hi,
You can use before, inbetween and after.
\setupitemgroup
[itemize]
[inbetween={\blank[1cm]},
before={\blank[2cm]},
after={\blank[3cm]}]
\starttext
\samplefile{ward}
\startitemize
\dorecurse{4}{
\startitem
\samplefile{knuthmath}
\stopitem
}
\stopitemize
\samplefile{ward}
\stoptext
]
\setcounter
[userpage]
[0]
\setuppagenumbering
[location=]
\startdocument
\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stopdocument
\setupfootertexts
[title
]
\setuppagenumbering
[location=]
\startdocument
\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stopdocument
\startfrontmatter
\samplefile{lorem}
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
* (which include some dummy content) examples.
The example below results in section entries which are listed as a
paragraph, what output do you expect here.
\setuplist[chapter][alternative=c]
\setuplist[section][alternative=d]
\starttext
\completecontent
\dorecurse{2}
{\chapter{Chapter #1
method:
\showpageprogress % [all]
%resetforcedbreak
\starttext
\registerforcedbreak[8][before]
\dorecurse{10}{\samplefile{tufte}\par}
\page
\resetforcedbreak
\registerforcedbreak[12][after]
\dorecurse{10}{\samplefile{tufte}\par}
\stoptext
(by-product of some new mechanisms t
% \dorecurse{\datasetsize{autores}}{
% \setups[userdata:idautor]
% }
% \stopdocument
However, i can provide a processor:
% \startsetups[userdata:idautor]
% \dontleavehmode
% \imghref
% {\externalfigure[cvlac.pdf][logo]}
% {\datasetvariable{autores}{\datasetindex}{vclac}}
% \quad
of the "autores" dataset? and
use indexes?
\dorecurse{5}{
\startuserdata[idautor][
author={\datasetvariable{autores}{\recurselevel}{nombre}},
cvlac={\datasetvariable{autores}{\recurselevel}{cvlac}},
orcid={\datasetvariable{autores}{\recurselevel}{orcid}},
On 8/15/23 21:48, vm via ntg-context wrote:
> [...]
> A different approach is to use \dontleavehmode
In that case, \dorecurse is your friend, such as in:
\starttext
\startTEXpage[offset=10mm, pagestate=start]
\dorecurse{5}{
\dontleavehmode
\framed[frame=off]{\externalfigure[p1-4_4-01-56-
\stoptabulate
\stopitemize
so basically inside these tables items can be dealt with. Don't wonder
too much how this translates into structure.
So, back the columns, a logical next step was to add tabulated columns
to itemize:
\startitemizetable[n,four]
\dorecurse{10}{
\startitem
\stoptabulate
\stopitemize
so basically inside these tables items can be dealt with. Don't wonder
too much how this translates into structure.
So, back the columns, a logical next step was to add tabulated columns
to itemize:
\startitemizetable[n,four]
\dorecurse{10}{
\startitem
\NC \AR
\NC ward \NC \input ward \NC \AR
\NC montgomery \NC \input montgomery \NC \AR \HL
\stoptabulate
\stopplacetable
\dorecurse{7}{ \input tufte \par}
\stopchapter
\stoptext
--
RIk
after=\stopcolumns,
]
\definestartstop[timelinea][
after=\column,
]
\definestartstop[timelineb][]
\starttext
\startconcurrent
\starttimelinea
\dorecurse{5}{\input ward}
\stoptimelinea
\starttimelineb
\dorecurse{5}{\input knuth}
\stoptimelineb
\stopconcur
ng, since I forgot enabling interaction in the main PDF
document to generate the targets (or named destinations).
\setupinteraction[state=start, focus=standard]
\starttext
\dorecurse{15}
{\chapter[chap\recurselevel]{Chapter}}
\stoptext
The first line was missing yesterday.
After that (
reference (save it as main.tex):
\starttext
\dorecurse{15}
{\chapter[chap\recurselevel]{Chapter}}
\stoptext
You have the file that reads the references from main.tuc and generates
the inter-document links:
\setupinteraction[state=start]
\starttext
Links to each chapter using
If that could be what you might need, here is a sample.
First you have the destination file:
\setupinteraction[state=start,
focus=standard,
prefix=n_,]
\starttext
\dorecurse{50}
{a\footnote{b} }
\startluacode
luatex.wrapup(
function()
os.rename(tex.jobname ..
gt;
> fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
> \stopuseMPgraphic
>
> \defineoverlay[Waves][\useMPgraphic{Waves}]
>
> \setupbackgrounds[state=repeat]
> \setupbackgrounds[page][background={Waves}]
>
> \starttext
>
> \dorecurse{10}{\recur
= (0,10)---(70,10)...(60,0)---(10,0)...cycle;
fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
\stopuseMPgraphic
\defineoverlay[Waves][\useMPgraphic{Waves}]
\setupbackgrounds[state=repeat]
\setupbackgrounds[page][background={Waves}]
\starttext
\dorecurse{10}{\recurs
ode: 1
Here is the MWE:
\enabletrackers[paragraphs.passes=summary]
\setupalignpass[optional1]
\starttext
\dorecurse{10}{
\input ward
\input knuth
\input darwin
}
\stoptext
%%%
Using the latest version:
ConTeXt ver: 2023.07.09 19:38 LMTX fmt: 2023.7.
[layout.vz]
\setuplayout[width=middle,headerdistance=5mm,vz=no]
\clubpenalty 1
\widowpenalty 1
\dostepwiserecurse{0}{30}{1}{
\dorecurse{#1}{\strut dummy line ##1\par}
\dorecurse{4}{\samplefile{tufte}\par}
}
\stoptext
\stopbuffer
\startbuffer[vz-2]
\starttext
context --synctex=1 --result=output %S; cp output.log
> > > /compile/output.log;cp output.pdf /compile/output.pdf";
> > > $recorder=0;
> > > $pdf_mode=1;
> > I found back this link:
> >
> > https://davidcarlisle.github.io/latexcgi/testc
> >
> >
>
.pdf";
> > $recorder=0;
> > $pdf_mode=1;
> I found back this link:
>
> https://davidcarlisle.github.io/latexcgi/testc
>
>
> % !TEX mtxrun --script context
>
> \starttext
>
> \dorecurse{500}{\samplefile{tufte}\par}
>
> \stoptext
>
> Runs 113
=repeat]
\setupbackgrounds[footer][text][background=Blocks]
\starttext
\dorecurse{10}{\recurselevel\page}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
tsquare xysized (800 * RealPageNumber/NOfPages, 50) withcolor blue;
\stopuseMPgraphic
\defineoverlay[Blocks][\useMPgraphic{Blocks}]
\setupbackgrounds[footer][background={Blocks}]
\starttext
\dorecurse{10}{\recurselevel\page}
\stopt
1 - 100 of 4167 matches
Mail list logo