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

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

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

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

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]

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

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

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

[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

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

2022-05-10 Thread jbf via ntg-context
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 the title. * It

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

2022-05-10 Thread Henning Hraban Ramm via ntg-context
? * 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 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
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 cases my referencing

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

Re: [NTG-context] \installpagearrangement doublesided stickers

2022-02-11 Thread Jigé via ntg-context
\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 My aim

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
%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] 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
), this 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=max,he

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

2021-10-12 Thread Henning Hraban Ramm via ntg-context
here 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 ne

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 [paper

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
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 now i test

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
otnotes 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 agenda for next

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
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’t be in effect

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
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 improvemen

[NTG-context] update

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

[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

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
] \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={Term 2}] \startdes

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 breaks

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 having

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread jbf
-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=middle, height=198mm,

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-26 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, rightm

Re: [NTG-context] headers again

2020-08-14 Thread Hans Hagen
=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? because this is all kind of tricky wrt when to reset ... chapters can

Re: [NTG-context] headers again

2020-08-13 Thread jbf
. (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? Aditya

Re: [NTG-context] headers again

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

Re: [NTG-context] headers again

2020-08-13 Thread Wolfgang Schuster
\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 chapter or title with \setuphead [chapter,title] [marking=reset

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

2020-07-22 Thread James Withers
ve 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 placed in the text but it > won't work when you try to show the argum

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

2020-07-22 Thread Wolfgang Schuster
the 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 it is placed in the text

[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 minimal working example below shows what I'm trying to do. Best wishes and many thanks in advance. James \define

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

2020-06-26 Thread Jan-Erik Hägglöf
ppaper[ nx=2, ny=9, topspace=1cm, backspace=1cm, %dx=\LDistanceX, %dy=\LDistanceY, ] % must come before \setuparranging! \setuparranging [XY] \setuplayout[ location=middle, marking=on, topspace=5mm, backspace=5mm, width=68mm, header=0mm, footer=0mm, ] \setuppagenumbering[

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
[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 = function

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 second page

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

2020-04-29 Thread Hans Hagen
] [     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[TestMark]{4

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

2020-04-28 Thread Joey McCollum
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[TestMark]{4}(4) \input knuth\par \marking[TestMark]{5}(5) \input knuth\par

[NTG-context] filtering pages from /PrintPageRange

2020-04-16 Thread Pablo Rodriguez
ge[huge-book.pdf] \stoptext I copied and adapted all from Stackoverflow snippets. It is useful for me, since it file will be changing, page marking is automatic and filtering marked pages will be automatic too. But I wonder whether this may be useful to others. I wonder whether it makes sense to ad

[NTG-context] ConTeXt support for Atom or other text editors

2020-01-21 Thread Sébastien Wilmet
ditors or IDEs that support the language server protocol: https://github.com/astoff/digestif I suppose that Atom supports the language server protocol. Digestif has support for ConTeXt too, not just LaTeX. With Atom is there spell-checking? Without marking TeX/ConTeXt commands as misspelled?

Re: [NTG-context] fancy chapter setup

2020-01-11 Thread Rik Kabel
pter[reference={cha:blah},   list={blah}, % toc       marking={blah},  % page heading   bookmark={blah}, % pdf bookmark   title={blah}]    % chapter head [Lettrine=yes,setFirst=5W] ... \stopchapter \startcha

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2020-01-07 Thread Hans Hagen
On 1/7/2020 1:26 PM, Oliver von Criegern wrote: Using \definepagecolumns[xyz][n=2] instead of \setupcolumns[n=2] and \startpagecolumns[xyz] etc. instead of \startcolumns etc. seems to do what I want, except that the columns of the last page aren't balanced any more. Anyway, pagecolumns seems to

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2020-01-07 Thread Oliver von Criegern
Using \definepagecolumns[xyz][n=2] instead of \setupcolumns[n=2] and \startpagecolumns[xyz] etc. instead of \startcolumns etc. seems to do what I want, except that the columns of the last page aren't balanced any more. Anyway, pagecolumns seems to be experimental. The manual says "Don't use page

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-23 Thread Wolfgang Schuster
Oliver von Criegern schrieb am 18.12.2019 um 17:39: So there seems to be no solution for this? Not a solution but pagecolumns show the correct marks even with line numbering. Wolfgang ___ If your question is of

Re: [NTG-context] Tent style cards

2019-12-21 Thread Pablo Rodriguez
bottomspace=0in, footer=0in, backspace=0.0in, %% location=middle, marking=on, ] \startbuffer[tblcard] \startframedtext [frame=off, width=\textwidth, height=\textheight, align={lohi, middle}] \tfd A Name

[NTG-context] Tent style cards

2019-12-21 Thread Pavneet Arora
ppapersize[tblcard][letter,portrait] \setuparranging[2TOP] \setuplayout[ height=3in, width=4in, topspace=0in, header=0in, bottomspace=0in, footer=0in, backspace=0.0in, %% location=middle, marking=on, ] \startbuffer[tblcard] \strut \tfd A Name \stop

Re: [NTG-context] setting the color of cropmarks

2019-12-20 Thread mf
This is a dirty hack to change the color of the crop marks and the page number at the corner of a page when \setuplayout[marking=on]. Edit the file: tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv in the distribution, changing two lines: - (here i'm reproducing only the last

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Hans Hagen
On 12/19/2019 6:24 PM, mf wrote: Il 19/12/19 18:07, Henning Hraban Ramm ha scritto: Am 2019-12-19 um 16:41 schrieb mf : Hello list, \setuplayout[marking=on] typesets crop marks that are in grayscale black. Can I change their color, in particular into a CMYK black (0,0,0,1.0)? Just

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Wolfgang Schuster
mf schrieb am 19.12.2019 um 18:24: Il 19/12/19 18:07, Henning Hraban Ramm ha scritto: Am 2019-12-19 um 16:41 schrieb mf : Hello list, \setuplayout[marking=on] typesets crop marks that are in grayscale black. Can I change their color, in particular into a CMYK black (0,0,0,1.0)? There’s

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread mf
Il 19/12/19 18:07, Henning Hraban Ramm ha scritto: Am 2019-12-19 um 16:41 schrieb mf : Hello list, \setuplayout[marking=on] typesets crop marks that are in grayscale black. Can I change their color, in particular into a CMYK black (0,0,0,1.0)? There’s no parameter, and I don’t understand

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm
Am 2019-12-19 um 16:41 schrieb mf : > > Hello list, > > \setuplayout[marking=on] typesets crop marks that are in grayscale black. > > Can I change their color, in particular into a CMYK black (0,0,0,1.0)? There’s no parameter, and I don’t understand how the markings

[NTG-context] setting the color of cropmarks

2019-12-19 Thread mf
Hello list, \setuplayout[marking=on] typesets crop marks that are in grayscale black. Can I change their color, in particular into a CMYK black (0,0,0,1.0)? Thanks, Massi ___ If your question is of interest

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-18 Thread Oliver von Criegern
So there seems to be no solution for this? Am 09.12.19 um 15:18 schrieb Oliver von Criegern: Any suggestions, how to solve this problem? Am 02.12.19 um 20:06 schrieb Oliver von Criegern: Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-09 Thread Oliver von Criegern
Any suggestions, how to solve this problem? Am 02.12.19 um 20:06 schrieb Oliver von Criegern: Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5

[NTG-context] Line numbering in two column layout conflicts with marking

2019-12-02 Thread Oliver von Criegern
Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5,     method=page,     align=flushright,     ] \definemarking[Test] \setupheadertexts

Re: [NTG-context] developer not verified error

2019-11-16 Thread Mojca Miklavec
n't allow recording unless you run it from the Terminal, for example.) What confuses me most though is how the beta can work, while lmtx doesn't. I have an impression that when you download something with Safari as opposed to downloading with rsync, Safari simply "attaches" something

Re: [NTG-context] My own marks

2019-08-31 Thread Jon Wong
Hi all, Sorry, I corrected my MWE. As you can see, \currentitemnumber seems strange when used for \marking inside a nested itemize. MWE: \definemarking[M] \startsetups S default=(\getmarking[M])~ first=(\getmarking[M][first])~ last=(\getmarking[M][last])~ previous=(\getmarking[M

Re: [NTG-context] My own marks

2019-08-31 Thread Jon Wong
Hi all, It seems that \currentitemnumber won’t work for \marking if inside a nested itemize? MWE: \definemarking[M] \startsetups S default=(\getmarking[M])~ first=(\getmarking[M][first])~ last=(\getmarking[M][last])~ previous=(\getmarking[M][previous])~ both=(\getmarking[M][both

[NTG-context] My own marks

2019-08-31 Thread Jon Wong
Hi all, How does \marking really work? Can’t seem to get \currentitemnumber into it. MWE: \definemarking[M] \startsetups S \getmarking[M] \stopsetups \setupheadertexts[\setups{S}][][][\setups{S}] \starttext \startitemize[n] \item First item \marking[M]{Really? \currentitemnumber

Re: [NTG-context] Captions with background

2019-08-04 Thread Hans Hagen
Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - \usemodule[visual] \setuppapersize[A6][A6,oversized] \setuplayout [location=middle, marking=on, grid=yes

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-09 Thread Thangalin
thanks for your help, >> >> Pablo >> -- >> http://www.ousia.tk >> >> >> -- >> >> Message: 5 >> Date: Sun, 7 Jul 2019 23:42:11 +0200 >> From: Hans Hagen >> To: ntg-context@ntg.nl >> Subject: Re:

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Andres Conrado
e: > > Hi everyone, > > > > under default settings, the fontloaders discards all glyph names which > > are considered "crappy", meaning matching the "p_crappyname" pattern in > > "font-oup.lua". For some names this makes a lot of sense. For ex

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Henning Hraban Ramm
Zitat von Hans Hagen : On 7/8/2019 12:26 PM, Henning Hraban Ramm wrote: I found the culprit, it’s \clip : \setuppapersize[A6][C6] \setuplayout[ location=middle, marking=on, ] \starttext \clip[     hoffset=\textwidth,     voffset=5mm,     width=\pagewidth

Re: [NTG-context] crappy names in the fontloader

2019-07-08 Thread Hans Hagen
e fontloader still considers it "crappy" because it starts with a "U" followed by a letter which could be a hexadecimal number. I think this is a bit over-agressive. Maybe the "p_crappyname" pattern could be changed to only look for "u" if followed by "

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Hans Hagen
On 7/8/2019 12:26 PM, Henning Hraban Ramm wrote: I found the culprit, it’s \clip : \setuppapersize[A6][C6] \setuplayout[ location=middle, marking=on, ] \starttext \clip[     hoffset=\textwidth,     voffset=5mm,     width=\pagewidth,     height=\pageheight

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Henning Hraban Ramm
I found the culprit, it’s \clip : \setuppapersize[A6][C6] \setuplayout[ location=middle, marking=on, ] \starttext \clip[ hoffset=\textwidth, voffset=5mm, width=\pagewidth, height=\pageheight

Re: [NTG-context] crappy names in the fontloader

2019-07-07 Thread Hans Hagen
appy" because it starts with a "U" followed by a letter which could be a hexadecimal number. I think this is a bit over-agressive. Maybe the "p_crappyname" pattern could be changed to only look for "u" if followed by "p_done", marking

[NTG-context] crappy names in the fontloader

2019-07-07 Thread Marcel Fabian Krüger
U" followed by a letter which could be a hexadecimal number. I think this is a bit over-agressive. Maybe the "p_crappyname" pattern could be changed to only look for "u" if followed by "p_done", marking the end of a component? Best regards, Marcel Krüger __

[NTG-context] 13th International ConTeXt meeting

2019-05-01 Thread Taco Hoekwater
ough. Jan (our previous host) is no longer attached to the chateau but a replacement has been found and there will still be special Belgian beers (and a marking list!). Calendric context = • May 1, 2019, beginning of registration • July 1, 2019, deadline for early bird pay

Re: [NTG-context] calling up chapter title

2019-04-26 Thread Wolfgang Schuster
chapter title. However \chapter turns out to be undefined, neither did \chaptertitle. What is the macro to be called? I doubt \chapter is undefined otherwise you can add a chapter title to your document. What you're looking for is the \getmarking marking which is used to access section

Re: [NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Wolfgang Schuster
\setuplayout   [marking=on,    location=middle] you can see the shifting moves everything away from the marks. BTW: You forgot the = for the marking settings in \startttitle. Wolfgang ___ If your question is of interest

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
[6] [fifthandsixth] %% Some setups \setupmakeup [doublesided=no] \setupbodyfont [mainface,10pt] \setuptolerance [verytolerant] \setuplayout[marking=color] %% We want to see page and layout borders. %% COMMENT THIS OUT BEFORE YOU PRINT! \showframe \starttext \starttitle[title={First page

Re: [NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-02-06 Thread Rik Kabel
On 1/29/2019 06:48, Sanjoy Mahajan wrote: \definepapersize[bookcrop][width=137mm,height=221mm] \setuppapersize [bookcrop][bookcrop] \setuplayout[marking=on, location=middle, backspace=13.5mm, width=middle, topspace=32bp, header=10bp, headerdistance=26bp, footerdistance=16bp

[NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-01-29 Thread Sanjoy Mahajan
betas (all on Debian amd64), as well as on the live ConTeXt (which is the 2019.01.28 beta). -Sanjoy == start margin-figure-region.tex = \definepapersize[bookcrop][width=137mm,height=221mm] \setuppapersize [bookcrop][bookcrop] \setuplayout[marking

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Ursula Hermann
o show the effect on this wiki > \setuppapersize[A8][A5,landscape] \setuppaper[nx=4, ny=2] > \setuplayout[page][location=middle, marking=on] \setuparranging [XY] > \setupbodyfont[6pt] > > % actual example starts here > \setuppagenumbering > [alternative=doublesided] >

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Otared Kavian
o show the effect on this wiki > \setuppapersize[A8][A5,landscape] > \setuppaper[nx=4, ny=2] > \setuplayout[page][location=middle, marking=on] > \setuparranging [XY] > \setupbodyfont[6pt] > > % actual example starts here > \setuppagenumbering > [alternative=doublesided]

[NTG-context] Changes \setuphead

2019-01-21 Thread Ursula Hermann
to show the effect on this wiki \setuppapersize[A8][A5,landscape] \setuppaper[nx=4, ny=2] \setuplayout[page][location=middle, marking=on] \setuparranging [XY] \setupbodyfont[6pt] % actual example starts here \setuppagenumbering [alternative=doublesided] \startsetups [chapter:before

  1   2   3   4   5   6   7   >