From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 mIqMHgt0w2Q5XQAASxT56A (envelope-from ) for ; Fri, 28 Jul 2023 09:53:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qFRdHgt0w2QDDAAAauVa8A (envelope-from ) for ; Fri, 28 Jul 2023 09:53:47 +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 7A94030F2A for ; Fri, 28 Jul 2023 09:53:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oPXfwFBm; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690530827; 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=5bYhrxmHBUHeqKHDrpXY1TJf/P6aCfttJE4A9LDnYB4=; b=Nt2hzDWkrWZI8rMjga55i5PMX6pBvBzxIBJcGBSLOknH1eAFHN3QajVcotttEoPAbK3Yl2 J7anKFJlH492yhmLwBWB1OmAKEFhawgUD/al1Bd/9rwPmheTJcR39ITfZgOxSlMJdyCrPe bkuWrW3w8Qj79+79oKD71Juk9at+3GkzuLrHqFDYdpB1hG66uqhJzGoCScru91FLxhwagV OaoLGy+kKcF/E8Cdho9KPPHCoeYpfNf41N7HWvHXOgCl6REm+VR+47fRD6/2P058W53LhV MZ4ReE1fGO0IbOLt2llq5fahXumI3moD1HOGy8ortW7UCtqIMsMHiUJlpVc6dA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690530827; a=rsa-sha256; cv=none; b=c0NG5Ijnpe7BcbUkhuuIXL2jDb6f0gN1771/Dysqva18NykR24GKfydO1wLKclb+BDzPqP NsUHSuwYX+OaqbomAQxx5/wMdxhfSWq4MDYTZCPI+01p8D4NNrfqi2pbdFuiN/lburPvwd QZ1T6oMOjdKHAgnmlACLnP6KppJ16ghoZUut1r4xoO+jvHAD+hm/BqX495voVJtSwfejLf yU9fPm+H9rqlP4l+Na3txqvPNyTq0xrHK7r2SOJFIQ+X+wG4RGKa0bpes2xn0v808OHAlt 0+aPMxvvs80WSmd7UI+HAffEae8nm03/n+eZAuGSOroEFOwceKpQw5fq8igeVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oPXfwFBm; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPI2D-0007k8-MM; Fri, 28 Jul 2023 03:37:13 -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 1qPI24-0007hw-RZ for emacs-orgmode@gnu.org; Fri, 28 Jul 2023 03:37:05 -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 1qPI22-0007fb-Pg for emacs-orgmode@gnu.org; Fri, 28 Jul 2023 03:37:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 02A1D24002B for ; Fri, 28 Jul 2023 09:37:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1690529821; bh=tWUYxkkdr1rkky3qvl41/L7FEWdhtkQA6qHtJ62tf3I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=oPXfwFBmBTBRjxT0xjKU/X6E2QHYDwrhAHvUtmP6z9v8D7y5/ua/3N5QnpDyBTB8x r9YEOtO3uNwRSSfSBG6Z3Mg5tb7el/ovmscP5GC+HL0i5DljFnCgqJ5Cd8oe4b4iSv VNsgvJVDnJwtwRjNWpJtHG9X67QLe+wqhqkwzRIVHolg80/AWTRBLrrEWWzcJXx+o0 b/zOyKh2IM/w/cPAcbrA++sL6XTam41E9kLZ8t2XznaBF2Ehq5cQQaVoKlvwHqBMaH Kgg8wMQRA/6CnUdQDqjqsM86n/i6uU33lxJ8f0kWbprHrwCUheetz1jO2lwKHVrd6A lp+Q/menEezjQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RBzwr0tvKz9rxK; Fri, 28 Jul 2023 09:36:59 +0200 (CEST) From: Ihor Radchenko To: Jonathan Gregory Cc: "Dr. Arne Babenhauserheide" , "Victor A. Stoichita" , emacs-orgmode@gnu.org Subject: Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?) In-Reply-To: <875y65cy0r.fsf@autistici.org> References: <87bl9rq29m.fsf@gnu.org> <875yzzilq0.fsf@cnrs.fr> <871ram4x83.fsf@web.de> <87a5w15jur.fsf@localhost> <87fs5svjqb.fsf@autistici.org> <87a5w0yvhf.fsf@localhost> <87ilam3bv1.fsf@autistici.org> <877cr2id09.fsf@localhost> <87zg3uxyba.fsf@autistici.org> <87sf9lv9ta.fsf@localhost> <878rbchyt9.fsf@autistici.org> <87edl3xdhe.fsf@localhost> <87tttyjw6b.fsf@autistici.org> <878rb990n5.fsf@localhost> <87r0p1pk2y.fsf@autistici.org> <87jzus8ive.fsf@localhost> <87mszj99n0.fsf@autistici.org> <87edkvm6kv.fsf@localhost> <87ila696wu.fsf@autistici.org> <87a5vh95wg.fsf@localhost> <875y65cy0r.fsf@autistici.org> Date: Fri, 28 Jul 2023 07:37:14 +0000 Message-ID: <87ila4fpw5.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -5.31 X-Spam-Score: -5.31 X-Migadu-Queue-Id: 7A94030F2A X-TUID: ReNAdf5TEJif Jonathan Gregory writes: >> May your please explain what is "basic mode". > > Basic mode is explained in > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html. > In summary: > > With basic-mode you can embed LilyPond snippets into an Org-mode > file, compile and export them using typical Org-mode commands > (such as C-c C-e l p for PDF export). This is useful if you want > to mix blocks of LilyPond-generated score with text, and perhaps > other images to export to LaTeX, Docbook, PDF, or HTML. I am slightly confused because there seems to be a need to define some page settings manually to get "embedded" images. In the examples in https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-lilypond.html#org2c29903, there is no mention that we need to define page geometry. Yet, the section is claiming that base mode "can embed LilyPond snippets into an Org-mode file". What am I missing? >> And what about users who do want a full page? > > In that case the user would use "arrange mode", which is also > explained in the ob-doc-lilypond.html page. Thanks for the clarification! >> Noweb and babel references are not allowed in header args. And >> ob-emacs-lisp also does not support :prologue. > > I see, so there's no built-in way to auto-insert a boilerplate > without using the <<>> reference *inside* source blocks. Anyway, > let's not worry about this for now. There is, but you will have to use direct Elisp to get :prologue string: #+name: test #+begin_src emacs-lisp (message "This is test") #+end_src #+begin_src emacs-lisp :prologue (org-sbe test) (+ 1 2) #+end_src -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at