Re: Org-babel-lilypond always renders full pages

2020-04-06 Thread Nick Dokos
stardiviner writes: > > Can report this bug to ob-lilypond.el maintainer. I have not found any contact > info like email in source code file. Does anyone can get in touch with the > maintainer? > Isn't ob-lilypond.el part of Org mode proper (i.e. not contrib)? If so, this is the place to report

Re: Org-babel-lilypond always renders full pages

2020-04-04 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan Gregory writes: > Hi > > On 02 Apr 2020, stardiviner wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> >> Jonathan Gregory writes: >> >>> Hi >>> >>> On 30 Mar 2020, stardiviner wrote: >>> -BEGIN PGP SIGNED

Re: Org-babel-lilypond always renders full pages

2020-04-02 Thread Jonathan Gregory
Hi On 02 Apr 2020, stardiviner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > Jonathan Gregory writes: > >> Hi >> >> On 30 Mar 2020, stardiviner wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> >>> stardiviner writes: >>> -BEGIN PGP SIGNED

Re: Org-babel-lilypond always renders full pages

2020-04-02 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan Gregory writes: > Hi > > On 30 Mar 2020, stardiviner wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> >> stardiviner writes: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> >>> You might want to

Re: Org-babel-lilypond always renders full pages

2020-04-01 Thread adam
On Wed, 2020-04-01 at 11:02 +0200, Oliver Heck wrote: > > Off-topic: Oliver is exporting/engraving to a fixed-resolution png. An > > alternative > > is to export scalable vector graphics of the score to PDF. > > PDF does scale better, but it does not help because I need the original > size

Re: Org-babel-lilypond always renders full pages

2020-04-01 Thread Oliver Heck
Off-topic: Oliver is exporting/engraving to a fixed-resolution png. An alternative is to export scalable vector graphics of the score to PDF. PDF does scale better, but it does not help because I need the original size embedded. Logically it works fine when full staves are rendered (at

Re: Org-babel-lilypond always renders full pages

2020-03-31 Thread adam
On Tue, 2020-03-31 at 10:48 -0300, Jonathan Gregory wrote: > Hi > > On 30 Mar 2020, stardiviner wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > > > stardiviner writes: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA256 > > > > > > > > > You might want

Re: Org-babel-lilypond always renders full pages

2020-03-31 Thread Oliver Heck
Thanks, Jonathan, but the first advise does not work. Where would I put the elisp code you proposed? Oliver On 31.03.20 15:43, Jonathan Gregory wrote: Hi Oliver On 30 Mar 2020, Oliver Heck wrote: Hi Jonathan, that works fine. Thank you! Can I set this as default header somewhere in the

Re: Org-babel-lilypond always renders full pages

2020-03-31 Thread Jonathan Gregory
Hi On 30 Mar 2020, stardiviner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > stardiviner writes: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> >> You might want to try this: >> >> #+begin_src emacs-lisp >> (add-to-list 'org-babel-default-header-args:lilypond

Re: Org-babel-lilypond always renders full pages

2020-03-31 Thread Jonathan Gregory
Hi Oliver On 30 Mar 2020, Oliver Heck wrote: > Hi Jonathan, > > that works fine. Thank you! > > Can I set this as default header somewhere in the org file or will I > have to include it to every snippet (I will have a lot of them). > > Oliver You can use the Noweb Reference Syntax[1] #+name:

Re: Org-babel-lilypond always renders full pages

2020-03-30 Thread Oliver Heck
Actually it is sufficient to have \paper{ oddFooterMarkup=##f } for my needs. But now I get the rendered pictures very large in the LaTeX-PDF export. I added (setq org-latex-image-default-width "") to my .spacemacs file but that does not change anything. I am quite new to emacs so please

Re: Org-babel-lilypond always renders full pages

2020-03-30 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 stardiviner writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > You might want to try this: > > #+begin_src emacs-lisp > (add-to-list 'org-babel-default-header-args:lilypond > '((:prologue . "\paper{ > indent=0\mm >

Re: Org-babel-lilypond always renders full pages

2020-03-29 Thread Oliver Heck
This throws an error: org-babel-exp process emacs-lisp at position 1... org-babel-exp process lilypond at position 480... sort: Wrong type argument: stringp, (:prologue . "paper{ indent=0mm line-width=120mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f

Re: Org-babel-lilypond always renders full pages

2020-03-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 You might want to try this: #+begin_src emacs-lisp (add-to-list 'org-babel-default-header-args:lilypond '((:prologue . "\paper{ indent=0\mm line-width=120\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f

Re: Org-babel-lilypond always renders full pages

2020-03-29 Thread Oliver Heck
Hi Jonathan, that works fine. Thank you! Can I set this as default header somewhere in the org file or will I have to include it to every snippet (I will have a lot of them). Oliver On 30.03.20 01:58, Jonathan Gregory wrote: Hi On 29 Mar 2020, Oliver Heck wrote: Hi, I am trying to use

Re: Org-babel-lilypond always renders full pages

2020-03-29 Thread Jonathan Gregory
Hi On 29 Mar 2020, Oliver Heck wrote: > Hi, > > I am trying to use org-babel-lilypond and basically got it running. > But somehow I always get full lilypond pages back instead of a small > snippet. > This is what I have in my org-file: > > #+NAME: Lilypond > #+BEGIN_SRC lilypond :file test.png

Org-babel-lilypond always renders full pages

2020-03-29 Thread Oliver Heck
Hi, I am trying to use org-babel-lilypond and basically got it running. But somehow I always get full lilypond pages back instead of a small snippet. This is what I have in my org-file: #+NAME: Lilypond #+BEGIN_SRC lilypond :file test.png \relative c'' { c d e f } #+END_SRC I read through