partitor
Advanced for partitor 0.23.2

Advanced

Features you may need after the first parts. The first-time flow is in the guide.

Menu

Find a piece

Type Does
number opens the piece. The number is the serial of its id: 12 is 2026-10-0012
/Bach shows only matching pieces (composer, title, part)
/ shows all pieces again
+ / - next / previous page of the list
A–E the five pieces changed last (with many pieces)

* marks a piece with work pending.

Commands

Analysis

Need Command
Analyse every item, with no questions partitor analyse --all
Two systems are one (for example 4 staves above 13, on a page of 17) j in the choices, or partitor analyse ID --join p5:4 (no system ends after staff 4 of source page 5)
Take a join back partitor analyse ID --unjoin p5:4. After the latest join, your part names, groups, skipped parts, cues and ambitus from before it come back; what you changed since is replaced. After an older join, check the part names
Drop a system (a title, the end of another piece) d in the choices, or partitor analyse ID --drop p1.s1
Take a drop back partitor analyse ID --undrop p1.s1
A scan starts with the end of another piece The choices ask whether to drop the systems above the title (default: no). Check the proof first. partitor analyse ID --yes asks nothing and prints the --drop command

A dropped system counts no bars. The proof marks it “dropped”. Every later analysis keeps it. A failed analysis leaves a proof, with the problem in red.

Menu key b

Bar numbers

A system is its number in the list of the menu, or its name on the proof: b p8.s2 and d p8.s2:3 work. 22:1 is bar 1 of system 22.

Type Does
p 1 pickup on or off
i 1 incipit on or off
s 22:1 bar 1 of system 22 completes the bar before it (a bar split over a system break keeps one number)
f 3=16 system 3 starts at bar 16
a 4:1 40 add a missed barline in bar 1 of system 4, at 40 % of its width. Without a number: 50 %
d 4:1 delete a false barline: the one after bar 1
u 4 undo the last a or d of system 4
k 4 keep the number that the source prints at system 4. It adds no barline
b 4 list the bars of system 4
m 95 rehearsal mark at bar 95, on or off
m 95 110 120 several marks
m 22:1 mark at bar 1 of system 22. Letters follow in bar order
? help, with an example
v draw the proof with the edits. Open it, then press Enter to save

The proof shows barline ticks, bar numbers (magenta) and rehearsal letters (boxed), and under the name of each system how many bars partitor counts in it. A number is red where the count and the source disagree: 78 (printed 75) where the source prints another number at that bar, 5 (after 6) where a system does not follow the number the system before it ended with. A red number usually means a false barline: look at the ticks of that system and delete the barline with d.

A tick is orange and its number has a ? where the barline has no stroke through the gaps between the staves: a note stem, a time-signature digit or the edge of a clef that stands at one place on several staves looks the same. Most orange ticks are real barlines, but a false one is nearly always orange. When no barline of the score has such a stroke, none is orange; the page header says so. partitor proof 12 draws it again from the saved file.

Menu key g

Groups

Terminal showing four parts and the line: group Trombones: Alto Trombone, Tenor Trombone I, Tenor Trombone II, Bass Trombone.
The group prompt with the group Trombones made from parts 1 to 4. Score: Mit Fried und Freud ich fahr dahin (setting from Der evangelische Kirchenchor, 1899), Max Reger (1873-1916). Edition: Cappella Borealis, edition cb-003, 2024, CC-BY-4.0. partitor 0.21.0.

A group prints several parts together as a small score.

  1. At “Build now?” press n.
  2. In the item menu press g.
  3. Type Trombones=2,4,5,6 (part numbers).

Trombones= deletes the group. The group is one more PDF. Staves of other parts leave no gap. Each staff has a label. To fit more systems on a page: Trombones:group_gap=5 (staff spaces between the staves of a group, also of a part on two staves).

Menu key u

Cues

Top of a page of the Trombones score. A small staff labelled Canto stands above the multi-bar rest and shows the bar where the Canto enters, with its text.
The Trombones group score with a cue: a small Canto staff above a multi-bar rest, with its clef, name and text. Score: Maria, gegrüsset seist du, Holdselige, Johann Hermann Schein (1586-1630). Edition: Johann Hermann Schein, Neue Ausgabe sämtlicher Werke 5: Opella nova. Ander Teil Geistlicher Konzerten (1626), ed. Walter Werbeck, Bärenreiter BA 04495, 2nd ed. 2012. partitor 0.18.5.

A cue is a small staff of another voice above a rest, or a word. Nothing is added unless you ask.

  1. Press u (u Trombones for one part or group).
  2. Pick the part that gets the cue. The table shows its long rests.
  3. Type an entry, for example 3=97-98.
Entry Result
3=97-98 the music of part 3 (number or name), bars 97 to 98, from the same bars of the source. One bar: 3=97
"Canto"=97 the word, at bar 97
d 2 takes cue 2 away

Cues kept under a part or group name that no longer exists are dropped when you open the cue menu, with a message.

Options after the bars:

Option Does
noclef no clef at the start
nolabel no name above
label=Text your own label
size=0.5 size, 0.3 to 1. Default 0.6; 1 when fit or sync is set
anchor=25 the bar where the cue barline meets the part barline
fit stretches the cue bars after the anchor to the bars of the part
sync=3 the 3rd stemmed note of the cue bar is put over the first note of the part in that bar. Implies fit
align=3 the whole cue moves sideways so that its 3rd stemmed note stands over the first note of the part in that bar. No stretch. Not with fit or sync

The cue stands above the staff (above the top staff of a group). The bars under it become one multi-bar rest, as wide as the cue.

Command-line forms:

Command Does
partitor cues ID [PART] the same as u: shows the long rests of one part or group, then asks for entries (interactive)
partitor cue ID ENTRY... --parts LIST the same entries for several parts or groups, by name or number, comma separated. Saved, not built. Put options after the bars in one quoted line: partitor cue ID "3=97-98 fit sync=3" --parts Tenore,5
Menu key k

Ambitus

Pick a part. Type its range (F3-A4), auto, off or on. Enter keeps the value. Or use s: Alto Trombone:ambitus=F3-A4.

Settings

Paper and print

Setting Does
l or paper=a4 paper: Letter, A4, Ledger
cutline=marks short crop marks on the large-print copy (off: none)
gap=7 space between systems
Trombones:group_gap=5 staff spaces between the staves of a group
reflow=on re-flow (see below)

Ledger (paper=ledger): 17×11 in, landscape, staff up to 8 mm (Letter: 3.6–3.8 mm on long systems). Systems are 2.2 times as wide, so there are about twice as many pages. There is no large-print copy. Print double-sided, flip on the short edge. Two-page spreads are wide: check your stand.

Re-flow (experimental, off by default): when the systems of the score are long, partitor offers to cut them at barlines, with the clef copied, for a staff up to 8 mm on more pages. It shows the size and pages before and after. You keep it or not. A group is cut only at barlines that all its staves have, and stays within 1.5 times its pages unless you set pages. The build prints a re-flow: line: how many systems can be cut, and why the others stay whole.

Menu keys f, m, x

Page turns

A page turn falls only beside a multi-bar rest. A turn while playing is a warning, with page and bar. Full guide: PLAN-AND-FOLDOUTS.md.

Need Do
Best paper and staff size for a part f Trombones. Read-only until you pick: f Trombones 4, then r
Try a group the piece does not have partitor plan ID --group AltTen=Alto,Tenor
Pages of a built part, with the turn after each m Trombones
Move a system to the next page partitor pages ID Trombones --move 26=1. Add --dry-run to save nothing
Remove the manual breaks and pins of a part partitor pages ID Trombones --clear
New page breaks, no new analysis x Trombones (needs one build with this version or later)
Break a page by hand s, Trombones:breaks=45,60, then x Trombones
Menu key r

Build one part

Need Do
Build only some parts r Trombones, or r 2 4. Numbers are those in the file names
Same, from the command line partitor rebuild ID Trombones
Change a setting and build at once partitor set ID key=value --build. Without --build the change is saved, not built

If a name would change (title, composer, part number), partitor builds all parts and says why. Every command: COMMANDS.md.

Command line

Menu keys

Some menu keys have a command-line form.

Key Command
t partitor meta ID. After a change partitor offers to rename the folder to match: partitor rename ID
p partitor parts ID
b partitor bars ID
a partitor analyse ID
v partitor show ID
f partitor plan ID Trombones
m partitor pages ID Trombones
h short names: pick a part, type its short form or auto
e / c partitor expand / partitor contract: one step larger or smaller (pages, then space between staves). e Trombones, or e and then a part; Enter = all
l partitor set ID paper=a4 pages=3, or for one part "Trombones:pages=3". Paper: letter, a4, ledger. Pages: auto or 1–99. Only a changed value is saved. A value for all parts does not replace the own value of a part
Best effort

macOS

No installer, no sandbox. The tests run on macOS in CI as a best-effort job. Nobody supports it. Open only PDFs you trust. With Homebrew and a clone of the repository (ADDRESS is the address in step 2 of INSTALL.md):

brew install [email protected] tesseract
git clone ADDRESS ~/partitor
cd ~/partitor
python3.12 -m venv venv
venv/bin/pip install --only-binary=:all: -r requirements.txt
mkdir -p ~/partitor-library/inbox ~/partitor-library/library
export PARTITOR_LIBRARY=~/partitor-library
venv/bin/python lib/partitor-engine

Run export PARTITOR_LIBRARY=~/partitor-library again in a new Terminal window, or put it in ~/.zshrc. For a fixed version, run git checkout --detach TAG first. Copy PDFs into ~/partitor-library/inbox.