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.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,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 254622231B for ; Mon, 29 Apr 2024 05:07:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8BE8D484A4A for ; Mon, 29 Apr 2024 05:05:30 +0200 (CEST) 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 gvTarInQmY2C for ; Mon, 29 Apr 2024 05:05:30 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 15B86484A74 for ; Mon, 29 Apr 2024 05:04:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2D56248494B for ; Mon, 29 Apr 2024 05:04:12 +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 PkMnW8rFY4gn for ; Mon, 29 Apr 2024 05:04:10 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.161.52; helo=mail-oo1-f52.google.com; envelope-from=benjamin.buchmuller@gmail.com; receiver= Received: from mail-oo1-f52.google.com (mail-oo1-f52.google.com [209.85.161.52]) (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 E7D96484948 for ; Mon, 29 Apr 2024 05:04:10 +0200 (CEST) Received: by mail-oo1-f52.google.com with SMTP id 006d021491bc7-5ac4470de3bso915910eaf.0 for ; Sun, 28 Apr 2024 20:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714359849; x=1714964649; darn=ntg.nl; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=L+4V7tBesk+3IFG8PXchW3jMv3xFlg+UtEEntyYcM0Y=; b=Bs6VBPqacu2KgTgHcFZfr5DME0BJzrJyoJiE+d6sqWbL9tNkXe3cMQh3TcUWmiwmao dSGkudDxs/NbGh6aDrjeOJ1n8epJllvK4t0mDCEC0IeiDpShtf/yLC10+jMk38/3XMNU HuyYFcajePusyK5HAhkVSsBBkQGGqD4anZYlksztClsdBZgl9uyy5ttEJot1giGSnJEK ReQKHopsW7TijppPR0D+QtGzGbMwFaKY5KJQsS4s6NyhvYom7S9Paff6nleUhPqUIWXM J+zjjwefcyXQWj2GpUyiGBESoa4YDMbin/jDzEZamy9mAJBiDKNqWYtbZ2j1MHB410T+ yfxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714359849; x=1714964649; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L+4V7tBesk+3IFG8PXchW3jMv3xFlg+UtEEntyYcM0Y=; b=ighscf82AcIW5F6+0D9W/SbD+0sJv5IdZVFgqN9bGPHcMMIzWPjmxhLMYnShkXXiln fMjUNBKBx7BsYEBVytn373BxnA6ktkU+Z8XFaa7K6o0UZEcNhcrUCIoSRIlSl7UHbUCO eAhYEXC3y+XnX1e7ZPbvBXwPim0CIAiRRQ1AeEj9YF3JSwV/x9jQOm1YpKWwcTi9kP3Y wuS1Sv+jV/Wj8DSfJ/Fo1l3UnG3Qpzj5cG2ZrBIO4huq6YHm03HMbw8dWisqiKQMCD+v lzjOeP9X59jLIgiNDWg844sFmln95bcHB1FltBe2zjWMnSlvpDSUIMvIj/QHUfHfTjRD 8MsA== X-Gm-Message-State: AOJu0YyCdJRatkZl1KTKsUjxpYkd+p6ucUhScsQhovFl55CyaJgdQMCQ ppAyHWHGD8tWc6NU1vgOQHJSQq5tZC4CKtx5ui/YZiDrqyT8y73TbVY18A== X-Google-Smtp-Source: AGHT+IEDv8iTT/3Vi3hJYyvQBUmJcdqRnS/h3gZfyLPbLE/mOPqqVWT4fJNNfSSVQDYwRMdEQYpXgQ== X-Received: by 2002:a05:6358:8aa:b0:18d:f833:4884 with SMTP id m42-20020a05635808aa00b0018df8334884mr11044277rwj.0.1714359848653; Sun, 28 Apr 2024 20:04:08 -0700 (PDT) Received: from smtpclient.apple (pool-96-248-74-129.cmdnnj.fios.verizon.net. [96.248.74.129]) by smtp.gmail.com with ESMTPSA id ff20-20020a05622a4d9400b0043abfd5f864sm1322464qtb.16.2024.04.28.20.04.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Apr 2024 20:04:08 -0700 (PDT) From: Benjamin Buchmuller X-Google-Original-From: Benjamin Buchmuller Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Message-Id: <1B0F587B-E1C4-490F-836A-AA5A8592DE28@gmail.com> Date: Sun, 28 Apr 2024 23:03:56 -0400 To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.3774.500.171.1.1) Message-ID-Hash: BOP37BRJEJXB6HCTNS4VOADQJN6OAW7T X-Message-ID-Hash: BOP37BRJEJXB6HCTNS4VOADQJN6OAW7T X-MailFrom: benjamin.buchmuller@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.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: QR Code 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" Content-Transfer-Encoding: 7bit Catching up on an earlier thread by Ursula and Hraban, I'm also experienceing problems with \usemodule[zint] while \usemodule[t-zint] works fine. Running on macOS (ConTeXt ver: 2024.04.01 08:59 LMTX fmt: 2024.4.28). The issue seems somewhat unrelated to ConTeXt on first glance (??) if this is helpful. My code stopped working after I updated the OS (to Sonoma) and my homebrew cellar (to zint 2.13.0) while keeping a ConTeXt version from 2022 which compiled the barcodes perfectly fine before these updates. This being said, the newer ConTeXt version doesn't resolve the issue. Observations: 1) Zint (and Inkscape) is in my PATH and correctly sym-linked as specified in the wiki (~/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so ). However, the library was (still) not fount after mtxrun --generate [This seems an odd, but unrelated problem] 2) So, I hardcoded libfile in libs-impzint.lmt to local libfile = "/usr/local/Cellar/zint/2.13.0/lib/libzint.dylib" 3) Running the wiki example: \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, width=3cm] \barcode[alternative=maxicode, text={test}, width=3cm] \stoptext * With \usemodule[m-zint], I correctly get: zint --barcode=qrcode --output="zint-qrcode-495165e08dbc5ce650aaaf13caa2229f.eps" --input="zint-qrcode-495165e08dbc5ce650aaaf13caa2229f.tmp" zint --barcode=maxicode --output="zint-maxicode-098f6bcd4621d373cade4e832627b4f6.eps" --input="zint-maxicode-098f6bcd4621d373cade4e832627b4f6.tmp" [Barcodes show up as expected] * With \usemodule[zint], no success: optional > using library '/usr/local/Cellar/zint/2.13.0/lib/libzint.dylib' zint > something went wrong: invalid result vector zint > something went wrong: invalid result zint > something went wrong: invalid result vector Maybe this is helpful to pinpoint the issue? Best Ben ___________________________________________________________________________________ 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 ___________________________________________________________________________________