The JODSOURCE addon, (a part of the JOD system), contains a handy literate programming tool that enables the generation of beautiful J source code documents. The Bible, Koran, and Bhagavad Gita of Literate Programming is Donald Knuth's masterful tome of the same name. Knuth applied Literate Programming to his $latex \TeX$ systems and produced what … Continue reading Using jodliterate
Category: TeX/LaTeX
Fun with Farsi Text in LaTeX
Analyze the Data not the Drivel is a mouthful. This blog needs a short symbolic name. For sometime I have used ADND myself but that's to close to ADHD for comfort. However if we treat ADND as a simple algebraic expression it becomes: $latex ad^2n $ This is better but still not cool! If we … Continue reading Fun with Farsi Text in LaTeX
Semi-Literate JOD
Click to view jodliterate.pdf Despite seven decades of programming experience documenting software remains a challenge. There are many reasons for this sorry state of affairs with the most important being that programmers simply do not agree on the need for documentation. As pathetic as this sounds it's not without merit. It all depends on what … Continue reading Semi-Literate JOD
Pandoc based J Syntax Highlighting
John MacFarlane's excellent command line utility Pandoc is a Haskell program that converts to and from various text markup languages. Pandoc's help option lists its supported input and output formats. The following examples are Linux bash shell commands. Windows shell commands are identical. $ pandoc --help pandoc [OPTIONS] [FILES] Input formats: native, json, markdown, markdown+lhs, … Continue reading Pandoc based J Syntax Highlighting
Turn your Blog into an eBook
Click here for an updated PDF version of this post. If you have worked through the exhausting procedure of converting your blog to LaTeX: see posts (1), (2) and (3), you will be glad to hear that turning your blog into an image free eBook is almost effortless. In this post I will describe how … Continue reading Turn your Blog into an eBook
WordPress to LaTeX with Pandoc and J: Using TeXfrWpxml.ijs (Part 3)
Click for an updated PDF version of this post. WordPress to LaTeX In this post I will describe how to use the J script TeXfrWpxml.ijs to generate LaTeX source from WordPress export XML. I am assuming you have worked through (Part 1) and (Part 2) and have: Successfully installed and tested Pandoc.Installed and tested a … Continue reading WordPress to LaTeX with Pandoc and J: Using TeXfrWpxml.ijs (Part 3)
WordPress to LaTeX with Pandoc and J: LaTeX Directories (Part 2)
Click for an updated PDF version of this post. In this post I will describe the LaTeX directory structure the J script TeXfrWpxml.ijs is expecting. To convert WordPress export XML to LaTeX with this script you will have to set up similar directories. LaTeX documents are built from *.tex1 files. This makes LaTeX more like … Continue reading WordPress to LaTeX with Pandoc and J: LaTeX Directories (Part 2)
WordPress to LaTeX with Pandoc and J: Prerequisites (Part 1)
Click for an updated PDF version of this post. There are no quick WordPress to LaTeX fixes WordPress to LaTeX Over the next three posts I will describe how to convert WordPress’s export XML to LaTeX source code. I know that many of you are looking for a quick WordPress to LaTeX fix; unfortunately there … Continue reading WordPress to LaTeX with Pandoc and J: Prerequisites (Part 1)
Typesetting UTF8 APL code with the LaTeX lstlisting package
Click here for a PDF version of this post. UTF8 APL characters within a LaTeX lstlisting environment. Click for *.tex source code Typesetting APL source code has always been a pain in the ass! In the dark ages, (the 1970's), you had to fiddle with APL type-balls and live without luxuries like lower case letters. With the … Continue reading Typesetting UTF8 APL code with the LaTeX lstlisting package
More on Kindle Oriented LaTeX
I've been compiling LaTeX PDFs for the Kindle. If you like LaTeX typefaces, especially mathematical fonts, you'll love how they render on the Kindle. It's a good thing because you won't like the Kindle's cramped page dimensions. For simple flow-able text this isn't a big deal but for complex LaTeX documents it is! There are two basic LaTeX to … Continue reading More on Kindle Oriented LaTeX