[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] WORG example for ob-lilypond is no longer working as described
From: |
Ihor Radchenko |
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?) |
Date: |
Thu, 27 Jul 2023 07:21:03 +0000 |
Jonathan Gregory <jgrg@autistici.org> writes:
>> Ok. That fix has been already installed.
>> https://git.sr.ht/~bzg/worg/commit/6f69d212f41bc372426dc9b4df286638fe8f2a92
>
> To the extent of the lilypond.org file, yes, but only if the
> output is a PDF. My suggestion is to revert that commit and
> incorporate the changes into ob-lilypond.
Then, may you elaborate what purpose the changes are going to serve?
Automatic page sizing? Automatic page settings?
> The purpose of the patch was to fix the problem described in
> https://masto.ai/@rfc1149/110674961710491363. I wasn't trying to
> introduce anything new.
If we want to add boilerplate code to ob-lilypond, it does sound like
introducing something new. Again, I feel confused. Please, explain in
more details what you want to archive in terms of functionality.
> No, the ob-lilypond patch is needed. It allows users to generate
> music fragments (as opposed to a full page) in basic mode using
> pdf, eps, and png.
May your please explain what is "basic mode".
And what about users who do want a full page?
>> There is :prologue standard header argument. However, it is
>> currently not supported by ob-lilypond. (which is a bug)
>
> Can you show me how that's done in elisp? I would expect the last
> block to output "foobar".
>
> #+begin_src elisp :noweb-ref test
> (setq x "foo" y "bar")
> #+end_src
>
> #+begin_src elisp :prologue <<test>> :noweb yes
> (concat x y)
> #+end_src
Noweb and babel references are not allowed in header args.
And ob-emacs-lisp also does not support :prologue.
You can try
#+begin_src gnuplot :prologue set xrange [0:1]
plot x
#+end_src
or
#+begin_src gnuplot :prologue (format "set xrange [0:%d]" 11)
plot x
#+end_src
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- 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?), (continued)
- 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?), Ihor Radchenko, 2023/07/21
- 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?), Jonathan Gregory, 2023/07/21
- 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?), Ihor Radchenko, 2023/07/22
- 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?), Henrik Frisk, 2023/07/25
- 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?), Henrik Frisk, 2023/07/25
- 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?), Jonathan Gregory, 2023/07/25
- 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?), Henrik Frisk, 2023/07/25
- 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?), Jonathan Gregory, 2023/07/25
- 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?), Ihor Radchenko, 2023/07/26
- 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?), Jonathan Gregory, 2023/07/26
- 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?),
Ihor Radchenko <=
- 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?), Jonathan Gregory, 2023/07/27
- 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?), Ihor Radchenko, 2023/07/28
- 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?), Jonathan Gregory, 2023/07/28
- 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?), Ihor Radchenko, 2023/07/29
- 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?), Jonathan Gregory, 2023/07/31
- 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?), Ihor Radchenko, 2023/07/31
- 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?), Jonathan Gregory, 2023/07/31
Re: [BUG] WORG example for ob-lilypond is no longer working as described, Dr. Arne Babenhauserheide, 2023/07/13