read global default value for using embedded stylesheets

The global configuration wasn't evaluated before.
Fixes #1364.
read global default value for margin size

The global configuration wasn't evaluated before
Merge pull request #1368 from hwhw/master

read global default value for using embedded stylesheets