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

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

2017-08-10 Thread Fabrice Couvreur
Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. How to make the last page number interactive ? Thank you Fabrice 2017-08-10 11:47 GMT+02:00 Otared Kavian <ota...@gmail.com>: > I forgot to add that you can

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

2017-08-10 Thread Otared Kavian
I forgot to add that you can also use \setupfootertexts[Page \pagenumber\ sur\ \totalnumberofpages][] Best regards: OK > On 10 Aug 2017, at 11:43, Otared Kavian <ota...@gmail.com> wrote: > > Hi Fabrice, > > The following gives the desired result, as Hans pointed ou: >

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

2017-08-10 Thread Otared Kavian
Hi Fabrice, The following gives the desired result, as Hans pointed ou: \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] \starttext \dorecurse{5}{\input knuth.tex \page} \stoptext Best regards: OK > On 10 Aug 2017, at 11:28, Fabrice Couvreur <fa

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

2017-08-10 Thread Fabrice Couvreur
Hi Hans and Pablo, \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] The behavior is not that expected: Page 1 sur 0 Page 2 sur 0 Page 3 sur 0 Thanks Fabrice 2017-08-10 9:57 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 8/9/2017 11:42 PM

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

2017-08-10 Thread Hans Hagen
On 8/9/2017 11:42 PM, Fabrice Couvreur wrote: Hello, With Latex, I did this : \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage With Context, I tried this unsuccessfully

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

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 11:42 PM, Fabrice Couvreur wrote: > Hello, > With Latex, I did this : > > \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} > \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage Hi Fabrice, this is

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

2017-08-09 Thread Fabrice Couvreur
Hello, With Latex, I did this : \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage With Context, I tried this unsuccessfully ; \setupinteraction [state=start, style

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-08-03 Thread Jean-Pierre Delange
series of footnotes in the footer. Notes dealing with the original text and different notes for the translation, given that if the original text was on the even page (left), a commentary might be print on the right page. The situation is clear : an even page with original language

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-07-27 Thread Jean-Pierre Delange
Hi Marcello, As you say "this feature could be really interesting", but as far as I know, there are many issues to deal with, in order to print 2 columns on the same page with different languages (say : greek and latin). This is not only because of two languages (say : english a

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-07-23 Thread Marcello Urgo
Dear Hans, I am also intersted in this issue. In the last years I am dealing with a multi-language technical lexicon. Hence, different languages refer to different columns, and if the languages are three or four, then it is better to go with two pages side-by-side. Nevertheless this seems a

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
On 07/03/2017 07:09 PM, Hans Hagen wrote: > On 7/3/2017 8:42 AM, Henri Menke wrote: >> On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: >>> On Sun, 2 Jul 2017, Henri Menke wrote: >>> >>>> Why is the page shifted? Reproducible in TL2017 and lat

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Hans Hagen
On 7/3/2017 8:42 AM, Henri Menke wrote: On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: On Sun, 2 Jul 2017, Henri Menke wrote: Why is the page shifted? Reproducible in TL2017 and latest beta. See also attached. MWE is below. Why do you think that the page is shifted? Or are you

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
On Mon, 2017-07-03 at 18:42 +1200, Henri Menke wrote: > On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: > > > > On Sun, 2 Jul 2017, Henri Menke wrote: > > > > > > > > Why is the page shifted?  Reproducible in TL2017 and latest beta.  See  > &g

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: > On Sun, 2 Jul 2017, Henri Menke wrote: > > > Why is the page shifted?  Reproducible in TL2017 and latest beta.  See  > > also attached.  MWE is below. > > Why do you think that the page is shifted? Or

Re: [NTG-context] Why is the page off?

2017-07-02 Thread Aditya Mahajan
On Sun, 2 Jul 2017, Henri Menke wrote: Why is the page shifted?  Reproducible in TL2017 and latest beta.  See also attached.  MWE is below. Why do you think that the page is shifted? Or are you asking why does the default layout set the left margin width to be larger than the backspace

[NTG-context] Why is the page off?

2017-07-01 Thread Henri Menke
Dear list, Why is the page shifted?  Reproducible in TL2017 and latest beta.  See also attached.  MWE is below. Cheers, Henri --- \showframe \starttext Foo \stoptext test.pdf Description: Adobe PDF document

[NTG-context] a special kind of notes in each page

2017-06-01 Thread Pablo Rodriguez
Hans, I have a document http://tex.ousia.tk/hippocratic-oath.pdf (source as attachment to the PDF document itself). The special kind of notes are the first group in two columns. I need that their space and location in page are calculated by the notes mechanism. And also that the notes mechanism

[NTG-context] Blank page introduced by setmathfont?

2017-01-27 Thread Thangalin
Example: \usemodule[simplefonts] \setmathfont[modern] \starttext \startfrontmatter \input knuth \stopfrontmatter \stoptext Expected Results The text is on the first page. Actual Results The text is on the second page, the first page is blank. Work Around Remove \setmathfont[modern

Re: [NTG-context] \copypages and page numbering

2016-12-22 Thread Hans Hagen
][][scale=950] They are not provided with page numbers, and I’m including them in the usual way. Now, most of the time it just works. All the papers should conform to a template, but in some cases, page numbers are not displayed, and this depends on the fact that the page setup in that paper has

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