You are currently browsing the tag archive for the ‘latex’ tag.

While preparing a document in LaTeX, sometimes you might get a warning about the references and you have to rerun the compiler to get them correct, but my problem persisted even if I built the document tens of times. I spent ridiculous amount of time to figure out what the problem was. Basically, if your references within the document do not show up or appear to be wrong, please make sure that the captions for the tables and figures are defined above the label. Here is an example,

\begin{table} %or figure
...

\caption{here is my table}
\label{tab:table1}
\caption{here is my table}

\end{table}

I have been using Latex for almost everything since summer 2008. I really like it and I try to learn more. It has been 2 months now since my computer broke down, so I use my old laptop. I was planning to update my resume and in order to do that I needed latex on my computer. I was about to install Basic MikTeX until I saw the portable one. MiKTeX Portable enables you to carry MiKTeX on a portable storage device for use on any Windows computer, which is quite practical. In addition, you do not need any administator privileges on the host computer. You just plug your portable device, use latex commands like you use it on your own computer and leave no trace. It is still beta, but I have tested it and I am quite happy. I am planning to carry it on my flash disk all the time. It takes around 300 mb that is quite reasonable.

When I first extracted the files, the executable file, miktex-portable did not work properly. Nothing happened actually, so I extracted the files to my flash disk again. However, it didn’t work again. Then I understood the problem when I looked at the script. You just need to edit the file miktex-portable.cmd and change the line

miktex\bin\miktex-taskbar-icon.exe

with

miktex\bin\internal\miktex-taskbar-icon.exe

The reason is apparent, the executable, miktex-taskbar-icon.exe is in the /internal folder and they probably forgot to change the script.

I definitely recommend everyone to use Latex for documentation, preparing presentations, etc. and MiKTeX Portable is quite easy and handy to start with. Please take a look at the following editors, TeXnicCenter for Windows and Kile for Linux. Oh, yes and the famous manual for Latex, The Not So Short Introduction to LaTeX.

Follow

Get every new post delivered to your Inbox.