Thank you Fernando, very well illustrated.
I agree, it must not have been a simple thing to do in making gunpowder, or why would there be such a struggle to import or obtain it from sources other than their own homemade concoctions.
Throughout the Mexican campaigns from the Texian revolt to the Mexican American war descriptions of the inadequacy of Mexican powder prevail. This was in artillery as well as firearms. In colonial New Spain, it was made clear that the use of the lance prevailed due to either shortages of or inadequacy of gunpowder. The reason Mexicans became so adept with lances was because they used them for hunting as well as for military purposes.
Interesting to see the example of a flour mill next to a gunpowder mill

I guess two incredibly important commodities.
Interesting too seeing the bricks placed in a manner to avoid sparks, sounds like very prudent engineers.