Conversion ToolsMusixTex

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
piano
Posts: 4
Joined: Tue Dec 09, 2014 12:48 am

MusixTex

Post by piano »

Hi everybody,
I ve got a problem, I need to download musixflx to modify my notes but I cant find it anywhere. Can I do it without musixflx? Or can you show me some website where I can download it ?

Thanks a lot

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: MusixTex

Post by Johannes_B »

Hi,

first of all, welcome to the community :-)

MusixTeX is part of TeX Live and should be installed with MacTeX. As musixflx is part of musixtex, it should be installed as well.

The Lua script musixflx determines the right spacing, you have to run it on the command line, or tell your editor to run it.

I never used musixtex so far, so i can't give any further advice.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
piano
Posts: 4
Joined: Tue Dec 09, 2014 12:48 am

Re: MusixTex

Post by piano »

OK, and which command line should I use to let musixflx run?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

MusixTex

Post by Johannes_B »

Somehow i pictured you using a Mac, but i don't know why.
The command line is the non-graphical interface to your operating system. How to open it depends on your operating system. It is also called terminal, console or command prompt.

If the whole musixtex bundle is installed with your TeX distribution, the lua script will be available as well.
Open the commandline and switch to the folder containing your tex-file.
I don't know the name of your file, maybe it is main.tex maybe lisztDream.tex. However, in the command line you have to call

Code: Select all

musixflx lisztDream
That is, the name of your main file, but without the file extension.

You can read much more about it in Clemens' short tutorial.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
piano
Posts: 4
Joined: Tue Dec 09, 2014 12:48 am

MusixTex

Post by piano »

well I have read somewhere that this is the way how to make it, but I tried and it didnt work. Maybe I just dont know where to put this command line or something ... I dont know :cry:

well here is my code:

Code: Select all

\begin{document}
\begin{music}
\startmuflex
\geometricskipscale
\normalmusicsize
\setlength\parindent{0pt}%
\generalmeter{\meterfrac{4}{4}}
\generalsignature{-1}
\nobarnumbers
\parindent0pt
\looseness=-1
\startpiece\bigaccid
\NOtes\cu{f}\en%
\Notes\Dqbu ff\en
\Notes\Dqbu ff\en
\NOtes\qp\en%
\looseness=-1
\bar
\NOtes\cu{g}\en%
\NOtes\qu{f}\en%
\Notes
\slur ced1\cu{ee}\en%
\NOtes\qu{d}\en%
\NOtes\ds\en%
\bar
\NOtes\ds\en%
\NOtes\cu{e}\en%
\Notes\Dqbu ee\en
\NOtes\cu{e}\en%
\NOtes\qup{e}\en
\bar
\Notes\Dqbu ef\en
\Notes\Dqbu ed\en
\NOtes\hpause\en%
\bar
\NOtes\ds\en%
\NOtes\cu{f}\en%
\Notes\Dqbu ff\en
\NOtes\cu{f}\en%
\NOtes\cup{f}\en%
\bar
\Notes\Dqbu fg\en
\NOtes\cu{f}\en%
\Notes
\slur ced1\cu{ee}\en%
\NOtes\cup{d}\en%
\bar
\NOtes\ds\en%
\Notes\Dqbu ee\en
\NOtes\cu{e}\en%
\NOtes\qu{e}\en%
\NOtes\cu{e}\en%
\bar
\Notes\Dqbu ef\en
\Notes\Dqbu ed\en
\NOtes\hpause\en%
\doublebar
\NOtes\ds\en%
\NOtes\cu{h}\en%
\Notes\Dqbu hh\en
\NOtes\ql{j}\en%
\NOtes\qu{h}\en%
\bar
\NOtes\ds\en%
\NOtes\cu{f}\en%
\Notes\Dqbu ff\en
\NOtes\qu{h}\en%
\NOtes\qu{f}\en%
\bar
\NOtes\ds\en%
\NOtes\cu{d}\en%
\Notes\Dqbu dd\en
\NOtes\qu{f}\en%
\NOtes\qu{d}\en%
\bar
\NOtes\ds\en%
\NOtes\cu{f}\en%
\Notes\Dqbu gf\en
\NOTes\hu{h}\en%
\bar
\NOtes\ds\en%
\NOtes\cu{h}\en%
\Notes\Dqbu hh\en
\NOtes\ql{j}\en%
\NOtes\qu{h}\en%
\bar
\NOtes\ds\en%
\NOtes\cu{f}\en%
\Notes\Dqbu ff\en
\NOtes\qu{h}\en%
\NOtes\qu{f}\en%
\bar
\NOtes\ds\en%
\NOtes\cu{d}\en%
\Notes\Dqbu dd\en
\NOtes\qu{f}\en%
\NOtes\qu{d}\en%
\bar
\generalmeter{\meterfrac{2}{4}}
\generalmeter{\meterfrac{2}{4}}
\NOtes\ds\en%
\NOtes\cu{f}\en%
\Notes\Dqbu ge\en\mulooseness=1\Endpiece
\endmuflex
\end{music}
When I write there \musixflx uloha4 my program dont run, so now I am a little bit desperate :(
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

MusixTex

Post by Johannes_B »

I have no idea which operating system you are using nor which editor you are using. So, i suggest to do the following described in How to setup biber in texworks

Instead of biber, you write musixflx.

You shold now have musixflx available in texworks and can run the sequence described by Clemens.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply