• Home
  • TeX
  • Linux
  • Programming
  • Academia

Random Determinism

Random Determinism

Category Archives: TeX

How I stopped worring and started using Markdown like TeX

June 1, 2012

These days I type most of simple documents (short articles, blog entries, course notes) in markdown. Markdown provides only the basic structured elements (sections, emphasis, urls, lists, footnotes, syntax highlighting, simple tables and figures) which makes it easy to transform the input into multiple output formats. Most of the time, I still want PDF output and for that, I use pandoc to convert markdown to ConTeXt. At the same time, I have the peace of mind that if I need HTML or DOC output, I’ll be able to get that easily.

For most of the last decade, I have almost exclusively used LaTeX/ConTeXt for writing all my documents. After moving to Markdown, I miss three features of TeX: separation of content and presentation; conditional inclusion of content; and including external documents. In this post, I’ll explain how to get these with Markdown.

Continue reading »

A ConTeXt style file for formatting RSS feeds for Kindle

May 26, 2012

As I said in the last post, I bought an Amazon Kindle Touch sometime back, and I find it very …

Continue reading »

A style file for eink readers

April 9, 2012

Recently I bought an Amazon Kindle touch. It is more convenient than the IREX DR1000 for reading morning news and …

Continue reading »

Reading remote files

March 17, 2012

Won’t it be nice if you TeX file was able to pretty-print files hosted on github, e.g.,

[sourcecode]
\typeRUBYfile{https://raw.github.com/adityam/filter/master/Rakefile}
[/sourcecode]

or include a remotely hosted markdown file in your document
[sourcecode]
\processmarkdownfile{https://raw.github.com/adityam/filter/master/README.md}
[/sourcecode]

Continue reading »

Update for the filter module: faster caching

January 8, 2012

Over the last year, the code base of the filter module has matured considerably. Now, the module has all the …

Continue reading »

Some thoughts on lowering the learning curve for using TeX (part I)

September 4, 2011

TeX has a steep learning curve. Often times, steeper than it needs to be. Take, for example, the special characters …

Continue reading »

visual counter for Maya numbers

July 2, 2011

The other day I saw the documentary breaking the Maya code. At one stage they showed how the Maya number …

Continue reading »

Syntax highlighting engines: clean tex output

June 6, 2011

The vim module uses the vim editor to syntax highlight code snippets in ConTeXt. I thought that it should be …

Continue reading »

HTML export

May 29, 2011

The question of translating TeX to (X)HTML arises frequently. Almost everyone wants it. After all, on the web, (X)HTML is the de-facto standard markup; PDF, with all its hyper link abilities, is clumsier to use. On the other hand, for print, PDF, especially, TeX generated PDF is the de-facto standard (at least for math heavy fields); (X)HTML, with all its print css abilities, is clumsier to use. Often, you want both an (X)HTML version and a PDF version of a document. With the popularity of eink devices, epub (which is essentially a zipped (X)HTML file) is also becoming popular. Generating these multiple output formats from the same source is tricky.

Continue reading »

Images for documentation examples

May 7, 2011

ConTeXt users tend to use the famous Dutch cow as a place holder image for documentation examples. At times, it …

Continue reading »

← Older posts

♣ Top Posts

  • How I stopped worring and started using Markdown like TeX
  • Typewriter scroll mode in vim
  • Programming in Maxima
  • Using ConTeXt to convert markdown to PDF
  • A ConTeXt style file for formatting RSS feeds for Kindle

♣ Recent Comments

  • John Baker on How I stopped worring and started using Markdown like TeX
  • randomdeterminism on A ConTeXt style file for formatting RSS feeds for Kindle
  • mbork on A ConTeXt style file for formatting RSS feeds for Kindle
  • A ConTeXt style file for formatting RSS feeds for Kindle « Random Determinism on A style file for eink readers
  • randomdeterminism on Word clouds in ConTeXt

♣ Tags

arch-linux cabal command line programs conferences ConTeXt controls diagrams eink filter fonts Geometry gz Haskell India IRex Digital Reader isit kindle LaTeX Linux luaTeX makepkg markdown Maxima Metapost monte carlo natural tables pacman pandoc photography PKGBUILD programming Project Cutenberg Ruby scripts syntax highlighting table texlive Tiling WM vim visualcounter What were they thinking windows wmii XMonad xz

♣ A picture is worth ....

Fleeting time

Die hard

More Photos

♣ Useful links

  • TeX.se
  • ConTeXt garden
  • Dropbox

Blog at WordPress.com. Theme: Chateau by Ignacio Ricci.

Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com