fixed bug72 added support for loop_listing and source to pdf