[NTG-context] empty page after columnset

2025-08-02 Thread Henning Hraban Ramm
Am 30.07.25 um 22:33 schrieb Henning Hraban Ramm: I’m still working at the current context journal. A few articles use 2 columns in a columnset, and sometimes there’s an empty page after it that I can’t get rid of – except by a different order of articles so that those in columns end on a

[NTG-context] empty page after columnset

2025-07-30 Thread Henning Hraban Ramm
I’m still working at the current context journal. A few articles use 2 columns in a columnset, and sometimes there’s an empty page after it that I can’t get rid of – except by a different order of articles so that those in columns end on a right page. My impression is that columnsets always

[NTG-context] Re: Full-page illustrations

2025-07-08 Thread Denis Maier via ntg-context
ieben:     Many thanks to everyone for advice - I combined various suggestions and managed to end up with a landscape picture occupying the full page.   The various options for removing the running headline seeme

[NTG-context] Re: Full-page illustrations

2025-07-08 Thread Denis Maier via ntg-context
occupying the full page.   The various options for removing the running headline seemed not to work - I was hopeful that headerstate=empty might, but \placefigure seems not to admit this as an option, and I didn't want to get too involved with Hraban'

[NTG-context] Re: Full-page illustrations

2025-07-08 Thread John Was
Many thanks to everyone for advice - I combined various suggestions and managed to end up with a landscape picture occupying the full page. The various options for removing the running headline seemed not to work - I was hopeful that headerstate=empty might, but \placefigure seems not to admit

[NTG-context] Re: Full-page illustrations

2025-07-07 Thread Wolfgang Schuster
'orientation=270' to position a figure in landscape mode, with the width set to the vertical height of the page (or close to it if that would make the overall size too large).  But I haven't worked out how to set the caption underneath the figure (that is, rotate the caption also, using

[NTG-context] Re: Full-page illustrations

2025-07-07 Thread Bruce Horrocks
> On 7 Jul 2025, at 15:22, John Was wrote: > > But I haven't worked out how to set the caption underneath the figure (that > is, rotate the caption also, using the full width of the figure): the > caption appears at the bottom of the page as for a portrait-oriented

[NTG-context] Re: Full-page illustrations

2025-07-07 Thread Henning Hraban Ramm
Am 07.07.25 um 17:44 schrieb Duncan Hothersall: There are a few ways to do this. Indeed. I’m usually using layers (because "full page" for me usually means bleeding), a makeup and postponing: """ \definemeasure[Bleed][3mm] \definemeasure[Trim][7.5mm] \definemeas

[NTG-context] Re: Full-page illustrations

2025-07-07 Thread Duncan Hothersall
There are a few ways to do this. \noheaderandfooterlines does literally just that on the page on which it is called. What I tend to do is slightly more involved - I set up a landscape layout at the same time as I'm setting up the normal portrait one, using \definelayout, and then I switch to

[NTG-context] Re: Full-page illustrations

2025-07-07 Thread Matthias Weber
ometimes useful to maximize the space available > for the picture, especially a landscape picture with a lot of detail. > > I have used 'orientation=270' to position a figure in landscape mode, with > the width set to the vertical height of the page (or close to it if that

[NTG-context] Full-page illustrations

2025-07-07 Thread John Was
landscape mode, with the width set to the vertical height of the page (or close to it if that would make the overall size too large). But I haven't worked out how to set the caption underneath the figure (that is, rotate the caption also, using the full width of the figure): the caption

[NTG-context] Re: End-page hyphenation

2025-07-05 Thread John Was
; > > A long-cherished desideratum is automatic prohibition of hyphenation at > > the end of a recto page (except for split footnotes, where this is > > actually quite helpful in forcing the reader to complete the note on the > > following verso). That was always disallowed at

[NTG-context] End-page hyphenation

2025-07-05 Thread John Was
Hello A long-cherished desideratum is automatic prohibition of hyphenation at the end of a recto page (except for split footnotes, where this is actually quite helpful in forcing the reader to complete the note on the following verso). That was always disallowed at OUP (but allowed at the end of

[NTG-context] Re: setupbackend breaks page layout

2025-05-02 Thread Steffen Wolfrum
; %\setupbackend[export=yes] >> \starttext >> \startsection >> [title={\ConTeXt\ is fun}] >> \stopsection >> \stoptext > > This is intended because you don't want the header/footer of each page to > appear in the exported document. > > As had been repo

[NTG-context] Re: setupbackend breaks page layout

2025-05-02 Thread Wolfgang Schuster
because you don't want the header/footer of each page to appear in the exported document. As had been reported multiple times exporting affects the layout of the document and you should always do different runs for the PDF and export versions of a document. Wol

[NTG-context] setupbackend breaks page layout

2025-05-02 Thread Steffen Wolfrum
When uncommenting the first line the header disappears ( ConTeXt ver: 2025.04.28 14:29 LMTX). Is this a bug? Steffen %\setupbackend[export=yes] \starttext \startsection [title={\ConTeXt\ is fun}] \stopsection \stoptext _

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Jim
could be a bug report, but it is mostly a request for assistance. >>> > In >>> > https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf >>> > I see "2.11 Big operators" is at the very bottom of a page (no "content" >>&g

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Wolfgang Schuster
/mathincontext-screen.pdf I see "2.11 Big operators" is at the very bottom of a page (no "content" of section 2.11 is on that page). This is an example of what I don't want, and anyone who feels the same way would consider this a (very minor) bug report for the (otherwise most excel

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Jim
en.pdf >> I see "2.11 Big operators" is at the very bottom of a page (no "content" of >> section 2.11 is on that page). This is an example of what I don't want, >> and anyone who feels the same way would consider this a (very minor) bug >> report for

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Hans Hagen
On 4/24/2025 5:00 PM, Jim wrote: This could be a bug report, but it is mostly a request for assistance. In https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf I see "2.11 Big operators" is at the very bottom of a page (no "content" of section 2.11 is on

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2025, Jim wrote: > This could be a bug report, but it is mostly a request for assistance. > > In >https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf > I see "2.11 Big operators" is at the very bottom of a page (no "content"

[NTG-context] *Not* starting a section at the very bottom of a page

2025-04-24 Thread Jim
This could be a bug report, but it is mostly a request for assistance. In https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf I see "2.11 Big operators" is at the very bottom of a page (no "content" of section 2.11 is on that page). This is an example of wh

[NTG-context] Re: Rotating and scaling images to fit a page

2025-04-24 Thread Fabrice L
Hi, > Le 24 avr. 2025 à 04:28, Michael Guravage a > écrit : > > Greetings, > > I have many images, all with different aspect ratios, that I would like to > collect in a document. Each image should be rotated and scaled to fit its > page. My MWE uses an image'

[NTG-context] Rotating and scaling images to fit a page

2025-04-24 Thread Michael Guravage
Greetings, I have many images, all with different aspect ratios, that I would like to collect in a document. Each image should be rotated and scaled to fit its page. My MWE uses an image's width and height to discern whether it's wide, tall, or square. This works, but I feel I'm

[NTG-context] Re: No pagenumber on first page

2025-04-10 Thread Thomas Meyer
]        [] [\unframed[align=middle,width=\outermarginwidth]{\pagenumber}] [\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]        [] \setuptext[state=empty] \starttext \dorecurse{50}{\samplefile{tufte}\par} \stoptext How can I avoid the pagenumber on the first page? Thank

[NTG-context] Re: No pagenumber on first page

2025-04-09 Thread Wolfgang Schuster
[state=empty]     \starttext     \dorecurse{50}{\samplefile{tufte}\par}     \stoptext How can I avoid the pagenumber on the first page? Thank you very much for your help! Wolfgang ___ If your question is of

[NTG-context] No pagenumber on first page

2025-04-09 Thread Thomas Meyer
}     \stoptext How can I avoid the pagenumber on the first page? Thank you very much for your help! Greetings Thomas___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: How to get TABLE to start on the same page, split when needed?

2025-04-02 Thread Aditya Mahajan
   \bTR\bTD ... \eTD\bTD ... \eTD\eTR >     \bTR\bTD ... \eTD\bTD ... \eTD\eTR >     \bTR\bTD ... \eTD\bTD ... \eTD\eTR >     \eTABLE > \stoptext > > here is a minimum working example. If it sees that one sell is rather big, > like in the case the first one is, it decides

[NTG-context] Re: How to get TABLE to start on the same page, split when needed?

2025-04-02 Thread Joel via ntg-context
working example. If it sees that one sell is rather big, like in the case the first one is, it decides to put it on the next page, instead of just splitting that cell up. --Joel___ If your question is of interest to

[NTG-context] How to get TABLE to start on the same page, split when needed?

2025-04-01 Thread Joel via ntg-context
I was using tabulate, but ended up with some strange error I could not track down. So I switched to using TABLE, the error went away, but now I have a new problem: If the TABLE is really big, but fits on the next page, it seems to add a \pagebreak before, then shows the table. This is wasting

[NTG-context] Re: margn text on makeup page -- how?

2025-02-27 Thread Rik Kabel
On 2025-02-27 15:22, Wolfgang Schuster wrote: Am 26.02.2025 um 18:08 schrieb Rik Kabel: On 2025-02-26 11:39, Wolfgang Schuster wrote: Am 26.02.2025 um 17:02 schrieb Rik Kabel: Is there a way to get margin text in a makeup page? The following example, modified by the addition of \inmargin

[NTG-context] Re: margn text on makeup page -- how?

2025-02-27 Thread Wolfgang Schuster
Am 26.02.2025 um 18:08 schrieb Rik Kabel: On 2025-02-26 11:39, Wolfgang Schuster wrote: Am 26.02.2025 um 17:02 schrieb Rik Kabel: Is there a way to get margin text in a makeup page? The following example, modified by the addition of \inmargin... from the wiki at https

[NTG-context] Re: margn text on makeup page -- how?

2025-02-26 Thread Rik Kabel
On 2025-02-26 11:39, Wolfgang Schuster wrote: Am 26.02.2025 um 17:02 schrieb Rik Kabel: Is there a way to get margin text in a makeup page? The following example, modified by the addition of \inmargin... from the wiki at https://wiki.contextgarden.net/Document_layout_and_layers/Makeup

[NTG-context] Re: margn text on makeup page -- how?

2025-02-26 Thread Wolfgang Schuster
Am 26.02.2025 um 17:02 schrieb Rik Kabel: Is there a way to get margin text in a makeup page? The following example, modified by the addition of \inmargin... from the wiki at https://wiki.contextgarden.net/Document_layout_and_layers/Makeup, results in no margin text in the makeup with either

[NTG-context] margn text on makeup page -- how?

2025-02-26 Thread Rik Kabel
Is there a way to get margin text in a makeup page? The following example, modified by the addition of \inmargin... from the wiki at https://wiki.contextgarden.net/Document_layout_and_layers/Makeup, results in no margin text in the makeup with either luatex or lmtx. \definepapersize[sheet

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-14 Thread Thomas Meyer
n{\bf\ss\ctxlua{userdata.Ddate("#1")}}\\ } You can use \testpage to force a page break when not enough space is available for the following content. \starttexdefinition protected DDate #1     \blank     \testpage[3]     \noindentation\style[sansbold]{\ctxlua{userdata.Ddate("#1")}}  

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Wolfgang Schuster
nth = string.sub(str,5,6)   local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },month,space,year"}) end \stopluacode \def\DDate#1{\blank\noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}\\ } You can use \testpage to for

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Thomas Meyer
/Don't use these \\ shortcuts ... just \par will do. /Okay! / Anyway, yopu can try this: / / \def\DDate#1%   {\blank   \noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}   \blank[samepage]} /That works! *Thank you Hans!* Greetings Thomas Am 13.02.25 um 13:10 schrieb Hans Hagen via ntg-con

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Hans Hagen via ntg-context
On 2/13/2025 10:58 AM, Thomas Meyer wrote: \startluacode function userdata.Ddate(str)   local year  = string.sub(str,1,4)   local month = string.sub(str,5,6)   local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },month,space,year"}) end \stopluacode

[NTG-context] prevent a kind of heading at the bottom of the page

2025-02-13 Thread Thomas Meyer
topluacode \def\DDate#1{\blank\noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}\\ } \starttext \DDate{20250101} \samplefile{knuth} \DDate{20250102} \samplefile{knuth} \DDate{20250103} \samplefile{knuth} ... \stoptext But if the DDate line is moved to the bottom of the page, it i

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Hans Hagen
On 2/9/2025 2:47 PM, Bruce Horrocks wrote: On 9 Feb 2025, at 12:00, Bruce Horrocks wrote: Try this: \def\doPageNumber#1{\the\numexpr -1 + #1\relax\ · #1} \setupcombinedlist[content][list={chapter}] \setuplist[chapter][pagecommand=\doPageNumber] \starttext \completecontent \page

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Pablo Rodriguez via ntg-context
On 2/9/25 14:47, Bruce Horrocks wrote: > [...] > > P.S. This works using ConTeXt ver: 2024.12.30 16:14 but fails using > ConTeXt ver: 2025.02.07 20:46 (for me at least). Many thanks for your reply, Bruce. It works perfectly fine with current latest (the version you mention) for me. Many thanks f

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Bruce Horrocks
> On 9 Feb 2025, at 12:00, Bruce Horrocks wrote: > > > Try this: > > \def\doPageNumber#1{\the\numexpr -1 + #1\relax\ · #1} > \setupcombinedlist[content][list={chapter}] > \setuplist[chapter][pagecommand=\doPageNumber] > > \starttext > \completecontent >

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Bruce Horrocks
> On 8 Feb 2025, at 21:38, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > I would like to have chapters in bodypart to list two numbers, the > previous to the current page and the current page, such as in: > > 14 · 15 24·25

[NTG-context] page number in \setuplist

2025-02-08 Thread Pablo Rodriguez via ntg-context
Dear list, I would like to have chapters in bodypart to list two numbers, the previous to the current page and the current page, such as in: 14 · 15 24·25 50 · 51 100 · 101 I tried the following command, but I cannot get the previous to the current page number

[NTG-context] Floats: indentnext=yes suppressed by location=page

2025-02-08 Thread Tomáš Hála
Hi all, I came across a problem with indentation of a paragraph following an image. The location "here" indents the next paragraph as expected whereas with option "page" not. What am I doing wrong? Or is there any other parameter? Thanks

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
in particular \startsection for example breaks the mecanism \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setupinterlinespace[14pt] % LET DEFAULT \setuplayout[% backspace=10mm, topspace=20mm, header=0mm,

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
A proposal based on lmt_parshape, \startshapetext, and \getshapetext. Be sure to use \endgraf to break the line ==> it probably work only if you stay in the same par. % 8<--- \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setu

[NTG-context] Re: page number in margin

2025-01-24 Thread Thomas Meyer
I had already discovered setuptexttexts myself. But how to do it ‘nicely’ was still missing. Thanks to Mikael and Wolfgang Am 24.01.25 um 17:44 schrieb Wolfgang Schuster: \setuppagenumbering [alternative=doublesided] \setuptexttexts [margin]   [] [\framed[frame=off,width=max,height=max,alig

[NTG-context] Re: page number in margin

2025-01-24 Thread Wolfgang Schuster
Am 24.01.2025 um 17:13 schrieb Thomas Meyer: Hi folks, how is it possible to centre the page number vertically and horizontally in the outer text margin (even page on the left and odd page on the right)? \setuppagenumbering [alternative=doublesided] \setuptexttexts [margin] [] [\framed

[NTG-context] Re: page number in margin

2025-01-24 Thread Mikael Sundqvist
Hi, On Fri, Jan 24, 2025 at 5:21 PM Thomas Meyer wrote: > Hi folks, > > how is it possible to centre the page number vertically and horizontally > in the outer text margin (even page on the left and odd page on the right)? > > Any help is welcome. > > Greetings Thomas

[NTG-context] page number in margin

2025-01-24 Thread Thomas Meyer
Hi folks, how is it possible to centre the page number vertically and horizontally in the outer text margin (even page on the left and odd page on the right)? Any help is welcome. Greetings Thomas ___ If your

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 21:43, Mikael Sundqvist wrote: If you are in the middle of a paragraph at the page break where the width changes, it will  not work. ok, so the \definelayout will not work for defining alternate (odd/even) narrow, (odd/even) wide pages. Is there an different route? e.g

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Mikael Sundqvist
If you are in the middle of a paragraph at the page break where the width changes, it will not work. Den sön 19 jan. 2025 21:40vm via ntg-context skrev: > > > On 19/01/2025 20:38, Henning Hraban Ramm wrote: > > \definelayout[one][width=118mm] > > \definelayout[two][wid

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] my current lmtx seems to ignore the \definelayout what am i missing? 8<--- \set

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: You can define different layouts like \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] That helps indeed, Thank you! .F _

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Henning Hraban Ramm
Am 19.01.25 um 19:07 schrieb vm via ntg-context: What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, .

[NTG-context] [ page setup ]

2025-01-19 Thread vm via ntg-context
What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ... all hints appreciated .Floris _

[NTG-context] Re: Is there any way to forbid footnotes from appearing on current page?

2024-11-28 Thread Denis Maier via ntg-context
024 07:20 > An: ntg-context@ntg.nl > Betreff: [NTG-context] Re: Is there any way to forbid footnotes from > appearing on current page? > > Am 28.11.24 um 04:45 schrieb Joel via ntg-context: > > I have found some situations in which I have content that interferes > > with

[NTG-context] Re: Is there any way to forbid footnotes from appearing on current page?

2024-11-27 Thread Henning Hraban Ramm
Am 28.11.24 um 04:45 schrieb Joel via ntg-context: I have found some situations in which I have content that interferes with footnotes. Can I tell ConText to delay showing the footnote for a page or two? And then when its safe again, all the footnotes that weren't displayed woul

[NTG-context] Is there any way to forbid footnotes from appearing on current page?

2024-11-27 Thread Joel via ntg-context
I have found some situations in which I have content that interferes with footnotes. Can I tell ConText to delay showing the footnote for a page or two? And then when its safe again, all the footnotes that weren't displayed would be displayed on a later page? -

[NTG-context] Re: How to force section title to be on same page as some of the content?

2024-11-03 Thread Henning Hraban Ramm
Am 03.11.24 um 07:53 schrieb Denis Maier via ntg-context: Should that be be before={\testpage[5]} instead of after=? before, sorry Hraban ___ If your question is of interest to others as well, please add an entry t

[NTG-context] Re: How to force section title to be on same page as some of the content?

2024-11-02 Thread Denis Maier via ntg-context
ow can I be so precise making sure the page break doesn't seperate the title from the start of the area where students write their answers? To force keep something together, you can use a \framed or a \vbox.   With a bit less

[NTG-context] Re: How to force section title to be on same page as some of the content?

2024-11-02 Thread Henning Hraban Ramm
Am 02.11.24 um 21:11 schrieb Joel via ntg-context: How can I be so precise making sure the page break doesn't seperate the title from the start of the area where students write their answers? To force keep something together, you can use a \framed or a \vbox. With a bit less force

[NTG-context] How to force section title to be on same page as some of the content?

2024-11-02 Thread Joel via ntg-context
ended materials (like scissors, glue). - Instructions directed at the student. - Where student write their answers. - A list of requirements, how it will be graded. In testing, I found students are ALWAYS very confused by page breaks: If the assignment title, supplies, and instructions appear o

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Wolfgang Schuster
Florent Michel schrieb am 25.09.2024 um 00:17: Hi, After looking at it a bit more, one solution can be found in the accepted answer to this question: https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context The following example is slightly

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Florent Michel
Wed, Sep 25, 2024 at 3:52 AM Florent Michel > wrote: > > > > Hi, > > > > After looking at it a bit more, one solution can be found in the > accepted answer to this question: > https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabi

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Shiv Shankar Dayal
m/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context > > The following example is slightly adapted from Marco's answer: > > ``` > \usemodule[ipsum] > > \definesectionblock[roman][romanpages] > \definestructureconversionset [roman:pagenumber] [] [r

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Florent Michel
Hi, After looking at it a bit more, one solution can be found in the accepted answer to this question: https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context The following example is slightly adapted from Marco's answer: ``` \usemodule[

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Florent Michel
Hi, I do not know how to do that properly (if someone has a solution, I'd also be interested), but here is something which seems to give a partial solution: ``` \usemodule[ipsum] \starttext \placecontent \section{Section 1} \dorecurse {6} \ipsum \pagebreak \section{Section 2} \def\romanpag

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Shiv Shankar Dayal
> Did you try a different PDF viewer? The display of the PDF outline > probably depends on the viewer. I used Evince and Okular(I am on Linux) and both work for LaTeX generated pdfs. > Maybe try > \enabledirectives[references.bookmarks.preroll] > or > \setupheads[expansion=yes] Tried both but th

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Henning Hraban Ramm
Am 24.09.24 um 16:14 schrieb Shiv Shankar Dayal: The problem is that PDF Outline does not show roman numerals. It shows page numbers in arabic numerals. Sorry, I misunderstood. I don’t know and can’t find any documentation on that. Did you try a different PDF viewer? The display of the PDF

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Shiv Shankar Dayal
> Try > \setupuserpagenumber[numberconversion=romannumerals] > > Instead of “romannumerals” you can also use r, R, or, or RK. > > If you meant “Arabic” numerals, try n, N, o, or zero. The problem is that PDF Outline does not show roman numerals. It shows page numbers

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Henning Hraban Ramm
Am 24.09.24 um 14:05 schrieb Shiv Shankar Dayal: Hi all, I want to switch page numbering from roman(which is typical in frontmatter) to roman. I also want these to appear in PDF outline. Can someone provide an MWE? It’s a bit unclear what your problem is. Try \setupuserpagenumber

[NTG-context] Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Shiv Shankar Dayal
Hi all, I want to switch page numbering from roman(which is typical in frontmatter) to roman. I also want these to appear in PDF outline. Can someone provide an MWE? -- Respect, Shiv Shankar Dayal ___ If your

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-11 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 11.09.2024 um 04:22: Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of the box. I run your

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 11.09.2024 um 00:35: On 10 Sep 2024, at 19:47, Wolfgang Schuster wrote: You can't use page counters in running text without problems because you're working against the way how TeX constructs pages. The only reliable way are multipass solutions like the

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread ai2472206007
Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of the box. Regarding the part about referencing commands, I inadvertently

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Bruce Horrocks
> On 10 Sep 2024, at 19:47, Wolfgang Schuster > wrote: > > You can't use page counters in running text without problems because you're > working against the way how TeX constructs pages. > > The only reliable way are multipass solutions like the pagestate

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 10.09.2024 um 06:05: 1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number t

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 09.09.2024 um 23:27: On 9 Sep 2024, at 08:57, ai2472206...@yeah.net wrote: As the title suggests, how do I get the correct page numbers? There does seem to be an anomaly here. Simpler MWE: \starttext \dorecurse{15}{ \input knuth %{\ssd\color[red]{\pagenumber}} % not

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 10.09.2024 um 06:05: 1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number t

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread vm via ntg-context
On 10/09/2024 06:32, ai2472206...@yeah.net wrote: I changed the command, and now I get the correct page number with this command, \ but how should he do the calculation? this gives an interesting result with a colorful mix of page numbers, although it is not obvious to me as why

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread ai2472206007
I changed the command, and now I get the correct page number with this command, \ but how should he do the calculation? \starttext \definepagestate[test][delay=yes] \dorecurse{10}{% \input knuth % {\ssd\color[red]{\setpagestate[test]\pagestaterealpage{test}{#1}}} } \stoptext Regards, --- Muyik

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread ai2472206007
That's true, but there seems to be a problem with all three examples, the first page number on the second page is all wrong with an output of 1. There must be some kind of mechanism that we don't know. _

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread ai2472206007
I used serif fonts and added color just to emphasize this page number. However, it is true that in some cases it is not possible to get the correct page correctly with these commands. ___ If your question is of

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread ai2472206007
1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number to determine if it's an odd or even page. T

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread vm via ntg-context
\dorecurse{15}{ \input knuth {\color[red]{\pagenumber}} % as expected } \stoptext (and there is probably a valid reason to it ;-) .F On 09/09/2024 23:27, Bruce Horrocks wrote: On 9 Sep 2024, at 08:57,ai2472206...@yeah.net wrote: As the title suggests, how do I get the correct page numbers

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread Bruce Horrocks
On 9 Sep 2024, at 08:57, ai2472206...@yeah.net wrote: > > As the title suggests, how do I get the correct page numbers? There does seem to be an anomaly here. Simpler MWE: \starttext \dorecurse{15}{ \input knuth %{\ssd\color[red]{\pagenumber}} % not as expected {\color[red]{\page

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 09.09.2024 um 09:57: Thank to all who answered my questions before. As the title suggests, how do I get the correct page numbers? For example, in the example below, the first line on the 2nd page, but the page number showed is 1, In the meantime, I tried using

[NTG-context] how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread ai2472206007
Thank to all who answered my questions before. As the title suggests, how do I get the correct page numbers? For example, in the example below, the first line on the 2nd page, but the page number showed is 1, In the meantime, I tried using \definepagestate, but it didn't seem to work e

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread Pablo Rodriguez via ntg-context
On 8/31/24 12:24, M U via ntg-context wrote: > Pablo Rodriguez wrote: >> Hans, >> >> I wonder whether MkXL may have page registers for footnotes. >> > Perhaps a feaseble workaround: > • place a section index after the content of the page > > The cons: >

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
Pablo Rodriguez wrote: > Hans, > > I wonder whether MkXL may have page registers for footnotes. > > This would be great to have page glossaries, such as in > https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w... > (first apparatus). > > To b

[NTG-context] registers in footnotes as page glossaries

2024-08-29 Thread Pablo Rodriguez via ntg-context
Hans, I wonder whether MkXL may have page registers for footnotes. This would be great to have page glossaries, such as in https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w.pdf#page=16 (first apparatus). To be fair, I have asked that a while ago (with MkIV). It would

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Pablo Rodriguez via ntg-context
On 8/19/24 17:11, Felix wrote: > Hello mikail, I would send a picture to be more clear with what I > want but it seems to not be possible Hi Felix, attachments to the list should be less than 100kb. If you generate your image as a PNG file, it should fit in that file size. I attach sample image

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Felix
Hello mikail, I would send a picture to be more clear with what I want but it seems to not be possible, what adding the footer=.5in code does is simply take away .5in from the bottom margin, what I mean is that The bottom margin really just becomes 1in because the footer takes up .5in from the m

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Mikael Sundqvist
Hi, I am not sure I understand what you want, but if you change footer=0in to footer=.5in and then add \setuppagenumbering [location=footer] you will get pagenumbers in the footer. If you need to tweak your layout more, it might be helpful to add \showframe to get a hint on how the page is

[NTG-context] Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Felix
hat I want; everything that is included in the preamble that affects the sizing and alignment, but I want a bottom centered page number that is vertically aligned (it doesn't have to be perfect but I think context can oroabbly do that? I'm a complete novice, sorry). Would greatly appreci

[NTG-context] Re: Customizing chapter and page no. styles

2024-08-02 Thread Duncan Hothersall
In the Metafun manual source the setup for page numbering is: \startuseMPgraphic{circled} pickup pencircle scaled 1mm ; drawoptions(withcolor (.6+uniformdeviate.35)*white) ; fill fullcircle xscaled 1.5cm yscaled 1cm ; drawoptions(withcolor .625yellow) ; draw fullcircle xscaled 1.5cm

[NTG-context] Customizing chapter and page no. styles

2024-08-02 Thread Shiv Shankar Dayal
Hi, I was going through the Metafun manual, the print version, which comes with distribution. I see how page no. and chapters are styles. How can I customize for that kind of output in the current version of ConTeXt? -- Respect, Shiv Shankar Dayal

  1   2   3   4   5   6   7   8   9   10   >