Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Just a question: I don't really see where do you use the injection $H^0(O_D)\subset H^0(O_A)$. I guess the expression for $\chi(O_B(-A))$ is just Riemann-Roch for singular curves, no?