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
: Struggling with the distance and right margin text
On 3/15/24 14:06, Ursula Hermann wrote:
> Dear List,
Dear Ursula,
this might help you (it isn’t perfect, but you just seem to copy and
paste fragments from your source files):
%\showframe\showstruts
\mainlanguage[de-at]
\setuppagenumber
= on markings (you can call them with \getmarking) and
listing= in the table of contents.
2. As far as I have found, including the chapter/section number in the
marking is *not really a trivial task*. I usually hack something using
\headnumber and \getmarking, like so:
\setuppagenumbering
{numberofpages}{\getdocumentargument{numberofpages}}{16}}
\setuppapersize[A9,landscape][A7,landscape]
\setuparranging[\Schema]
\setupbodyfont[ss,10pt]
\setuplayout[margin=0pt, width=fit, header=2.8ex, footer=2.8ex]
\setupalign[middle,hilo]
\setuppagenumbering [alternative=doublesided,location
\setuppagenumbering[location=,]
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage
On 3/15/24 14:06, Ursula Hermann wrote:
> Dear List,
Dear Ursula,
this might help you (it isn’t perfect, but you just seem to copy and
paste fragments from your source files):
%\showframe\showstruts
\mainlanguage[de-at]
\setuppagenumbering[alternative=doublesided]
\definemargind
yes,1em]
\setupinterlinespace
[line=2\bodyfontsize,
height=0.9,
depth=0.1]
\setupruby
[style={\switchtobodyfont[6pt]}]
\setuppagenumbering
[alternative=doublesided,
location=none]
\setuphead
[title,subject]
[align=middle]
\startsetups [header:rightpage]
\startframed
, of course.
%We are giving below an example of a text written in a Latin language,
in which we want to print here and there some text in ancient Greek,
Arabic and Chinese.
\setuplanguage[fr][patterns={fr,agr}]
\mainlanguage[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative
On 2/28/24 11:56, Bruce Horrocks wrote:
> [...]
> The sample works for me if you set plain A4 and doublesided, thus:
>
> \setuppagenumbering[alternative={doublesided}]
> \starttext
> \samplefile{lorem}
> \page[quadruple]
> page before the quadruple (must be 3, not 4)
> On 27 Feb 2024, at 10:13, Pablo Rodriguez via ntg-context
> wrote:
>
> I’m afraid I cannot make your sample work:
The sample works for me if you set plain A4 and doublesided, thus:
\setuppagenumbering[alternative={doublesided}]
\starttext
\samplefile{lorem}
\page[quad
a solution for this.
I’m afraid I cannot make your sample work:
\setuppapersize[A5][A4, landscape]
\setuparranging[2UP]
\setuppagenumbering[alternative={singlesided,doublesided}]
\starttext
\samplefile{lorem}
\page[quadruple]
page before the quadruple (must be 3, not 4)
\page[yes, quadru
]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][rm][Theano
Didot
page was last updated nearly four years ago. Is anyone using
updated versions of these?
You can use quadruple out of the box.
\setuppagenumbering[alternative={singlesided,doublesided}]
\starttext
\samplefile{lorem}
\page[quadruple]
\samplefile{lorem}
\stoptext
Wolfgang
/limitations.
What is the the easiest way to achieve this?
begin example
\setuppagenumbering
[alternative=doublesided]
\setuplayout
[width=10cm,
rightmargin=6cm]
\showframe
\def\FloatTableALignment
{\dowithnextbox
{\ifdim\nextboxwd>\textwidth
\doalignedline{in
ed 1mm rightenlarged 1mm; draw topboundary OverlayBox leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset [quiz] [n=2,background=vertic
leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset [quiz] [n=2,background=verticalrule]\setupbodyfont[bonum, rm, 11pt]\starttext %\startcolumns[n=2
xht\relax}%
\blank[\number\numexpr\noflines-1\relax*line]%
\unvbox\nextbox
\fi}
\vbox}
\let\stopPlaceAtBottom\egroup
\def\startPlaceAtBottom
{\PlaceAtBottom\bgroup}
\mainlanguage[de]
\setupbodyfont[libertinus, 12pt]
\setuppagenumbering
[location={footer,mid
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
nter of the ticket which is increasing.
>
> I use the following code to make it.
Here's a suggestion:
\definepapersize
[jeong]
[width=67mm,
height=73mm]
\setuppapersize
[jeong]
[A4]
\setuppaper
[nx=3, ny=4,
dx=4.4mm, dy=1.5mm]
\setuparranging
[XY]
\setuplayout
[pa
s in inner margins though).
Here is an example:
\setuppapersize[A4]
\setuplayout[backspace=40mm, width=100mm, leftmargindistance=5mm,
leftmargin=30mm, rightmargindistance=5mm, rightmargin=50mm, topspace=10mm]
\setuppagenumbering[alternative=doublesided]
\setupcaptions[location={outermargin, l
sided documents. The remainder of the settings will need
adjusting to suit your specific circumstances.
\setuppapersize[A4][A3]
\setuplayout[location=middle]
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=30.8mm]
\starttext
\showlayout[4,pt,cm]
\stoptext
—
Bruce Horrock
de it.
> I use \setuppagenumbering[location=] for not getting the number
> printed and then I reset the page numbering for the next sections. I
> copy my code so that you know what I do.
> Sorry if it doesnt help
If you are showing your code to list members, fine.
Sorry, but if there is a questio
sorry if i dont get your problem right understood, but i'm completely new to
context.
I use a hack not to get the number not printed in the title page (though I
define sectionblocks for keeping different numbering systems for the table of
contents and the document)
I use \setuppagenumbering
Hans van der Meer via ntg-context schrieb am 19.11.2023 um 11:56:
I should have a first page without pagenumber and pagenumbers on the
subsequent ones.
However the MWE here introduces an unwanted blank page from the call
to \setuppagenumbering[state=start].
And the \setuppagenumbering has
I should have a first page without pagenumber and pagenumbers on the subsequent ones.However the MWE here introduces an unwanted blank page from the call to \setuppagenumbering[state=start].And the \setuppagenumbering has to come after the \page, of course.Should I program otherwise?
yours
[bcor=0mm,alphabets=3.1]
\setuppagenumbering[alternative=doublesided]
\starttext
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
\stoptext
I got:
texmf-dist/tex/context/third/typearea/t-typearea.tex'
loading > Something like KOMA-TypeArea
tex error > tex
Hi,
I'm new to ConTeXt and try to use the module typearea
(https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea).
But the example doesn't work:
\usemodule[typearea]
\setupTypeArea[bcor=0mm,alphabets=3.1]
\setuppagenumbering[alternative=doublesided]
\starttext
Hi,
I cannot reproduce it, and I do not see a white line in your file.
Maybe I look at the wrong place.
/Mikael
On Sat, Oct 28, 2023 at 4:11 PM Mia Bikey wrote:
>
> Hi,
> I was using \setuppagenumbering[alternative=doublesided] to get double sided
> pages.
> After doing that I
Hi,
I was using \setuppagenumbering[alternative=doublesided] to get double
sided pages.
After doing that I noticed a thin white line on the right side.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbackgrounds[page][background=color,backgroundcolor=black
]
\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
are not displayed.
\setuppagenumbering [alternative=doublesided,location=]
\setupcaption[style=sans,headstyle=sans]
\starttext
\startchapter[title={Page Numbering Test}]
\startplacetable[location={here,spit,force},title={Title?}]
\starttabulate[|rp|lp|]
\HL \NC tufte \NC \input tufte
]
%\setupalignpass[decent]
%\setupalignpass[quality]
%\setupalignpass[test1]
\setupalignpass[test2]
%\setupalignpass[test3]
%\setupalignpass[test4]
%\setupalignpass[test5]
%\setupalignpass[optional1]
%\setupalignpass[test2b]
\starttext
\setuppagenumbering[location={footer,middle},alternative=doublesided,state=start
]
%\setupalignpass[test1]
\setupalignpass[test2]
%\setupalignpass[test3]
%\setupalignpass[test4]
%\setupalignpass[test5]
%\setupalignpass[optional1]
%\setupalignpass[test2b]
\starttext
\setuppagenumbering[location={footer,middle},alternative=doublesided,state=start]
\setcounter[userpage][1]
%\showmakeup
On 5/29/2023 4:10 PM, Henning Hraban Ramm via ntg-context wrote:
Am 27.05.23 um 23:54 schrieb Hans Hagen via ntg-context:
You never know when tex will break a page unless you are explicit so
you typeset the status too soon.
\setuppagenumbering[alternative=doublesided]
% \setuppagenumbering
Am 27.05.23 um 23:54 schrieb Hans Hagen via ntg-context:
You never know when tex will break a page unless you are explicit so you
typeset the status too soon.
\setuppagenumbering[alternative=doublesided]
% \setuppagenumbering[alternative={singlesided,doublesided}]
\starttext
\dorecurse
know when tex will break a page unless you are explicit so you
typeset the status too soon.
\setuppagenumbering[alternative=doublesided]
% \setuppagenumbering[alternative={singlesided,doublesided}]
\starttext
\dorecurse{200}{
\dontleavehmode\signalrightpage
\doifelserightpage
matter
>>
>> \stopproduct
>>
>> shows a table of contents so it must be something in your components
>>
>> > Fabrice
>> >
>> >
>> > \startproduct[terminale-manual]
>> >
>> >\project[terminale-environment]
ct
>
> shows a table of contents so it must be something in your components
>
> > Fabrice
> >
> >
> > \startproduct[terminale-manual]
> >
> >\project[terminale-environment]
> >\startfrontmatter
> >
> > \setuppagenumbering
&
it must be something in your components
Fabrice
\startproduct[terminale-manual]
\project[terminale-environment]
\startfrontmatter
\setuppagenumbering
[location=]
\definefont
[ChapterTextStyle]
[SansBold*default sa 2.2]
\setuphead
[title
Hi,
I don't see why the table of contents does not appear. On the other hand,
the 12 chapters are present.
Thanks
Fabrice
\startproduct[terminale-manual]
\project[terminale-environment]
\startfrontmatter
\setuppagenumbering
[location=]
\definefont
[ChapterTextStyle
below, the second example is on the second page and not next to the second
definition.
Thanks.
Fabrice
\
useMPlibrary[dum]
\setuppapersize[A4]
\mainlanguage
[fr]
\setuppagenumbering
[alternative=doublesided
,
]
\setuppagenumbering[state=start,alternative=doublesided,location=margin]
\useMPlibrary [dum]
\starttext
%%% Me %%%
\showframe [text] [text]
\definelayer[test3]
\setlayer[test3][]
\centerbox{
{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
{\externalfigure[dummy
eld[Text][Text],
direction = "down",
alternative = "linear",
colors = { "MyColor1", "MyColor2" },
] ;
StopPage;
\stopMPcode}
]
\showframe
\setupbackgrounds[page][background=apage]
\setupbackgrounds[footer][text] [background=color, backgroundcolor=blue]
ithcolor .625yellow) ;
> draw fullcircle xscaled 1.5cm yscaled 1cm ;
> \stopuseMPgraphic
>
> %\startnotmode[proof]
> % \defineoverlay[circled][\useMPgraphic{circled}]
> %\stopnotmode
>
> \define[1]\Circled%
> {\framed
> [background=circled,frame=off,offset=overlay]
>
led%
{\framed
[background=circled,frame=off,offset=overlay]
{\color[darkred]{#1}}}
\setuppagenumbering[location=]
\setupheadertexts[margin][][\hbox to \hsize{\hss\Circled\pagenumber\hss}]
\startuniqueMPgraphic{titled}
path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayhei
}: #2}
\setuphead[chapter][
command=\MyChapter,
]
Is this what you meant?
Hraban
Perhaps:
\setuppagenumbering[alternative=doublesided,location=bottom]
\startsetups chapter:headings
\doifsomethingelse{\structureuservariable{custom}}
{\setupheaderte
can?
\setuppagenumbering
[alternative=doublesided, location=margin]
\setuplayout
[header=0pt,
margin=4cm,
footerdistance=.5cm,
topspace=1cm,
backspace=1cm,
cutspace=2cm,
width=fit,
height=\dimexpr
\paperheight-\topspace+\footerheight+\footerdistance-4cm\relax
Dear list,
With the following MWE I end up with big gaps between margin figures in an
itemized list. Is there a way to remove that space in the text and place
the figures in the margin one below the other the best one can?
\setuppagenumbering
[alternative=doublesided, location=margin
]
\setuppagenumbering[location=footer]
\setupcolors[state=start]
%\setupexternalfigure[directory={/Users/graph/Documents/figures,}]
\headTitle{2021. 12. 12.}{Set Theory}{Final Exam}
\starttext
\startcolumnset[exam]
\startitemize[n]
\item The first problem.
\column
\item The second problem.
\column
]
\setupinterlinespace
[40pt]
\setuplayout
[color=darkblue]
\setuppagenumbering
[location=footer]
\defineconversionset
[pagenumber]
[]
[chinesenumerals]
\protected\def\stripe#1{\hbox orientation 0 yoffset 3pt{\strut #1}}
\setscript[hangul]
\starttext
% \startscript[hangul
[palatino,9.5pt]\setupinterlinespace[13pt]
\setuppagenumbering [alternative=doublesided,location=]
\setupheader[strut=yes]
\setupheadertexts[text][][\blackrule]
\definepapersize[stw][width=17cm,height=24cm]
\setuppapersize[stw][stw]
\setuplayout
[width=122mm,
backspace=18mm,topspace
Hi,
the \blackrule (in my real project this is the running title) on page 1 is
about 1mm higher than on page 2.
Why?
Best, Steffen
\setupbodyfont[palatino,9.5pt]\setupinterlinespace[13pt]
\setuppagenumbering [alternative=doublesided,location=]
\setupheader[strut=yes]
\setupheadertexts[text
t
>> \eTD
>> \bTD
>> Test
>> \eTD
>> \bTD
>> Test
>> \eTD
>> \eTR
>> \eTABLE
>> \stoptext
> not possible, use tabulate instead
do you have a MWE?
the example from https://wiki.contextgarden.net/Tabulate gives an empty page:
\set
space[tnumber]3806\hspace[tnumber]007\\
011\hspace[tnumber]3820\hspace[tnumber]457\\
011\hspace[tnumber]2419\hspace[tnumber]078\\
\vskip 2em
Жике Поповића бб, 12220, Велико Градиште\\
012\hspace[tnumber]662\hspace[tnumber]016\\
\eTD
\eTR
\eTABLE
\stop
\stopsetups
\setuppagenumbering[location=]
\hspace[tnumber]007\\
011\hspace[tnumber]3820\hspace[tnumber]457\\
011\hspace[tnumber]2419\hspace[tnumber]078\\
\vskip 2em
Жике Поповића бб, 12220, Велико Градиште\\
012\hspace[tnumber]662\hspace[tnumber]016\\
\eTD
\eTR
\eTABLE
\stop
\stopsetups
\setuppagenumbering[location=]
\setupfootertexts
On 3/30/2022 11:41 PM, Michael Urban via ntg-context wrote:
Almost there. But if I add \setuppagenumbering [alternative=doublesided]
to the example, there is a blank page before the makeup page, and an unnumbered
blank page after. If I add doublesided=no to the
\setupmakeup options
ult as that with the makeup:
\setuppagenumbering[alternative=doublesided]
\setupexternalfigures[location=default]
\setupheadertexts[]
\setupheadertexts[chapter][\date]
\setupfootertexts[pagenumber]
\starttext
\startchapter [title={Chapter title}]
\dorecurse{2}{\samplefile{knuth}}
\placefig
On Thursday, March 31, 2022 3:11 AM Michael Urban via ntg-context wrote:
> Almost there. But if I add \setuppagenumbering [alternative=doublesided]
> to the example, there is a blank page before the makeup page, and an
> unnumbered blank page after. If I add do
Almost there. But if I add \setuppagenumbering [alternative=doublesided]
to the example, there is a blank page before the makeup page, and an unnumbered
blank page after. If I add doublesided=no to the
\setupmakeup options, the unnumbered blank page is not there, but there is
still a blank
y]
[page=left]
\definepageinjection
[chapter:insert]
[previouspage]
[alternative=chapter:image,
offset=1cm,
pagestate=stop]
\setuphead
[chapter]
[beforesection={\pageinjection[chapter:start]},
insidesection={\pageinjection[chapter:insert][name={chapter-\namedheadnumber{chapter}}]
only in lists.
There’s also \structurevariable and \structureuservariable.
Make sure you use setups for the header, otherwise the variable gets
expanded only once at the beginning.
Like in:
\setuppagenumbering[alternative=doublesided]
\setupheadertexts[] % empty
\setupheadertexts[\setups{text
at the beginning.
Like in:
\setuppagenumbering[alternative=doublesided]
\setupheadertexts[] % empty
\setupheadertexts[\setups{text right}][][][\setups{text left}]
\startsetups[text right]
\rlap{\pagenumber}
\hfill
\getmarking[chapter]
\hfill
\llap{Un Nom}
\stopsetups
\startsetups[text left]
\rlap{Una Person
only once at the beginning.
Like in:
\setuppagenumbering[alternative=doublesided]
\setupheadertexts[] % empty
\setupheadertexts[\setups{text right}][][][\setups{text left}]
\startsetups[text right]
\rlap{\pagenumber}
\hfill
\getmarking[chapter]
\hfill
\llap{Un Nom}
\stopsetups
\startsetups
at the beginning.
Like in:
\setuppagenumbering[alternative=doublesided]
\setupheadertexts[] % empty
\setupheadertexts[\setups{text right}][][][\setups{text left}]
\startsetups[text right]
\rlap{\pagenumber}
\hfill
\getmarking[chapter]
\hfill
\llap{Un Nom}
\stopsetups
\startsetups[text left
=stop]
\setuphead
[chapter]
[beforesection={\pageinjection[chapter:start]},
insidesection={\pageinjection[chapter:insert][name={chapter-\namedheadnumber{chapter}}]}]
\setuppagenumbering
[alternative=doublesided]
\setupexternalfigures
[location=default]
\useexternalfigure [chapter-1
]
[beforesection={\pageinjection[chapter:start]},
insidesection={\pageinjection[chapter:insert][name={chapter-\namedheadnumber{chapter}}]}]
\setuppagenumbering
[alternative=doublesided]
\setupexternalfigures
[location=default]
\useexternalfigure [chapter-1] [mill] [factor=max]
\useexternalfigure
-\namedheadnumber{chapter}}]}]
\setuppagenumbering
[alternative=doublesided]
\setupexternalfigures
[location=default]
\starttext
\startchapter [title={Mill}] [rotation=90,width=\paperheight]
\dorecurse{7}{\samplefile{lorem}}
\stopchapter
\startchapter
einjection[chapter:start]},
insidesection={\pageinjection[chapter:insert][name=\structureuservariable{image}]}]
\setuphead
[chapter]
[beforesection={\pageinjection[chapter:start]},
insidesection={\pageinjection[chapter:insert][name={chap-cover-\namedheadnumber{chapter}}]}]
\setuppagen
e={chapter\namedheadnumber{chapter}}]}]
\setuppagenumbering
[alternative=doublesided]
\setupexternalfigures
[location=default]
\starttext
\startchapter [title={Mill}] [image=mill]
\dorecurse{7}{\samplefile{lorem}}
\stopchapter
\startchapter [title={Mill}] [image=mill]
\dorecurse{11}{\sample
the right directory
for figures of course):
% kate: hl ctx
%%% SOF
\setuppagenumbering[alternative=doublesided]
\definelayer
[chapCover]
[x=0mm,
y=0mm,
width=\paperwidth,
height=\paperheight,repeat=yes]
\startsetups chapter:before
\doifo
headnumber{chapter}}]}]
\setuppagenumbering
[alternative=doublesided]
\setupexternalfigures
[location=default]
\starttext
\startchapter [title={Mill}] [image=mill]
\dorecurse{7}{\samplefile{lorem}}
\stopchapter
\startchapter [title={Mill}] [image=mill]
\dorecurse{11}{\samplefile{lorem}}
\s
ver-2.jpg, ... chap-cover-10.jpg}
each of which appear at the ends of their respective chapters, then the
following achieves what you want (once you point ConTeXt to the right directory
for figures of course):
% kate: hl ctx
%%% SOF
\setuppagenumbering[alternative=doublesided]
\definel
ieves what you want (once you point ConTeXt to the right directory
for figures of course):
% kate: hl ctx
%%% SOF
\setuppagenumbering[alternative=doublesided]
\definelayer
[chapCover]
[x=0mm,
y=0mm,
width=\paperwidth,
height=\paperheight,repeat=yes]
\s
pear where it
should!
From what I understood from your explanation, I have this:
%%% SOF
% for 'mill'
\setupexternalfigures[location={default}]
\setuppagenumbering[alternative=doublesided]
\definelayer[mill][x=0mm,y=0mm,width=\paperwidth,height=\paperheight,repeat=yes]
\set
On Monday, March 7, 2022 11:08 AM śrīrāma wrote:
>
> From what I understood from your explanation, I have this:
>
A formatted version below –
%%% SOF
% for 'mill'
\setupexternalfigures[location={default}]
\setuppagenumbering[alternative=doublesided]
\definelayer
[mill]
I can't seem to get my facing page image to appear where it
> should!
From what I understood from your explanation, I have this:
%%% SOF
% for 'mill'
\setupexternalfigures[location={default}]
\setuppagenumbering[alternative=doublesided]
\definelayer[mill][x=0mm,y=0mm,width=\pa
; \poparrangedpages
>> \fi}
>>
>> \definepapersize[Etiquette][width=80.0mm,height=50.0mm]
>> \setuppapersize [Etiquette][A4]
>> \setuparranging [2*5*double*2*5]
>> %\setuplayout [m
Dear list,
I have a double-sided document in which I want to draw certain page
backgrounds on the right (odd) and left (even) pages. Here is an example
%%% SOF
\setuppagenumbering[alternative=doublesided]
\setuplayout
[backspace=4cm,
leftmargin=4cm
I've managed to put double-sided page numbers -- but numbers are restarting
after two, though. What's going on?
\setuppagenumbering[location=,alternative=doublesided]
%
https://tex.stackexchange.com/questions/128854/context-eliminate-topspace-and-bottomspace?rq=1
\definelayer
pages
> \fi}
>
> \definepapersize[Etiquette][width=80.0mm,height=50.0mm]
> \setuppapersize [Etiquette][A4]
> \setuparranging [2*5*double*2*5]
> %\setuplayout [margin=0pt, width=fit]
> \setuplayout[
> %location=middle,%nx=2,ny=5,
> %location=middle,
> location=left,
&
%location=middle,%nx=2,ny=5,
%location=middle,
location=left,
marking=on,
margin=0mm,
topspace=0mm,
backspace=0mm,
width=fit,
%header=0mm,
%footer=0mm,
%align=middle,
]
\showframe
%\setuppagenumbering[state=stop]
\setuppagenumbering[alternative=doublesided]
\starttext
\dorecurse
the \subject line is
commented-out. When the \subject line is included then the author name
disappears - there's just a blank space in the header.
MWE:
\setuppagenumbering
[ alternative=doublesided,
location={footer},
]
\definefont [stylePageHeader] [Serif at 10pt]
\startsetups
is included then the author name
disappears - there's just a blank space in the header.
MWE:
\setuppagenumbering
[ alternative=doublesided,
location={footer},
]
\definefont [stylePageHeader] [Serif at 10pt]
\startsetups ChapterSetup
\setupheadertexts
[{\stylePageHeader {My Book
rt (n/10,(f+sign*12mm,i)) ;
> fi
> elseif (n mod 5) == 0 :
> draw (f,i) -- (f+sign*5mm,i) ;
> else :
> draw (f,i) -- (f+sign*3mm,i) ;
> fi ;
> n := n + 1 ;
> endfor ;
> setbounds currentpicture to Page ;
&
*5mm,i) ;
else :
draw (f,i) -- (f+sign*3mm,i) ;
fi ;
n := n + 1 ;
endfor ;
setbounds currentpicture to Page ;
\stopuniqueMPpagegraphic
\defineoverlay[ruler][\uniqueMPpagegraphic{ruler}]
\setupbackgrounds[page][background=ruler]
\setuppagenumbering[alter
off, background=screen]
\define[3]\headTitle{\setupheadertexts[][\bf #1 \hfill #2 \hfill #3 \hfill
ID: \hskip 2cm Name: \hskip 2cm]}
\setupmathematics[autopunctuation=no, integral=nolimits]
\setupbodyfont[rm,10pt]
\setuppagenumbering[location=footer]
\setupcolors[state=start]
%\setupexternalfig
Hi all:
In the example below:
\setuppagenumbering[alternative=doublesided, location={footer,right},page=no]
\newdimen\Margin
\Margin=2cm
\newdimen\MarginRaise
\MarginRaise=56ex
\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]
\setuptext[leftstyle=\sc,rightstyle=\em
On 12/14/2021 11:58 AM, MANUEL GONZALEZ SUAREZ via ntg-context wrote:
Hi all:
I send this minimal example:
\mainlanguage [es]
\definefontfamily [mainface] [serif] [Gentium]
\setupbodyfont[mainface]
\setuppagenumbering[alternative=doublesided, location={footer,right}]
\setuplayout[textwidth
vin :
>
> Hi Jan-Erik,
>
> Use the \addplot command when you use pgfplots. The manual, pgfplots.pdf, is
> quite good.
>
> \setupbodyfont[10pt]
> \enableregime[utf]
> \usemodule[tikz]
> \usemodule[pgfplots]
> \usetikzlibrary[arrows]
> \setuppagenumbering[loca
Hi all:
I send this minimal example:
\mainlanguage [es]
\definefontfamily [mainface] [serif] [Gentium]
\setupbodyfont[mainface]
\setuppagenumbering[alternative=doublesided, location={footer,right}]
\setuplayout[textwidth=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location
Hi Jan-Erik,
Use the \addplot command when you use pgfplots. The manual, pgfplots.pdf, is
quite good.
\setupbodyfont[10pt]
\enableregime[utf]
\usemodule[tikz]
\usemodule[pgfplots]
\usetikzlibrary[arrows]
\setuppagenumbering[location=]
\starttext
\definecolor[ffvvqq][r=1.,g=0.,b
]
\usetikzlibrary[arrows]
\setuppagenumbering[location=]
\starttext
\definecolor[ffvvqq][r=1.,g=0.,b=0.]
\startTEXpage
\starttikzpicture[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\startaxis
[
x=1.0cm,y=1.0cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
x
off, background=screen]
\define[3]\headTitle{\setupheadertexts[][\bf #1 \hfill #2 \hfill #3 \hfill
ID: \hskip 2cm Name: \hskip 2cm]}
\setupmathematics[autopunctuation=no, integral=nolimits]
\setupbodyfont[rm,10pt]
\setuppagenumbering[location=footer]
\setupcolors[state=start]
%\setupexternalfig
Taco Hoekwater via ntg-context schrieb am 15.11.2021 um 15:28:
On 15 Nov 2021, at 15:07, A A via ntg-context wrote:
Dear All,
The following code generates a title and some fake text:
\setuppagenumbering[location=right]
\usemodule[visual]
\usebtxdataset[bibliography.bib]
\starttext
\title
> On 15 Nov 2021, at 15:07, A A via ntg-context wrote:
>
> Dear All,
>
> The following code generates a title and some fake text:
>
> \setuppagenumbering[location=right]
>
> \usemodule[visual]
>
> \usebtxdataset[bibliography.bib]
> \starttext
&g
Dear All,
The following code generates a title and some fake text:
*\setuppagenumbering[location=right]\usemodule[visual]\usebtxdataset[bibliography.bib]\starttext\title{test}\fakewords{1000}{1200}\stoptext*
The following code does the same, but wraps the fakewords in a *bodymatter
doublesided,
there are not right and left pages.
And you don’t need the \define and \setlayer after \startchapter.
A complete sample would read:
\setuppagenumbering[alternative=doublesided]
\definelayer[butterfly][state=repeat]
\setlayer[butterfly]
[hoffset=.99\textwidth, voffset
=1cm]
> {\externalfigure[bfly.jpg][width=1.5cm]}
> \setupbackgrounds[page][background=butterfly]
The last line adds backgrounds to every page. And without doublesided,
there are not right and left pages.
And you don’t need the \define and \setlayer after \startchapter.
A complete sample would read:
\s
gt; \nopdfcompression
> \setuppagenumbering[location=]
> \starttext
> \startquotation Hello world! \stopquotation
> \setupquotation[left=«,right=»]
> \startquotation Hello world! \stopquotation
> \setupquotation[left=‘,right=’]
> \startquotation Hello world! \stopquotation
>
1 - 100 of 1775 matches
Mail list logo