From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96046 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Indentation after margin float with caption Date: Tue, 06 Sep 2016 21:23:58 +0200 Message-ID: <57CF17CE.1030502@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8235091160927533499==" X-Trace: blaine.gmane.org 1473189868 24313 195.159.176.226 (6 Sep 2016 19:24:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2016 19:24:28 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 06 21:24:23 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhLyo-0005j9-FG for gctc-ntg-context-518@m.gmane.org; Tue, 06 Sep 2016 21:24:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2FD0D174DE; Tue, 6 Sep 2016 21:24:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id udod21I5BAC6; Tue, 6 Sep 2016 21:24:14 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 751D3174DF; Tue, 6 Sep 2016 21:24:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2EEBE174DD for ; Tue, 6 Sep 2016 21:24:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uduBgkBy_lAy for ; Tue, 6 Sep 2016 21:24:12 +0200 (CEST) Original-Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7F9B7174DC for ; Tue, 6 Sep 2016 21:24:02 +0200 (CEST) Original-Received: by mail-wm0-f45.google.com with SMTP id w12so110481684wmf.0 for ; Tue, 06 Sep 2016 12:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=BPdozJ9S3hzWSew+XyVksmdhdZp2l4NMtJy5lop64aQ=; b=x93Zfz6OxTmi3eIazhuCcxTNRhuV0nMspe5ecv/HVoMIIqGdc9/ZzdypC4Yr6qci9v 2hxJs52nsbhYeZq9/HRNi1QM7edxYxcThXbFgVi6IcH9OZJHMvF2J7CS14qFa0Q9xgFJ OcZ1eGAkeHZn5NMtX4ly2B4r65FHBBqxz8s8qSNB+JqQY35t8+9xo++PeytlTipmYRx6 +ex5QMCViztYulPB3jPTBI/EYoAZZrDGFhDbW9SDms7HneTCuz+db9kKkFcNk2j6TMid Y5C6KsCbzIo4rZXI9fQM5uC9hcIO8qIKxdR9Yg3ivu7ayCiB7eOlUVSo7UvKEUWZ+65a Yyww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=BPdozJ9S3hzWSew+XyVksmdhdZp2l4NMtJy5lop64aQ=; b=Da5btH6Bck4YctQbrHHqX0TIEfwanT46NV0T78vb8rLYAYAd/3XI313OBe/fOuHjh8 qcswl/TSZgQ5Las6bRCCx4s2PoxBPkTMxNQDQVKgG0GMm6igneTFnObg45cFUnEEC2Tb Z0WQk3ZKMhZzDbC5A3gnuELjw2iG7Ek+1fV9AiXz4fff4S2mFCVCPiYRuZJSn55g8o6h w6hew66/DlMyAEiXFaAcQBuivlEr9f794XxUvwkZx3fronUdgT+mU4JapjuT/Z7SwZNo Hwta5keCGM2sgw5A6VcHCW4Jldja0mCwHFaryBSWb37nNhupUWhTtckVtq5aBThB1MzD t/fA== X-Gm-Message-State: AE9vXwPWNbuHeldtmBJtWlR1BgiuIuJplRogCm9gQ9ujgQvA15cA0tEhJx5C+4wp7TjDlQ== X-Received: by 10.194.146.174 with SMTP id td14mr1780813wjb.152.1473189841748; Tue, 06 Sep 2016 12:24:01 -0700 (PDT) Original-Received: from keima.localdomain (x2f22f04.dyn.telefonica.de. [2.242.47.4]) by smtp.gmail.com with ESMTPSA id 17sm319391wmf.6.2016.09.06.12.24.00 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Sep 2016 12:24:00 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96046 Archived-At: This is a multi-part message in MIME format. --===============8235091160927533499== Content-Type: multipart/alternative; boundary="------------010908070801000800070900" This is a multi-part message in MIME format. --------------010908070801000800070900 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Mikael P. Sundqvist > 6. September 2016 um 21:07 > > Dear all, > > since I got no answer here I cross posted on stackexchange (see > http://tex.stackexchange.com/q/328147/52406). Now, I got a solution to > this from Aditya. It seems that it is not yet clear to me (or Aditya, > as far as I understand from the reply) which float placements that > respects the \setupfloats[indentnext=yes] and which not. Or more > importantly, why. > > To make this email thread more complete, the solution of Aditya adds > > \unprotect > \def\page_one_place_float_auto > {\page_one_place_float_otherwise\nonoindentation} > \def\page_one_place_float_bottom > {\page_one_place_float_otherwise\nonoindentation} > \def\page_one_place_float_margin > {\page_margin_blocks_process_float\nonoindentation} > \def\page_one_place_float_leftmargin > {\page_one_place_float_side_indeed\page_sides_process_float_leftmargin\nonoindentation} > \def\page_one_place_float_rightmargin{\page_one_place_float_side_indeed\page_sides_process_float_rightmargin\nonoindentation} > \protect When backwards compatiblity is a reason for not changing this adding a hook can be solution, e.g. -\def\page_one_place_float_auto {\page_one_place_float_otherwise} +\def\page_one_place_float_auto {\page_one_place_float_otherwise\rootfloatparameter\c!next} which can be used with \setupfloat[next=\indentation] Wolfgang --------------010908070801000800070900 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
6. September 2016 um 21:07

Dear all,

since I got no answer here I cross posted on stackexchange (see
http://tex.stackexchange.com/q/328147/52406). Now, I got a solution to
this from Aditya. It seems that it is not yet clear to me (or Aditya,
as far as I understand from the reply) which float placements that
respects the \setupfloats[indentnext=yes] and which not. Or more
importantly, why.

To make this email thread more complete, the solution of Aditya adds

\unprotect
\def\page_one_place_float_auto
{\page_one_place_float_otherwise\nonoindentation}
\def\page_one_place_float_bottom
{\page_one_place_float_otherwise\nonoindentation}
\def\page_one_place_float_margin
{\page_margin_blocks_process_float\nonoindentation}
\def\page_one_place_float_leftmargin
{\page_one_place_float_side_indeed\page_sides_process_float_leftmargin\nonoindentation}
\def\page_one_place_float_rightmargin{\page_one_place_float_side_indeed\page_sides_process_float_rightmargin\nonoindentation}
\protect
When backwards compatiblity is a reason for not changing this adding a hook can be solution, e.g.

-\def\page_one_place_float_auto       {\page_one_place_float_otherwise}
+\def\page_one_place_float_auto       {\page_one_place_float_otherwise\rootfloatparameter\c!next}

which can be used with \setupfloat[next=\indentation]

Wolfgang
--------------010908070801000800070900-- --===============8235091160927533499== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8235091160927533499==--