ISMN Token

Is there a (layout-specific) token for an ISMN/ISBN?
Or is there a way to use a token other than {@layoutname@}, which can be used layout specific?

The ISMN is required to be on the first page with a music frame, and - if empty - on the last page.
I’m trying to avoid manual overrides, or creating a new master page set for each layout, but I’m not sure what is the best way to go about it. Any tips?

I can’t think of a good way of doing this apart from manually overriding, assuming you’re already using {@layoutName@} for its intended purpose. If you’re prepared to use {@StaffLabelsFull@} on your part layouts, rather than {@layoutName@}, that would free up the {@layoutName@} token for use as an ISMN (but it might be confusing for you to be able to quickly identify layouts within Dorico).

I do not know if this is the same sort of thing, but I constantly use the {@projectPublisher@} token to put a six-digit date-stamp on every page of my music. With a few minor exceptions limited by formatting, there is no law that one has to use every Project Info slot for the purpose indicated.

The ISMN is individual for each layout (so one for the Full Score, one for every part, another one for a piano reduction…), so a project-wide token probably isn’t the best idea. I’ll see how far I get with {@StaffLabelsFull@} and try not to get confused by layout 979-0-45962-xxx… :wink:

Although I don’t know where that information should be entered/stored, I’d love a dedicated layout-specific token for this.

A slight edit on what Leo suggests, but rather than repurposing the Layout Name token, for single player parts instead just use {@playernames@} for the ISMN. Doing this keeps your Layout names and is an easy add to master pages.

Single player parts: https://imgur.com/07pQ8aB

For full/vocal scores or multi-player parts, the ISMN token will have to be {@layoutname@}. For a full score/vocal score this is easy, because usually the first page doesn’t include any kind of layout name anyway (unless you’re using the layout token to say “Full Score in C” or “Transposed Score” or something). Additionally the layout name is usually never in the header either.

Full Scores/Vocal Scores: https://imgur.com/Cgskz13

For a multi-player part which needs to show a layout name on the first page or the header, this is slightly tougher. I’d use either {@playernames@}, {@playerlist@}, or {@stafflabelsfull@} for the layout name on the first page, if you don’t mind showing every instrument. Otherwise you’ll have to do some kind of override either for the layout name or the ISMN. For the header, if you need a short layout name rather than a whole player list you’ll simply have to make a new master page based on default for that one layout.

Multi-player Parts: https://imgur.com/JnbDR1R

Not 100% perfect, but at least this way the only layouts which will appear in Dorico with its ISMN as the layout name will be full score layouts and multi-player part layouts. Any file should likely only have a max of two full score layouts — full and vocal score. You can arrange the full score layout at the top and vocal score layout at the bottom so the numbers don’t become confusing. And then it’s just a matter of how many multi-player part layouts you have (the max I’ve ever had is one — percussion score, but YMMV)