November 23rd, 2009
eddsn
While using the MSC (Message Sequence Chart) package (msc.sty) I couldn’t compile my document by using PDF Texify in WinEdt. With the following sample code
\documentclass{article}
\usepackage{msc}
\begin{document}
\begin{msc}{Example}
\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}
I get this error
! Undefined control sequence.
..
\declinst
I don’t know why exactly this happens, but the error suggests that it probably calls a command that doesn’t exist. Anyway, a quick fix (in WinEdt – MikTeX) is to do the following:
- LaTeX compile it (Shift+Ctrl+L).
- Then convert the .dvi file to .ps with DVIPS.
- Finally use PS2PDF to get the PDF.
Any other sugestions are welcome.
November 17th, 2009
eddsn
Overall, old drivers like Windows XP drivers are well supported on Windows 7. But as usual, not everything goes always as planned.
In this case I had to fix a not working sound card. To be more specific, it was a Realtek High Definition Audio onboard sound card. The card was just not recognized by Windows 7, while it did when I was running XP on that same machine. And this was was very strange.
My situation was fixed with a really simple fix. You might try the following:
1. Start your computer and enter your BIOS by directly pressing F1 (or F10 or any other key depending on your machine)
2. Go to the advanced menu or somewhere where you can see Onboard Audio.
3. You might now have 3 options to choose. Disabled, Enabled and Automatic.
4. If it is set on Automatic then change it to Enabled and start Windows as usual.
5. If you’re lucky Windows might now recognize the driver and even directly install it.
If it the above doesn’t work for you:
- Try my alternative solution here.
- You can try installing the driver by downloading the Realtek HD Audio driver for Windows 7 from the official site.
- In some cases you might also necesseraly need to install the chipset drivers for your motherboard.
- You can also try deleting the current audio drivers and reinstalling them.