GSoC/GCI Archive
Google Code-in 2012 The NetBSD Project

Write a Markdown - Latex converter

completed by: fernozzle

mentors: Julian Coleman, Julian Fagir

This task is not strictly for NetBSD, but another project named libsoldout:

libsoldout is a markdown converter written in C and published under public domain. Though there are already other tools which would do this task, they either have a licence that is not usable by NetBSD or have too many dependencies (like pandoc).
Your task is to write a converter from Markdown to Latex (or PDF, which might be a fairly large task and not suited for Code-In), which is just specifying some tags you use for inserting and putting it in C code.

You can take the html or the mdoc converter as a template for this: and respectively. 

Though this task seems large, the task itself is rather small. You have to analyze the converters for mdoc and html and replace their tags by the appropriate Latex ones.
If you're not as good with Latex, feel free to ask for the tags that are to replace. Latex is not a strict prerequisite!