problem with doublesided
(probably already poste) \setuplayout[width=300pt,backspace=4cm] \setuppagenumbering [alternative=doublesided,location=margin] \starttext \dorecurse{20}{\input knuth \par} \stoptext with latest standalone the pagenumbers on left and right margins are swapped. Is it intended ? -- luigi
Am 02.02.2012 um 18:02 schrieb luigi scarso:
(probably already poste) \setuplayout[width=300pt,backspace=4cm] \setuppagenumbering [alternative=doublesided,location=margin] \starttext \dorecurse{20}{\input knuth \par} \stoptext
with latest standalone the pagenumbers on left and right margins are swapped. Is it intended ?
page-txt.mkvi: \def\page_layouts_place_text_line_right {\hbox {\ifdim\leftedgewidth>\zeropoint \page_layouts_left_edge_element\c!lefttext \fi \ifdim\leftmarginwidth>\zeropoint %\page_layouts_left_margin_element\c!lefttext\page_layouts_extra_at_margin_left \page_layouts_left_margin_element\c!lefttext\page_layouts_extra_at_margin_right \fi \ifdim\makeupwidth>\zeropoint \page_layouts_text_body_element\c!lefttext\c!middletext\c!righttext\page_layouts_extra_at_margin_left \fi \ifdim\rightmarginwidth>\zeropoint %\page_layouts_right_margin_element\c!righttext\page_layouts_extra_at_margin_left \page_layouts_right_margin_element\c!righttext\page_layouts_extra_at_margin_right \fi \ifdim\rightedgewidth>\zeropoint %\page_layouts_right_edge_element\c!lefttext \page_layouts_right_edge_element\c!righttext \fi}} \def\page_layouts_place_text_line_left {\hbox {\ifdim\leftedgewidth>\zeropoint \page_layouts_left_edge_element\c!righttext \fi \ifdim\leftmarginwidth>\zeropoint %\page_layouts_left_margin_element\c!righttext\page_layouts_extra_at_margin_right \page_layouts_left_margin_element\c!righttext\page_layouts_extra_at_margin_left \fi \ifdim\makeupwidth>\zeropoint \page_layouts_text_body_element\c!righttext\c!middletext\c!lefttext\page_layouts_extra_at_margin_right \fi \ifdim\rightmarginwidth>\zeropoint %\page_layouts_right_margin_element\c!lefttext\page_layouts_extra_at_margin_right \page_layouts_right_margin_element\c!lefttext\page_layouts_extra_at_margin_left \fi \ifdim\rightedgewidth>\zeropoint %\page_layouts_right_edge_element\c!righttext \page_layouts_right_edge_element\c!lefttext \fi}} Wolfgang
On Thu, Feb 2, 2012 at 6:54 PM, Wolfgang Schuster
Am 02.02.2012 um 18:02 schrieb luigi scarso:
(probably already poste) \setuplayout[width=300pt,backspace=4cm] \setuppagenumbering [alternative=doublesided,location=margin] \starttext \dorecurse{20}{\input knuth \par} \stoptext
with latest standalone the pagenumbers on left and right margins are swapped. Is it intended ?
page-txt.mkvi:
\def\page_layouts_place_text_line_right {\hbox {\ifdim\leftedgewidth>\zeropoint \page_layouts_left_edge_element\c!lefttext \fi \ifdim\leftmarginwidth>\zeropoint %\page_layouts_left_margin_element\c!lefttext\page_layouts_extra_at_margin_left \page_layouts_left_margin_element\c!lefttext\page_layouts_extra_at_margin_right \fi \ifdim\makeupwidth>\zeropoint \page_layouts_text_body_element\c!lefttext\c!middletext\c!righttext\page_layouts_extra_at_margin_left \fi \ifdim\rightmarginwidth>\zeropoint %\page_layouts_right_margin_element\c!righttext\page_layouts_extra_at_margin_left \page_layouts_right_margin_element\c!righttext\page_layouts_extra_at_margin_right \fi \ifdim\rightedgewidth>\zeropoint %\page_layouts_right_edge_element\c!lefttext \page_layouts_right_edge_element\c!righttext \fi}}
\def\page_layouts_place_text_line_left {\hbox {\ifdim\leftedgewidth>\zeropoint \page_layouts_left_edge_element\c!righttext \fi \ifdim\leftmarginwidth>\zeropoint %\page_layouts_left_margin_element\c!righttext\page_layouts_extra_at_margin_right \page_layouts_left_margin_element\c!righttext\page_layouts_extra_at_margin_left \fi \ifdim\makeupwidth>\zeropoint \page_layouts_text_body_element\c!righttext\c!middletext\c!lefttext\page_layouts_extra_at_margin_right \fi \ifdim\rightmarginwidth>\zeropoint %\page_layouts_right_margin_element\c!lefttext\page_layouts_extra_at_margin_right \page_layouts_right_margin_element\c!lefttext\page_layouts_extra_at_margin_left \fi \ifdim\rightedgewidth>\zeropoint %\page_layouts_right_edge_element\c!righttext \page_layouts_right_edge_element\c!lefttext \fi}}
Wolfgang
yes, it works. -- luigi
participants (2)
-
luigi scarso
-
Wolfgang Schuster