Dear Pablo,

As you suggested location=inright works for me using LMTX

Hans sent me:

can you put this in cont-new.mkxl and test it with options

\unprotect

\def\page_layouts_place_text_line_left
 {\hpack
    {\ifdim\leftedgewidth>\zeropoint
\page_layouts_left_edge_element\c!righttext\c!rightstyle\c!rightcolor\c!rightwidth
     \fi
     \ifdim\leftmarginwidth>\zeropoint
\page_layouts_left_margin_element\c!righttext\c!rightstyle\c!rightcolor\c!rightwidth\plusone
     \fi
     \ifdim\makeupwidth>\zeropoint
       \page_layouts_text_body_element_e_r_m_l
     \fi
     \ifdim\rightmarginwidth>\zeropoint
\page_layouts_right_margin_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth\zerocount
     \fi
     \ifdim\rightedgewidth>\zeropoint
\page_layouts_right_edge_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth
     \fi}}

\protect


 With this both   inright  and  inmargin work in LMTX and MKIV

So everything is working for me now.

Thank you for taking the time,
Charlie


On 12 Jul 2021, at 06:20, Pablo Rodriguez <oinos@gmx.es> wrote:

On 7/11/21 5:07 PM, Charles Doherty wrote:
[...]
the left page of the double spread places the page number on the left
margin of the page and in the right page it is placed on the right
margin. This is what I would like to get in LMTX as well. Am I doing
something wrong here?

Hi Charles,

I think that "inright" is what you want:

 \setuppagenumbering[alternative=doublesided,
     location=inright]

 \starttext
 \dorecurse{20}{\input knuth }
 \stoptext

With current latest from 2021.07.10 21:51, "location=inright" behaves as
you expect using LMTX.

Using MKIV with the current latest, there is no difference between
"location=inright" and "location=inmargin".

I don’t know whether this is intended or not.

I hope it might help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

*******************************
CHARLES DOHERTY
13 BANCROFT ROAD
TALLAGHT
DUBLIN 
D24 YH2V
home: +353 1 2447483
Mobile: +353 863868629
charles.doherty@icloud.com