From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: problem with doublesided
Date: Fri, 3 Feb 2012 09:25:33 +0100 [thread overview]
Message-ID: <CAG5iGsDRKd4dXTeeEVLOtKFZVfkDCX4OiwcX5Bch39Qj4kVZVg@mail.gmail.com> (raw)
In-Reply-To: <6BAC5364-BE4E-4AFC-91D1-9AF0FD3F8686@googlemail.com>
On Thu, Feb 2, 2012 at 6:54 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> 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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-02-03 8:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 17:02 luigi scarso
2012-02-02 17:54 ` Wolfgang Schuster
2012-02-03 8:25 ` luigi scarso [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-01-11 10:40 Problem " Tomas Hala
2012-01-09 9:53 Tomas Hala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG5iGsDRKd4dXTeeEVLOtKFZVfkDCX4OiwcX5Bch39Qj4kVZVg@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).