def parse_post_meta(raw_postmeta):
    """
    Parse meta-data of a post contained in the special latex command 
    \postmeta{...}.
    Example:
    \postmeta{
    Title: Compactness and Open Sets in $\mathbb{R}^{d}$ 
    Date: 2014-06-29 
    Tags: topology, compactness 
    Slug: compactness_open_sets  
    }

    Return a dictionary
    """
    lines = raw_postmeta.split('\n')
    D = {}
    for i, l in enumerate(lines):
        if l.strip() != '':
            colon_splits = l.split(':')
            key = colon_splits[0].strip()
            val = colon_splits[1].strip()
            D[key] = val
    return D