From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YEA5F4tsJGRRQQEASxT56A (envelope-from ) for ; Wed, 29 Mar 2023 18:51:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yKIKF4tsJGTh8AAAauVa8A (envelope-from ) for ; Wed, 29 Mar 2023 18:51:23 +0200 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 EAF3B10443 for ; Wed, 29 Mar 2023 18:51:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phZ0U-0001pF-Ul; Wed, 29 Mar 2023 12:50:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phZ0Q-0001ov-9b for emacs-orgmode@gnu.org; Wed, 29 Mar 2023 12:50:38 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phZ0O-0008EV-H0 for emacs-orgmode@gnu.org; Wed, 29 Mar 2023 12:50:38 -0400 Received: by mail-ed1-x52c.google.com with SMTP id w9so65977917edc.3 for ; Wed, 29 Mar 2023 09:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680108635; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TgNO3bVsD9bsetVP0jiUz3jmXdi5lAu+wl4uCShZDYs=; b=haiuPbNuVvHIpBa6WJziEkf04GCAN0/hb9uKayGK0HAESNIbKKsiCJr2c+efjI892C qfy9Dy2Bwk/Ws3okshpxl5Q8EZuwMyAH/A3+LlOtu/fP0E8uVTqtC9o1nkqWiEBoscxL bv3F7GJoyyK/Y4R3tle16DIl+bFAnO1l2xGdB6jQssa3XcsnrvZCIeG1kqg1+aPYRWaZ fCBvhCkA39l4HBCSGi2/WmJG0tb9Qp0CQQ6JlI30gTIBffBVA5IpGpd0KzTEIonr++OS J+5ccyFLKDm/skUjf7XWJgJzNcCso4TkLhKNVrPoHmxrhnUWPWzCiPuLIqtJXD+b3hGE n1yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680108635; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TgNO3bVsD9bsetVP0jiUz3jmXdi5lAu+wl4uCShZDYs=; b=NANYd+9g7o6DcyX531JJn3GiVN0PTEnOaAEI5j53IkfUqB69+7avZWq3idBDqaUxVA 4UtAUhleFR0z+AjGbyREbgXF8GYZIRamSBSaOn34tHgKknSykUVgKG3mze9iJOjzPKnP 2itBIhtFurpokeYxvfV8Cw8nmeyaVWOFsH0Nnsl21Rxrq+fffpyv6K110NPHOshtXloh LPnPzivp2B2vZfcd8aETwpcialiIewFNvAvUaMhFuZwhMYIPdhZPX1BBJeJ67dQgRypl s/1UEBFs55/7PYWRyxdbT+7KfJ3x9bl7pWEL1uEW6ngr2BctmkQRqk+RXM4R/PsOFtVe VYzA== X-Gm-Message-State: AAQBX9d6QjMRPTToI9EGEQiNSMGd68yzHL/HZyTtQvtzFmmOEeOiBJPC 3nNCoXfUJgAqcwnd3W/bFi31EACCRNBSxdB00Cs= X-Google-Smtp-Source: AKy350aRBK1ALgpbPqSXXZ/4m3AK+plj6zxyeHjj1wRQhtH5FNiAO38qWyW0I8dtx4J+cF+mfw5V+Bzisqde6dEbyN0= X-Received: by 2002:a17:907:8688:b0:931:c1a:b526 with SMTP id qa8-20020a170907868800b009310c1ab526mr10299033ejc.5.1680108634599; Wed, 29 Mar 2023 09:50:34 -0700 (PDT) MIME-Version: 1.0 References: <87ilejmyp0.fsf@localhost> In-Reply-To: <87ilejmyp0.fsf@localhost> From: Pedro Andres Aranda Gutierrez Date: Wed, 29 Mar 2023 18:50:08 +0200 Message-ID: Subject: Re: Friendly exchange of thoughts: citations and LaTeX To: Ihor Radchenko Cc: Org Mode List Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52c.google.com 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680108683; a=rsa-sha256; cv=none; b=lnJmlQf21CNpF5gezEBI92Mn0b+4DR2OvEMWRYoT0HCqKAaUCmqTBpxD8Ke2JcUmaQVvSi //jFs/Kxqt2J59EgdtksBGRg5+PXpzeiq+o0RPWzpjQNQl0D9iOGo0rl3/6hHns8ejqB/7 DcfmytzymbC2PYznpfpqtVhy/k4tQdBEgszPvIcxprrK0o+H11Z93VbYcxkQEHFJeT3Jny K68mqRREPus0qk6okvWNfHZoFdSvERDpceV9Z0myz7iXRca7iLybCTLPNyBLyoal1eylfU LJd2QFYY/U/3EFMx17vnl0SnjO3Q4WRMxWMNF5yfgGCzcnkGl0UCd41KOPw/0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=haiuPbNu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680108683; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TgNO3bVsD9bsetVP0jiUz3jmXdi5lAu+wl4uCShZDYs=; b=U6wSD8HVGRv7U17UGDx9jhRKbQVMT/1v5tR4iduqcCqgL1Qfq9VwbTI0Ek7epAvGS7R5ss NnKK94fi2dLsHIn1cQ0xHrzStHIddAbeFevMq6h19n4h/kY58c6eD1+ymkqGyuxgl6bqvJ jJN37D7a6dDpI3Mpd8PjX5vNvUZu1W1o7oF9TimURJDff6pj+iGIvKrdBkipinTvr2msol TLLDEWHjEzdGsOcBhMuIkUA5t/YS5rzBAPLw+q4NxAV0ZeYCR2d6m2Nbtx2hnRNKwak61V c+hqic7uOLvLDAl3SVCZRlbSGYNX7JFigNOPq9Fit19TgXvIO1/vOg72A/5Amg== X-Migadu-Spam-Score: -8.46 X-Spam-Score: -8.46 X-Migadu-Queue-Id: EAF3B10443 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=haiuPbNu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: YGUvlNw+vWE+ Looks reasonable... we put the .org and .bib file(s) in the same directory and we can use relative paths... That's what I would do in a pure LaTeX environment (and in overleaf.com) Could be expanded to same directory or its leaves... like when I have the .org file and a bibliography directory in the same directory... (Just thinking aloud) Will check tomorrow before starting with /real life/ ;-) Thx, /PA On Wed, 29 Mar 2023 at 16:12, Ihor Radchenko wrote: > > Pedro Andres Aranda Gutierrez writes: > > > Having said that, I was also (just a bit) bugged by the fact that > > bibliography file names are completely expanded when generating LaTeX. > > Couldn't we avoid that for LaTeX export? > > It is in `org-cite-list-bibliography-files'. > AFIAU, full path is forced there to make #+SETUP containing local > bibliography path work: > > ---- main.org ----- > #+SETUP: settings.org > ------ end -------- > > ---- ../settings.org ----- > #+BIBLIOGRAPHY: local.bib > -------------------------- > > One reasonable option could be keeping relative paths relative iff the > #+BIBLIOGRAPHY is derived from a file inside the same directory with the > exported file. > > Tentative patch attached. > > > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet