lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OOolilypond Libre Office extension : insert object large as full pag


From: Dario Marrini
Subject: Re: OOolilypond Libre Office extension : insert object large as full page
Date: Mon, 10 Feb 2020 10:10:40 +0100

Thanks Klaus, I can cnogirm I get the same results.
So where do I have to put that \include?

This is the Default.ly tha t I can extract from the .oxt :
\transpose %{OOoLilyPondCustom1%}c c'%{OOoLilyPondEnd%}
{
%{OOoLilyPondCode%}% For getting started read (copy URL into your web browser):
% https://github.com/openlilylib/LO-ly
% http://lilypond.org/doc/stable/Documentation/learning/simple-notation%
%
% Use the "Custom 1" to transpose your music _expression_. E. g. try "e a'".

\key e \major e8 fis gis e fis8 b,4. | e2\fermata \bar "|."
%{OOoLilyPondEnd%}
}

\include "lilypond-book-preamble.ly"
#(set-global-staff-size %{OOoLilyPondStaffSize%}20%{OOoLilyPondEnd%})

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = %{OOoLilyPondLineWidth%}17\cm%{OOoLilyPondEnd%}
}

\layout {
  indent = #0
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
}

that \include is present here, and if I copy and pas de Default.ly in Frescobaldi I get the correct thing (see the .png as attachment); but if I simply try to insert the music fragment by using the Default inside LibreOffice I get a whole page snippet...

Il giorno lun 10 feb 2020 alle ore 00:07 Klaus Blum <address@hidden> ha scritto:
Hi Dario,

Am 09.02.2020 um 22:26 schrieb Dario Marrini:
> HI tried to compile Default template in Frescobaldi, it works but I
> can't realize if it creates a little picture or a page, because I
> can't find where is the resulting .pdf file....
>
on the right side of your screenshot I can see that a whole page is
created.

Just try this minimal snippet:

% ------------------------------------------
\relative c' {c e g c}
\include "lilypond-book-preamble.ly"
% ------------------------------------------

It should create a small image.
If you remove or comment out the second line (\include
"lilypond-book-preamble.ly"), you get a whole page again.

In the screenshots I'll attach the results that I get on my system.
There you can also see in the LilyPond output messages (at the bottom
left side) that in the version with the preamble there are some more
files created (*.tex, *.texi etc.).

Can you check if you get similar results?
If not, I suspect that there is a problem with your LilyPond
installation that is independent from OOoLilyPond. In that case, I could
ask here on the mailing list tomorrow if someone with more Linux
knowlegde already knows about that problem.

Cheers,
Klaus



Attachment: Schermata a 2020-02-10 09-37-37.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]