I am using an iPad app TeX Writer and would like to draw a commutative diagram. I can use amscd in the app but it is not sufficient for the diagrams I want to draw.
To include new package, I need to prepare a folder texmf-local in which I create a folder TeXinput and Zip it. TeXinput is a flat directory, no sub directories allowed. It holds everything except for font files. (Full details here)
I tried to add xy package but it did not work for me. I'm not sure if I prepared right.
Could you tell me how to prepare the flat directory file so that I can add some diagram packages? Like, which files I should include in the folder TeXinput.
It is ok if the package is not xy but any other package is acceptable if I can draw commutative diagrams with diagonal lines etc.

tikz-cd. But I don't know how to install it on the iPad. – Manuel Dec 4 '12 at 0:29