[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

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
tandardmakeup \starttitle[title={PAGE 2},marking{}] \setupbackgrounds[page][background=topic1] \input lorem \stoptitle \starttitle[title={PAGE 3},marking{ }] \setupbackgrounds[page][background=topic2] \input lorem \stoptitle \starttitle[title={PAGE 4},marking{}] \setuppapersize [f

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
the pages to the folds. My imposition code: \definepapersize[sheet][width=99mm,height=210mm] \setuppapersize[sheet][A4, landscape] \setuppaper[nx=3, ny=1, dx=0mm, dy=0mm] % must come before \setuparranging! \setuplayout[page][location=middle, marking=on] \setuparranging [XY] \setuplayout

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-03 Thread cryo shock
ps] > > \setupbtxlist[aps][ > > %alternative=, > > width=fit, > > distance=.5em, > > %distance=0pt, > > margin=0em, > > ] > > > > \starttext > > Hallo Welt! \cite[lnkHWelt] > > > > \startappendices > >

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-02 Thread Alan Braslau
%alternative=, > width=fit, > distance=.5em, > %distance=0pt, > margin=0em, > ] > > \starttext > Hallo Welt! \cite[lnkHWelt] > > \startappendices > \startsection[title={Pubs},marking={}] > \placelistofpublications[method=dataset]

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-02 Thread Lars
    \startsection[title={Pubs},marking={}]   \placelistofpublications[method=dataset]     \stopsection   \stopappendices \stoptext And that's in My_file.bib: @Misc{lnkHWelt,   Note = "zuletzt abgerufen am 5. Aug. 2018",   Url = "http://wiki.contextgarden.net; } What would be the mk

[NTG-context] Fwd: How to cite online websites (reloaded)

2018-09-02 Thread Lars
I am playing with this right now, but it's contra-automative :-P: \define[1]\LINK{\[\in[#1]\]} \setupinteraction[state=start] \starttext   \startbodymatter     \startchapter[title={Chapter Ej},marking={}]   \startsubject[title={Warnunk},marking={}]     Zitat hier: \LINK{libA

[NTG-context] Blocks in margin with overflow of text

2018-08-22 Thread Fabrice Couvreur
, header=3\bodyfontsize, headerdistance=\bodyfontsize, bottom=3\bodyfontsize, location={middle}, margin=\measure{Margin}, rightmargin=4.5cm, marking=on, ] \definefloat [recipe] [figure] \setupfloat [recipe] [default={margin,none}] \defineconversionset [digit

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster
From .tuc file. { ["metadata"]=129, ["numberdata"]=133, ["references"]={ ["block"]="bodypart", ["internal"]=5, ["realpage"]=3, -- this should be 4 ["section"]=5, ["used"]="width&

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-17 Thread Joseph Canedo
ot;]=5, ["used"]="width", }, ["titledata"]={ ["bookmark"]="Chapitre .iiij.", ["label"]="subsection", ["marking"]="Chapitre", ["title"]="Chapitre \\LeftDot \\RM {4}.", }, [

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
don't recall seeing before), so it may not be a generic solution. An empty string works fine instead of the llaped marking shown here. This is a less dangerous hack than redefining \par, but still may fail in more complex documents when \setupparagraphintro is used elsewhere. \starttexde

Re: [NTG-context] Question to covers

2018-07-21 Thread Henning Hraban Ramm
size > [Cover] > [width=\dimexpr420mm+\measure{SpineWidth}\relax, >height=297mm] > > \setuppapersize [Cover] > > \setupexternalfigures [directory={_pdf}] > > \useexternalfigure [MAG] [magazine.pdf] > > \setvariables > [cover] > [issue={34}, >topic={Topic}

Re: [NTG-context] Question to covers

2018-07-21 Thread Wolfgang Schuster
] \useexternalfigure [MAG] [magazine.pdf] \setvariables [cover] [issue={34}, topic={Topic}] \setuplayout [marking=on] \definelayer [whole] [width=\paperwidth, height=\paperheight] \starttext \startlayout [page] \setlayer [whole] [x=0mm, y=0mm] {\getfiguredimensions[M

Re: [NTG-context] option for printing range

2018-02-25 Thread Hans Hagen
rom what I read in i-context.pdf, I wonder whether it would be possible to add page ranges with [10:90]. I don’t have a way of testing it, since I don’t know how to use \markpage for other purposes. the only way to test is dummy documents ... and as one never know pages in advance marking a sp

Re: [NTG-context] option for printing range

2018-02-25 Thread Pablo Rodriguez
>> From what I read in i-context.pdf, I wonder whether it would be possible >> to add page ranges with [10:90]. >> >> I don’t have a way of testing it, since I don’t know how to use >> \markpage for other purposes. > > the only way to test is dummy documents ... and

Re: [NTG-context] option for printing range

2018-02-25 Thread Hans Hagen
,4,5] From what I read in i-context.pdf, I wonder whether it would be possible to add page ranges with [10:90]. I don’t have a way of testing it, since I don’t know how to use \markpage for other purposes. the only way to test is dummy documents ... and as one never know pages in advance mar

Re: [NTG-context] Presentation sections identified by color and mark

2018-02-04 Thread Hans Hagen
the begin of each section and a vertical line of different color for current position) other option I like: ##%%@@HHH&&&&&&& (each letter represents a color. It's a bar with colors marking size of text. So it's a series of color rectangles with colors for each se

[NTG-context] Presentation sections identified by color and mark

2018-02-03 Thread jmmora
tical line of different color for current position) other option I like: ##%%@@HHH&&&&&&& (each letter represents a color. It's a bar with colors marking size of text. So it's a series of color rectangles with colors for each section and a vertical line for current pos

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-26 Thread Lars
nput knuth   \startchapter[title={},marking={}]   \stopchapter \stoptext Although I haven't added chapter key to \placebookmarks, so that it also doesn't show up in the bookmarks window, only then CTX seems to create bookmarks for the list which I created called Marks. Is there a way to

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Henri
=bookmark] > \definelist[Marks] > \placebookmarks[Marks][Marks][force=yes] > > \starttext > >   \bookmark[Marks]{Bookmark one} >   \input tufte >    >   \page >    >   \bookmark[Marks]{Bookmark two} >   \input knuth >    >   \startchapter[title={},markin

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Lars
  \bookmark[Marks]{Bookmark one}   \input tufte   \page   \bookmark[Marks]{Bookmark two}   \input knuth \startchapter[title={},marking={}]   \stopchapter \stoptext Although I haven't added chapter key to \placebookmarks, so that it also doesn't show up in the bookmarks window, only then CTX seems

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-23 Thread Lars
=start] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][force=yes] \starttext   \bookmark[Marks]{Bookmark one}   \input tufte   \page   \bookmark[Marks]{Bookmark two}   \input knuth   \startchapter[title={},marking={}]   \stopchapter \stoptext Although I h

[NTG-context] Correct usage of \placebookmarks

2018-01-18 Thread Lars
}   \input knuth   \startchapter[title={},marking={}]   \stopchapter \stoptext Although I haven't added chapter key to \placebookmarks, so that it also doesn't show up in the bookmarks window, only then CTX seems to create bookmarks for the list which I created called Marks. Is there a way

Re: [NTG-context] complete cut marks

2017-12-03 Thread Pablo Rodriguez
On 12/03/2017 12:23 PM, Hans Hagen wrote: > On 12/3/2017 8:47 AM, Pablo Rodriguez wrote: >> [...] >> This is why a crossed marking makes sense. > > the only thing that helps against the marke being cut off is to draw a > frame so i'll add > > \setuplayout[marking=p

Re: [NTG-context] complete cut marks

2017-12-03 Thread Hans Hagen
ith a trimmer (https://en.wikipedia.org/wiki/Paper_cutter). This is why a crossed marking makes sense. the only thing that helps against the marke being cut off is to draw a frame so i'll add \setuplayout[marking=page] which draws a dashed outline just outside the page (so one can cut there and stil

Re: [NTG-context] complete cut marks

2017-12-02 Thread Pablo Rodriguez
sible to have a left or right location and cut the paper with a trimmer (https://en.wikipedia.org/wiki/Paper_cutter). This is why a crossed marking makes sense. Many thanks for your reply, Pablo -- http://www.ousia.tk _

Re: [NTG-context] complete cut marks

2017-11-29 Thread luigi scarso
On Wed, Nov 29, 2017 at 9:11 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > On 11/28/2017 11:48 PM, Hans Hagen wrote: >> On 11/28/2017 9:29 PM, Pablo Rodriguez wrote: >>> [...] >>> Would it be possible to have a marking=crossed such as the one proposed >>>

Re: [NTG-context] complete cut marks

2017-11-29 Thread Pablo Rodriguez
On 11/28/2017 11:48 PM, Hans Hagen wrote: > On 11/28/2017 9:29 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to have a marking=crossed such as the one proposed >> in the attachment? >> >> (BTW, I added them by hand with Inkscape, this is why

Re: [NTG-context] complete cut marks

2017-11-28 Thread Hans Hagen
On 11/28/2017 9:29 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setuppapersize[A5][A4] \setuplayout [marking=on] \setupexternalfigure[location=default] \setuppagenumbering[location=] \starttext \externalfigure[cow][width=\textwidth

[NTG-context] complete cut marks

2017-11-28 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A5][A4] \setuplayout [marking=on] \setupexternalfigure[location=default] \setuppagenumbering[location=] \starttext \externalfigure[cow][width=\textwidth] \stoptext These cut marks are lost after the first cut

Re: [NTG-context] Is this a bug in header marking?

2017-10-17 Thread Rik
\startchapter (and between the last \stopchapter of a part and the start of the next part) when that last chapter ends on a recto). This clears the chapter marking in the headings of the new verso. When there is an epigraph to set, it is placed in the ChapterEpigraph section. This is unsatisfactory

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread N. Raghavendra
pheadertexts twice, first before the beginning of the front matter, and then before the beginning of the body matter, with settings appropriate for the respective block. 3. I use `\marking [chapter] {Contents}' before \completecontent, for otherwise I get no chapter name in the header for

[NTG-context] Is this a bug in header marking?

2017-10-15 Thread Rik Kabel
As a followup to my query on suppressing header marking, I have prepared an example which clearly shows odd, if not buggy behavior. The book places chapter openings on recto pages which follow a verso that may have an epigraph. When there is no epigraph, the blank verso is properly unmarked

Re: [NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Pablo Rodriguez
On 10/14/2017 09:39 PM, Rik Kabel wrote: > [...] > I understand that is a way to place page numbers, but it still does not > resolve the placement of the chapter name on pages 4 and 6. I suspect I > need to change the value of the chapter name marking to nil or spaces at > some

Re: [NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Rik Kabel
On 2017-10-14 15:23, Pablo Rodriguez wrote: On 10/14/2017 06:56 PM, Rik Kabel wrote: In a doublesided document, how can I suppress the chapter title marking in the header of the blank page that follows a chapter in which the text ends on a recto page? I do not want to suppress the header. Hi

Re: [NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Pablo Rodriguez
On 10/14/2017 06:56 PM, Rik Kabel wrote: > In a doublesided document, how can I suppress the chapter title marking > in the header of the blank page that follows a chapter in which the text > ends on a recto page? I do not want to suppress the header. Hi Rik, if you want pages in page

[NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Rik Kabel
In a doublesided document, how can I suppress the chapter title marking in the header of the blank page that follows a chapter in which the text ends on a recto page? I do not want to suppress the header. The following example shows the problem on pages 4 and 6. I notice that the Contents

Re: [NTG-context] Disable overlay on chapter pages

2017-08-03 Thread Jean-Pierre Delange
www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _______

Re: [NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Mikael P. Sundqvist
l / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _______ Thank you for your answer, Henning. I am sorry, but it does not work. The problem is that I don'

[NTG-context] inline code in XML

2017-07-28 Thread Pablo Rodriguez
marking in code blocks and in inline code? I have tried to find out a solution, but \typebuffer requires a separate paragraph (or I didn’t know how to disable it). Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] another question about markings

2017-05-08 Thread Thomas A. Schmitz
] \startsetups Headersetup \doifelse{\expanded{\getmarking[Head][top]}}{\expanded{\getmarking[Head][bottom]}}{\getmarking[Head][top]}{\getmarking[Head][top] – \getmarking[Head][bottom]} \stopsetups \setupheadertexts[\texsetup{Headersetup}] \starttext \dorecurse{6}{\marking[Head]{Tufte}\input tufte

[NTG-context] linenumbers in marking

2017-05-08 Thread Thomas A. Schmitz
Hi all, 5 years ago, on the mailing list, there was a thread started by Pablo Rodríguez (http://www.mail-archive.com/ntg-context@ntg.nl/msg62140.html) about line numbers in headers. Wolfgang Schuster replied that in principle, it's possible to have line numbers in headers, "but it’s not

  1   2   3   4   5   6   7   >