Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Wolfgang Schuster
Jeong Dal schrieb am 26.08.18 um 10:06: Hi, In the table of contents, there is a unwanted blank space after chapter 2. There is a page break if the remaining space is not enough to cover the list of the next chapter. For example, page break after ch 2. in the following example. Is it

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
Hi, In the table of contents, there is a unwanted blank space after chapter 2. There is a page break if the remaining space is not enough to cover the list of the next chapter. For example, page break after ch 2. in the following example. Is it possible to list them continuously? Best regards

Re: [NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 17.08.18 um 17:26: On 08/17/2018 11:04 AM, Fabrice Couvreur wrote: Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is on more than one page, it works perfectly. On the other hand, if the

Re: [NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Pablo Rodriguez
On 08/17/2018 11:04 AM, Fabrice Couvreur wrote: > Hello, > I want to create a template with a header on the first page for student > testing. If the document contains text that is on more than one page, it > works perfectly. On the other hand, if the document has text on one > pa

[NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Fabrice Couvreur
Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is on more than one page, it works perfectly. On the other hand, if the document has text on one page, it does not work. Thanks. Fabrice \setuppagenumbering[alternative

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-16 Thread Wolfgang Schuster
}} \ruledhbox to \hsize{\hbox{Q}\hss\hbox{B}} \ruledhbox to \hsize{\hbox{\smash[d]{Q}}\hss\hbox{B}} \stoptext \setupfootertexts [margin] [] [{\externalfigure[logo.png][height=]}] [] [{\externalfigure[logo.png][height=]}] \setupfootertexts[{Page \pagenumber\ of \goto{\lastpagenumber}[lastpage

[NTG-context] The dimensions of the first page are not taken into account Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is

2018-08-16 Thread Fabrice Couvreur
Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is on more than one page, it works perfectly. On the other hand, if the document has text on one page, it does not work. Thanks. Fabrice \setuppagenumbering[alternative

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-16 Thread Fabrice Couvreur
, backspace=20mm, width=middle] \setupbackgrounds [header] [text] [frame=off, topframe=on, bottomframe=on, framecolor=, rulethickness=1pt] \setupinteraction[state=start] \setupfooter[margin][strut=no] \setupfootertexts[{Page \pagenumber\ of \goto{\lastpagenumber

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther
On Wed, Aug 15, 2018 at 05:41:33AM +0200, Wolfgang Schuster wrote: \setuppagenumbering [alternative=doublesided, location=none, page=no] Thanks Wolfgang, that works like a champ. Now I've found the documentation for ConTeXt in Debian, it is tucked away in /usr/share/texmf/doc/co

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Henri Menke
se{10}{\page[dummy]} \stoptext On 14/08/18 22:50, Fabrice Couvreur wrote: Hi Henri, Thank you for your suggestion. However, I believe that my way of doing should not be the best because fixing width=\marginwidth the image is cropped. Fabrice \showframe \useMPlibrary[dum] \setuplayout   [height=m

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Wolfgang Schuster
\setuppagenumbering [alternative=doublesided, location=none, page=no] Wolfgang David Walther schrieb am 14.08.18 um 22:44: Thank you Wolfgang, that worked nicely. Two artifacts I'm not sure how to address: I did page Page X of N, but in the output, it displays like Page

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Alan Braslau
On Tue, 14 Aug 2018 14:19:25 -0700 David Walther wrote: > On Tue, Aug 14, 2018 at 02:58:58PM -0600, Alan Braslau wrote: > >On Tue, 14 Aug 2018 13:44:43 -0700 > >David Walther wrote: > > > >> I did page Page X of N, but in the output, it displays like > &g

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
small logo at the bottom of the page. > > It works almost but it is not very well adjusted. > > How to cure it ? > > Salut, > while the footer text approach may be viable, I’d use layers for exact > placement. > http://wiki.contextgarden.net/Layers >

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther
On Tue, Aug 14, 2018 at 02:58:58PM -0600, Alan Braslau wrote: On Tue, 14 Aug 2018 13:44:43 -0700 David Walther wrote: I did page Page X of N, but in the output, it displays like Page 2of 3, Page 1of 3, etc. It ignores the space between the number and the word of. You must have forgotten

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Alan Braslau
On Tue, 14 Aug 2018 13:44:43 -0700 David Walther wrote: > I did page Page X of N, but in the output, it displays like > Page 2of 3, Page 1of 3, etc. It ignores the space between the number and the > word of. You must have forgotten the trailing "\ " of "\

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther
Thank you Wolfgang, that worked nicely. Two artifacts I'm not sure how to address: I did page Page X of N, but in the output, it displays like Page 2of 3, Page 1of 3, etc. It ignores the space between the number and the word of. Secondly, when I use the doublesided and the {single

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Wolfgang Schuster
\setuppagenumbering [alternative=doublesided, % doublesided layout %alternative={singlesided,doublesided}, % singlesided layout with left/right pages location=none] \setupheadertexts [My Spreadsheet] \setupheadertexts [] [Page \userpagenumber\ of \lastuserpagenumber

[NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther
Hi, I am slowly learning ConTeXt. I am generating tables and spreadsheets, and transforming them into ConTeXt, finally got it working after a lot of mysterious errors about missing } as macro arguments. I have read this page carefully: http://wiki.contextgarden.net/Layout How can I alter the

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Henning Hraban Ramm
Am 2018-08-14 um 12:13 schrieb Fabrice Couvreur : > Hello, > I wish to place a small logo at the bottom of the page. > It works almost but it is not very well adjusted. > How to cure it ? Salut, while the footer text approach may be viable, I’d use layers for exact pla

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
]}] \starttext \dorecurse{10}{\page[dummy]} \stoptext Le mar. 14 août 2018 à 12:18, Henri Menke a écrit : > > > On 14/08/18 22:13, Fabrice Couvreur wrote: > > Hello, > > I wish to place a small logo at the bottom of the page. > > It works almost but it is not ver

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Henri Menke
On 14/08/18 22:13, Fabrice Couvreur wrote: Hello, I wish to place a small logo at the bottom of the page. It works almost but it is not very well adjusted. How to cure it ? Thank you. fabrice \showframe \useMPlibrary[dum] \setuplayout   [height=middle,    width=middle,    backspace=2cm

[NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
Hello, I wish to place a small logo at the bottom of the page. It works almost but it is not very well adjusted. How to cure it ? Thank you. fabrice \showframe \useMPlibrary[dum] \setuplayout [height=middle, width=middle, backspace=2cm, topspace=10mm, bottomspace=10mm, header

Re: [NTG-context] preventing endnotes from running off the page

2018-08-06 Thread Robert Zydenbos
– but I have so many notes >> in a chapter that the frame runs off the last page. >> >> Is there any way to let the endnotes run on naturally to the next page? > > Hi Robert, > > I’m not sure I understand your issue. At least, I’m not able to > reproduce it:

Re: [NTG-context] preventing endnotes from running off the page

2018-08-06 Thread Pablo Rodriguez
On 08/06/2018 12:54 AM, Robert Zydenbos wrote: > When using endnotes, it seems that all the notes that are collected > in the text are placed together in a frame – but I have so many notes > in a chapter that the frame runs off the last page. > > Is there any way to let the

[NTG-context] preventing endnotes from running off the page

2018-08-05 Thread Robert Zydenbos
When using endnotes, it seems that all the notes that are collected in the text are placed together in a frame – but I have so many notes in a chapter that the frame runs off the last page. Is there any way to let the endnotes run on naturally to the next page? Robert

Re: [NTG-context] Issue with page break at \blank samepage

2018-07-27 Thread Joseph Canedo
No rush at all, this can wait for sure. Just wanted to report this problem. Thanks a lot (as Always 😊), Joseph De : Hans Hagen Envoyé le :vendredi 27 juillet 2018 18:22 À : mailing list for ConTeXt users; Joseph Canedo Objet :Re: [NTG-context] Issue with page break at \blank samepage On 7/26

Re: [NTG-context] Issue with page break at \blank samepage

2018-07-27 Thread Hans Hagen
with 2 pages and « Second » is left alone in 2^nd page. This is different from online context with prints last line of knuth par in 2^nd page too. I thought that « samepage » specifier in \blank prevented page break at that point ? Is there another option for this now ? i'm still figurin

[NTG-context] Issue with page break at \blank samepage

2018-07-26 Thread Joseph Canedo
page. This is different from online context with prints last line of knuth par in 2nd page too. I thought that « samepage » specifier in \blank prevented page break at that point ? Is there another option for this now ? Thanks Best regards Joseph

Re: [NTG-context] page interaction in contents list entry

2018-07-26 Thread Henning Hraban Ramm
Am 2018-07-23 um 13:06 schrieb Henning Hraban Ramm : > Dear wizards, > > in a list command (i.e. \setuplist[command=\MyCmd]) I use > \currentlistentrypagenumber to show the page number. > Now I’d like to make this a link, like in a normal ToC. I didn’t find a > suitable com

[NTG-context] page interaction in contents list entry

2018-07-23 Thread Henning Hraban Ramm
Dear wizards, in a list command (i.e. \setuplist[command=\MyCmd]) I use \currentlistentrypagenumber to show the page number. Now I’d like to make this a link, like in a normal ToC. I didn’t find a suitable command. Is there one? Greetlings, Hraban --- https://www.fiee.net http

Re: [NTG-context] page ranges in \markpage

2018-07-22 Thread Pablo Rodriguez
On 07/20/2018 12:19 AM, Hans Hagen wrote: > [...] > or even better > > local function getpagearray(str,max) > local list = { } > local function add(i) > list[i] = true > end > if max then > utilities.parsers.stepper(str,max,add) > else > utilitie

Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Hans Hagen
On 7/19/2018 9:56 PM, Pablo Rodriguez wrote: On 07/18/2018 09:08 PM, Wolfgang Schuster wrote: [...] Afterwards you can use a loop where you add the markpage commands at the begin and end of the range, below is a simple example but it’s easy to write a better loop with Lua. \setuplayout[page

Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Pablo Rodriguez
On 07/18/2018 09:08 PM, Wolfgang Schuster wrote: > > [...] > Afterwards you can use a loop where you add the markpage commands at > the begin and end of the range, below is a simple example but it’s easy > to write a better loop with Lua. > > \setuplayout[page] > \setu

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
ranges in \markpages makes complex to specify many ranges in a document. Sorry, I understood the solution (I used a Lua loop for to impose pages in a new PDF document some time ago), but I cannot stop thinking why the approach to get page ranges looks so complex to me. Many thanks

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 18. Juli 2018 um 18:19 Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupinteraction

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
On 07/18/2018 07:40 PM, Wolfgang Schuster wrote: > >> Pablo Rodriguez 18. Juli 2018 um 18:19 >> Hans, >> >> would it be possible that \markpage could have page ranges as in the >> following sample? >> >> \setuplayout >> [backspace=0pt,

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 18. Juli 2018 um 18:19 Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuplayou

[NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupinteraction

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

2018-06-28 Thread Marco Patzer
On Wed, 27 Jun 2018 20:40:52 +0200 Pablo Rodriguez wrote: > 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 \setuppages

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 22:15:3

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 Sur

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

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 equa

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
o 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? >>

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

2018-05-23 Thread Alan Braslau
Wed, 23 May 2018 12:09:29 +0200 Hans Hagen 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 c

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... > The ‘

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

[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
nce=0pt, pageleft=\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

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!registerp

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 mov

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 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 like: >> […] > you c

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
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
lays usage 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\\

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

[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 only th

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? Sinc

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 \dorecurse{3

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 : > \definetext[henning][header][chapter] > > \setuphead[chapt

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
ly 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{% \setlayerframed[background]% [y=10mm

[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? In

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 wrote: > > I would like to put a (rotated) text on every page in the margin. > Pl

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

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 To: Henri On 12/19/2017 9:15 PM, Henri wrote:  Dear list

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 To: Henri On 12/19/2017 9:15 PM, Henri wrote: Dear list, Motivated by https://tex.stackexchange.com

[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 To: Henri On 12/19/2017 9:15 PM, Henri wrote: Dear list, Motivated by https://tex.stackexchange.com/questions/406892 I wanted to disable page

[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 help. I'm going

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
ecify 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 c

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
17-10-18 18:44 GMT+02:00 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 withou

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