Suggested work-around: Put your long header in a separate file. Change the gnuplot command to
set term epslatex header "\\include{myheaderfile}\n" -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org