lilypond-user
[Top][All Lists]
Advanced

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

RE: corrective to Problem while using OpenOffice.org withmacro OOoLilyPo


From: Paul Harouff
Subject: RE: corrective to Problem while using OpenOffice.org withmacro OOoLilyPond/basic/script.xlb -see attachemnt-
Date: Mon, 14 May 2007 21:00:03 -0500

When I received this error, there was a line of code highlighted. In that
line I edited the index (i-1) to (i) and the script started working.

Note that you also will have to edit Subs.xba to change the 4 occurrences of
"-b eps" to say "-dbackend=eps"

Finally, I found that changing templates\2.10\letter.ly to something like
the following allows using \score blocks in the snippets:

\version "2.11.15"

\include "lilypond-book-preamble.ly"

\paper {
  #(define dump-extents #t)
  #(set-paper-size "letter")
  paper-height = 11\in
  paper-width = 8.5\in
  top-margin = 0.5\in
  bottom-margin = 0.5\in
  left-margin = 0.5\in
  line-width = 7.5\in
%  between-system-padding = 0.5\in
%  between-system-space = 0.25\in
  ragged-last = ##f
  ragged-bottom = ##t
  ragged-right = ##f
% system-count = #1
% print-first-page-number = ##f
% print-page-number = ##t
  oddFooterMarkup = \markup { \fill-line { \hspace #0 { \bold \fromproperty
#'page:page-number-string } } }
  evenFooterMarkup = \markup { \fill-line { { \bold \fromproperty
#'page:page-number-string } \hspace #0 } }
  oddHeaderMarkup = \markup { \fill-line { \hspace #0 { "" } } }
  evenHeaderMarkup = \markup { \fill-line { { "" } \hspace #0 } }
}

global = {
  #(set-global-staff-size 14)
  \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 0.5)
  % \override Lyrics.LyricText #'font-size = #0.0
  % \override Lyrics.LyricText #'word-space = #0.6
  % \override Lyrics.LyricSpace #'minimum-distance = #1.0
}


% ly snippet contents follows:
c' d' e'
% end ly snippet


Paul

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Ledocq-Boccart
Sent: Monday, May 14, 2007 5:24 AM
To: address@hidden; address@hidden; address@hidden
Subject: corrective to Problem while using OpenOffice.org withmacro
OOoLilyPond/basic/script.xlb -see attachemnt-

Dear Antanas, thank you for your answer,

the problem is I cannot edit the dialog box  anymore as I receive the 
following error message after entering Ctrl+M: "valeur ou type de 
données incorrect(e).Index hors de la plage définie" translated in 
englich = error message of OpenOffice.org 2.0:  "incorrect value or data
type. Index outside defined range".

It happens that way even afetr uninstalling OpenOffice.org, LilyPond and 
OOoLilyPond, and having cleaned up the registry keys.

It looks as if the PC had irreversibly memorized the initial incorrcet 
action.

Regards

Charlie


-----------------------------------
I am using OpenOffice.org version 2.0.3 on winXP . My problem is :

on OpenOffice.org with macro Ctrl+M from OOoLilyPond (version 2.10)

The Ctrl+M macro does not start anymore, even after new installation of
all LilyPond, OOoLilypond and OpenOffice.org version 2.0.3 !
I even have cleaned the registry (I use regularly Regseeker without
trouble).

This happened after having modifies the path of the LilyPond executable
file in the dialog window, because I had an error message "file
c:\program ... not found"

OOoLilypond, OpenOffice.org and LilyPond are all installed in c:\Program
Files\
The library script.xlb and the ctrl+M have been carefully installed
according to the instructio given with OOoLilyPond, excepted that the
macro is refused to be installed in the Macro OpenOffice Library (the
***Append*** button is not activable when selecting the radio button
"Macros
OpenOffice"; I have installed it in My Macros file, wihch allows to
activate the button ***"append"***.
Customization of ctrl+M has been done according to instructions.

What happens now:
while opening a writer document with OpenOffice.org:

typing Ctrl+M, Enter
    gives an error message of OpenOffice.org:  "incorrect value or data
type: index outside defined range"

together with a sreen showing the basic instructions with one marked
with ared arrow flag in the left column "ReDim Preserve sTemplate(i-1)
As String".


Could somebody help to find a solution to this?

Thanks for answer

Charlie


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/791 - Release Date: 6/05/2007
9:07






_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/801 - Release Date: 
12/05/2007 18:40




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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