Mateusz,
If I am understanding you correctly, you are trying to use a CurrentDocument macro to get the Document URL inside a repeater? If so, the CurrentDocument macro will always get the document you are on. Instead try using the <%# GetDocumentUrl() %> in your ASPX transofrmation, which will pull the URL of the document being pulled by the repeater.
Tx,
Virgil