Formatting EPUB with line numbers
Hi, I'm trying to format a long poem as an EPUB, and it needs to have line numbers for every fifth line.
Here is an example of what I want it to look like:

When the reader enlarges the font, some lines may run on to the next line. I want the numbering to accomodate this, for example:

Note that line number 35 still begins with the word "acerepe", etc.
How can this be achieved in InDesign? I have seen an EPUB where this is done, so I'm quite sure it's possible.
Thanks for your help.
