Other than fiqh (Islamic jurisprudence)...
Other than fiqh (Islamic jurisprudence), hadith (tradition), tafsir (exegesis of the Holy Qur'an), etc., the Holy Imam also imparted mathematics and chemistry to some of his disciples. Jabir ibn Hayyan at-Tusi, a famous scholar of mathematics, was one of the Imam's disciples who benefited from the \Imam's knowledge and guidance and was able to write four hundred books on different subjects.
It is an undeniable historical truth that all the great scholars of Islam were indebted for their learning to the very presence of the Ahlu'l-bayt who were the fountain of knowledge and learning for all. al- Allamah ash-Shibli writes in his book Siratu'n-Nu`man: "Abu Hanifah remained for a considerable period in the attendance of Imam Ja'far as-Sadiq, acquiring from him a great deal of precious research on fiqh and hadith.
Both the sects -Shi'ah and Sunni - believe that the source of Abu Hanifah's knowledge was mostly derived from his association with Imam Ja'far as-Sadiq." The Imam devoted his whole life to the cause of religious preaching and propagation of the teachings of the Holy Prophet and never strove for power. Because of his great knowledge and fine teaching, the people gathered around him, giving devotion and respect that was his due.
This excited the envy of the Abbasid ruler al-Mansur ad-Dawaniqi, who fearing the popularity of the Imam, decided to do away with him. al-`Allamah at-Tabataba'i writes: Imam Ja'far ibn Muhammad, the son of the Fifth Imam, was born in 83/702. He died in 148/765 according to Shiite tradition, poisoned and martyred through the intrigue of the Abbasid caliph al-Mansur. After the death of his father he became Imam by Divine Command and decree of those who came before him.
During the Imamate of the Sixth Imam greater possibilities and a more favourable climate existed for him to propagate religious teachings. This came about as a result of revolts in Islamic lands, especially the uprising of the Muswaddah to overthrow the Umayyad caliphate, and the bloody wars which finally led to the fall and extinction of the Umayyads.
The greater opportunities for Shiite teachings were also a result of the favourable ground the Fifth Imam had prepared during the twenty years of his Imamate through the propagation of the true teachings of Islam and the sciences of the Household of the Prophet.