Sentence:  He not only knew soldiering , but mathematics , history and literature <WSD>as</WSD> well . 
Meaning of the word marked with <WSD> tags:  in addition