From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 43B1B2E5C9 for ; Mon, 14 Oct 2024 18:19:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2B462485329 for ; Mon, 14 Oct 2024 18:18:14 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-language:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:received:received :received:received:received:received:received; s=cgl; t= 1728922693; x=1731514694; bh=GAQXWhxRpMleWnp/0ekhBrtOvTV671q5BSE DZAAchlY=; b=BZM1X7qdGmLmB4wACt1QV2lAU5D5eNVyS1+AiJ/HIzZL6siNsUh NRI1qu+DBIUGXhMsF8tDv6XThA9Meebtn2WbKcaefxPi/qqS1BZvuHDWL5JzZMKR REwpmX/wqrK7tpw5I3OfmLo6NGMP2AMgxf25DA1DuQ2HETggrpVPYQOg= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com 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 AtZQ4fHxeFDi for ; Mon, 14 Oct 2024 18:18:13 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 665BC484F2A for ; Mon, 14 Oct 2024 18:17:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1B44B484EFB for ; Mon, 14 Oct 2024 18:17:25 +0200 (CEST) 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 aoDFxc7_Pi6p for ; Mon, 14 Oct 2024 18:17:23 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.47; helo=mail-ed1-f47.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id CBEA0484EFA for ; Mon, 14 Oct 2024 18:17:23 +0200 (CEST) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5c949d60d84so3867862a12.1 for ; Mon, 14 Oct 2024 09:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728922643; x=1729527443; darn=ntg.nl; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=d5NRBAQ8IVLrNh4LnBxXCP2jsn6XJNufx93gFfjRhSQ=; b=BMnnK2wtZhnxHkcM7g/aCh/ZlSxwV0didsFHObCiFTUpCfj6St8mxKtl9ptRvCc5ny 068ATxZQeHUxzKjrO4JOpo1dE+XWoD0YTuPEM/DTE1VqR/L0B2iDbw1t8wDmqaUODkdi a2epstUddTp5Je6hCIfnI2iiKqa1O38AdqXToXXkyJoIR4OWD9dmArkUWauUHKhtXLy6 zmZAsl86Ja4E2lfwjxm3p4I9KrZ4U98EKvbpvwr3zGokICUed86h6l8NR/f1fXbheN+m rvKE1v9Fx9dQV+8dBuaK90VtMWBX4Y56Vas5rVi5SWQjxDkttRhg+UuEOBMaHaIUNgGE zzLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728922643; x=1729527443; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=d5NRBAQ8IVLrNh4LnBxXCP2jsn6XJNufx93gFfjRhSQ=; b=dwV2IVyMO9x1aTqijDZ+Jd06rMBClHA+E6fDANQRlprWFLe3+Nm92rgC8Aw0Vxv6xk ABrTHcrQPy31ITJCA+dN2x6HBP4NDasc/FNYScGrKUts1TH1eQS4FY5blMRC8FS8xGbY /ggkRp800n1Rn+mBFuroUkIfsuDdR8hxCiezvE3dOe2sj78bKXg5fzEBgNEI9p34mPI7 VDCF8LIRTw/o3/haCNKyNls9DiWl9KEz4q8uUy9JcEdrLybjFF6j3vBlIspUJv1iACla xBR606Eu2msBp0z7pmYlEmqngRyBbGVTi2s9qEJKCf9IIE7OnzvKT+n2SqbLld/VJk2D O74g== X-Gm-Message-State: AOJu0YzYUD9xxX9yjlchA+Bdt6N68VRy4bWSKTsAbmeUn18er6F4DCDR BgLfQvlj0evipContu0z+QImUEbTD7UIfsInAp2pWNfT1NgIRMojTYFHkg== X-Google-Smtp-Source: AGHT+IEIdrU/rPGRSgVZrgCyB8/cdv59vLeOLKDIRpyPsFqGkNGp21iDfM+GN3/SxsmC33rU1Qjv3g== X-Received: by 2002:a05:6402:2350:b0:5c9:76e0:2b8 with SMTP id 4fb4d7f45d1cf-5c976e007c6mr3493574a12.3.1728922643125; Mon, 14 Oct 2024 09:17:23 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:e1a8::4b99? ([2a02:810d:a8bf:e1a8::4b99]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c9370d2314sm5153800a12.18.2024.10.14.09.17.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Oct 2024 09:17:22 -0700 (PDT) To: mailing list for ConTeXt users , David Roderick References: <2a51f286-269a-41b8-b336-1bdf3883cb5b@fiee.net> <172890437192.1601626.12925809910871588681@cgl.ntg.nl> From: Wolfgang Schuster Message-ID: Date: Mon, 14 Oct 2024 18:17:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.64 MIME-Version: 1.0 In-Reply-To: <172890437192.1601626.12925809910871588681@cgl.ntg.nl> Content-Language: en-US Message-ID-Hash: GBTUMSYEE5RPOSJMSDA66KSOBTNQSQIU X-Message-ID-Hash: GBTUMSYEE5RPOSJMSDA66KSOBTNQSQIU X-MailFrom: wolfgang.schuster.lists@gmail.com 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: creating a printed book List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit David Roderick schrieb am 14.10.2024 um 13:12: > Thank you for fixing this. I espy another feature which is required. I save the png's into a subdirectory called images_0007 which is a subdirectory of where my tex files are located. I run context from the latter (main or lower) working directory. Your script looks for the png's in this lower (main) directory: > > \startplacefigure[location=here,reference=Picture 1178610960,title={}]% rId6 > \externalfigure[image1.png] > \stopplacefigure > > should be: > \startplacefigure[location=here,reference=Picture 1178610960,title={}]% rId6 > \externalfigure[images_00007/image1.png][hfactor=fit] > \stopplacefigure > > If you could fix this it would be greatly appreciated, and methinks useful. You don't have to include the subdirectory in \externalfigure when you set the search path at the begin of the document with \setupexternalfigures[directory=images_00007] Even the file extension can be left out. %%%% begin example \setupexternalfigures[directory=images_00007] \starttext \startplacefigure[reference=Picture 1178610960] \externalfigure[image1][hfactor=fit] \stopplacefigure \stoptext %%%% end example Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________