From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +Dv/F9A2JWXP1wAAG6o9tA:P1 (envelope-from ) for ; Tue, 10 Oct 2023 13:34:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +Dv/F9A2JWXP1wAAG6o9tA (envelope-from ) for ; Tue, 10 Oct 2023 13:34:40 +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 0FF1158BA9 for ; Tue, 10 Oct 2023 13:34:40 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="aO/CWxLA"; dmarc=pass (policy=none) header.from=posteo.net; 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=1696937680; 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=6Ud/5RLhM8D1gR4pDaBkBt931kdBM67ejLC9XE0I2CI=; b=j3lPM81NlsQ/vY9ZKADs3wJNs43PrIP1VGoHlGApjV+ZLTIG0lRIjVMUihQgfWE9nbMCVW sYtmyz/8ZFhKgVWVT5wo4TEq4KHwqDLI0pm52AVln9L5bKkz+FXoEShjezVmeG9n4CdM+q 9o8dxE1d1riKzjhP7JA6bNhsD2I04Kmjrl7YacFrNtc0NR71C52NAbcbpvk+YHCvXK4wuz rj8Unfn1xr+7GVl14t/c7RQpzxFwx1fHJ30s4wKOXczJ5Ff8xQcA0MLBwSpDzIgsOxjimk WuQp6INtt8+wDr4XZqOlGc3I3PQ8+DD9rZv1t5V1LGbAaRxeQy5/GmoKpNXpcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="aO/CWxLA"; dmarc=pass (policy=none) header.from=posteo.net; 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-Seal: i=1; s=key1; d=yhetil.org; t=1696937680; a=rsa-sha256; cv=none; b=h0XmOnRyw44CJtdQqfOmHhpNoPusYes/NLpzMj94PH/0V44y6NklKGzIFTAIzQvZIKtiK+ HEj+Fn8l2e4hiLJNEEAazupvaseQo//2wM7/K/ZInBTCHMa/hOpvTh1SCnZJBsFo4czIWo XPBOW0ffQFLsSkncZChwuoZC5N5wlOjXfTeqQHYXj+QE2D37yel2EurrX3BaHMwR/1J5u6 6xeuH+8PE89rjbIWaLuhH/H2yaUNM6VumurOLzrtfX8CQUc5KlD2HdFGqCiioGpNK8Xm8S ScUPeZIFNg33lp1KBLvCV3+44f/9Cm76/bJEUL7Pfl4vdXc1hRDazH0Z0wB4Ag== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqB05-0003b2-RZ; Tue, 10 Oct 2023 07:34:09 -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 1qqB02-0003W9-7A for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 07:34:06 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqAzt-00027j-8v for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 07:34:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A44B8240027 for ; Tue, 10 Oct 2023 13:33:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696937633; bh=fw+n5VL8Th1ENWtXn4HThQVEv7ttBaDDVN8FFh9msb8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=aO/CWxLAHxbvXULD/eJl4s8FINPfmhx3pSNyVVS/Q6huPU57/EQ35cXRV9VmZirS3 jsp4Gc7kzplg/aHUUJtjM1tsKB98IpKqeMR+fnTYIt42qSw6TrJ7HgbNT7UTrtIXzV T5a2bA1nS0KW8dvIvMZQz2Mt1vLImmWiz48n4v3DGfuEmuSJsoAIzgFiTRG7X7wPEd kIgTMUvqHBaUuVY1yTC03cPdOl3hakJQglskWAElsp/Mfd3+5UBAD4/C5/Zbfn8Vaz /D5w9mSJNj1hcXdXUxban2Zn66nsKmWFM/xW8RihVlbmA6ndQ1P0q/jTIn9s7+/tV4 2aJPKj7qqYFdg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S4Yh05kGTz9s0D; Tue, 10 Oct 2023 13:33:52 +0200 (CEST) From: Ihor Radchenko To: Guillaume MULLER Cc: Org Mode List Subject: Re: org beamer strange behaviour In-Reply-To: References: <0e901ba9-548e-44a1-b3b4-2e90f652534d@emse.fr> <87zg0r96js.fsf@ucl.ac.uk> Date: Tue, 10 Oct 2023 11:35:30 +0000 Message-ID: <87a5sqaewt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-Migadu-Queue-Id: 0FF1158BA9 X-Migadu-Scanner: mx2.migadu.com X-TUID: qFb+NhmrtuEN Guillaume MULLER writes: > Running it, I got these "errors": > 221 low Unknown source block language: 'latex' > 252 low Unknown source block language: 'bibtex' > 268 low Unknown source block language: 'latex' > 282 low Unknown source block language: 'sh' > 329 low Unknown source block language: 'bibtex' > 434 low Unknown source block language: 'latex' > > ...which is very strange as I have the following lines in my config.org file: > > ;; sh code in org-mode! > (setq org-babel-sh-command "bash") > (org-babel-do-load-languages > 'org-babel-load-languages > '((shell . t))) ; this line activates Bash > > ;; LaTeX code in org-mode! > (org-babel-do-load-languages > 'org-babel-load-languages > '((latex . t))) ; this line activates LaTeX `org-babel-do-load-languages' also unloads everything not listed in the second argument. So, your config first loads shell and then unloads it, while loading latex. Possibly, you also have yet another call that will load something else, unloading latex. > I also define lstlisting "keywords" for bibtex in the header (taken from some StackOverflow thread; removing it does not change anything): > > #+BEAMER_HEADER: \def\BibTeX{Bib\TeX{}} > #+BEAMER_HEADER:\lstdefinelanguage{BibTeX} > #+BEAMER_HEADER: {keywords={% > #+BEAMER_HEADER: @article,@book,@collectedbook,@conference,@electronic,@ieeetranbstctl,% > #+BEAMER_HEADER: @inbook,@incollectedbook,@incollection,@injournal,@inproceedings,% > #+BEAMER_HEADER: @manual,@mastersthesis,@misc,@patent,@periodical,@phdthesis,@preamble,% > #+BEAMER_HEADER: @proceedings,@standard,@string,@techreport,@unpublished% > #+BEAMER_HEADER: }, > #+BEAMER_HEADER: comment=[l][\itshape]{@comment}, > #+BEAMER_HEADER: sensitive=false, > #+BEAMER_HEADER: } > > And org is supposed to use lstlisting to render the blocks (also in my config.org): > (after! org > (setq org-latex-src-block-backend 'listings) ;; not always the best choice, but prevent DoomEmacs to go Berzerck (ask file to save to everytime) when using lstlistings-specific commands in org/beamer files > ;;(setq org-export-allow-bind-keywords 1) ;; allows binding of emacs/lisp vars directly in .org files VERY INSECURE!!! > ) Then, you can ignore this particular warning. Note that you will not be able to execute "bibtex" blocks though - Org does not know how, which is what the warning is about. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at