Allow title to be a partial definition.

Also implement the --pandoc option.