From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115258 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Why are some images rendered very tiny? Date: Wed, 15 Jun 2022 16:11:16 +0000 (UTC) Message-ID: <1166310856.2359403.1655309476596@mail.yahoo.com> References: <1166310856.2359403.1655309476596.ref@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2940978973215162248==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: Mailing List for ConTeXt Users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 15 18:12:03 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 1o1Vcg-0004rM-Kn for gctc-ntg-context-518@m.gmane-mx.org; Wed, 15 Jun 2022 18:12:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BC3E628A40D; Wed, 15 Jun 2022 18:11: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 qXCLipzz3Gdf; Wed, 15 Jun 2022 18:11:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9D08328A410; Wed, 15 Jun 2022 18:11:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 46FD128A40D for ; Wed, 15 Jun 2022 18:11:23 +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 gCEvduC7rboG for ; Wed, 15 Jun 2022 18:11:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.131.124; helo=sonic311-14.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic311-14.consmr.mail.bf2.yahoo.com (sonic311-14.consmr.mail.bf2.yahoo.com [74.6.131.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 8DFAE28094E for ; Wed, 15 Jun 2022 18:11:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655309477; bh=MlXj1TZnSJDaFopXEZVp1gIhr+R569G2QGRLrq69KNg=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=QI2MffsasB0/stgBaI/FUwJLAxaBCPqfp/T+W1DxHSJk1z7VStoEDthhcunzdHqJIjaSkFviHUFKkFA7TL7Co66P9P5FN2Fos8zpbM9zQPB5DlpCU4pmfvnQNwZdrNbmu/GfKFYUYJPadCEQN5ZOHg7i5Xaf6RMoJVBGQN7GwE1k/oj3vC7f3b2z7oqFEkJRCvgvhW1VJ11AvdBTudIDImrbaT0Ndy/pDqTMwB7Gt7h/VRMHGHid00KQXFX6ASD8DvECy9cfeueDCuNw6hR4J2/b+gqjUReY7HEQPhGvVhZTwWYGE7qbKnROOGJWVMLFClN4ORXihkPtOhM4mWgPFg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655309477; bh=ksGOnT88g4muSq6NTniVOhUxpQ7nr54r0DERrTzqqTg=; h=X-Sonic-MF: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H9N4pxO3xcvDKhklVBiCbuO1R22LxBTiTdZ5lXa0YwLAJIbIt 7TFAPom.4i8HjXL9E8gEteO3pNoDHDbvAgaTtRwXU9HAXsR8me3W84gG8mV58zdpOKSLcfrSHwp3 50yyU7rUFS.GifKZHLtT1y93vxLtJgIUH.oHON33bb X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Wed, 15 Jun 2022 16:11:17 +0000 X-Mailer: WebService/1.1.20280 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:115258 Archived-At: --===============2940978973215162248== Content-Type: multipart/alternative; boundary="----=_Part_2359402_1041000165.1655309476594" ------=_Part_2359402_1041000165.1655309476594 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I wrote this macro to display images in my book. It should place the image = to the left, filling ~50% of \textwidth, then the caption is to the right. \setupcaption[location=3Dright, minwidth=3D.5\textwidth] \define[4]\figureis{% =C2=A0=C2=A0 =C2=A0\placefigure{#2, Courtesy #3, photo no. #1\nocite[#4]{}}= {\externalfigure[#1][maxheight=3D.7\paperheight, maxwidth=3D.5\paperwidth, = minwidth=3D.5\paperwidth]} } #1 =3D filename, other variables are used for reference/credit details. The problem is, somehow some images are inexplicably displayed very tiny on= the page. I check the image file and they are not small, but somehow is re= ndered small with the code above. What is wrong in my code? --Joel ------=_Part_2359402_1041000165.1655309476594 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I wrote this macro to display images in my b= ook. It should place the image to the left, filling ~50% of \textwidth, the= n the caption is to the right.

\setupcaption[loc= ation=3Dright, minwidth=3D.5\textwidth]
\define[4]\figureis{%
 &= nbsp;  \placefigure{#2, Courtesy #3, photo no. #1\nocite[#4]{}}{\exter= nalfigure[#1][maxheight=3D.7\paperheight, maxwidth=3D.5\paperwidth, minwidt= h=3D.5\paperwidth]}
}

#1 =3D filename, other variables are used for reference/credi= t details.

The problem is, somehow some images are = inexplicably displayed very tiny on the page. I check the image file and th= ey are not small, but somehow is rendered small with the code above.

What is wrong in m= y code?

--Joel
------=_Part_2359402_1041000165.1655309476594-- --===============2940978973215162248== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2940978973215162248==--