During the Napoleonic wars, a Spanish officer and an opposing officer find a book written by the former's grandfather.