So, I want to build a sentence and mix a present perfect part into it, but the preposition particle only allows continuous form of the verb. Can I say like 'I want to ... smbd for having done smth', or should I divide the parts and union them with 'for' particle so I get 'I want to ... smbd for she has done smth' instead?
For example, 'I want to thank my friend for having revised my book until it has been published'.