A WIMA contributor has encountered a M-Tx limitation preventing him 
making use of the PMX token ']['. This token is used for sub grouping of 
user defined beaming groups. I've been investigating the mtx pascal 
sources and realized, that M-Tx does NOT support that feature: during 
parsing all mtx words stating with ']' are seen as end beam tokens. Fair 
enough.

However, I've taken this problem as an occasion to add a new 
experimental _and_ generic M-Tx feature: prefixing mtx words for later 
processing at the PMX stage. Since no mtx words _start_ with an 
underscore character (see GetNextMusWord in mtxline.pas) i've added a 
new item "pmxprefix" to the type array "music_word" and a corresponding 
item '_' to the string array "name". Now, when procedure 
"GetNextMusWord" encounters a word prefixed with '_' the only action 
taken is to strip the prefix off this word and write the word to the PMX 
output file. Later, when it comes to PMX processing a word like '][' can 
be duely handled.

Of course this new feature is somehow 'dangerous'. The typesetter must 
really know what she does. But I think we may have got a way of 
overcoming at least some M-Tx limitations compared to the set of PMX 
facilities.

Before I ask Don to officially release the new M-Tx version 0.60c with 
this feature added I'd like to have M-Tx users among you try M-Tx out. 
Do you think I've overlooked some potential syntax conflicts with the 
new feature?

My own testing case has been this M-Tx code

Style: Solo
Meter: m2/2/0/6

g1 g g g g4 g2 |

[ g1 g g g _][ g g g g ] g4 g |

Pascal source code and binaries are available as

linux: http://www.icking-music-archive.org/software/mtx/mtxP060c.zip

win32: http://www.icking-music-archive.org/software/mtx/mtxP060c-win32.zip

Mac OSX: http://www.icking-music-archive.org/software/mtx/mtxP060c-OSX.zip

Greetings
-- 
Christian Mondrup, Sheet Music Editor
WIMA: Werner Icking Music Archive
http://icking-music-archive.org/
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://mailman.daimi.au.dk/mailman/listinfo/tex-music

Reply via email to