Intermediate pdf code.