During many years he has combined literary writing with teaching. He has also worked in television and cinematographic scriptwriting. He collaborated with Joaquim Maria Puyal as creator and scriptwriter of the first Catalan television series: "La Granja" (1989–1992), followed by other shows like "Estació d'Enllaç" (1994–1998), "Crims" (2000) and the made-for-television movies "La dama blanca" (1987), "Nines russes" (2003) and "Sara" (2003). He also wrote, together with Jaume Fuster, Vicenç Villatoro and Antoni Verdaguer, the script for Antoni Verdaguer's films "La teranyina" (1990), based on his novel, and "Havanera" (1993).