<div dir="ltr">Hi Reinier,<div><br></div><div>MEI encodes system breaks with <sb/> between measures. So if you want four measures on every system you would place a <sb/> after every four measures. In verovio you would need to set the " --breaks encoded" option on the command line, or {"breaks": "encoded"} in the javascript verovio toolkit (and perhaps the <a href="http://verovio.org">verovio.org</a> MEI viewer does not allow for this setting). If you do not explicitly tell verovio to pay attention to the system breaks, then it will ignore them, since the default parameter is "auto" allowing verovio to decide on the location to break systems.</div><div><br></div><div>A complication related to how TEI does things, is that in order for the <sb/> elements to be recognized in verovio, you must first have a <pb/> (page break) at the start of a <section> element before the first <measure>. If you do not, then verovio complains about this (cryptically) and then ignores the <sb/> elements.</div><div><br></div><div>If you want the barlines evenly spaced regardless of the rhythmic content of the measure, then set the --spacing-non-linear parameter (see the second example below for this).</div><div><br></div><div>Here is an example, where I make the first system have one measure, then then second system has two measures, then the third system has three measures and then the fourth system has four measures:</div><div><br></div><div><div><img src="cid:ii_jxks5ssn0" alt="Screen Shot 2019-07-01 at 9.25.01 PM.png" width="163" height="192" style="margin-right: 0px;"><br></div></div><div><br></div><div><?xml version="1.0" encoding="UTF-8"?><br><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng">http://music-encoding.org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://relaxng.org/ns/structure/1.0">http://relaxng.org/ns/structure/1.0</a>"?><br><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng">http://music-encoding.org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://purl.oclc.org/dsdl/schematron">http://purl.oclc.org/dsdl/schematron</a>"?><br><mei xmlns="<a href="http://www.music-encoding.org/ns/mei">http://www.music-encoding.org/ns/mei</a>" meiversion="4.0.0"><br> <meiHead><br> <fileDesc><br> <titleStmt><br> <title /><br> </titleStmt><br> <pubStmt /><br> </fileDesc><br> <encodingDesc><br> <appInfo><br> <application isodate="2019-07-01T21:06:28" version="2.2.0-dev-7ac2fe9"><br> <name>Verovio</name><br> <p>Transcoded from Humdrum</p><br> </application><br> </appInfo><br> </encodingDesc><br> <workList><br> <work><br> <title /><br> </work><br> </workList><br> </meiHead><br> <music><br> <body><br> <mdiv><br> <score><br> <scoreDef><br> <staffGrp><br> <staffDef clef.shape="G" clef.line="2" meter.count="4" meter.unit="4" n="1" lines="5"/><br> </staffGrp><br> </scoreDef><br> <section><br> <pb/><br> <measure n="1"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="c" /><br> </layer><br> </staff><br> </measure><br> <sb/><br> <measure n="2"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="d" /><br> </layer><br> </staff><br> </measure><br> <measure n="3"><br> <staff n="1"><br> <layer n="1"><br> <note dur="2" oct="4" pname="e" /><br> <note dur="2" oct="4" pname="e" /><br> </layer><br> </staff><br> </measure><br> <sb/><br> <measure n="4"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="f" /><br> </layer><br> </staff><br> </measure><br> <measure n="5"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="g" /><br> </layer><br> </staff><br> </measure><br> <measure n="6"><br> <staff n="1"><br> <layer n="1"><br> <note dur="2" oct="4" pname="a" /><br> <note dur="2" oct="4" pname="a" /><br> </layer><br> </staff><br> </measure><br> <sb/><br> <measure n="7"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="b" /><br> </layer><br> </staff><br> </measure><br> <measure n="8"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="c" /><br> </layer><br> </staff><br> </measure><br> <measure n="9"><br> <staff n="1"><br> <layer n="1"><br> <note dur="2" oct="4" pname="d" /><br> <note dur="2" oct="4" pname="d" /><br> </layer><br> </staff><br> </measure><br> <measure n="10"><br> <staff n="1"><br> <layer n="1"><br> <note dur="1" oct="4" pname="e" /><br> </layer><br> </staff><br> </measure><br> </section><br> </score><br> </mdiv><br> </body><br> </music><br></mei><br></div><div><br></div><div><br></div><div>It seems like you asked this question last year :-). There is another way of both forcing a fixed number of measures per line, and an equal width to each measure. You need to set the verovio option --spacing-non-linear to 1. This makes there be no compression ratio in the width of rhythms between different rhythmic levels. In other words with a factor of 1, the width of two half notes equals the width of one whole note, and the width of two quarter notes equals the width of one half note, and so on. </div><div><br></div><div>Here is a second example using the command line options:</div><div> verovio test.krn --spacing-non-linear 1 --spacing-linear 0.04</div><div><br></div><div>The spacing-linear option is set to 0.04 to force four measures per line (otherwise, you can change the page-width parameter instead of, or including, the spacing-linear factor to force a particular number of measures per line).</div><div><br></div><div><div><img src="cid:ii_jxksocw31" alt="Screen Shot 2019-07-01 at 9.46.48 PM.png" width="472" height="155"><br></div></div><div><br></div><div>If the image gets through the mail system, notice that measure 5 is the same width as measure 9, and the same as measure 10. There is a little disturbance in the exactly equal widths on the first system due to the time signature being present and squeezing the music a bit to make room for it.</div><div><br></div><div>Test MEI data:</div><div><br></div><div><?xml version="1.0" encoding="UTF-8"?><br><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng">http://music-encoding.org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://relaxng.org/ns/structure/1.0">http://relaxng.org/ns/structure/1.0</a>"?><br><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng">http://music-encoding.org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://purl.oclc.org/dsdl/schematron">http://purl.oclc.org/dsdl/schematron</a>"?><br><mei xmlns="<a href="http://www.music-encoding.org/ns/mei">http://www.music-encoding.org/ns/mei</a>" meiversion="4.0.0"><br> <meiHead><br> <fileDesc><br> <titleStmt><br> <title /><br> </titleStmt><br> <pubStmt /><br> </fileDesc><br> <encodingDesc><br> <appInfo><br> <application isodate="2019-07-01T21:48:46" version="2.2.0-dev-7ac2fe9"><br> <name>Verovio</name><br> <p>Transcoded from Humdrum</p><br> </application><br> </appInfo><br> </encodingDesc><br> <workList><br> <work><br> <title /><br> </work><br> </workList><br> </meiHead><br> <music><br> <body><br> <mdiv xml:id="mdiv-0000001601484476"><br> <score xml:id="score-0000001737040281"><br> <scoreDef xml:id="scoredef-0000001751737657" midi.bpm="400"><br> <staffGrp xml:id="staffgrp-0000001453242670"><br> <staffDef xml:id="staffdef-0000001027192877" clef.shape="G" clef.line="2" meter.count="4" meter.unit="4" n="1" lines="5"><br> <label xml:id="label-0000000791880593" /><br> </staffDef><br> </staffGrp><br> </scoreDef><br> <section xml:id="section-L1F1"><br> <measure xml:id="measure-L3" n="1"><br> <staff xml:id="staff-L3F1N1" n="1"><br> <layer xml:id="layer-L3F1N1" n="1"><br> <note xml:id="note-L4F1" dur="1" oct="4" pname="c" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L5" n="2"><br> <staff xml:id="staff-L5F1N1" n="1"><br> <layer xml:id="layer-L5F1N1" n="1"><br> <note xml:id="note-L6F1" dur="1" oct="4" pname="d" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L7" n="3"><br> <staff xml:id="staff-L7F1N1" n="1"><br> <layer xml:id="layer-L7F1N1" n="1"><br> <note xml:id="note-L8F1" dur="2" oct="4" pname="e" accid.ges="n" /><br> <note xml:id="note-L9F1" dur="2" oct="4" pname="e" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L10" n="4"><br> <staff xml:id="staff-L10F1N1" n="1"><br> <layer xml:id="layer-L10F1N1" n="1"><br> <note xml:id="note-L11F1" dur="1" oct="4" pname="f" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L12" n="5"><br> <staff xml:id="staff-L12F1N1" n="1"><br> <layer xml:id="layer-L12F1N1" n="1"><br> <beam xml:id="beam-L13F1-L16F1"><br> <note xml:id="note-L13F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L14F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L15F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L16F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> </beam><br> <beam xml:id="beam-L17F1-L20F1"><br> <note xml:id="note-L17F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L18F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L19F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L20F1" dur="8" oct="4" pname="g" accid.ges="n" /><br> </beam><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L21" n="6"><br> <staff xml:id="staff-L21F1N1" n="1"><br> <layer xml:id="layer-L21F1N1" n="1"><br> <note xml:id="note-L22F1" dur="2" oct="4" pname="a" accid.ges="n" /><br> <note xml:id="note-L23F1" dur="2" oct="4" pname="a" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L24" n="7"><br> <staff xml:id="staff-L24F1N1" n="1"><br> <layer xml:id="layer-L24F1N1" n="1"><br> <note xml:id="note-L25F1" dur="1" oct="4" pname="b" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L26" n="8"><br> <staff xml:id="staff-L26F1N1" n="1"><br> <layer xml:id="layer-L26F1N1" n="1"><br> <note xml:id="note-L27F1" dur="1" oct="4" pname="c" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L28" n="9"><br> <staff xml:id="staff-L28F1N1" n="1"><br> <layer xml:id="layer-L28F1N1" n="1"><br> <note xml:id="note-L29F1" dur="2" oct="4" pname="d" accid.ges="n" /><br> <note xml:id="note-L30F1" dur="2" oct="4" pname="d" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L31" n="10"><br> <staff xml:id="staff-L31F1N1" n="1"><br> <layer xml:id="layer-L31F1N1" n="1"><br> <note xml:id="note-L32F1" dur="1" oct="4" pname="e" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L33" n="11"><br> <staff xml:id="staff-L33F1N1" n="1"><br> <layer xml:id="layer-L33F1N1" n="1"><br> <note xml:id="note-L34F1" dur="1" oct="4" pname="f" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> <measure xml:id="measure-L35" right="end" n="12"><br> <staff xml:id="staff-L35F1N1" n="1"><br> <layer xml:id="layer-L35F1N1" n="1"><br> <note xml:id="note-L36F1" dur="2" oct="4" pname="g" accid.ges="n" /><br> <note xml:id="note-L37F1" dur="2" oct="4" pname="g" accid.ges="n" /><br> </layer><br> </staff><br> </measure><br> </section><br> </score><br> </mdiv><br> </body><br> </music><br></mei><br></div><div><br></div><div><br></div><div>-=+Craig</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 1 Jul 2019 at 19:25, Reinier de Valk <<a href="mailto:reinierdevalk@gmail.com">reinierdevalk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Klaus,</div><div><br></div><div>Thanks for your reply. I am using the online Verovio viewer, and when I click the Options button I see that certain page layout options (such as Breaks and Page width) are made unavailable. The command line tool does not work on the computer I have with me. <br></div><div><br></div><div>It seems strange that this cannot be specified in the MEI itself - after all, you can specify system breaks.</div><div><br></div><div>Best wishes,</div><div>Reinier<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op ma 1 jul. 2019 om 18:10 schreef Klaus Rettinghaus <<a href="mailto:klaus.rettinghaus@gmail.com" target="_blank">klaus.rettinghaus@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Reinier, <div><br></div><div>this is not a MEI question, but a Verovio question. </div><div>You probably want to check the options there: </div><div><a href="https://www.verovio.org/command-line.xhtml" target="_blank">https://www.verovio.org/command-line.xhtml</a></div><div><br></div><div>Klaus<br><div><br><blockquote type="cite"><div>Am 01.07.2019 um 18:57 schrieb Reinier de Valk <<a href="mailto:reinierdevalk@gmail.com" target="_blank">reinierdevalk@gmail.com</a>>:</div><br class="gmail-m_-752142388404153gmail-m_7003405208784498894Apple-interchange-newline"><div><div dir="ltr"><div>Hi all,</div><div><br></div><div>There is probably a simple answer tothis, but I could not find it in the documentation.</div><div><br></div><div>Is there a way to force a certain amount of bars onto a single system? I am rendering my MEI using the online Verovio viewer, and the individual bars are spaced very widely.</div><div><br></div><div>Thanks,</div><div>Reinier<br></div></div>
_______________________________________________<br>mei-l mailing list<br><a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br><a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" rel="noreferrer" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
</blockquote></div>
_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" rel="noreferrer" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
</blockquote></div>