From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MAr7KcDwjF+rUwAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 01:49:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iDTSJcDwjF8eGAAAB5/wlQ (envelope-from ) for ; Mon, 19 Oct 2020 01:49:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A889F9403A6 for ; Mon, 19 Oct 2020 01:49:51 +0000 (UTC) Received: from localhost ([::1]:54620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUKJ3-00011F-72 for larch@yhetil.org; Sun, 18 Oct 2020 21:49:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUKDH-0004HP-MC for help-guix@gnu.org; Sun, 18 Oct 2020 21:43:53 -0400 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:39736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUKDF-0000UH-NB for help-guix@gnu.org; Sun, 18 Oct 2020 21:43:51 -0400 Received: by mail-qk1-x732.google.com with SMTP id k9so6673882qki.6 for ; Sun, 18 Oct 2020 18:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FridE8GqcZuoqAKyO2jEx6XjjSihl3owoqtj3btp1wY=; b=WNwHhgx6zl2vz2wa2AB2w77l8vF+pO8O/tgVFiqd9vTxQ8RCMMKp/hqcsNSOBBV0nU 3W9GclOhRA9RpMMJSdPSWJfhJkKwxorfaKdjNxjr5GCWYe5XsBOHB/T/pwVk5vEZNjWh Bde9pBjn8GEePEhkZe/j0/XrIQqj17j/zN0xtzbsWmatsRXOn2K2uDEDKy/i/oC76bWk QYiZOzH12XlLXxmJJDxMeFG5EV7s9NdZ2YcwVbq5vbv2ghafg4uWAbBA40ecPpUHpXJI ZcJGTyb9Ly9HS+GQ0qH6EDWU1/jemJ3bjlSiHNLQmHP1Lw5DsaGKo0TsrExZCtzjusDt 8ElQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FridE8GqcZuoqAKyO2jEx6XjjSihl3owoqtj3btp1wY=; b=fFPJjXy4L3C2V+Q1k9PZ7ljnalLn6fAgxpcaVbUZOphUW6XhW7vMJiI283eTJre4SC yLfvyAVMfcdW0W8CoeMipjXf6ZWdjkqkUpMn02zycUcIeI8aECd3LLf4aH/FcSkPVkIP RPC+UqrmFtj7fN2GyPn98R3DDEBkBJ9Wnj+6fNx1p2G6MO3P2uT9OvMH4XtaiWMsmPip wlcKa46Wmd5JMdNBpGX/3mwhkgiU1hdlwzbPFzrSEq+TkWZyPOi5tsP0qlHFuL/iCJR/ E+f5Jm4J7XKjwmHIM2xyC6uSKMrydMcyuBqyxANeZ3pVeF01lX9eR8q2BHM9WB5CroDr Y7Nw== X-Gm-Message-State: AOAM530fGxNYo6MTL0YDDAvvqlT9ZfLTJCdM8hBnja/gNN+YfVWV2rQz SgXBjIzT1M1QypA4kfwG5AI1VsmiAUvmsp96ONIEwypGoPOTcQ== X-Google-Smtp-Source: ABdhPJw+gQbmuYvFKi/kys4rE2NoWrxUCUapGlJrw4+PscgdaQ6u2bQOFbxiWCBoRetVo57JNsNYTAqnUSV7xdP2kQI= X-Received: by 2002:a05:620a:13db:: with SMTP id g27mr13290553qkl.284.1603071827837; Sun, 18 Oct 2020 18:43:47 -0700 (PDT) MIME-Version: 1.0 From: Jacob MacDonald Date: Sun, 18 Oct 2020 20:43:37 -0500 Message-ID: Subject: Making mtxrun work with ConTeXt. To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::732; envelope-from=jaccarmac@gmail.com; helo=mail-qk1-x732.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=WNwHhgx6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: /SM95jUDgK2l Hopefully this is a quick question, as I've found a solution for the immediate issue and hopefully for the long term as well. I wanted to follow up on an old thread and see if my understanding of mtxrun is correct. I added the whole texlive distribution to my profile, built some documents with pdflatex, and tried to compile a template which used ConTeXt. It failed, unable to find the context.lua script. I tracked down the file and set my TEXMF environment variable to $GUIX_PROFILE/share/texmf-dist. This allowed mtxrun to work, but broke pdflatex (pdflatex.fmt not found). This seems to be because the scripts are in texmf-dist while the format files are in texmf-var. I found one thread on this list about a similar issue from last year, and the incoming changes to the texlive tree. Elsewhere on the Internet, I found the suggestion that my mtxrun file database was out of date. Indeed, running mtxrun --generate (after unsetting TEXMF) seems to solve my issue, allowing me to compile both documents without tweaking environment variables. The generator seems to dump its index into ~/.texlive2019/ Is this a necessary step to use texlive-context-base on Guix? Or can it somehow be rolled into the build/install process? If the answer is yes, I can try my hand at a patch. Thanks, Jacob. Thread in question: https://lists.gnu.org/archive/html/help-guix/2019-08/msg00020.html