Yes it needs to be another stylesheet(s). You will want to collect all the different sets of font-face/page margin rules. Create new styleseets for every distinct set and then link to the appropriate stylesheet in every html file. Look at stylizer.py and flatcss.py, where all the stylesheet processing is done.
In your case that will mean one extra stylesheet in the resulting epub. For more complex books it will result in upto n+1 stylesheets where n is the number of html files.
Last edited by kovidgoyal; 05-03-2012 at 07:13 AM.
|