Category Archives: computing

Adding local packages in MiKTeX 2.9 on Windows

I'm writing this down so I never have to search the internet again to figure out how to install local packages for my Latex installation. There are two competing installations for Windows: MiKTeX and TeX Live. The math department where I work has its own .sty files for formatting exams, and every time I've had a new install of Latex, I've had to figure out where to put these files so Latex knows where to find them. The issue this time is that I've used…

Read More »

Numbered Section Headings in Word 2016

There's no way I'm going to remember this in the future if I don't write it down. And perhaps someone else will find this useful. I am writing scripts to accompany slides for teaching videos, and so, naturally, I want to have headings that indicate which slide the content that follows corresponds to. But, if I add a slide in the middle, I want the slide numbering to adjust automatically. How do I make Microsoft Word 2016 do that? It took some googling, but I…

Read More »

How to be stupid in one easy lesson

See the facts, but instead of sitting with them and letting them speak, chase down a bunch of tangentially-related dead ends. Sometimes in debugging code, examining the wonky output is all that's needed to find the bug. If I had done that today I would have saved some time and aggravation. Tikz is a Latex add-on to make wonderful graphs and diagrams in documents. However, in order to make a sequence of diagrams to become frames for an animation, some extra programming is required. I…

Read More »

Coaxing a nice PNG out of a PDF

Using ImageMagick, it's easy to convert a PDF to a PNG. However, if you need the resulting PNG to be large and crisp, an extra trick is needed. A PDF generally scales perfectly. That's because it's not like a photo, which gets blocky when magnified too much. It's more a like a set of instructions about lines to draw, fonts to use, etc., which can be used at any magnification. On a high-resolution monitor, my PDF's look terrific when displayed full screen.  Naturally, when I…

Read More »

Setting up a home WeBWorK server

I need to play around with WeBWorK for an online course I'm designing. It was actually quite straightforward to set up a little WeBWorK server on my Windows 10 PC. However, there was one issue I faced in getting it to work that I thought might be useful for others to know who might be trying to do the same thing. The WeBWorK site gives a few different means of downloading and installing the software. I chose to download a virtual machine image, and I'm…

Read More »

Missing files from Windows share

I have Kodi installed on a Mac mini, which is serving us well as a media centre. The mini is quiet, small, and its nice design is a great improvement over the ugly, noisy tower that used to sit next to our TV. However, the ugly tower had the advantage of being able to house a couple large hard drives. That storage capacity is now in a networked computer running Windows 10. To access media files on the Windows machine I simply set up a video source…

Read More »