After... what was it? 2 years? There's finally a new version of ProTeXt! It features MikTeX 2.5, TeXnicCenter Greengrass and TeXMaker (w00t! I loved it on Debian! Still not quite sure how it fares against TeXnicCenter on Windoze though)!
It seems though that localtexmf is no longer supported under MikTeX 2.5, apparently it provides other ways of configuring user's own TEXMF trees. We'll see how that works out, but I definitely need to get up to speed with this for the LaTeX workshop.
Well, download time.
研究生们总在某个阶段脑筋就会有点不正常。Because all research students are insane at one time or another.
Tuesday, May 22, 2007
Monday, May 21, 2007
LaTeX Workshop!
I got an invitation from Dr Dhanesh to conduct a LaTeX tutorial/workshop for the upcoming Postgraduate Co*******m! (Sorry, still some repressed memories from 3 years back there.)
The initial idea was to give a tutorial on using my usmthesis LaTeX template. But then we realised that the available slot is only 1 hour, and it's hardly practical to assume the audience having prior knowledge about LaTeX. (Now that's a vision, don't you think?)
So by today, Dr Dhanesh suggested to keep it as an "Introduction to LaTeX" walkthrough, and only talk briefly about the thesis template if we have enough time.
Boy, I am rather thrilled about this. I hope I'll be able carry it off.
The initial idea was to give a tutorial on using my usmthesis LaTeX template. But then we realised that the available slot is only 1 hour, and it's hardly practical to assume the audience having prior knowledge about LaTeX. (Now that's a vision, don't you think?)
So by today, Dr Dhanesh suggested to keep it as an "Introduction to LaTeX" walkthrough, and only talk briefly about the thesis template if we have enough time.
Boy, I am rather thrilled about this. I hope I'll be able carry it off.
Thursday, May 17, 2007
Wednesday, May 16, 2007
Bash commands and scripts
I love Bash shell commands and scripts. Really, I do. Where would I be without all them one-liners to *bang* *zip* process those huge dictionary text files in less than 5 seconds?
Except that sometimes I need 30 minutes to look for an obscure option and how to use it exactly to get the result I want.
For instance,
Then I have this file, which is all fields of numbers, e.g.
And I needed it to be sorted by the first field, then the second. Running plain
OK, so it's not seeing the numbers as numbers, it's seeing them as ASCII strings. A
30 minutes of surfing later, I finally found this nugget of an example that did the trick:
See, you have to state explicitly (via
I love Bash commands.
Except that sometimes I need 30 minutes to look for an obscure option and how to use it exactly to get the result I want.
For instance,
sort
is cool. It sorts lines so fast no spreadsheet application is worth a second, nay, even a first thought. Heck, it even ferrets out unique lines calmly!Then I have this file, which is all fields of numbers, e.g.
1 1 0 0 0
1 2 2 0 2
...
And I needed it to be sorted by the first field, then the second. Running plain
sort
on it gave me1 1 0 0 0
1 10 0 10 10
1 11 ...
...
1 1921 ...
1 2 ...
OK, so it's not seeing the numbers as numbers, it's seeing them as ASCII strings. A
man
page look-up later, I tried sort -n
. Then sort -k
, then with both options. To no avail. Time to Google.30 minutes of surfing later, I finally found this nugget of an example that did the trick:
sort -k 1n,1 -k 2n,2
See, you have to state explicitly (via
-k
) that the first key starts and ends at field 1, and to treat it as a number, and repeat it with field 2 (or any other fields you'd like to use as the sort key) as well.I love Bash commands.
Sunday, May 13, 2007
Sumatra PDF Viewer
http://blog.kowalczyk.info/software/sumatrapdf/
Finally -- a PDF Viewer on Windows that supports document reloading! No more wrangling with Acrobat Reader DDE commands during TeXnicCenter + pdfLaTeX!
Finally -- a PDF Viewer on Windows that supports document reloading! No more wrangling with Acrobat Reader DDE commands during TeXnicCenter + pdfLaTeX!
Sunday, May 6, 2007
当研究生们开始脑筋不正常
Subscribe to:
Posts (Atom)