Properly control nbconvert latex pandoc export