application, so what I can add is a simple helper that returns the first
and last page of a section
\dostepwiserecurse {\firstsectionpage[crap][chapter:3]}
{\lastsectionpage[crap][chapter:3]} {1} {
\startpagemakeup
\externalfigure[crap.pdf][page=#1]
\stoppagemakeup
ore inpiut and discussion for that
\starttexdefinition DoWithSection #1#2
\startpagemakeup
\externalfigure[#1.pdf][page=#2]
\stoppagemakeup
\stoptexdefinition
\starttexdefinition LoadSectionsA #1#2
\ctxlua{document.loadsection("#1","#2")}
\doifnot{\cldcontext{do
ppapersize
[label] [A4]
\setuplayout
[page]
\setuppaper
[nx=3,
ny=10,
dx=1mm,
dy=1mm]
\setuplayout
[horoffset=50mm,
veroffset=10mm]
\setuparranging
[XY]
\setupbackgrounds
[page]
[frame=on]
\starttext
\dorecurse{56}
{\startpagemakeup
\midalign
=90]
{\externalfigure[A3page.pdf][page=1,width=\textheight]}\page
\rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\page
\stoptext
so, you need to wrap it, like
\startpagemakeup \rotate[rotation=90]
{\externalfigure[A3page.pdf][page=1,width=\textheight
is
\startpagemakeup
\stoppagemakeup
Sorry, Hans, the original sample was different, but I removed the offset
option in order to make it smaller:
\setupinteractionscreen[option=max]
\starttext
\startTEXpage[offset=1em]
\ConTeXt
\stopTEXpage
\stoptext
I hope it is clearer now
On 2/8/21 11:01 PM, Hans Hagen wrote:
>> [...]
>> LMTX doesn’t include full page. MkIV compiles it fine.
>>
>> If I remove the TEXpage, LMTX includes the full page mode.
> LMTX is more accurate as \null has zero dimensions an dit's a fitting page
>
> what
[location=middle]
\setuparranging
[XY]
\showframe
\setupbodyfont
[8pt]
\def\somecontent#1{\startpagemakeup #1 \stoppagemakeup}
\starttext
\installpagebreakmethod{mojca}
{\page
\scratchcounterone
\numexpr\rootlayouttargetparameter{nx}*\rootlayouttargetparameter{ny}\relax
[location=middle]
\setuparranging
[XY]
\showframe
\setupbodyfont
[8pt]
\def\somecontent#1{\startpagemakeup #1 \stoppagemakeup}
\starttext
% I want to mark the page with label numbers
\setupheadertexts[1][1][1][1]%
\dorecurse{50}{\somecontent{Label ONE}}
% I want an actual page break here
\setupbodyfont
[8pt]
\def\somecontent#1{\startpagemakeup #1 \stoppagemakeup}
\starttext
% I want to mark the page with label numbers
\setupheadertexts[1][1][1][1]%
\dorecurse{50}{\somecontent{Label ONE}}
% I want an actual page break here
\page
\setupheadertexts[2][2][2][2]%
\dorecurse{70
Am 2017-09-21 um 22:20 schrieb Hans Hagen <pra...@wxs.nl>:
> postponed flushing happens inside the output routine and therefore has some
> limitations (other solutions would also have such limitations)
>
> anyway, i do some extra checking now .. this was my test
> \star
would also have such limitations)
anyway, i do some extra checking now .. this was my test
\starttext
\startbuffer[makeup]
\startpagemakeup[pagestate=start,page=no]
\color[red]{
\vfill
\dorecurse{3}{
\samplefile{klein}
\vfill
Your suggestion works fine for me. I tried \filterpages too, as it is
mentioned on the wiki as well, but the pages then got scaled to the
\setuplayout definitions. I didn't think about using it within the
\startpagemakeup environment though.
So thanks Pablo.
P.S.: I'd still love to know why
; capable of doing the job, I'd be glad to use CTX instead.
>
> On the wiki I found a code snippet that sounds promising, as I don't
> want headers, page numbers etc. on the two merged pages:
Hi Sebastian,
how about the following code (I don’t remember when, how or where I
found it)?
\sta
Rodriguez
> <ntg-context-boun...@ntg.nl za uživatele oi...@gmx.es> napsal(a):
>
> Dear list,
>
> I have the following sample:
>
> \setuppapersize[A8, landscape]
> \starttext
> \dorecurse{10}{
> \startpagemakeup[align=cent
\dorecurse{10}{
\startpagemakeup[align=center]
This is invoice number \recurselevel.
Customer name from CSV file.
Other data from the same CSV file.
\stoppagemakeup}
\stoptext
How can I get new PDF documents with a one invo
On 2/18/2017 11:27 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\setuppapersize[A8, landscape]
\starttext
\dorecurse{10}{
\startpagemakeup[align=center]
This is invoice number \recurselevel.
Customer name from CSV file.
Other data from
Am 2017-02-18 um 23:27 schrieb Pablo Rodriguez <oi...@gmx.es>:
> Dear list,
>
> I have the following sample:
>
>\setuppapersize[A8, landscape]
>\starttext
>\dorecurse{10}{
>\startpagemakeup[align=center]
>This is invoice number \recurseleve
Dear list,
I have the following sample:
\setuppapersize[A8, landscape]
\starttext
\dorecurse{10}{
\startpagemakeup[align=center]
This is invoice number \recurselevel.
Customer name from CSV file.
Other data from the same CSV file.
\stoppagemakeup}
\stoptext
Hans,
the following sample puts the cut marks on each page:
\showframe
\setuppapersize[A5][A4]
\setuplayout
[marking=one,
location=middle]
\starttext
\ctxlua{for i=1,10 do
tex.print("\\startpagemakeup\\filterpages[setup-en.pdf][" .. i ..
&q
,
footer=0pt]
\starttext
\startpagemakeup
\filterpages[setup-en.pdf][1][width=0cm]
\stoppagemakeup
\filterpages[setup-en.pdf][1][width=0cm]
\stoptext
Could anyone explain me why this happens and how to get the result from
first page (no reduction) without the makeup?
Many
there once I get
the first thing working.
\definelayer[cover]
\starttext
\startpagemakeup[style={\switchtobodyfont[ss,24pt]}]
\setlayer[cover][x=3cm,y=4cm]{Place}
\setlayer[cover][x=8cm,y=12cm]{your}
\setlayer[cover][x=5cm,y=17cm]{text!}
\placelayer[cover]
\stoppagemakeup
\input knuth
\stoptext
\stoptext
%
Hi,
there is also a page makeup
\startpagemakeup[align=center]
{\bfc This should be the long title}
\stoppagemakeup
Regards
Andreas
___
If your question is of interest to others
be the long title
\stopstandardmakeup
\input tufte
\stoptext
%
Hi,
there is also a page makeup
\startpagemakeup[align=center]
{\bfc This should be the long title}
\stoppagemakeup
Regards
Andreas
That did the trick! I've updated the wiki at
http://wiki.contextgarden.net
23 matches
Mail list logo