[NTG-context] Text depth

2025-06-23 Thread John Was
stance=3pt, textheight=480pt,%should be 480pt, height=522.6275pt, width=24pc, footerdistance=6pt, footer=12pt, % lines=40%this messes up position on the A4 page location=middle, marking=on, horoffset=0pt, veroffset=0pt, paper

[NTG-context] Re: Cropmarks

2025-06-18 Thread John Was
; > margin=72pt, > > margindistance=6pt, > > topspace=48pt, > > header=12pt, > > headerdistance=12pt, > > height=40pc, > > width=24pc, > > footerdistance=6pt, > > footer=12pt, > > bottomdistance=12pt, > > bottom=36pt, > > location=middl

[NTG-context] Re: Cropmarks

2025-06-18 Thread Henning Hraban Ramm
, location=middle, marking=on, horoffset=60pt, veroffset=0pt, paper=OUPoctavo, cutspace=0pt] \setuplayout[GHIL] These are far too many settings, that usually makes no sense and I doubt you need all of them. At least horoffset and veroffset disturb the page placement on the sheet. There are

[NTG-context] Re: Cropmarks

2025-06-18 Thread John Was
, bottomdistance=12pt, bottom=36pt, location=middle, marking=on, horoffset=60pt, veroffset=0pt, paper=OUPoctavo, cutspace=0pt] \setuplayout[GHIL] Best wishes John *🇪🇺 * Слава Україні! * 🇺🇦* On Wed, 18 Jun 2025 at 14:00, Henning Hraban Ramm

[NTG-context] Re: Cropmarks

2025-06-18 Thread Henning Hraban Ramm
on an odd page and two (on the right) on an even page.  Very odd! Please show this in a minimal example. The following works for me: \setuppapersize[A4][A4,oversized] \setuplayout[location=middle,marking=on] \starttext \showlayout \stoptext H

[NTG-context] Re: Cropmarks

2025-06-18 Thread John Was
marks on all four corners of each page. Currently when I > > give 'marking=on' I'm getting a crop mark top left on an odd-numbered > > page and top right on an even-numbered page, and it does look as if > > these are in the correct position; but the printer will wa

[NTG-context] Re: Cropmarks

2025-06-18 Thread Henning Hraban Ramm
Am 18.06.25 um 12:08 schrieb John Was: I'm getting to grips with page layout and hope that it will be possible to set up crop marks on all four corners of each page.  Currently when I give 'marking=on' I'm getting a crop mark top left on an odd-numbered page and top right

[NTG-context] Cropmarks

2025-06-18 Thread John Was
Hello I'm getting to grips with page layout and hope that it will be possible to set up crop marks on all four corners of each page. Currently when I give 'marking=on' I'm getting a crop mark top left on an odd-numbered page and top right on an even-numbered page, and it d

[NTG-context] Re: Draw cutting line

2025-04-08 Thread Pablo Rodriguez via ntg-context
apersize[A4/2][A4,landscape] \setuparranging[2*2] \setuplayout[marking=page] \starttext \dorecurse{10}{\samplefile{knuth}} \stoptext I hope it might help, Pablo ___ If your question is of interes

[NTG-context] Re: Can context automatically italicize foreign words?

2025-03-20 Thread Rik Kabel
via ntg-context wrote: Its common convention to italicize words that are of a different language. I've tried marking these words, but then when they also appear in the glossary and index, they are not appearing in the correct placement--somehow the italicized words appear under the "s&q

[NTG-context] Re: Can context automatically italicize foreign words?

2025-03-20 Thread jbf
mon convention to italicize words that are of a different language. I've tried marking these words, but then when they also appear in the glossary and index, they are not appearing in the correct placement--somehow the italicized words appear under the "s" category, no matter what lett

[NTG-context] Re: Can context automatically italicize foreign words?

2025-03-20 Thread Henning Hraban Ramm
Am 20.03.25 um 17:28 schrieb Joel via ntg-context: Its common convention to italicize words that are of a different language. I've tried marking these words, but then when they also appear in the glossary and index, they are not appearing in the correct placement--somehow the italicized

[NTG-context] Can context automatically italicize foreign words?

2025-03-20 Thread Joel via ntg-context
Its common convention to italicize words that are of a different language. I've tried marking these words, but then when they also appear in the glossary and index, they are not appearing in the correct placement--somehow the italicized words appear under the "s" category, no mat

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
\setupheader[width=5cm] Wolfgang The width option of setupheader and the limitatetext command are both Procrustean solutions, chopping off without regard to the meaning of the result. Explicitly setting the text via the marking option of startsection is generally a better approach (

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
Very nice! Thanks Rik! On Fri, Mar 14, 2025 at 1:46 PM Rik Kabel wrote: > > On 2025-03-14 11:58, Mohammad Hossein Bateni wrote: > > The \start/\stop section alternative works nicely. Thanks! > > I was trying to work on an automated solution consisting of three parts: > 1)

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
On 2025-03-14 11:58, Mohammad Hossein Bateni wrote: The \start/\stop section alternative works nicely. Thanks! I was trying to work on an automated solution consisting of three parts: 1) Define a new marking which processed normal section title marking 2) Check width to see if we need to apply

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
The \start/\stop section alternative works nicely. Thanks! I was trying to work on an automated solution consisting of three parts: 1) Define a new marking which processed normal section title marking 2) Check width to see if we need to apply clipping and add "..." 3) Performing clip

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
setupheadertexts[section][section] \section{One} \section{Two} \page \section{Three} \page \startsection[title=Long Title for Section Four,marking=Long Title] \stopsection \page \section{Five} \stoptext \starttext -- Rik ___

[NTG-context] Re: mixed profiles in validation

2025-02-17 Thread Ulrike Fischer
ate as your document doesn't contain tagging). > > I must admit I don’t know what may be causing the inclusion of the A-3a > profile (marking). No idea either, that is a context question. But PDF/A-3 is wrong together with PDF 2.0/UA-2 you need pdf/A-

[NTG-context] mixed profiles in validation

2025-02-16 Thread Pablo Rodriguez via ntg-context
(and results are a mess). I must admit I don’t know what may be causing the inclusion of the A-3a profile (marking). Any ideas about what may be going wrong here? Many thanks for your help, Pablo ___ If your question is

[NTG-context] Re: [ imposition schemas ]

2024-11-24 Thread Bruce Horrocks
uals \setupbodyfont[ss,14pt] \setuplayout [margin=0pt, width=fit, header=2.8ex, footer=2.8ex] \setupalign[middle,hilo] \setuppagenumbering [alternative=doublesided,location=footer] \setupheadertexts[\CONTEXT\ imposition test] %\showframe \setupbackgrounds [text][text][background=color,backgr

[NTG-context] Re: crossreferences

2024-09-29 Thread Wolfgang Schuster
ssing references which means the problem lies somewhere in your document itself. \enableregime[utf] This can removed because UTF-8 is the default input encoding. \definepapersize[IeT][width=155mm, height=220mm] \setuppapersize[IeT][IeT] \setuplayout[width=fit,height=200mm,header=14pt,marking=on,back

[NTG-context] Re: Indexing redux

2024-09-28 Thread Rik Kabel
page numbers enabled? This would enabled /See also/ entries to be generated with something like \setregisterentry[TopicIndex][keys:2=zzz,entries:1=punctuation,entries:2={{\em     See also} marking}]% I do see that there is an alternative key defined for the command, but no explanation of what the

[NTG-context] Re: crossreferences

2024-09-27 Thread Jürgen Hanneder via ntg-context
200mm,header=14pt,marking=on,backspace=13mm,topspace=15mm,headerdistance=4mm,bottomdistance=2pt,location=doublesided,setup=strict] \setupheader[leftwidth=.8\hsize,rightwidth=.8\hsize,style=\tfx] \setuppagenumbering[alternative=doublesided,location={header,right},sectionnumber=no,strut=yes, state=

[NTG-context] Re: Indexing redux

2024-09-27 Thread Wolfgang Schuster
=punctuation,entries:2={{\em See also} marking}]% I do see that there is an alternative key defined for the command, but no explanation of what the alternatives are and if any would help. You have to set "ownnumber=yes" but I don't think the feature is supported at the moment

[NTG-context] Indexing redux

2024-09-27 Thread Rik Kabel
} marking}]% I do see that there is an alternative key defined for the command, but no explanation of what the alternatives are and if any would help. -- Rik ___ If your question is of interest to others as well, please

[NTG-context] Re: page number

2024-05-26 Thread Wolfgang Schuster
Charles Doherty via ntg-context schrieb am 26.05.2024 um 11:27: Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter

[NTG-context] Re: page number

2024-05-26 Thread Mikael Sundqvist
Hi Charles, On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context wrote: > > Dear Wolfgang, > > I have a book in preparation with running heads. > > > Pagenumber marking |marking Pagenumber > > The chapter title page has empty headings. >

[NTG-context] page number

2024-05-26 Thread Charles Doherty via ntg-context
Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
] \setuplayout[location=middle, marking=off, topspace=1cm, topdistance=0cm, backspace=2.5cm, height=fit, width=fit, rightedge=5mm, rightedgedistance=0cm, rightmargin=20mm

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

2024-04-15 Thread Biblio--- via ntg-context
50}{ccc } \stopDatum \startDatum[title={secD}]%   \dorecurse{50}{ddd } \stopDatum \startDatum[title={secE}]%   \dorecurse{50}{eee } \stopDatum \stoptext %== %== I'd like to write the marking of the very first text at the current page to the header. That seems to be a b

[NTG-context] Re: Use of marking

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/21/24 19:00, Thomas Meyer wrote: > Hi Pablo and Bruce, > > thank you very much for your two solutions. That helps me enormously now. Hi Thomas, literally, »nichts zu danken«, since it was Andrés and not me who provided a solution. Cheers, Pablo _

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
Hi Pablo and Bruce, thank you very much for your two solutions. That helps me enormously now. Greetings Thomas Am 21.03.24 um 16:34 schrieb Bruce Horrocks: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space \getmarking[sectionnumb

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya > wrote: > > 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: You can do the follow

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
the title for that section. title= is the general one and if nothing else is specified, this will be used in markings (headers or footer or wherever you want to put therm) and in listings (contents). If you give those arguments, marking= and listing=, you will get those texts in those places: marking

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer: Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit"

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setuph

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgab

[NTG-context] Use of marking

2024-03-20 Thread Thomas Meyer
HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
d,location=footer] \setupheadertexts[\CONTEXT\ imposition test] \showframe \setupbackgrounds [text][text][background=color,backgroundcolor=lightgray] % Where the block of pages is placed on the sheet % (relevant if there is space left over.) \setuplayout [location=middle,marking=on] \startbuffe

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread Taco Hoekwater
etups xml:doc >\xmlflush{#1} > \stopxmlsetups > \setuphead[chapter][expansion=yes] % make sure the stuff gets expanded on > time > \startxmlsetups xml:chapter > \startchapter >[ >

[NTG-context] Re: XML: flush to lua function

2023-09-11 Thread denis.maier
lfilter{#1}{/title/command(xml:chapter:title)}}, marking={\xmlfilter{#1}{/title/command(xml:chapter:title:marking)}}, ] \xmlflush{#1} \stopchapter \stopxmlsetups \startxmlse

Re: [NTG-context] Backgrounds has changed in latest lmtx

2022-10-21 Thread Otared Kavian via ntg-context
Thomas > > \setuppapersize[A6,landscape][A6,landscape] > > \setuplayout[backspace=1cm, > topspace=0.4cm, > marking=off, > width=13cm, > height=9.7cm, > header=0.6cm, > footer=0cm, > ] > >

[NTG-context] Backgrounds has changed in latest lmtx

2022-10-21 Thread Thomas A. Schmitz via ntg-context
starting with the fundamentals. Here is a fairly minimal example: compile with context --luatex to see the expected result and with lmtx to see what is wrong. All best Thomas \setuppapersize[A6,landscape][A6,landscape] \setuplayout[backspace=1cm, topspace=0.4cm, marking

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
I found a way to wrap everything before \startdocument, so I think this looks like a template more or less: In case anyone is interested, here's the MWE: \definenote[address] \setupnote[address][rule=off,location=text] \setupnotation[footnote][numberconversion=numerals] \definenote[putjustmark

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
After some visualisations, I found that my token \titlefootnotes will ALWAYS generate two lines if there is/are any non-zero number of footnotes there. Interesting. So I need a \newif that each time a \thanks or \email is invoked, it'll set to true and I'll unskip the 2\lineheight afterwards. I st

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
Hi Massi, You are a champion! On Wed, May 18, 2022 at 4:41 PM mf wrote: > I hope I got the point now: > > ... > \startcolumns > > \the\titlefootnotes > > \kern-\rawcountervalue[address]\lineheight % dirty trick > > test\footnote{test} > > \input knuth > > \stopcolumns > ... > > Massi > > Il 18/

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
Dear Massi, Thanks for your solution. But the thing may be related to the \appendtoks macro. It doesn't work to put just \setnotetext there. \note works fine, so that's the reason I need the "full functional macro". Maybe I didn't get the point, so if it's not too much to ask, could you do it on

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread mf via ntg-context
Is this what you mean? \starttext Hello\footnotetext{Footnote without mark}. \stoptext Kind regards, Massi Il 18/05/22 07:55, Zhichu Chen via ntg-context ha scritto: Hi everybody, After some attempts to put footnotes in a mixed 1&2 columns layout, I decide to put marks in the one-column env

[NTG-context] Can I just put a footnote without marking in the main text?

2022-05-17 Thread Zhichu Chen via ntg-context
Hi everybody, After some attempts to put footnotes in a mixed 1&2 columns layout, I decide to put marks in the one-column environment and flush them when entering the two-column environment. The code is ugly but the result is acceptable. Except that the invisible footnote marks do generate

Re: [NTG-context] a cross-reference query

2022-05-10 Thread jbf via ntg-context
f you take them out of your big document or if you change the order? * There are “strange” space characters in your message, they disappear in the quoted version below. That might cause troubles in typesetting and referencing. * You don’t need to set "marking" if it’s the same as th

Re: [NTG-context] a cross-reference query

2022-05-09 Thread Henning Hraban Ramm via ntg-context
“strange” space characters in your message, they disappear in the quoted version below. That might cause troubles in typesetting and referencing. * You don’t need to set "marking" if it’s the same as the title. * It might make sense to use \about instead of \in – \about[eta] would ren

[NTG-context] a cross-reference query

2022-05-09 Thread jbf via ntg-context
en defined as 'entry', hence we have a \startentry[title=,marking=,reference=]...\stopentry structure. Many entries can refer to other entries in the dictionary (in most cases the headword is in Italian, but the definitions, explanations are in English in all cases). in 90% of cas

Re: [NTG-context] cropoffset reduces paper size

2022-04-25 Thread Henning Hraban Ramm via ntg-context
=max,height=max, ] \starttext \showframe \samplefile{knuth} \stoptext If I set: \setuppapersize[A4][A4,oversized] \setuplayout[   marking=on,   location=middle,   cropoffset=7.5mm, ] Then the resulting paper size is A4, because the "oversized" factor is nulled by the crop offse

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Pablo Rodriguez via ntg-context
setuppapersize[A5][A4] \setuplayout[ marking=on, location=middle, ] \definemeasure[Bleed][3mm] \definemeasure[MaxHeight] [{\dimexpr\paperheight + 2\measure{Bleed}\relax}] \definemeasure[MaxWidth] [{\dimexpr\paperwidth + 2\measure{Bleed}\relax}] \definelayer[papier

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Henning Hraban Ramm via ntg-context
): \useMPlibrary[dum] \setuppapersize[A5][A4] \setuplayout[ marking=on, location=middle, ] \definemeasure[Bleed][3mm] \definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}] \definemeasure[MaxWidth][{\dimexpr\paperwidth + 2\measure{Bleed}\relax}] \definelayer[papier][ preset

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Willi Egger via ntg-context
irst line): > > > \useMPlibrary[dum] > > \setuppapersize[A5][A4] > \setuplayout[ > marking=on, > location=middle, > ] > \definemeasure[Bleed][3mm] > \definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}] > \definemeasure[MaxWidth][{\d

[NTG-context] placing (on) layers

2022-04-15 Thread Henning Hraban Ramm via ntg-context
always starts below the first line): \useMPlibrary[dum] \setuppapersize[A5][A4] \setuplayout[ marking=on, location=middle, ] \definemeasure[Bleed][3mm] \definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}] \definemeasure[MaxWidth][{\dimexpr\paperwidth + 2\measure{Bleed

[NTG-context] cropoffset reduces paper size

2022-04-15 Thread Henning Hraban Ramm via ntg-context
[ cropoffset=10mm, ] \setupinteractionscreen[ width=max,height=max, ] \starttext \showframe \samplefile{knuth} \stoptext If I set: \setuppapersize[A4][A4,oversized] \setuplayout[ marking=on, location=middle, cropoffset=7.5mm, ] Then the resulting paper size is A4, because the

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-02-11 Thread Jigé via ntg-context
pages \fi} \definepapersize[Vignette][width=80.0mm,height=50.0mm] \setuppapersize [Vignette][A4] \setuparranging [2*5*double*2*5] \setuplayout [margin=0pt, location=middle, marking=on] \showframe \starttext \dorecurse{20}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page} \stoptext M

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-01-22 Thread Willi Egger via ntg-context
Hello Jigé, Adapt your layout to the following and it works. \setuplayout [%] margin=0mm, topspace=0mm, backspace=1mm, width=80mm, height=50mm, nx=2, ny=5, dx=0mm, dy=0mm, location=middle, marking=on, ] Kind regards Willi > On 16 Jan 2022, at 15:18, Jigé via ntg-context wrote: > >

[NTG-context] \installpagearrangement doublesided stickers

2022-01-16 Thread Jigé via ntg-context
pt, width=fit] \setuplayout[ %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=doubl

Re: [NTG-context] undefined command in current latest

2021-10-13 Thread Marcus Vinicius Mesquita via ntg-context
I noticed the same problem reported by Massi, since a lua function I use in a project as an argument of \getmarking does not get expanded anymore with the new marking code. Marcus Vinicius On Mon, Oct 11, 2021 at 8:33 AM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 10/1

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Hans Hagen via ntg-context
is is misleading in Acrobat Reader & Pro, where the TrimBox is shown in green (if this option is activated)! Bleed is to be defined in \setuplayout: \showframe \setuppapersize[A4][A4,oversized] \setuplayout[ location=middle, bleedoffset=-5mm, marking=on, ] %\setupinteractionscreen[width=m

[NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Henning Hraban Ramm via ntg-context
the TrimBox is shown in green (if this option is activated)! Bleed is to be defined in \setuplayout: \showframe \setuppapersize[A4][A4,oversized] \setuplayout[ location=middle, bleedoffset=-5mm, marking=on, ] %\setupinteractionscreen[width=max,height=max] \starttext X \stoptext Status

Re: [NTG-context] undefined command in current latest

2021-10-11 Thread Hans Hagen via ntg-context
rttext   \dorecurse{10}{\samplefile{knuth}\marking[myheader]{\it knuth}\par} \stoptext we switched to the new marking code; i'll sent you a file to test fyi: in mkii/mkiv we had to work around limitations of mark synchronization and in mkiv that went even further; in lmtx we can use some n

Re: [NTG-context] undefined command in current latest

2021-10-11 Thread mf via ntg-context
It looks like the argument of \getmarking is not expanded, since you get "\it knuth" instead of an italicized "knuth" in the headers of this MWE: \definemarking[myheader] \setupheadertexts[{\getmarking[myheader][last]}] \starttext \dorecurse{10}{\samplefile{knuth}\marking

[NTG-context] flushlayer

2021-09-28 Thread Bruce Horrocks via ntg-context
Latest LMTX. I noticed the following \flushlayer behaviour and wondered if it was a bug or something I've misunderstood? \showframe \setuppapersize [A5][A5] \setuplayout[marking=on, location=middle] \definelayer[coverlayer] [width=\paperwidth, height=\paperheight] \setupbackgrounds [

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
st mechanism to benefit from that is page columns but all that is a stepwise process. I keep track of that in yet another lowlevel manual. These column things are on the agenda for next month and beyond. (In a next upload the new marking and tabulate optimization might become default but for

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
e.g. footnotes in >>> situations that are not natural to tex (like columns). The first mechanism >>> to benefit from that is page columns but all that is a stepwise process. I >>> keep track of that in yet another lowlevel manual. These column things are >>> on the a

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
of that in yet another lowlevel manual. These column things are on the agenda for next month and beyond. (In a next upload the new marking and tabulate optimization might become default but for now i test that locally.) Hi, thank you! I’m looking forward to these improvements, even if they won

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
track of > that in yet another lowlevel manual. These column things are on the agenda > for next month and beyond. > > (In a next upload the new marking and tabulate optimization might become > default but for now i test that locally.) Hi, thank you! I’m looking forward to thes

[NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
n a next upload the new marking and tabulate optimization might become default but for now i test that locally.) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 G

[NTG-context] update lmtx

2021-09-03 Thread Hans Hagen via ntg-context
ime on marks (aka markings), think of running headers and so. I'm considering replacing the marking code by new code that I already have one my machine. In mkiv we;ve always used a more powerful alternative for the marks that than what luatex and friends provide but in luametatex I a

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-07-02 Thread denis.maier
    { \getmarking[notePage][top]} >     {s \getmarking[notePage][top]–\getmarking[notePage][bottom]}} > \stopsetups > > \starttexdefinition unexpanded startEndnote >   \dosingleempty\doStartEndnote > \stoptexdefinition > > \starttexdefinition doStartEndnote [#1] &

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
[userpage]}]} \stoptexdefinition \starttexdefinition dodoStartEndnote [#1][#2]   \startendnote[#1]     \marking[notePage]{#2}\removeunwantedspaces \stoptexdefinition \starttexdefinition endnoteChapter   \startchapter    [title=Notes] \setupheadertexts[{\it\getmarking[part]}][\setups{noteHeadingsText

[NTG-context] dictionary example

2021-06-12 Thread jbf
ied, width=fit] \starttext \startsubject[title={A}] \startsubsubject[marking={Term 1}] \startcolumns \startdes{term 1}1. bla. 2. bla bla 3. bla bla bla. {\em adjective}. \textbullet\hskip 2pt \input weisman \rightarrow {\bf something else}. \stopdes \stopsubsubject \startsubsubject[marking={Ter

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Rik Kabel
illustrated by an example: \definemode    [aaa]    [keep] \setuplayout   [     marking=\doifmodeelse{aaa}{off}{on}, %   marking=on,     grid=\doifmodeelse{aaa}{yes}{no}, %   grid=yes

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Hans Hagen
illustrated by an example: \definemode    [aaa]    [keep] \setuplayout   [     marking=\doifmodeelse{aaa}{off}{on}, %   marking=on,     grid=\doifmodeelse{aaa}{yes}{no}, %   grid=yes

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Wolfgang Schuster
    [aaa]    [keep] \setuplayout   [     marking=\doifmodeelse{aaa}{off}{on}, %   marking=on,     grid=\doifmodeelse{aaa}{yes}{no}, %   grid=yes,     bottom=\doifmodeelse{aaa

[NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Rik Kabel
] \setuplayout   [     marking=\doifmodeelse{aaa}{off}{on}, %   marking=on,     grid=\doifmodeelse{aaa}{yes}{no}, %   grid=yes,     bottom=\doifmodeelse{aaa}{10mm}{20mm

[NTG-context] markings in lmtx and luatex

2020-11-23 Thread Thomas A. Schmitz
Hi all, something has changed in the way markings are handled. Consider the following example: \definemarking[Section] \setupheadertexts[{\getmarking[Section][top]–\getmarking[Section][bottom]}] \starttext A\marking[Section]{A} B\marking[Section]{B} C\marking[Section]{C} \page D

[NTG-context] Export, page break markers

2020-10-14 Thread Denis Maier
Hi, as I'm almost done with my PDFs for the first volume of our journal, I'm thinking about also publishing HTMLs. We have XSLTs almost ready for this, but I was thinking if I could use ConTeXt also for this. A very nice feature would be being able to add marking of page bre

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
Taco, I found a solution. Instead of trying to adjust what I have in the preamble, I simply went to where I begin the Foreword and included [marking={Foreword}]: \startforeword[marking={Foreword}][author={Author's name}]. And of course, to prevent the first page of Foreword from havin

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread jbf
defined as [width=140mm,height=216mm] double-sided setup (in other words a standard 8.5"x5.5" book): \setuplayout [backspace=16mm, topspace=12mm, header=6mm, headerdistance=10mm, footerdistance=9mm, footer=8mm, width=fit, horoffset=12.7mm, location

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread Henning Hraban Ramm
quot;x5.5" book): > > \setuplayout > > [backspace=16mm, > topspace=12mm, > header=6mm, > headerdistance=10mm, > footerdistance=9mm, > footer=8mm, > width=fit, > horoffset=12.7mm, > location=middle, > height=198mm, > markin

[NTG-context] setuplayout vs Indesign!

2020-08-25 Thread jbf
stance=9mm,     footer=8mm,     width=fit,     horoffset=12.7mm,     location=middle,     height=198mm,     marking=on] There was no mention of 'margins' as such in that layout, and the result is close to what is wanted but not quite. Do I solve the problem by adding in: leftmargin=20mm, righ

Re: [NTG-context] headers again

2020-08-13 Thread Hans Hagen
mber is wrong. (this reply is in jest ....) incrementnumber=no, The correct way here is to reset the marking entries at the begin of a new chapter or title with \setuphead [chapter,title] [marking=reset] Agreed. This is a better solution. Any idea why this is not the default? beca

Re: [NTG-context] headers again

2020-08-13 Thread jbf
en you add another chapter afterwards you wonder why the number is wrong. (this reply is in jest ) incrementnumber=no, The correct way here is to reset the marking entries at the begin of a new chapter or title with \setuphead [chapter,title] [marking=reset]

Re: [NTG-context] headers again

2020-08-13 Thread Aditya Mahajan
\showframe > > \setupheadertexts[\setups{header}] > > > > \startsetups header > >\getmarking[chapter] > > \stopsetups > > > > \starttext > > \startchapter[title={This is a chapter}] > >\input knuth > > \page > >\inp

Re: [NTG-context] headers again

2020-08-13 Thread Wolfgang Schuster
ber=no] \input ward \page \input knuth \stopchapter \stoptext Don't do this, unnumbered chapter still increase the counter and when you add another chapter afterwards you wonder why the number is wrong. The correct way here is to reset the marking entries at the begin of a new cha

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
; to recode each \startsection command, I have used variables and a macro > > command for the style. > > > > This works for section 'title' and 'marking', but not for the 'list' > > attribute. > > The title argument works only because it is p

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
styling of the section headings without having to recode each \startsection command, I have used variables and a macro command for the style. This works for section 'title' and 'marking', but not for the 'list' attribute. The title argument works only because i

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
recode each \startsection command, I have used variables and a macro command for the style. This works for section 'title' and 'marking', but not for the 'list' attribute. The minimal working example below shows what I'm trying to do. Best wishes and many th

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Jan-Erik Hägglöf
uage[sv] %\usetypescriptfile [plex] \setupbodyfont [palatino,ss,11pt] \setupinterlinespace[16pt] \useMPlibrary[dum] \useexternalfigure[logo][cow][size=art] \definepapersize[Label][width=\LWidth,height=\LHeight] \setuppapersize[Label][A4] \setuppaper[ nx=2, ny=9, topspace=1cm, backsp

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-15 Thread Henning Hraban Ramm
> Am 10.06.2020 um 09:33 schrieb Hans Hagen : > > the begin/end are used for marking blobs of content (kind of buffers) that > can be mixed in, reused, moved, while start/stop is for structure > > so, begin/end is independent > > it is an already old mechanism that

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-10 Thread Hans Hagen
Question A \stopquestion \endquestion \beginanswer \startanswer Answer A \stopanswer \endanswer the begin/end are used for marking blobs of content (kind of buffers) that can be mixed in, reused, moved, while start/stop is for structure so, begin/end is independent it is an already old

Re: [NTG-context] Trouble setting PDF boxes

2020-04-30 Thread Jack Steyn
etuplayout[location=middle, marking=on] \setupinteraction [title={TestDoc}, author={Anon}] \setupbackend [format=PDF/X-1a:2003, intent={ISO Coated v2 300\letterpercent\space (ECI)}] \setupinteractionscreen[width=max,height=max] \startluacode moduledata.mystuff={} respecify_pdf_boxes

Re: [NTG-context] Right-to-left pagecolumns and markings in ConTeXt

2020-04-29 Thread Joey McCollum
markings from the first column (i.e., the right column in this case), but they don't seem to be correct; marking 1 isn't referenced in the header of the first page, and the first new mark on the second page is treated as the top mark for that page, rather than the current mark at the time the s

Re: [NTG-context] Right-to-left pagecolumns and markings in ConTeXt

2020-04-29 Thread Hans Hagen
ample] [     n=2, %number of columns     direction=reverse, %does not work if ending comma is removed! ] \starttext \startpagecolumns[example]     \marking[TestMark]{1}(1) \input knuth\par     \marking[TestMark]{2}(2) \input knuth\par     \marking[TestMark]{3}(3) \input knuth\par     \marking[TestMa

  1   2   3   4   5   6   7   8   >