generating quadric pdf html