From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2801 invoked from network); 9 Jan 2024 20:02:34 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 9 Jan 2024 20:02:34 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 38AD0483ED8 for ; Tue, 9 Jan 2024 21:01:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bdeuxLcDnnPx for ; Tue, 9 Jan 2024 21:01:53 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7BCC6484010 for ; Tue, 9 Jan 2024 20:59:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E29C1483E3A for ; Tue, 9 Jan 2024 20:59:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ykr92B5Y5Js5 for ; Tue, 9 Jan 2024 20:59:03 +0100 (CET) X-Greylist: delayed 301 seconds by postgrey-1.36 at cgl.ntg.nl; Tue, 09 Jan 2024 20:59:03 CET Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 5BE93483E38 for ; Tue, 9 Jan 2024 20:59:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1704830342; x=1705435142; i=prosimian@gmx.net; bh=vxdPvdhQ7n4Hcqx7/re3yjtpAG8o25AaocSMRpswI7o=; h=X-UI-Sender-Class:Date:From:Subject:Reply-To:To; b=PXAi9BouTON9OYoNYEDnU30X0Qg02AqAhCO+E61sjsYE7R3nonnEYca7b2clz9uW 9mopvaKc/wFcXIWYob9G6PvrsW4fnimNRltVKTbF7ct4zo2FOPevhG80hy2I7ymzP jypsET0N57M5f8q7iYXxnLEzGpaaOTU87Kv0AmGJcBrmmtAPxI15mq/2n7Mi2X11V IRI2bMG6P/csHAsuvVF9bA9ScjXOlepl94D3weGnkGrKVnAC3BpulghZQCKGsY5CG gTrzKRWLs7aaDHVQVBPeN0ABFaNXf8X3qgyaTfIY7UtjKODvuqVk/iqHWbFBeRfX1 Y5TY7MJJsUI2YvPEqg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.204] ([62.178.30.233]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MhlGk-1qjZhR3FA0-00dqgh for ; Tue, 09 Jan 2024 20:54:01 +0100 Message-ID: Date: Tue, 9 Jan 2024 20:54:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl X-Provags-ID: V03:K1:3Qj0EwUSAyKHCuMUfp8owEUIS2+SQJ/kRZOcSRW46p2KqwowX0A sUAa67bGzIwOUF844j/iRcyJWIgK57HSctDyhFsd+NM8oCIDK1I87AwA/Qexol/k9/qTdgt A6P4EkVFECNZLbpZtK3R7zW+L8sKex5MjwIb6L64id+IreN7DtGVQ2wlFDw+HPm3iaMR9tP fPB06FDKk8j5Kvs1ffPiw== UI-OutboundReport: notjunk:1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6AIGGQICYS2R4 X-MailFrom: prosimian@gmx.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: prosimian@gmx.net, mailing list for ConTeXt users Subject: [NTG-context] Width of captions and notes in outer margin not correct on even pages List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Milan cel Mare via ntg-context Cc: Milan cel Mare Content-Type: multipart/mixed; boundary="===============2320219349291494518==" This is a multi-part message in MIME format. --===============2320219349291494518== Content-Type: multipart/alternative; boundary="------------eWbvInQcyKCQzOdj0Kns3L1k" Content-Language: en-US This is a multi-part message in MIME format. --------------eWbvInQcyKCQzOdj0Kns3L1k Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, I have observed that the widths of captions and also notes on even pages is not as I would expect them to be. Reading through the documentation I figured out that the width for captions has to be set manually when they are placed in the outer margin. I did so by setting it to width=3D\outermarginwidth. But it seems that for captions the width is derived from the inner margin width on even pages. The width of notes in the outer margin placed with \inouter is also off on even pages. They are too narrow and do not "fill" the available space (things seems to work for notes in inner margins though). Here is an example: \setuppapersize[A4] \setuplayout[backspace=3D40mm, width=3D100mm, leftmargindistance=3D5mm, leftmargin=3D30mm, rightmargindistance=3D5mm, rightmargin=3D50mm, topspace= =3D10mm] \setuppagenumbering[alternative=3Ddoublesided] \setupcaptions[location=3D{outermargin, low}, width=3D\outermarginwidth, headcolor=3Dred, color=3Dgreen, style=3D{\tfx\setupinterlinespace}, align= =3Dwidth] \setupexternalfigures[location=3Ddefault] \setupmargindata[style=3D{\tfx}, stack=3Dyes] \setupmargindata[inouter][color=3Dorange] \setupmargindata[ininner][color=3Dblue] \showframe \starttext \section{Margin Tests} \input knuth Some more stuff\inouter{Some multi-line text to be placed in the outer margin to check whether it is positioned correctly.} to read\inouter{Another multi-line text to be placed in the outer margin to check whether it is positioned correctly.}. \startplacefigure[title=3D{A lengthy caption perfectly suited to perform some tests, which cause lines to wrap.}] {\externalfigure[cow][maxwidth=3D80mm]} \stopplacefigure More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in Europe and in some other places.}. \input zapf Some more stuff\inouter{Some multi-line text to be placed in the outer margin to check whether it is positioned correctly.} to read. \startplacefigure[title=3DA SVG test with a long caption to cause line wra= ps.] {\externalfigure[cow][maxwidth=3D70mm]} \stopplacefigure More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in Europe and in some other places.} to read. \input knuth \stoptext As a workaround the width for captions can be set to width=3D\rightmarginwidth, but how can I solve the issue with the notes? I am running ConteXt 2023.09.26 18:19 on Windows 10. Thanks and best regards Milan --------------eWbvInQcyKCQzOdj0Kns3L1k Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi,

I have observed that the widths of captions and also notes on even pages is not as I would expect them to be.

Reading through the documentation I figured out that the width for captions has to be set manually when they are placed in the outer margin. I did so by setting it to width=\outermarginwidth.

But it seems that for captions the width is derived from the inner margin width on even pages.

The width of notes in the outer margin placed with \inouter is also off on even pages. They are too narrow and do not "fill" the available space (things seems to work for notes in inner margins though).

Here is an example:

\setuppapersize[A4]
\setuplayout[backspace=40mm, width=100mm, leftmargindistance=5mm, leftmargin=30mm, rightmargindistance=5mm, rightmargin=50mm, topspace=10mm]
\setuppagenumbering[alternative=doublesided]
\setupcaptions[location={outermargin, low}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width]
\setupexternalfigures[location=default]
\setupmargindata[style={\tfx}, stack=yes]
\setupmargindata[inouter][color=orange]
\setupmargindata[ininner][color=blue]

\showframe

\starttext
\section{Margin Tests}
\input knuth
Some more stuff\inouter{Some multi-line text to be placed in the outer margin to check whether it is positioned correctly.} to read\inouter{Another multi-line text to be placed in the outer margin to check whether it is positioned correctly.}.

\startplacefigure[title={A lengthy caption perfectly suited to perform some tests, which cause lines to wrap.}]
{\externalfigure[cow][maxwidth=80mm]}
\stopplacefigure

More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in Europe and in some other places.}.

\input zapf
Some more stuff\inouter{Some multi-line text to be placed in the outer margin to check whether it is positioned correctly.} to read.

\startplacefigure[title=A SVG test with a long caption to cause line wraps.]
{\externalfigure[cow][maxwidth=70mm]}
\stopplacefigure

More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in Europe and in some other places.} to read.

\input knuth

\stoptext


As a workaround the width for captions can be set to width=\rightmarginwidth, but how can I solve the issue with the notes?

I am running ConteXt 2023.09.26 18:19 on Windows 10.

Thanks and best regards

Milan

--------------eWbvInQcyKCQzOdj0Kns3L1k-- --===============2320219349291494518== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============2320219349291494518==--