projecting 1D texture for depthmapping

I’m working on shodowmapping and have already done 2D projective
texture mapping, but I’m having problems with projecting 1D texture
for comparison with depthmap.
So my question is: how to project 1D texture?

See here:

Page 46.

Thanks a lot, I’ll try that.

I’ve tried this method, but it still dosent seam to wark…
May be someone can give some pseudo code, please?