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.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2205 invoked from network); 20 May 2023 23:27:10 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 20 May 2023 23:27:10 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 527301C2F7B; Sun, 21 May 2023 01:26:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 rXQxkUd6B6SG; Sun, 21 May 2023 01:26:43 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3FF491052; Sun, 21 May 2023 01:26:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D00701052 for ; Sun, 21 May 2023 01:26:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 CwNID8dhNmro for ; Sun, 21 May 2023 01:26:40 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.179; helo=mail-pl1-f179.google.com; envelope-from=mseven@telus.net; receiver= Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (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 zapf.ntg.nl (Postfix) with ESMTPS id 881CA5C0 for ; Sun, 21 May 2023 01:26:40 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1ae50da739dso30948775ad.1 for ; Sat, 20 May 2023 16:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=google; t=1684625198; x=1687217198; h=mime-version:user-agent:content-transfer-encoding:in-reply-to:date :cc:to:from:subject:message-id:from:to:cc:subject:date:message-id :reply-to; bh=/ISy+STW52HovT28/VPebfKFX1p8UGL1EQRHG+yXrm0=; b=AgZeLRDuiwcuZcVOIkLTuFFn/Cg/xefd7yeUtU6I4Bah6aB5/mGB4/cy2h6wpV7QV5 BEmHiGPPGMLhP2R7bQ8mhCWeFi0sBE9n7PJKSA+UuxSsRu0fPoepB3LRFIb84qaWf44b Zt1UZe2jCm3xnYDmx5HbWjOKsVI0em3lfAzJAn8HPBq/I9tpp4VxarqNMOqjW5KPbBQv zYW9/wK3B7IXVlGnDjrgR1K7RhdObUgWWga13VowNAncJE+2CGZf9AjJXUvTe3wZKVvo dHX/Iunrt+wpbvNCuI6lAA3MPxk5cQvhcmSjktiGtaMIcSYKNQjGuCOtyjbEoX4TWbmA /cgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684625198; x=1687217198; h=mime-version:user-agent:content-transfer-encoding:in-reply-to:date :cc:to:from:subject:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=/ISy+STW52HovT28/VPebfKFX1p8UGL1EQRHG+yXrm0=; b=GhIRjGhdwwGVeKxXADO3mTmK4x4hzmQbhwhdm5/dRZJRozWEvV98APM/dTA+8KM+8Y GMFsofcCLaG/Bbd6VQK5gF3r/3k8NIBLjXmOw4TL0SDPa/40w8+NR6qioGQzQWp0+eyF kreij8Kg1LFwE27GyrEJ8nUkugTH7CU/yJ31hk5Ynt2VSF9l2nZ80kF2QvUPugna3b1X IrRIXbqQonsH9HRICcJUxQ6sKl2uf09Csvfl8T9giuXZGfC7n9fcio9GYIaPHGvCFSyD 5omEfi6Pj/2FDQ0aQ3V0hkPbf0WhO4nLhxHNHK4CGPJaqvVqTt6ND29zOW9Mi3JclDWm fApA== X-Gm-Message-State: AC+VfDw0rFHRPmzN3//DJh8EBF8hJvkUUDCeqCvJ4but9nEecEgU8/NX KQyX2PgI1D0pK6tpPMMJRMtzoLcymNe9cPHWqdw= X-Google-Smtp-Source: ACHHUZ6Sp5OVUuUQnLL/3YzHNdF1+dJFUhlEUX9QlrVj0i7GRSWzWbwgd014P+5j+dBBP435wtBfdA== X-Received: by 2002:a17:902:ed11:b0:1ab:d89:5ef6 with SMTP id b17-20020a170902ed1100b001ab0d895ef6mr6384323pld.68.1684625198247; Sat, 20 May 2023 16:26:38 -0700 (PDT) Received: from ?IPv6:2001:56a:724c:6500::527? ([2001:56a:724c:6500::527]) by smtp.gmail.com with ESMTPSA id l4-20020a170902eb0400b001a9bfd4c5dfsm2022539plb.147.2023.05.20.16.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 May 2023 16:26:37 -0700 (PDT) Message-ID: <571b7dbe68f598a113a2305cd08b08bbdc56ae51.camel@telus.net> To: ntg-context@ntg.nl Date: Sat, 20 May 2023 17:26:36 -0600 In-Reply-To: User-Agent: Evolution 3.48.1 (3.48.1-1.fc38) MIME-Version: 1.0 Subject: Re: [NTG-context] SVG ViewBox figure battle X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Max Chernoff via ntg-context Reply-To: mailing list for ConTeXt users Cc: Max Chernoff Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600", crop = "--export-area-page", newname = dir.expandname(newname), oldname = dir.expandname(oldname), } end \stopluacode I mostly just copied that from grph-con.lua, but the CLD manual has a few more details: https://www.pragma-ade.com/general/manuals/cld-mkiv.pdf#%5B%7B%22num%22%3A89%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22Fit%22%7D%5D -- Max ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________