Revert "Try of stupid hack to get PDF in RTD to work"

This reverts commit 07a5783e20df3a6b601791d8e1aa5d9e36467c6c.