[ refactor ] A use of fromMaybe.
[ Issue1241 ] Test case for --latex in sub dir.
[ issue1241 ] Fixed issue #1241, still room for refactoring
Merge branch 'maint-2.4.0'
[ test ] Fixed list of excluded successful tests.
Merge branch 'maint-2.4.0'