The Art of Wheelbuilding Is your best read for getting started.
I have never tried to shim a chainring, so I don't know, but I doubt it will be necessary. If the chainline is really off you either have to change the chainring position or get a different length bottom bracket.