MUSIXTEX(1)

πŸ“¦
version 77682 Β· 2 versions
, in debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing

✨ 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

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 .ltx extension
  • -p β€” change the TeX processor to pdfetex(1) or pdflatex(1) (and doesn't run a dvi processor)
  • -c β€” preprocess pmx file using pmxchords(1)
  • -d β€” don't generate a .ps file and change the dvi processor to dvipdfm(1)
  • -D dvix β€” use dvix as the dvi processor; e.g., -D "dvipdfm -m 0.9". Use -d before -D to suppress .ps generation.
  • -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]tex processing; i.e., without calling musixflx
  • -x β€” call makeindex(1) to update index database
  • -f β€” restore default processing
  • -q β€” quiet mode (only musixtex'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 to stderr. 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 -x rather 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 β€” default
  • latex β€” -l
  • pdfetex β€” -p
  • pdflatex β€” -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 πŸŽ€βœ¨πŸŒΈ