[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
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

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
: 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

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
= 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

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
{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

[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-17 Thread Hraban Ramm
\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

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
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

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
, 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

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
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)

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Bruce Horrocks
> 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

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-27 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \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

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-24 Thread Wolfgang Schuster
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

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
/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

[NTG-context] Re: \startcolumns and \startcolumnset

2024-02-08 Thread Otared Kavian
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

[NTG-context] \startcolumns and \startcolumnset

2024-02-08 Thread Jeong Dal via ntg-context
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

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-23 Thread Thomas Meyer
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

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Wolfgang Schuster
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

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Marco Patzer
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

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
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

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Bruce Horrocks
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

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
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

[NTG-context] Re: unwanted blank page

2023-11-19 Thread Wolfgang Schuster
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

[NTG-context] unwanted blank page

2023-11-19 Thread Hans van der Meer via ntg-context
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

[NTG-context] Re: typearea

2023-10-29 Thread Thomas Meyer
[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

[NTG-context] typearea

2023-10-29 Thread Thomas Meyer
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

[NTG-context] Re: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mikael Sundqvist
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

[NTG-context] Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mia Bikey
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

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Hans Hagen via ntg-context
] \setcounter [userpage] [0] \setuppagenumbering [location=] \startdocument \setupfooter[state=stop] \startfrontmatter frontpage \stopfrontmatter \setupfooter[state=start] \startbodymatter \dorecurse{10}{\samplefile{lorem}} \stopbodymatter \stopdocument \setupfootertexts [title

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
] \setuppagenumbering [location=] \startdocument \setupfooter[state=stop] \startfrontmatter frontpage \stopfrontmatter \setupfooter[state=start] \startbodymatter \dorecurse{10}{\samplefile{lorem}} \stopbodymatter \stopdocument

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
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

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
] %\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

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
] %\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

Re: [NTG-context] \doifelseoddpage not working as expected

2023-05-29 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] \doifelseoddpage not working as expected

2023-05-29 Thread Henning Hraban Ramm via ntg-context
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

Re: [NTG-context] \doifelseoddpage not working as expected

2023-05-27 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
matter >> >> \stopproduct >> >> shows a table of contents so it must be something in your components >> >> > Fabrice >> > >> > >> > \startproduct[terminale-manual] >> > >> >\project[terminale-environment]

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
ct > > shows a table of contents so it must be something in your components > > > Fabrice > > > > > > \startproduct[terminale-manual] > > > >\project[terminale-environment] > >\startfrontmatter > > > > \setuppagenumbering &

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
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

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
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

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
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

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
, ] \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

[NTG-context] Problem with \setuplayout parameters being ignored

2023-03-05 Thread Keith McKay via ntg-context
eld[Text][Text], direction = "down", alternative = "linear", colors = { "MyColor1", "MyColor2" }, ] ; StopPage; \stopMPcode} ] \showframe \setupbackgrounds[page][background=apage] \setupbackgrounds[footer][text] [background=color, backgroundcolor=blue]

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
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] >

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
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

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Rik Kabel via ntg-context
}: #2} \setuphead[chapter][   command=\MyChapter, ] Is this what you meant? Hraban Perhaps: \setuppagenumbering[alternative=doublesided,location=bottom] \startsetups chapter:headings   \doifsomethingelse{\structureuservariable{custom}}     {\setupheaderte

Re: [NTG-context] Margin figure in itemize

2022-11-22 Thread Alain Delmotte via ntg-context
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

[NTG-context] Margin figure in itemize

2022-11-21 Thread Alexandre Christe via ntg-context
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

[NTG-context] \startcolumnset ... \stopcolumnset is working.

2022-09-14 Thread Jeong Dal via ntg-context
] \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

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
] \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

[NTG-context] ugly bug

2022-06-01 Thread Steffen Wolfrum via ntg-context
[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

[NTG-context] spooky jumping headerline

2022-05-25 Thread Steffen Wolfrum via ntg-context
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

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Steffen Wolfrum via ntg-context
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

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
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=]

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
\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

Re: [NTG-context] Full-page Figure?

2022-03-31 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
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

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
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

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Michael Urban via ntg-context
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

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
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}}]

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread jbf via ntg-context
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

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread Henning Hraban Ramm via ntg-context
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

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread jbf via ntg-context
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

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread Henning Hraban Ramm via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-11 Thread jbf via ntg-context
=stop] \setuphead   [chapter]   [beforesection={\pageinjection[chapter:start]}, insidesection={\pageinjection[chapter:insert][name={chapter-\namedheadnumber{chapter}}]}] \setuppagenumbering   [alternative=doublesided] \setupexternalfigures   [location=default] \useexternalfigure [chapter-1

Re: [NTG-context] help with facing page image

2022-03-11 Thread Wolfgang Schuster via ntg-context
]   [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

Re: [NTG-context] help with facing page image

2022-03-10 Thread jbf via ntg-context
-\namedheadnumber{chapter}}]}] \setuppagenumbering [alternative=doublesided] \setupexternalfigures [location=default] \starttext \startchapter [title={Mill}] [rotation=90,width=\paperheight] \dorecurse{7}{\samplefile{lorem}} \stopchapter \startchapter

Re: [NTG-context] help with facing page image

2022-03-09 Thread śrīrāma via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-09 Thread jbf via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-07 Thread Wolfgang Schuster via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-06 Thread jbf via ntg-context
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

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
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]

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
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

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-02-11 Thread Jigé via ntg-context
;  \poparrangedpages >> \fi} >> >> \definepapersize[Etiquette][width=80.0mm,height=50.0mm] >> \setuppapersize [Etiquette][A4] >> \setuparranging [2*5*double*2*5] >> %\setuplayout [m

[NTG-context] Double-sided documents with MetaFun's Field[Text][Text]

2022-02-06 Thread śrīrāma via ntg-context
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

[NTG-context] doublesided margin page number

2022-01-23 Thread Youssef Cherem via ntg-context
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

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-01-22 Thread Willi Egger via ntg-context
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, &

[NTG-context] \installpagearrangement doublesided stickers

2022-01-16 Thread Jigé via ntg-context
%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

Re: [NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Hans Hagen via ntg-context
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

[NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Bruce Horrocks via ntg-context
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

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
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 ; &

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Hans Hagen via ntg-context
*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

[NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-16 Thread Jeong Dal via ntg-context
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

[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
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

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] tikzplot displacement result [solved]

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
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

[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
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

Re: [NTG-context] tikzplot displacement result

2021-12-12 Thread Gavin via ntg-context
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

[NTG-context] tikzplot displacement result

2021-12-12 Thread Jan-Erik Hägglöf via ntg-context
] \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

[NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
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

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Wolfgang Schuster via ntg-context
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

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Taco Hoekwater via ntg-context
> 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

[NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread A A via ntg-context
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

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
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

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
=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

Re: [NTG-context] PDF text stream with delimitedtext

2021-10-30 Thread Rudolf Bahr via ntg-context
gt; \nopdfcompression > \setuppagenumbering[location=] > \starttext > \startquotation Hello world! \stopquotation > \setupquotation[left=«,right=»] > \startquotation Hello world! \stopquotation > \setupquotation[left=‘,right=’] > \startquotation Hello world! \stopquotation >

  1   2   3   4   5   6   7   8   9   10   >