Monthly Archives: November 2020

Cross-referencing content of another chapter in AsciiDoctorPDF

It is possible to cross-reference chapters in Asciidoc. The way I do it is as follows. First of all I have a top level index.adoc which is the root file that does nothing but include the various chapters one after … Continue reading

Posted in Software | Tagged , , | Leave a comment

Getting Math to work in AsciiDoctorPDF

I had quite a lot of challenges getting math to render in AsciiDoctorPDF. The documentation relating to this is also confusing. It turns out that for converting asciidoc to PDF which is what I am interested in (i.e., output format … Continue reading

Posted in Software | Tagged , | Leave a comment

AsciiDoctor: Inspecting Environment settings of Ruby

Within the docker-asciidoctor container you can see Ruby settings like so

Posted in Uncategorized | Leave a comment

How to get rid off annoying border around SVG images in AsciiDoctorPDF

AsciiDoctorPDF inserts an annoying black border around SVG images generated by graphviz. E.g., given this SVG image which was generated by graphviz, if you open it in chrome you can see it has no black border as shown below: but … Continue reading

Posted in Software | Tagged | Leave a comment

Validating PDFs

Sometimes you need to validate a PDF file. Here are step by step instructions on how to do so. Prerequisites: You need to have Java installed on your machine. Download preflight-app-2.0.21.jar from https://pdfbox.apache.org/download.cgi Run it passing the path to your … Continue reading

Posted in Software | Leave a comment

Extracting images from a PDF

Sometimes you need to extract images inside a PDF. Here are step by step instructions on how to do that. Prerequisites: You need to have Java installed on your machine. Download pdfbox-app-1.8.16.jar from https://pdfbox.apache.org/download.cgi. WARNING: version 2.0.21 will not work. … Continue reading

Posted in Software | Leave a comment

A Ranking of Pink Floyd albums from Best to Better

In most rankings of Pink Floyd albums, Dark Side Of The Moon is the unequivocal winner. Not for me. Here is my ranking of Pink Floyd albums: The Division Bell: The Division Bell is my favorite Pink Floyd album and … Continue reading

Posted in Personal Interests | Leave a comment