From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aPeUGw9yZWCGewEAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 09:11:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CJ8TEw9yZWAQGAAAB5/wlQ (envelope-from ) for ; Thu, 01 Apr 2021 07:11:11 +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 A51ABA8EF for ; Thu, 1 Apr 2021 09:11:10 +0200 (CEST) Received: from localhost ([::1]:52222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRrTx-0005cT-PT for larch@yhetil.org; Thu, 01 Apr 2021 03:11:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRrTb-0005cA-Kc for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 03:10:47 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:41753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRrTY-0001fU-Sa for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 03:10:47 -0400 Received: by mail-pj1-x1030.google.com with SMTP id nh23-20020a17090b3657b02900c0d5e235a8so549384pjb.0 for ; Thu, 01 Apr 2021 00:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=cI5Pc1v1buibnVtPZANi6Zeo2bPoQhXb+8puHV5id9U=; b=XPc8o7xaAY1+a1pM2JU+7aattrMSbW0iHgGhz0mUvl8hxJaSzVm5z6ldmxD8/iltQj DZUYt8SuLUgmcljGgdc0vMsmJ2+80YwK+fxxFzN1ddrdvjr7upE8Gq/bG1zrEkIkhfw2 2aC4OfSakQNTCBnB0AN1oC/e3FlWuMvPDQKsgETMrHu/Tz0m4hdB0Gr6sozw5mbSnbKC DPtLyjmVxndGb+oZL7W1FeOFyCzL++BFFKxWotnGPRE0wrr5fcjuNJGFfp7xGr0aRtII lCQjy0OSMUSMMl7QamvGkOTsXvAdSV10IDEjXoIgw+APK5FSOjsl2n7jXNDXicJYyvOo doUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=cI5Pc1v1buibnVtPZANi6Zeo2bPoQhXb+8puHV5id9U=; b=jnliTr5bMCHnLgsMu9a1cYBlesslBQgLkeXQkY/ENCaxebPm8KPJ60pRVbgGt1QWiF voKdjLAF3iGcQMqeYHrhXj+cUUfJUxL1wWPSdEf2A32NL7ReVvF5e3e61LC3Z23smWvu kedEWvdsOnhsbF5zhY+f5HopxFU2eDo0WdzLWIjK+2VOt50CncosdJZqtcaFMlbwgYTS jQC+AHkQCVxRQpbgQH2Zx5w1qeEBnMofiqAmkTm81PZrbZKo47j3KgCiobNaqtjXrIym GFemb2W8FD1gN9Nz1zkpzcgrG8e4s4nZhBaqYhSN3/nHtZYknhN1fXqZU4T7mDZkOmnM EaJw== X-Gm-Message-State: AOAM530S42X5nYlAzjvI+qbWpBoNLiScH2mhv5LPLhdNwDfjgvgPPIMH McZFxCPSMvzuJx8c9TxsCMeOCsjvXwk= X-Google-Smtp-Source: ABdhPJyTqYRoTj+m9RO9jfBFt9bHua4Jus9Q6KE9+82HQX2CmcItwL++yi0ISwddOGow7jWgTlAV0w== X-Received: by 2002:a17:90b:514:: with SMTP id r20mr7517792pjz.145.1617261043044; Thu, 01 Apr 2021 00:10:43 -0700 (PDT) Received: from tim-desktop (220-235-4-70.dyn.iinet.net.au. [220.235.4.70]) by smtp.gmail.com with ESMTPSA id g26sm4731210pge.67.2021.04.01.00.10.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 00:10:42 -0700 (PDT) References: <88a3facd-2f95-42b7-135a-d2ec6a730ba7@gmail.com> <86tuosdfh6.fsf@login.ifi.uio.no> <86pmzgd7zm.fsf@login.ifi.uio.no> <87o8f0wsr5.fsf@posteo.net> <87pmzfhcep.fsf@ucl.ac.uk> <864kgrch4a.fsf@login.ifi.uio.no> <8735wacx8b.fsf@ucl.ac.uk> User-agent: mu4e 1.5.11; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: About exporting Date: Thu, 01 Apr 2021 18:00:10 +1100 In-reply-to: <8735wacx8b.fsf@ucl.ac.uk> Message-ID: <871rbuiiog.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1030.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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617261070; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=cI5Pc1v1buibnVtPZANi6Zeo2bPoQhXb+8puHV5id9U=; b=U0UcFfLbI5havDAU9R/9BwPOWrSEQc9uFimOQbHoPQJv0mJJSiBdarYU6KYSnJqmis3NRY NDP9OkiWLIm5IjCUvr9FYdlvoAWIdxnQbA99nlOtKWrV8E6zL6GCW2z0b+GyK0DWVHKxcD zCnVizqVT+RaVojnLS4ri8agLuYAbx8QLKEY4h0bUJsBrMMS0QeOwudDeNiRYdOURAIniM KxUE1VU9xhc0ZYk5gk1aXDCmIPTPmG2ulr5iTsBxSyEoCodkDpH3ct42lKRXOCU55ytHmu 5U7o72aaDy1ibNmGMprxzm161Tw/w/TFTm8XG6vcKZAcRa+m9J7At2YYVKsE8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617261070; a=rsa-sha256; cv=none; b=OFHmxBcbaXpUB3iuTamBiZk1k9JAZOK5j/5lzrLjef4ZgSoVa7+CGH+h7ZgWKMMA3ht9fp GLRpsCebXXmDMB4gyTbrwdUQGgjQCCIQLT7nBTC2vvq9FoqGew9hHUaHJscF7s4f+GBS+p 3lfBp37BFTIg8XKObpQnO11XvVNcNZe7YP68KiGoAYM+/8gwtvcgQc4Rjm54jjnFu+TE5u Nr4iYkEQXTwQF74YE6GWcrDOcY/tvfhsexSboUPnUV/3hz6qWMD5DbtRG+7Cb9/BEPWK3o cnNCNLa2eHgjlDTD/qbbDROmFjckMS3KUAP6dXwSSOZUPgyvRBMT2yDxoxjF5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XPc8o7xa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XPc8o7xa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A51ABA8EF X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: z4m+8DkyvGuW Eric S Fraga writes: > On Wednesday, 31 Mar 2021 at 20:28, Martin Steffen wrote: >> And there is a final thing which (for me) seem to work better in >> latex-mode compared to org. That's jumping to the ``next error'' with >> some key stroke. That's important, LaTeX's own error output it quite >> poor, but jumping to error locations is vital. > > Yes, this is an issue I have as well. And the fact that the error > messages are for the LaTeX lines, not the org lines, so you end up > sometimes having to look at the LaTeX code and then go back to the org > file. This definitely adds friction! > >> I would not be surprised if some of that is somehow supported by org as >> well (for TeX), only I have not figured it out, or perhaps I was too >> lazy to figure it out how. > > No, I don't think there's anything (at the moment) to help with this. I > would love to be proven wrong, mind you! Org always has more > capabilities than I know... the only small bit of help I've found is org-lint, which has helped me find issues in the past. Doesn't help track down errors from *.tex -> pdf etc, but often an error in the org file causes the errors in the *.tex export. Having said that, I find the most common cause of errors in the *.tex export is due to in-line Latex in my org file. I rarely run into errors due to export of 'normal' org content. When I do run into problems, I just open the *.tex file in Auctex mode and track it down that way. Usually, it isn't too hard to work out where that relates back to the source org file. Being able to do that semi-automatically would be nice, but I think something that would be very difficult to implement. You would need something to parse the tex error output, extract text which could be then searched for in the org file. As mentioned, the problem is tex errors don't always contain that information, so you would probably also have to parse the tex file and then try to map that back to the corresponding part of the org file (which assumes of course that it is the org data which has caused the issue and not something relating to latex package or package configuration). -- Tim Cross