Another "trick" is to use a sharp knife, which leads to less damaging of the cell walls overall and thus less of the release of the offending compounds.
a certain enzyme and a component from within the cell are released upon cutting, and this produces a volatile compound which turns into sulfuric acid upon in contact with the moisture in your eyes. So, the more you tear, the more you get the hit. Using sharp knife to cut onion minimizes the rupturing of the cells.. wetting the knife allows the water in your knife to take the hit, and cutting onion cold slows down the enzymatic reactions. If you are going to cook the onion anyway, another trick is to microwave it until it starts to steam, in deactiving/ destroying/ denaturing, the enzyme.
Another method, not quite so elegant, is to hold a piece of bread in your mouth (without eating it), let it stick out as much as you can. This probably works on the same principle as wearing googles.
isn't so that when we want to weep we take the help from onions and our blocked tear glands get activated by the produced chemical by onion which is converted in to gas and induce tears.