unknown escaped string: \setTextCresc

2021-11-13 Thread Ivanov Dmitry
I downloaded Beethovens 1-st Sonata from mutopia: https://www.mutopiaproject.org/ftp/BeethovenLv/O2/LVB_Sonate_02no1_1/LVB_Sonate_02no1_1.ly Unfortunately, when I try to compile it, it fails: ./LVB_Sonate_02no1_1.ly:81:8: error: unknown escaped string: `\setTextCresc' ./LVB_Sonate_02no1_1.ly:81

Re: Stretching staff 100% horizontally

2021-11-07 Thread Ivanov Dmitry
> That’s definitely neither minimal nor working (because of the required > \include file)… ;) Oh, sorry, that file was not needed for compilation. > \paper { > ragged-right = ##f It worked, thank you. On 11/7/21, Kieren MacMillan wrote: > Hi Ivanov, > >> I attached the minimal working examp

Stretching staff 100% horizontally

2021-11-07 Thread Ivanov Dmitry
I attached the minimal working example. The second variant is not stretched horizontally as the first two staves. Is it possible to stretch it so it occupied 100% of page width? \version "2.23.2" \language "english" \include "zlatye-gory-bass.ly" \paper { right-margin = 1\cm left-margin = 2\

Re: musicXML: 2 staves, piano

2021-09-27 Thread Ivanov Dmitry
What kind of programmed scores handling are you aiming at? Standard piano score with 2 staves and 4 voices: 2 voices per staff. signature.asc Description: PGP signature

Re: musicXML: 2 staves, piano

2021-09-27 Thread Ivanov Dmitry
Something is not right. I installed lilypond 2.23.3 and processed hello2.xml. I still have an incorrect result. Here is what I do and what I get: $ musicxml2ly ./hello2.xml musicxml2ly: Reading MusicXML from ./hello2.xml ... musicxml2ly: Converting to LilyPond expressions... musicxml2ly: warni

Re: musicXML: 2 staves, piano

2021-09-27 Thread Ivanov Dmitry
I can't reproduce your results. I tried to put your XML into hello2.xml and compile it. But it produced pdf with the same error, Your lilypond file is compiling correctly for me. Can you try my xml? Is anything wrong with it? My lilypond version is 2.22.1. http://www.musicxml.org/dtds/partwise.dtd

Re: musicXML: 2 staves, piano

2021-09-24 Thread Ivanov Dmitry
Jacques Menu: Dmitry, how do you generate MusicXML data? I do it manually. signature.asc Description: PGP signature

Re: musicXML: 2 staves, piano

2021-09-24 Thread Ivanov Dmitry
On 21-09-24 20:33:05, Carl Sorensen wrote: Why are your writing your own musicXML and then using xml2ly, instead of just writing in lilypond? I am writing software for harmonization and XML is a better language for computers to read then lilypond. signature.asc Description: PGP signature

musicXML: 2 staves, piano

2021-09-24 Thread Ivanov Dmitry
I was experimenting with a simple musicXML for a stadard piano score with 2 staves. I attached the sample file. Everything seems to be fine, but after I run musicxml2ly ./hello1.xml lilypond ./hello1.ly I get incorrect result. Is it musicxml2ly working incorrectly? hello1.xml Description: XML

musicXML: 2 voices in 1 measurement

2021-09-24 Thread Ivanov Dmitry

Re: musicXML: 2 voices in 1 measurement

2021-09-23 Thread Ivanov Dmitry
Hello Ivanov, You probably miss a élément, will post an example tonight. Thanks, I fixed the code myself already. signature.asc Description: PGP signature

musicXML: 2 voices in 1 measurement

2021-09-22 Thread Ivanov Dmitry
I am trying to create a musicXML file with 2 voices: http://www.musicxml.org/dtds/partwise.dtd";> Music 1 1 4 4 G 2 1

Re: How to align text vertically and change font document-wise

2021-09-04 Thread Ivanov Dmitry
Ok, I tried \addlyrics, and it worked, but there are more questions. Now I'll have to present a more complex file. 1. How can I move the text above the soprano notes below the group line? 2. Is it possible to mark the group as it is done with voltas? I attached excert from the book I am studying

Re: How to align text vertically and change font document-wise

2021-09-01 Thread Ivanov Dmitry
try to write them in a separate topic. On 9/1/21, Jean Abou Samra wrote: > Le 01/09/2021 à 12:52, Ivanov Dmitry a écrit : >>> \override TextScript.font-series = #'bold >> Is it possible to do it only for the text below the notes, not the >> meter signs: 3 / 4? >

Re: How to align text vertically and change font document-wise

2021-09-01 Thread Ivanov Dmitry
> \override TextScript.font-series = #'bold Is it possible to do it only for the text below the notes, not the meter signs: 3 / 4? On 9/1/21, Jean Abou Samra wrote: > > > Le 01/09/2021 à 10:50, Ivanov Dmitry a écrit : >> Here is the minimal working example: >> &

How to align text vertically and change font document-wise

2021-09-01 Thread Ivanov Dmitry
Here is the minimal working example: \relative c'' { \clef violin \time 3/4 c,2_"C" e8_"E" c'_"C" g'2. f4 e d c4 c, r } Is it possible to vertically align all the characters by the bottom line? How can I change the font for text document-wise, for example change the size and make it b

Re: Custom page with blank staves

2021-08-29 Thread Ivanov Dmitry
Ok, I was able to adjust the variables to produce something I want. Can you explain: 1. The doc says: "the vertical distance, measured in staff-spaces" - what is staff space as a unit of measurement? 2. A lot of space appears if there is no markup between the blocks. Is it possible to suppress it

Re: Custom page with blank staves

2021-08-24 Thread Ivanov Dmitry
Thank you. I modified your file a little and have the following questions: 1. Single title is not enough in the function, I'd like to add the text below the title. Currently I removed the header from the function and added the title and text manually. Don't know, how to do it inside the function.

Custom page with blank staves

2021-08-24 Thread Ivanov Dmitry
I am working with piano teacher upon solving the harmonization exercises. To solve them I need a blank sheet with music staves grouped by 2 with treble and bass clefs. Usually one exercise requires 2 sets of staves (4 staves totally). So far I was able to use this code from the template (https://l

Slur positioning and forceful flat signs

2021-05-30 Thread Ivanov Dmitry
Here is the code: \version "2.22.1" \score { \new PianoStaff \with { instrumentName = "Piano" } << \new Staff = "upper" \relative c' { \clef violin \key c \minor \time 3/4 c4\< c4( d4 | ees4 c4 ees4 | g2 aes4\! | g2.\> | f2.^) | <>\! }

Re: Can't use addArticulation function

2021-05-29 Thread Ivanov Dmitry
Hi Dmitry, Isn't it possible to simply use the pre-packaged installer? The current 32-bit version is https://lilypond.org/download/binaries/linux-x86/lilypond-2.22.1-1.linux-x86.sh Lukas Yes, tried that. It worked. This is much easier. But now I started to get warnigns: Fontconfig warning:

Re: Can't use addArticulation function

2021-05-29 Thread Ivanov Dmitry
Now that's a good moment to switch from 2.18.2 to a more recent version of LilyPond :-). David Nalesnik's code you copied used syntax simplifications from the next LilyPond generation. It works with 2.18.2 if you replace #(define-music-function (scripts music) (list? ly:music?) by #(define-

Unable to build new lilypond on Linux Slackware 14.2

2021-05-29 Thread Ivanov Dmitry
My OS is Linux Slackware 14.2 32 bit. I am trying to install the new version of lilypond, installed all the required packages. But I get an error during configure: -- WARNING: Please consider installing optional programs or files: extractpdfmark (Using GhostScript >= 9.20 t

Can't use addArticulation function

2021-05-28 Thread Ivanov Dmitry
I need to add staccato signs to all the notes in a group. I read this thread: http://lilypond.1069038.n5.nabble.com/Function-to-add-articulation-to-all-notes-td208433.html and copied addArticulation function from it. But unfortunately when I try to use it I get and error. Here is my attempt: add

Re: How to change clef and relative note

2021-05-26 Thread Ivanov Dmitry
> The whole point of \relative mode is that you only have to use the two quotes > once. The next notes you enter without quote/comma will automatically be > "close" to your treble clef g. Ahh, yes. This is exactly what I wanted. Thanks. > (BTW, you seem to be using LilyPond 2.18.2 - that's quit

How to change clef and relative note

2021-05-26 Thread Ivanov Dmitry
I have the following attempt to typeset the waltz: \version "2.18.2" upper = \relative c { \clef bass \key c \minor \time 3/4 \tempo 4 = 170 r4 \chordmode { c,4:m c,4:m } | r4 \chordmode { c,4:m c,4:m } | r4 \chordmode { c,4:m c,4:m } | r4 \chordmode { c,4:m } r4 | \clef violin

Re: How to hide fingering in the output

2017-06-25 Thread Ivanov Dmitry
Sun, 2017-06-25 at 17:34 +0300, Ivanov Dmitry wrote: >> I have a problem with several voices: >> >> \version "2.18.2" >> \language "english" >> \paper { >> indent = 0 >> } >> \new Staff \relative f''{ >> \t

Re: How to hide fingering in the output

2017-06-25 Thread Ivanov Dmitry
g \relative g'' { << \new Voice \relative c''{ \voiceOne c2_2_[] } \new Voice \relative g''{ \voiceTwo \override Fingering.direction = #UP g8-4^[ e-3~ e e] } >> } } This produces fingering. H

Re: How to hide fingering in the output

2017-06-25 Thread Ivanov Dmitry
Manuela Gößnitzer writes: > Try > > \override Fingering.stencil = ##f David Kastrup writes: > As does > >\omit Fingering Thanks a lot. Both variants work. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listin

How to hide fingering in the output

2017-06-24 Thread Ivanov Dmitry
This code will output "c" note with number "3" above it. I learned, how to hide the cleff and the time signature. How can I hide the fingering as well without removing "-3" from "c8-3". I need to generate a pdf without fingers sometimes and don't want to change the code. \version "2.18.2" \languag

Re: How to generate a minimally sized pdf

2017-05-29 Thread Ivanov Dmitry
On 5/29/17, Jeffery Shivers wrote: > I believe other people have inquired about auto-cropping and > such in the past, too! Might be worth searching the archives (or just > googling to get there faster). I tried this: $lilypond -dpreview file.ly And it worked: gave me "file.preview.pdf", that

Re: How to generate a minimally sized pdf

2017-05-29 Thread Ivanov Dmitry
On 5/29/17, Jeffery Shivers wrote: > I believe other people have inquired about auto-cropping and > such in the past, too! Might be worth searching the archives (or just > googling to get there faster). > > By the way, how are you compiling this? (i.e. command line, frescobaldi, > other?) I am r

How to generate a minimally sized pdf

2017-05-28 Thread Ivanov Dmitry
In LaTeX I can use the paper only fitting the contents by using standalone class. Lilypond always creates an A4 document for me. I tried the following code: \version "2.16.0" % necessary for upgrading to future LilyPond versions. \paper { indent = 0\mm line-width = 110\mm oddHeaderMarkup =

Re: How to attach markup to several notes

2017-05-09 Thread Ivanov Dmitry
Hi Ivanov! I understand that you want a function which puts your text exact at the midpoint between the notes, but... Else is the simplest to just displace your text some distance. But of course, then you have to calculate the midpoint yourself. \version "2.18.2" \relative f'{ f8_\markup { \tr

How to attach markup to several notes

2017-05-09 Thread Ivanov Dmitry
Code: \version "2.18.2" \relative f'{ f8_\markup {F} } How can I attach the markup to several notes, so the text was put between them? Something like this: \version "2.18.2" \relative f'{ {f8 }_\markup {F} } ___ lilypond-user mailing list lilypond