From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116353 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: How to set the vertical spacing between a sequence of images? Date: Tue, 25 Oct 2022 00:32:14 +0000 (UTC) Message-ID: <872497325.1649209.1666657934391@mail.yahoo.com> References: <872497325.1649209.1666657934391.ref@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7214231089403776928==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8942"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: Mailing List for ConTeXt Users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 25 02:33:01 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1on7sK-00026o-Pc for gctc-ntg-context-518@m.gmane-mx.org; Tue, 25 Oct 2022 02:33:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D4A9C2A47CF; Tue, 25 Oct 2022 02:32:26 +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 EgXUwXw-_AiX; Tue, 25 Oct 2022 02:32:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5680A2A47CC; Tue, 25 Oct 2022 02:32:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BC5BF2A47CB for ; Tue, 25 Oct 2022 02:32:22 +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 gtL9HqOkkwSf for ; Tue, 25 Oct 2022 02:32:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.132.124; helo=sonic314-14.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic314-14.consmr.mail.bf2.yahoo.com (sonic314-14.consmr.mail.bf2.yahoo.com [74.6.132.124]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id D2EC82A448E for ; Tue, 25 Oct 2022 02:32:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666657939; bh=4PiJ/U43+EOP62HMJa2CX53wVm3XLrU0B5hONgYC2Wo=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=bUNGbdPrglMERyl+/8RN6tI24SqMrTk75JUsKn9Gk3jEHKVfziWG7g1mHqCpmk3Ch3w2jPO66zDcqqevbT8b8YaI2aEImC1WrSjXAm/kK/JWovKEgknSCzZ9fM5x7PUmOjDK1DauycKzHzFBxJkQw948dnkoB4iFutdT5xckk5Ho/eI7EkiMHhx/sVp94mWbhL7UIJay2gbJO8/8x7abOb6RyP6cvhWU36u1NIuZA0I0gzBmgjM8RarnkpnZGPTk3KIKnGfWUUR+QW9VyI7yapcSziVIkM727jGu0tql6fhopHVLuMvc5vQaRJUboIk5jbEiiWKKf7K1pA8FTrTJlQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666657939; bh=9/xCLke9wAFveB6CB2wDbXSTc5iq/0VXgK8BVHc1FfM=; h=X-Sonic-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MW8LsmMuULzlKI.Q_8iqPzvWvPOhb_2E.mrEwBE8sPVH9Ol hP2V15n0kzSlNTr9r4sbk9TjP3JIH13yiU3O1yWvYbJGJGaUXoseVXDzOXzPwotoWYAtUW1740dj .tSyBae5UC8CVNLfWCY6vY.sr1s3v98f215upqx8g0 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Tue, 25 Oct 2022 00:32:19 +0000 X-Mailer: WebService/1.1.20754 YMailNorrin X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:116353 Archived-At: --===============7214231089403776928== Content-Type: multipart/alternative; boundary="----=_Part_1649208_242738021.1666657934390" ------=_Part_1649208_242738021.1666657934390 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have code like this which randomly pulls a page from `comic2.pdf` and dis= plays it, scaled to fit \textwidth, then displays four more random pages af= terwares. \starttext=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 \dorecurse{5}{ =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\placefigure[force= , none]{}{\framed[frame=3Doff]{\externalfigure[comic2.pdf][page=3D\randomnu= mber{1}{34}, width=3D\textwidth]}} =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0}\stoptext The problem is I need to adjust the vertical space between the images. It s= eems to be set to some lineheight or such, but I need the distance between = each image to be at 1/50th or 0.02 of \textwidth. ...though the last image = can have the ordinary gap afterwards. How can I se the vertical spacing between this sequence of image to 0.02\te= xtwidth? --Joel ------=_Part_1649208_242738021.1666657934390 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have code like this which randomly pulls a= page from `comic2.pdf` and displays it, scaled to fit \textwidth, then dis= plays four more random pages afterwares.

\starttext
     &n= bsp;  \dorecurse{5}{
         &n= bsp;  \placefigure[force, none]{}{\framed[frame=3Doff]{\externalfigure= [comic2.pdf][page=3D\randomnumber{1}{34}, width=3D\textwidth]}}
 &n= bsp;      }
\stoptext

The problem is I need to adjust the vertical space between the images. It = seems to be set to some lineheight or such, but I need the distance between= each image to be at 1/50th or 0.02 of \textwidth. ...though the last image= can have the ordinary gap afterwards.

How can I se the v= ertical spacing between this sequence of image to 0.02\textwidth?

--Joel
------=_Part_1649208_242738021.1666657934390-- --===============7214231089403776928== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7214231089403776928==--