MUSIXTEX(1)
β¨ MUSIXTEX(1) β¨
okay bestie, sit DOWN, because musixtex is the main character of the MusiXTeX universe π
πΈ NAME πΈ
musixtex β processes MusiXTeX files, using pre-processors prepmx, xml2pmx, pmxab and autosp as necessary, and then deletes intermediate and log files (unless -i is used)
π SYNOPSIS π
[ texlua ] musixtex[.lua] { option | jobname [ .xml | .mtx | .pmx |
.aspc | .tex | .ltx ] } ...
π¦ DESCRIPTION π¦
So here's the vibe. You hand musixtex a jobname, and what it does with that jobname depends entirely on what extension it's rockin'. Let's go one by one, no cap.
If a jobname argument has a .tex extension, the default effect is to process the file using
etex(1)(first pass)musixflx(1)(second pass)etex(1)(third pass)dvips(1)(dvi to Postscript)ps2pdf(1)(Postscript to Portable Document Format)
normally followed by removal of intermediate and log files. A log musixtex.log is generated, even if other log files are removed. (she's keeping receipts, periodt π)
If a jobname argument has a .pmx extension, the file is first preprocessed using pmxab(1) and the resulting .tex file is processed as above.
If a jobname argument has a .xml extension, the file is first preprocessed using xml2pmx(1) and the resulting .pmx file is processed as above.
If a jobname argument has a .mtx extension, the file is first preprocessed using prepmx(1) and the resulting .pmx file is processed as above.
If a jobname argument has a .ltx extension, the file is processed using latex(1) (or pdflatex(1)) in place of etex.
If a jobname argument has a .aspc extension, the file is first preprocessed using autosp(1) and the resulting .tex or .ltx file is processed as above.
If a jobname argument has none of these extensions, the script will look for a file jobname.xml or jobname.mtx or jobname.pmx or jobname.aspc or jobname.tex or jobname.ltx, in that order, and process it as above. (order matters, she's not out here guessing π
)
π OPTIONS π
-v,-version,--versionβ output program name and version number, and quit π-h,-help,--helpβ output usage summary and quit-lβ assume LaTeX source; implied if the file has.ltxextension-pβ change the TeX processor topdfetex(1)orpdflatex(1)(and doesn't run a dvi processor)-cβ preprocess pmx file usingpmxchords(1)-dβ don't generate a.psfile and change the dvi processor todvipdfm(1)-D dvixβ use dvix as the dvi processor; e.g.,-D "dvipdfm -m 0.9". Use-dbefore-Dto suppress.psgeneration.-P ps2pdfβ use ps2pdf as the Postscript processor; e.g.,-P "ps2pdf -sPAPERSIZE=a4"-F fmtβ use fmt as the TeX processor; e.g.,-F "luatex --output-format=dvi"-mβ stop processing at the pmx file-M mtxxβ use mtxx as the mtx preprocessor; e.g.,-M "prepmx -i".-X pmxxβ use pmxx as the pmx preprocessor; e.g.,-X "./pmxab",-A aspcxβ use aspcx as the aspc preprocessor; e.g.,-A "autosp -l".-L xmlxβ use xmlx as the xml preprocessor; e.g.,-L "./XML2PMX".-tβ stop processing at the tex/mid files-sβ stop processing at the dvi file-gβ stop processing at the ps file-iβ retain intermediate and log files-1β one-pass[pdf][la]texprocessing; i.e., without callingmusixflx-xβ callmakeindex(1)to update index database-fβ restore default processing-qβ quiet mode (onlymusixtex's own messages); other messages are diverted to a temporary file. If an error occurs at the TeX stage, processing halts immediately and the tail of the log file is sent tostderr. Version information is copied from the temporary file to the log file.
Heads up bestie: options affect processing of all succeeding MusiXTeX files unless changed by another option. And option flags cannot be combined β like, use-l -xrather than-lx. she does not do bundles, she does one flag at a time π«Ά
Note that four TeX engines are available via the -l and -p options:
etexβ defaultlatexβ-lpdfetexβ-ppdflatexβ-l -p
If the -F option is used, options -l and -p need to be set if the engine name does not contain "latex" and "pdf" respectively. For example, the above four engines can be replaced by:
-F "luatex --output-format=dvi"
-F "lualatex --output-format=dvi"
-F "luatex" -p
-F "lualatex" -p
π SEE ALSO π
autosp(1), etex(1), latex(1), pdfetex(1), pdflatex(1), makeindex(1), musixflx(1), dvipdfm(1), dvips(1), pmxab(1), pmxchords(1), prepmx(1), ps2pdf(1), xml2pmx(1) and musixdoc.pdf. (the whole friend group ππ)
π AUTHOR π
This manual page was written by Bob Tennent <rdt@cs.queensu.ca>. shoutout Bob, iconic behaviour, we stan π
and that's a wrap on musixtex version 0.23, dated 2020-05-21 β go make some beautiful sheet music, bestie, you got this πβ¨πΈ
π¦ where this page comes from
- debian bookworm: texlive-music 2022.20230122-4
- debian trixie: texlive-music 2024.20250309-2
- fedora 43: texlive-musixtex 11:svn65519-93.fc43 Β· GPL-2.0-or-later
- fedora 43: texlive-musixtex 11:svn65519-95.fc43.1 Β· GPL-2.0-or-later
- fedora 44: texlive-musixtex 12:svn77682-105.fc44 Β· GPL-2.0-or-later
- fedora 44: texlive-musixtex 12:svn77682-111.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: texlive-musixtex-doc 2025.221.1.38svn70804-160000.3.1 Β· GPL-2.0-or-later
- ubuntu jammy: texlive-music 2021.20220204-1
- ubuntu noble: texlive-music 2023.20240207-1
- ubuntu questing: texlive-music 2024.20250309-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms