From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0HTdKNf6hWMcBAEAbAwnHQ (envelope-from ) for ; Tue, 29 Nov 2022 13:28:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oBQYKdf6hWPMXwEA9RJhRA (envelope-from ) for ; Tue, 29 Nov 2022 13:28:07 +0100 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 42AFB1728 for ; Tue, 29 Nov 2022 13:28:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozzgL-0000eo-Oz; Tue, 29 Nov 2022 07:25:49 -0500 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 1ozze5-0000CQ-4w for emacs-orgmode@gnu.org; Tue, 29 Nov 2022 07:23:53 -0500 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozzdX-00075E-6l for emacs-orgmode@gnu.org; Tue, 29 Nov 2022 07:23:26 -0500 Received: by mail-ej1-x629.google.com with SMTP id gu23so15127828ejb.10 for ; Tue, 29 Nov 2022 04:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=pIH5rHEZp5VxNUrpNkjnlyIY5d3MhB6XNBwIuDzoYh8=; b=kzewEus2FayCqdVD9L3O4vCHRXqHeNjlTCEPZ61VuITPqOqHZXlCqv2M6SU2QqUKNK zkKZuQ1lRBazi1ppjJ+lX1sI8phVNaLiSK9xvm5IokopQ2sDMDEmId7FqvfBLMScD55F HTwptdHvGQ09K1cgNyBzXW+Rv4AqhFmXHEJBK0+YKWYVBJ7KAmV5Jumd1kmjoFNQl2o1 XiUEhs8GGe5MPk42Himcf22GEKjcJKzeuMFcFb0NBHX4ekfhv3ijYCZzegYXQnli9ZCI 5SI85Wad8pXvWCFfuNzoTnOTpCQGk3vTdEO9BWPXupOC7K72pQb4m2YOgvUrUVig0gVL 0Oag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pIH5rHEZp5VxNUrpNkjnlyIY5d3MhB6XNBwIuDzoYh8=; b=vyEwdejFo8clbnfRJkO1QOQUvvy4t4fFYFXgW+TzpOBvnDIEywXHR4EVk1TCrI1RNV ev9EWfLsMxW75fsWRjp1+6I0EDN7jHb4klGNb6CgnYegBxdOh0SwzvjM+W75X+nNKGEY QskNpGcs7gW4X0J0eupAVjNFPvJxtAeNXauQ94BaYN+Fw9SWNx/wsTYceVTy+rFKzACk cuqRge12ZTWFk3dZG352rrNWdstMT3c34LB2bQlbB19VOd0LTihvQjkrXriM5+U2HDY6 8RmY49l/lR/UmeciF1sE3qEn5YpE/JQPIZZ+mMxlt8KGka1hYEmaa9EWX58RtHUP46Ny VNYQ== X-Gm-Message-State: ANoB5pmj0/JEWat/348w7TspYQuXz8T2wcUZvQF4s8q72CPfkgYbI1N8 ohFXoi+8lIKdeFRvJ5TFczn1qvr0K6oJ X-Google-Smtp-Source: AA0mqf7PqWhpJqcJDUqaP0x3HvoxQQemzGWVisg5vYPMj2QpsYZDxH8gB23u44xngBwlaSBGGpWt1A== X-Received: by 2002:a17:907:2a10:b0:7a7:9b01:2a6c with SMTP id fd16-20020a1709072a1000b007a79b012a6cmr47940851ejc.153.1669724572494; Tue, 29 Nov 2022 04:22:52 -0800 (PST) Received: from localhost (070-207.dynamic.dsl.fonira.net. [178.251.70.207]) by smtp.gmail.com with ESMTPSA id l16-20020aa7c3d0000000b00468f7bb4895sm6230698edr.43.2022.11.29.04.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 04:22:52 -0800 (PST) References: <25477.57044.35186.766042@gargle.gargle.HOWL> <87y1ru3uxs.fsf@ucl.ac.uk> <25477.59588.905566.220994@gargle.gargle.HOWL> <87cz963t98.fsf@ucl.ac.uk> <25477.60941.565115.403533@gargle.gargle.HOWL> <25477.62017.692555.855056@gargle.gargle.HOWL> User-agent: mu4e 1.8.11; emacs 28.2 From: Dominik Schrempf To: alain.cochard@unistra.fr Cc: "Fraga, Eric" , emacs-orgmode@gnu.org Subject: Re: Mistake in LaTeX syntax not detected, strange pdf generated Date: Tue, 29 Nov 2022 13:20:06 +0100 In-reply-to: <25477.62017.692555.855056@gargle.gargle.HOWL> Message-ID: <87r0xmvtk4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=dominik.schrempf@gmail.com; helo=mail-ej1-x629.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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669724887; 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=pIH5rHEZp5VxNUrpNkjnlyIY5d3MhB6XNBwIuDzoYh8=; b=Vdj1gXiUvc2daiLqh/FBTVOiz8z32Dyv+iR/CUR8VyXhc98yNT491XcJckMXd1wMhNkwk6 qHLlIKlDnS4P5Cy3Y3bnmPD7g36bBWhm3/uwUiE1IYxNyJ9isU3V8kcQvmlZfxcl2ZpniI DQZoxg46LM58gffXOxUOQaO9oytBKV/bXYl10JhB8FDcx3yfGYkFLCAWWegkZLe3dKMjHN sCt6+azc4vtlfkKNi1iY1xoHvnmQvOZwXWiu0MnNvI3gwEHEwQ24jzVhi354999fuVb1Rc xfD6/gLvtXyOriAvyNo50qStLyEK+GhuqfA6v1kdF3qerSjFzCdeYaiLccQivw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669724887; a=rsa-sha256; cv=none; b=cw5B/w00b6XLXzzezHXoYo1Q3NdBBqg/KmHAhFMYBOXBsIAlO0roHb7UaU3DEAH+sC4I7L hKfErK8jmgtzQGCXFI+tUK38KI9m9K6TTseWnOxffWWw2YBNGek3rj+LUAIyTgxPYf94t+ tSJPc3VARL9FHLFB2gTCIykc+648VUAjCskfkYkN2s6vOnmL+XM1pKNGFKvelB6/yEhXWY rAtecWy2e0jxiMBtfTONYap7jp/osfmqJE948bsXbvuNxME/coZjLiXSD3K1jYeNnptNxf SDJSnYU3a1OhihXNVTdjPOwGR67rFo20WKHMDmYsGw7IGihiYWFgruRoHc8/8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kzewEus2; 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-Migadu-Spam-Score: -8.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kzewEus2; 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-Migadu-Queue-Id: 42AFB1728 X-Spam-Score: -8.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5tcwggtTQAh5 Hi! I wanted to chime in here, because sometimes I do have a similar problem. Whenever I export to LaTeX + PDF, it is pretty difficult to see if the compilation actually worked (or not). This is, because the compilation happens asynchronously, and so, the message about the compilation results in the modeling vanishes fast. Usually, I open the LaTeX compilation buffer manually, but I think it would be great if Org Mode was a bit more verbose about the result of the compilation (not the actual export). Not sure how this would work though... (Not very helpful, I know). Thank you! Dominik Alain.Cochard@unistra.fr writes: > Alain.Cochard@unistra.fr writes on Tue 29 Nov 2022 12:33: > > > I would expect that the mistake be reported in the *Org PDF LaTeX > > Output* Compilation buffer. So far, what I saw in that buffer was > > essentially what shows up when I run 'pdflatex org_generated_file.tex' > > from a terminal. Not this time: the "regular" pdflatex compiles > > correctly, not the pdflatex that Org uses internally. > > > I thought what Org did was simply run pdflatex+bibtex+etc. just as > > what one would do manually, but apparently there is some difference. > > Hum, I correct myself here: the compilation buffer does report the > mistake (I hadn't looked at it). Also, the manual compilation with > > pdflatex org_generated_file.tex > > does generate the same pdf provided that I hit many times. > Also, I see that the message > > PDF file produced with errors. > > appears in the *Messages* buffer. > > So perhaps Org could display this message in the minibuffer instead of > > Running /usr/bin/xdg-open /home/cochard/Org/debug3.pdf...done > > which leads to the impression that the compilation is OK.