Books on line codes?
Answering my own question - after reviewing all the books I could find around, it seems that the classic "Digital Communications" by Glover &amp; Grant was enough for what I was looking for (Chapter 6: Baseband transmission and line codes, 6.4. Line coding).

I've also found this great PDF:
http://gemini.udistrital.edu.co/comunidad/profesores/hjeslavab/Downloads/Codigos%20de%20linea.pdf