“…In this paper we present an algorithm computing such a basis. An affine algebraic curve with one rational place Q at infinity is easy to handle and used extensively in the literature (Ganong, 1979;Porter, 1988;Miura, 1992Miura, , 1994Miura, , 1997Miura, , 1998Porter et al, 1992;Saints and Heegard, 1995). For a divisor D we define L(D + ∞Q) := ∞ i=1 L(D + iQ).…”