Blog Archives

Pandoc md to pdf with better headings

I keep my notes mostly in one Git’d folder of markdown files, which is vastly quicker and easier than my old WYSIWYG word-processed noting system.  I write and navigate my md’d notes in gVim.  For wide convertablility across markdown engines, I only use markdown headings down to the 4th level.  This was working fine until I put some lyrics directly under a 4th level heading and converted the md file to pdf. Read more ›




A huge Powershell one-liner for Pandoc pdf-ing

So I have a directory containing markdown files, and also subdirectories, and sub-subdirectories, and so on, all containing my markdown files that I keep personal notes in. I find this an incredibly effective system as I can swiftly move around, search and edit these files in gVim. This directory is easily copyable to my smartphones, which can easily open text files in various ways, but sometimes pdf is simpler to open and search on a smartphone. So I would like all of these markdown files to be converted (by Pandoc) to pdf, and I would like to do this from time to time, efficiently. This would be helpful for use on my smartphones but have the added benefit that if I want someone else to access my personal notes, they’d be in both markdown and pdf format, which would be much easier for everyone. Read more ›




Color-highlight selected letters in LaTeX

I intentionally produced my latex leaflet to promote myself as an actor with reduced coloration, but I had an idea to have some letters throughout the text coloured, just to amuse.   My first attempt was to replace all occurances of “et” (French for “and”…) in the text with \textcolor{Red}{et}.  This was fairly quick to do with the power of gVim, and I quite liked the pdf output result, but not the visual mess in the tex file.  I looked for a way to semi-automate it in LaTeX, and found Sh3ljohn’s helpful StackExchange question, which got me thinking that I could colour-highlight these letters throughout my leaflet: J H T j h t. Read more ›




a LaTeX leaflet

It took a while, but I’ve got the hang of LaTeX, such that it’s now my choice for documents that need more than a little formatting.  I also, somewhat to my surprise, use it occasionally to make up a pdf from a sequence of jpegs – no text, just page numbering. Read more ›




Directory Listing for gVim Folded viewing

The problem: do I have that somewhere?

Something that was holding me up organisationally was finding out if I had a film, or a podcast, or some notes somewhere on a disk drive that belongs to me but that’s not connected to my machine, which while I’m writing this is my old netbook. Read more ›




How much of a wizard?

When I describe myself as a “technical wizard”, I feel a little like the Wizard of Oz, but only because all wizardry is only really the possession of a little more skill in a certain area than others. Read more ›




Super-charged IT organisation with gVim

I gathered a lot of IT notes, personal notes, work notes, and notes about things that I was interested in over the last 13 years of being IT-enabled.  Before that I used to write things down, or cut-out-and-file, or photocopy stuff. Read more ›