Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Wolfgang Schuster
t,-3pt] \setuppageshift[paper][flyer] \showframe[page] \starttext \dorecurse{6}{\page[dummy]} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Pablo Rodriguez
On 06/27/2018 07:54 PM, Wolfgang Schuster wrote: > This isn’t possible because the imposition mechanism puts the finished pages > in boxes with the same size. Wolfgang, isn’t it a case for \definepageshift and \setuppageshift? >> Marco Patzer 27. Juni 2018 um 18:35 >> On Tue, 19 Jun 2018

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Wolfgang Schuster
This isn’t possible because the imposition mechanism puts the finished pages in boxes with the same size. Wolfgang Marco Patzer 27. Juni 2018 um 18:35 On Tue, 19 Jun 2018 22:15:31 +0200 Any clues, someone? Marco

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Marco Patzer
On Wed, 27 Jun 2018 18:42:40 +0200 Henning Hraban Ramm wrote: > I'd not try that with pages and imposition, but just use two A4 pages > and place my content on them - using layers or maybe column sets. > http://wiki.contextgarden.net/Layers > http://wiki.contextgarden.net/Columns#Column_Sets

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Henning Hraban Ramm
Am 2018-06-27 um 18:35 schrieb Marco Patzer : > On Tue, 19 Jun 2018 22:15:31 +0200 > Marco Patzer wrote: > >> I try getting a 6-sided letterfold with unequal page size to work. Hi Marco, I'd not try that with pages and imposition, but just use two A4 pages and place my

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Marco Patzer
On Tue, 19 Jun 2018 22:15:31 +0200 Marco Patzer wrote: > I try getting a 6-sided letterfold with unequal page size to work. > > […] > > How to adapt for the changed page size without an overlapping page 4 > and a page with clearance to the adjacent 6th page? Suggestions >

[NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-19 Thread Marco Patzer
Hi, I try getting a 6-sided letterfold with unequal page size to work. This is how it's supposed to look like: https://www.saxoprint.co.uk/blog/wp-content/uploads/2013/06/roll-fold-leaflets-02-01.png This is easy with the arranging option TRYPTICHON. *But* the page sizes are not equal

Re: [NTG-context] Missing font features in page header if \feature[-]is used in header text

2018-05-30 Thread Joseph Canedo
Thanks a lot Hans for your prompt response. De : Hans Hagen Envoyé le :mercredi 30 mai 2018 16:17 À : mailing list for ConTeXt users; Joseph Canedo Objet :Re: [NTG-context] Missing font features in page header if \feature[-]is used in header text On 5/30/2018 2:31 PM, Joseph Canedo wrote

Re: [NTG-context] Missing font features in page header if \feature[-] is used in header text

2018-05-30 Thread Hans Hagen
On 5/30/2018 2:31 PM, Joseph Canedo wrote: Dear list, Provided MWE below I notice that font features seem ignored in page header rendering. Anything I am doing wrong ? Rendering is fine if \headerok is used. Any help would be appreciated. Thanks Best regards Joseph \definefontfeature

[NTG-context] Missing font features in page header if \feature[-] is used in header text

2018-05-30 Thread Joseph Canedo
Dear list, Provided MWE below I notice that font features seem ignored in page header rendering. Anything I am doing wrong ? Rendering is fine if \headerok is used. Any help would be appreciated. Thanks Best regards Joseph \definefontfeature[base][mode=node, liga=yes, dlig=yes, hlig=yes

Re: [NTG-context] Trim blank space of a PDF page

2018-05-23 Thread Taco Hoekwater
all.nl> wrote: > >> On 5/23/2018 11:25 AM, Taco Hoekwater wrote: >>> >>>> >>>> On 05/23/2018 01:25 AM, Procházka Lukáš Ing. wrote: >>>>> Hello, >>>>> >>>>> just curious - is threre a way how to crop

Re: [NTG-context] Trim blank space of a PDF page

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 12:09:29 +0200 Hans Hagen <j.ha...@xs4all.nl> wrote: > On 5/23/2018 11:25 AM, Taco Hoekwater wrote: > > > >> > >> On 05/23/2018 01:25 AM, Procházka Lukáš Ing. wrote: > >>> Hello, > >>> > >>> just cu

Re: [NTG-context] Trim blank space of a PDF page

2018-05-23 Thread Hans Hagen
On 5/23/2018 11:25 AM, Taco Hoekwater wrote: On 05/23/2018 01:25 AM, Procházka Lukáš Ing. wrote: Hello, just curious - is threre a way how to crop a page of a PDF via ConTeXt? Ideally - to process a single page PDF into another file, with the one page cropped... The ‘pdfcrop’ command

Re: [NTG-context] Trim blank space of a PDF page

2018-05-23 Thread Taco Hoekwater
> > On 05/23/2018 01:25 AM, Procházka Lukáš Ing. wrote: >> Hello, >> >> just curious - is threre a way how to crop a page of a PDF via ConTeXt? >> >> Ideally - to process a single page PDF into another file, with the one >> page cropped... >

Re: [NTG-context] Trim blank space of a PDF page

2018-05-23 Thread Henri Menke
On 05/23/2018 01:25 AM, Procházka Lukáš Ing. wrote: > Hello, > > just curious - is threre a way how to crop a page of a PDF via ConTeXt? > > Ideally - to process a single page PDF into another file, with the one > page cropped... It's not really clear what you want. Are you

[NTG-context] Trim blank space of a PDF page

2018-05-22 Thread Procházka Lukáš Ing .
Hello, just curious - is threre a way how to crop a page of a PDF via ConTeXt? Ideally - to process a single page PDF into another file, with the one page cropped... Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
> This would be a solution: > > Index term, and some > text > 21, 34, 45, 72, 89, >101, 103, 109 > > where the rule is: when the numbers exceed the text width, close the > paragraph, then start a new, right aligned one. > > So i wrote this: > >

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
geleft=\wordorparagraphright\bgroup, pageright=\egroup] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext --- I suppose it's related to the problem that \groupedcommand

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Hans Hagen
} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \setupregisterpagescommand{\wordright} \placeindex \page \resetregisterpagescommand \placeindex \stoptext btw, Hans, are you going to add an option to \setupregister? :) knowing that wolfgang looked into it i just wait till he cooks up

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Wolfgang Schuster
} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext Wolfgang MF <mailto:mass...@fastwebnet.it> 10. Mai 2018 um 12:35 This is a more polite version, that lets you restore the original macros. \let\origstartregisterpages=\startregisterpages

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\stopregisterpages{\egroup\origstopregisterpages}} \def\resetregisterpagescommand{% \let\startregisterpages=\origstartregisterpages% \let\stopregisterpages=\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
Thanks Wolfgang and sorry if i reply to my mail, since i've downloaded yours on another PC. I've found these macros in strc-reg.mkiv, that are called right before and after the page numbers: \unexpanded\def\startregisterpages {\begingroup \dostarttagged\t!registerpages\empty

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
There is no option to apply a command to all page numbers but you can add something after the register entry with the textcommand key. Be aware this solution isn’t perfect because in the worst case (narrow columns for the register or long entries) page numbers can be split on multiple lines

[NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread MF
Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to move

Re: [NTG-context] keeping together \subject and a table without a page break

2018-05-03 Thread Robert Zydenbos
YES! Thank you! > On 3. May 2018, at 13:07, Hans Hagen <j.ha...@xs4all.nl> wrote: > > On 5/3/2018 12:22 PM, Robert Zydenbos wrote: >> I am looking for a way to keep a subject header and a following table >> together on one page, without a page break. Something

Re: [NTG-context] keeping together \subject and a table without a page break

2018-05-03 Thread Hans Hagen
On 5/3/2018 12:22 PM, Robert Zydenbos wrote: I am looking for a way to keep a subject header and a following table together on one page, without a page break. Something like: ---snippet begins--- \subsubject{Personal suffixes for the present tense} \starttabulate [|w(.1\textwidth)|p(.2

[NTG-context] keeping together \subject and a table without a page break

2018-05-03 Thread Robert Zydenbos
I am looking for a way to keep a subject header and a following table together on one page, without a page break. Something like: ---snippet begins--- \subsubject{Personal suffixes for the present tense} \starttabulate [|w(.1\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|p(.2\textwidth)|pI(.2

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Hans Hagen
On 3/5/2018 4:33 PM, Joseph Canedo wrote: I see. So is it reliable to simply use lua function tex.getcount(‘realpageno’) in vertical mode to determine that page has changed ? Or do I need some other mechanism please ? If page has changed I agree that there is no need to deal with hangindent

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Joseph Canedo
at first line of page (except the first one in this MWE output at least), you might see « 15 » after N. line. De : Joseph Canedo Envoyé le :lundi 5 mars 2018 16:32 À : mailing list for ConTeXt users Objet :RE: [NTG-context] prevgraf change if page break occurs in a paragraph I see. So is it reliable

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Joseph Canedo
I see. So is it reliable to simply use lua function tex.getcount(‘realpageno’) in vertical mode to determine that page has changed ? Or do I need some other mechanism please ? If page has changed I agree that there is no need to deal with hangindent. I use grid typesetting so normally all

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Hans Hagen
in recent luatex, this stability is a bit broken IMO. it's *not changed* in luatex .. context *itself* sets the prevgraf at the next page as indicator of the left-over lines say that you have: XXX -- XXX

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Joseph Canedo
broken IMO. Joseph De : Hans Hagen Envoyé le :lundi 5 mars 2018 10:15 À : ntg-context@ntg.nl Objet :Re: [NTG-context] prevgraf change if page break occurs in a paragraph On 3/5/2018 9:43 AM, Joseph Canedo wrote: > I see. I use prevgraf to get number of lines in most recent paragraph to > c

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Hans Hagen
hangindent properly). but .. that one is then still on the same page; in fact, you should check for realpage being changed then I guess as an alternative, I could use the callback after paragraph is split in N lines to count the number of lines, or is this number can be accessed via some other

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Joseph Canedo
. Thanks a lot, Joseph De : Hans Hagen Envoyé le :lundi 5 mars 2018 08:58 À : ntg-context@ntg.nl Objet :Re: [NTG-context] prevgraf change if page break occurs in a paragraph On 3/4/2018 10:59 PM, Joseph Canedo wrote: > I am aware that ConTeXt betas might use experimental luaTeX changes

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-04 Thread Hans Hagen
for a year in prevgraf result. Apparently with latest beta it reports the number of lines in last page of paragraph (only tested with pars on 2 pages maximum, haven’t tried longer ones). Simple MWE reproduces the case: \starttext \dorecurse{15}{ A\\ B\\ C\\ D\\ E\\ F\\ G\\ H\\ I\\ J\\ K\\ L

[NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-04 Thread Joseph Canedo
Hello, I am aware that ConTeXt betas might use experimental luaTeX changes (I use both stable and latest and run both), just wanted to report a change in prevgraf result. Apparently with latest beta it reports the number of lines in last page of paragraph (only tested with pars on 2 pages

Re: [NTG-context] page-ini.lua, was Re: option for printing range

2018-02-24 Thread Hans Hagen
/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#page=373)? For example, "\setupinteractionscreen[range={2, 4-7, 10}]" should add the "/PrintPageRange [1 1 3 6 9 9]" in /ViewerPreferences. (BTW, the key name is the first one that came to my mind.) This is extr

[NTG-context] page-ini.lua, was Re: option for printing range

2018-02-24 Thread Rik Kabel
/PDF32000_2008.pdf#page=373)? For example, "\setupinteractionscreen[range={2, 4-7, 10}]" should add the "/PrintPageRange [1 1 3 6 9 9]" in /ViewerPreferences. (BTW, the key name is the first one that came to my mind.) This is extremely useful to help the user to print onl

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
Thank you, but I don’t know how to use that in my setup. Since my rubric has to be in a defined place and I didn’t manage to achieve that with header setups, I used \setlayer with \getmarking[part] Would that defined text behave differently than the part "marker"? And how do I get at that?

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Wolfgang Schuster
Henning Hraban Ramm 20. Februar 2018 um 17:35 Hi Wolfgang, thank you very much - does that mean it’s not possible to use the part title? \definetext[henning][header][part] \setuphead[part][placehead=empty] \setuphead[chapter][header=henning] \starttext

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
Hi Wolfgang, thank you very much - does that mean it’s not possible to use the part title? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD Am 2018-02-20 um 17:17 schrieb Wolfgang Schuster : >

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Wolfgang Schuster
\definetext[henning][header][chapter] \setuphead[chapter][header=henning] \starttext \dorecurse{5} {\expanded{\chapter{Kapitel \recurselevel}} \dorecurse{10}{\input{lorem}\par}} \stoptext Wolfgang Henning Hraban Ramm 20. Februar 2018 um 15:30 I tried something

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
he rubric header only on the first > page of a chapter (article). > > Which approach would you suggest? > In my experience, it’s hard to find the right place for \setupheader(texts) > so that it affects the right page(s). I tried something like: \def\SetPart{% \setlayer

[NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
Hello again, in my current magazine layout I’m abusing the part structure as a rubric, i.e. the part title shows up only in the header and in the ToC. That works nicely so far, but I must show the rubric header only on the first page of a chapter (article). Which approach would you suggest

Re: [NTG-context] avoiding space on top of a page

2018-02-11 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 11. Februar 2018 um 16:00 Ahoi, I configured my section titles to have a line of space (\blank[big]) before and after the title. But if the section starts on a new page, the title should start in the first line. I couldn’t find the

[NTG-context] avoiding space on top of a page

2018-02-11 Thread Henning Hraban Ramm
Ahoi, I configured my section titles to have a line of space (\blank[big]) before and after the title. But if the section starts on a new page, the title should start in the first line. I couldn’t find the right combination of \blank options... \setuplayout[grid=yes] \setuphead[section

Re: [NTG-context] text on every page howto

2018-02-02 Thread Otared Kavian
] {\myrotatedtext} \setupbackgrounds[page][background=myrotatedlayer] \starttext \input knuth \stoptext %% end rotated-text.tex > On 2 Feb 2018, at 12:41, dr. Hans van der Meer <havdm...@ziggo.nl> wrote: > > I would like to put a (rotated) tex

[NTG-context] text on every page howto

2018-02-02 Thread dr. Hans van der Meer
I would like to put a (rotated) text on every page in the margin. Please, how do I accomplish this? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2018-01-12 Thread Hans Hagen
On 1/12/2018 6:44 PM, Rik Kabel wrote: Bump. This has come up a few times, but never resolved. Is there the possibility of an option for placefigure to discard remaining depth at a page break? it's more a aside effect of operating at the edge of the page (i'm reluctant to change

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2018-01-12 Thread Rik Kabel
Bump. This has come up a few times, but never resolved. Is there the possibility of an option for placefigure to discard remaining depth at a page break? -- Rik On 2015-08-25 10:14, Rik Kabel wrote: On 2015-08-25 03:41, Andreas Becker wrote: ConTeXt version: 2015.08.21 19:57 In the PDF

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
On 12/20/2017 6:44 PM, Aditya Mahajan wrote: On Wed, 20 Dec 2017, Hans Hagen wrote: %  solution 1: \setuphead   [part]   [page=no,    placehead=hidden] \setuptexttexts   [\synchronizehead{part}] I recently had a problem where \testpage was misbehaving while \testpagesyncronized worked

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
On 12/20/2017 6:40 PM, Aditya Mahajan wrote: On Wed, 20 Dec 2017, Hans Hagen wrote: Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen <pra...@wxs.nl> To: Henri <henrime...@gmail.com> On

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
On Wed, 20 Dec 2017, Hans Hagen wrote: % solution 1: \setuphead [part] [page=no, placehead=hidden] \setuptexttexts [\synchronizehead{part}] I recently had a problem where \testpage was misbehaving while \testpagesyncronized worked correctly. The example above is another

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
On Wed, 20 Dec 2017, Hans Hagen wrote: Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen <pra...@wxs.nl> To: Henri <henrime...@gmail.com> On 12/19/2017 9:15 PM, Henri wrote: Dear list,

[NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen <pra...@wxs.nl> To: Henri <henrime...@gmail.com> On 12/19/2017 9:15 PM, Henri wrote: Dear list, Motivated by https://tex.stack

[NTG-context] Stray blank page with part

2017-12-19 Thread Henri
Dear list, Motivated by https://tex.stackexchange.com/questions/406892 I wanted to disable page breaks for parts.  This works on all pages, except the first page of a document.  Why?  MWE is below as always.  Reproducible with TL 2017 and latest beta. Cheers, Henri \setuphead   [part

Re: [NTG-context] Page printed upside down

2017-10-24 Thread Fabrice Couvreur
Hi Pablo, I like to separate so that students concentrate their reading, but it's my point of view that is not scientific. Fabrice 2017-10-23 17:22 GMT+02:00 Pablo Rodriguez : > On 10/23/2017 12:34 PM, Fabrice Couvreur wrote: > > Hi Pablo, > > Thank you for the links and for your

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Pablo Rodriguez
On 10/23/2017 12:34 PM, Fabrice Couvreur wrote: > Hi Pablo, > Thank you for the links and for your help. I'm going to look at Metafun > for the vertical line. Hi Fabrice, I know that curiosity killed the cat, but why do you need the vertical line? Pablo -- http://www.ousia.tk

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
you need to > specify duplex printing (as explained above). Otherwise, your printer > would print as its default properties specify. > > There is even a \setupinteractionscreen[option=page] option, which > enables single-sided (or simplex) printing. This is required for > printers

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
ly one, you need to specify duplex printing (as explained above). Otherwise, your printer would print as its default properties specify. There is even a \setupinteractionscreen[option=page] option, which enables single-sided (or simplex) printing. This is required for printers that are configured to pr

Re: [NTG-context] Page printed upside down

2017-10-21 Thread Fabrice Couvreur
-18 18:44 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 10/18/2017 06:00 PM, Fabrice Couvreur wrote: > > Hi, > > With this > > > > \setuppapersize[A4,landscape] > > \setupinteractionscreen[option=landscape] > > > > I get a double-sided page th

Re: [NTG-context] avoiding two lines on last page

2017-10-20 Thread Alan Bowen
Thanks, Hraban. I finally got a chance to try it—and it works very nicely. Note: I placed the command in text of the last page of the component and got the desired result without specifying a page number. I wonder if this more abuse than use. Alan On Wed, Oct 18, 2017 at 4:42 PM, Henning Hraban

Re: [NTG-context] Forced Page Break in a Table of Content

2017-10-19 Thread Antoine Cailliau
No one for helping me ? On 11 October 2017 at 10:49, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > hi, > > The wiki documents how to insert a page break in a table of content: > http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, this

Re: [NTG-context] avoiding two lines on last page

2017-10-18 Thread Henning Hraban Ramm
Am 2017-10-18 um 15:03 schrieb Alan Bowen <bowenala...@gmail.com>: > Occasionally, one of my components (chapters) ends with only two lines on the > last page. Since space is at a premium, I was wondering if there is a way to > encourage ConTeXt to put these two lines on the

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Pablo Rodriguez
On 10/18/2017 06:00 PM, Fabrice Couvreur wrote: > Hi, > With this > > \setuppapersize[A4,landscape] > \setupinteractionscreen[option=landscape] > > I get a double-sided page that I can read without having to return the > page on the back. But I wish I could fold the

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Pablo Rodriguez
lex printing). Your second sample from only needs \setuppapersize[A4, landscape] at the very beginning. Since it wasn’t added, page orientation is portrait by default. [landscape] in \setuppapersize defines the page orientation. Adding it should change the display in your PDF browser. [opti

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
Hi, With this \setuppapersize[A4,landscape] \setupinteractionscreen[option=landscape] I get a double-sided page that I can read without having to return the page on the back. But I wish I could fold the sheet to have a booklet. The output is: 1 | 2 3 | 4 it would be necessary to have: 3

[NTG-context] avoiding two lines on last page

2017-10-18 Thread Alan Bowen
Occasionally, one of my components (chapters) ends with only two lines on the last page. Since space is at a premium, I was wondering if there is a way to encourage ConTeXt to put these two lines on the preceding page. I do not have a mwe, so any tips about strategies and commands to consider

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
lo, > I'm not sure I understand but I'll test tomorrow in high school. > With the file below, using what you offer, will the dimensions of my page > be respected ? > > \setuplayout >[header=\zeropoint, > headerdistance=\lineheight, > backspace=2cm, > width

Re: [NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
Hi Pablo, I'm not sure I understand but I'll test tomorrow in high school. With the file below, using what you offer, will the dimensions of my page be respected ? \setuplayout [header=\zeropoint, headerdistance=\lineheight, backspace=2cm, width=middle, topspace=\dimexpr 2cm

Re: [NTG-context] Page printed upside down

2017-10-16 Thread Pablo Rodriguez
On 10/16/2017 05:59 PM, Fabrice Couvreur wrote: > Hello, > I have printed this document and the page on the back is printed upside down > in fact you have to turn the page to read it. > How to correct this ? > Thank you > Fabrice > > \setuppapersize[A4,landscape] Hi Fabr

[NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
Hello, I have printed this document and the page on the back is printed upside down in fact you have to turn the page to read it. How to correct this ? Thank you Fabrice \setuppapersize[A4,landscape] \setuppagenumbering[alternative=,location=] \definemixedcolumns [MyColumns] [ n=2

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

[NTG-context] Forced Page Break in a Table of Content

2017-10-11 Thread Antoine Cailliau
hi, The wiki documents how to insert a page break in a table of content: http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, this does not work on ConTeXt ver: 2017.07.27 16:17 MKIV beta fmt: 2017.7.28 The following minimal document does not have the page break

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-23 Thread Henning Hraban Ramm
tpagemakeup[pagestate=start,page=no] >\color[red]{ >\vfill >\dorecurse{3}{ >\samplefile{klein} >\vfill >} >} > \stoppagemakeup Thank you very much: pagestate=start does the trick. Greetlings, Hraban --- http://www.fiee

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-21 Thread Hans Hagen
On 9/20/2017 8:32 PM, Pablo Rodriguez wrote: On 09/19/2017 11:29 PM, Henning Hraban Ramm wrote: [...] Thank you for the suggestion, but it doesn’t help, not even in the MWE. I don’t know, but the postponed page doesn’t behave as a makeup (at least, with the page number): \setuppapersize

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-21 Thread Henning Hraban Ramm
Am 2017-09-20 um 20:32 schrieb Pablo Rodriguez <oi...@gmx.es>: > On 09/19/2017 11:29 PM, Henning Hraban Ramm wrote: >> [...] >> Thank you for the suggestion, but it doesn’t help, not even in the MWE. > > I don’t know, but the postponed page doesn’t behave as a makeup

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-20 Thread Pablo Rodriguez
On 09/19/2017 11:29 PM, Henning Hraban Ramm wrote: > [...] > Thank you for the suggestion, but it doesn’t help, not even in the MWE. I don’t know, but the postponed page doesn’t behave as a makeup (at least, with the page number): \setuppapersize[A9] \starttext \startbuffer[

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Henning Hraban Ramm
Am 2017-09-19 um 17:15 schrieb Pablo Rodriguez <oi...@gmx.es>: > On 09/19/2017 04:46 PM, Henning Hraban Ramm wrote: >> Hi all, >> back from the meeting I’m still working on my full page figure placement. >> Most of it works so far, even if it tends to collide with f

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Pablo Rodriguez
On 09/19/2017 04:46 PM, Henning Hraban Ramm wrote: > Hi all, > back from the meeting I’m still working on my full page figure placement. > Most of it works so far, even if it tends to collide with floats, but now I’d > like to switch off the page numbers on that pages. Hi Hraban,

[NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Henning Hraban Ramm
Hi all, back from the meeting I’m still working on my full page figure placement. Most of it works so far, even if it tends to collide with floats, but now I’d like to switch off the page numbers on that pages. The M(N)WE is simplified in that I use only a text area sized frame instead

Re: [NTG-context] Empty page to suppress header (background) frame

2017-09-04 Thread Procházka Lukáš Ing .
Hello, done here (on the bottom of the page): http://wiki.contextgarden.net/Command/setupheader But the result doesn't show the goal of the example: - header is not shown at all, including its blue "underline", - user cannot check the emptiness of the second page. Mayb

Re: [NTG-context] Empty page to suppress header (background) frame

2017-09-01 Thread Pablo Rodriguez
d}, >] > \setupheadertexts[left][right] > > \starttext >Page 1 >\page[empty,blank] >Page 2 > \stoptext > Hi Lukáš, could you add this info to the wiki? Pablo -- http://www.ousia.tk __

Re: [NTG-context] Empty page to suppress header (background) frame

2017-09-01 Thread Procházka Lukáš Ing .
Hello Pablo, you inspired me: \setuplayout[header=5mm,headerdistance=5mm,] \setupheader [text] [before={\startframed[frame=off,bottomframe=on,framecolor=blue,]}, after={\stopframed}, ] \setupheadertexts[left][right] \starttext Page 1 \page[empty,blank] Page 2 \stoptext

Re: [NTG-context] Empty page to suppress header (background) frame

2017-08-31 Thread Procházka Lukáš Ing .
Hello Pablo, thanks for the answer - yes, it works - for the situation header underline has been defined via \blackrule and not background. I found a proposal for this situation spoken here before: - to provide [noheaderandfooterbackground] (or similar) option for \page which would

Re: [NTG-context] Empty page to suppress header (background) frame

2017-08-30 Thread Pablo Rodriguez
On 08/30/2017 05:19 PM, Procházka Lukáš Ing. wrote: > [...] > How to: > > - define header to be framed normally and > - to be "frame-free" when \page[empty] (and/or maybe \page[blank]) is called? Hi Lukáš, from your sample, I wonder whether you need a complete frame or

[NTG-context] Empty page to suppress header (background) frame

2017-08-30 Thread Procházka Lukáš Ing .
Hello, suppose the following code: \setuplayout[header=5mm,headerdistance=5mm,] \setupbackgrounds[header][text][bottomframe=on] \setupheadertexts[left][right] \starttext Page 1 \page[empty,blank] Page 2 \stoptext Page 2 in this sample is empty - no text and no header/footer

[NTG-context] Possible error in page-lay.mkiv

2017-08-29 Thread Rik Kabel
In page-lay.mkvi I see, at lines 1591–1594: \definepapersize   [doubleoversized]   [ \c!width=\dimexpr \paperheight+\layouttargetparameter\c!distance\relax,    \c!height=\dimexpr2\paperwidth +\layouttargetparameter\c!distance\relax] I would expect to see

Re: [NTG-context] combined / compressed / collapsed page and numbered citation references in bibliographies

2017-08-12 Thread Rik Kabel
On 2017-08-12 22:30, Alan Braslau wrote: On Sat, 12 Aug 2017 20:32:17 -0400 Rik Kabel <cont...@rik.users.panix.com> wrote: I noticed that in bibliographies, page indexing combines runs of two or more pages (pp. 150­–151), as does page number compression in registers, while it takes

Re: [NTG-context] combined / compressed / collapsed page and numbered citation references in bibliographies

2017-08-12 Thread Alan Braslau
On Sat, 12 Aug 2017 20:32:17 -0400 Rik Kabel <cont...@rik.users.panix.com> wrote: > I noticed that in bibliographies, page indexing combines runs of two > or more pages (pp. 150­–151), as does page number compression in > registers, while it takes three or more numbered cit

[NTG-context] combined / compressed / collapsed page and numbered citation references in bibliographies

2017-08-12 Thread Rik Kabel
I noticed that in bibliographies, page indexing combines runs of two or more pages (pp. 150­–151), as does page number compression in registers, while it takes three or more numbered citations to cause a similar collapse (per the MKIV-Publications manual, page 38, I do not have an example

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-11 Thread Fabrice Couvreur
Hi Peter and Aditya, "You run the command "ConTeXt Full" instead of "ConTeXt" It works ! Thank you Fabrice 2017-08-11 9:30 GMT+02:00 Peter Münster : > On Thu, Aug 10 2017, Aditya Mahajan wrote: > > > You need to remove the --once call from the context call. (Not sure > > how

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-11 Thread Peter Münster
On Thu, Aug 10 2017, Aditya Mahajan wrote: > You need to remove the --once call from the context call. (Not sure > how to do this in Emacs) You run the command "ConTeXt Full" instead of "ConTeXt". -- Peter

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Aditya Mahajan
On Thu, 10 Aug 2017, Fabrice Couvreur wrote: Hi, @Aditya "You need multiple runs to resolve \lastpage" What you propose does not solve the problem How are you running it. You need to remove the --once call from the context call. (Not sure how to do this in Emacs) Aditya

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
Hi, @Aditya "You need multiple runs to resolve \lastpage" What you propose does not solve the problem @Pablo Very nice job ! Thanks Merci 2017-08-10 18:54 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/10/2017 12:35 PM, Fabrice Couvreur wrote: > > [...] > > H

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Pablo Rodriguez
On 08/10/2017 12:35 PM, Fabrice Couvreur wrote: > [...] > How to make the last page number interactive ? Hi Fabrice, I guess this might be what you want: \showframe \setupinteraction [state=start, style=, color=, contrastcolor=, focus=st

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Aditya Mahajan
Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. I believe that Emacs calls ConTeXt with `context --once`. You need multiple runs to resolve \lastpage. Aditya

<    2   3   4   5   6   7   8   9   10   11   >