Generalmsc package

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ozmank8
Posts: 6
Joined: Tue Feb 15, 2011 6:26 pm

msc package

Post by ozmank8 »

Hi,

I am using msc package to draw simple sequence diagram. But I am getting the error Undefined control sequence.<recently read> \c@lor@to@ps l.6 \declinst{usr}{User}{} .

I tried in windows also but still doesn't help. The strange thing is its runs fine at my friends machine who also uses the same version of Ubuntu as of mine.

I also tried using different packages like pdftex, graphics but no success.

Below is my code.

Code: Select all

\documentclass{article}
\usepackage{msc}
\begin{document}

\begin{msc}{ABC}{BB}
\declinst{usr}{User}{}
\declinst {m1}{Machine 1}{control}
\declinst {m2}{Machine 2}{drill}
\declinst {m3}{Machine 3}{test}

\mess{startm1}{usr}{m1}
\nextlevel

\mess{startm2}{m1}{m2}
\nextlevel

\mess{continue}{m2}{m3}
\mess{log}{m1}{envleft}

\nextlevel
\mess{output}{m3}{usr}[2]
\nextlevel
\mess{free}{m1}{usr}
\nextlevel
\end{msc}
\end{document}
Last edited by ozmank8 on Mon Mar 28, 2011 6:35 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

msc package

Post by localghost »

Since the msc package is based on PSTricks, you can't use pdfLaTeX but have to compile your document via »LaTeX → DVI → PS → PDF«. See the user manual of the package.


Thorsten
Post Reply