@@ -62,20 +62,20 @@ cxx-docnum { string-set: docnum content(); }
6262* / deep/ .docname {string-set : docnamecontent (); }
6363* / deep/ .pubyear {string-set : pubyearcontent (); }
6464
65- cxx-clause {page-break-before : always; }
65+ cxx-clause , cxx-foreword {page-break-before : always; }
6666@media screen {
67- cxx-clause , cxx-toc {margin-top : 3em ; }
67+ cxx-clause , cxx-toc , cxx-foreword {margin-top : 3em ; }
6868}
6969
70- cxx-clause ::shadow header {font-size : 150% ; }
70+ cxx-clause ::shadow header , cxx-foreword :: shadow h1 {font-size : 150% ; }
7171cxx-toc ::shadow h1 {font-size : 150% ; }
7272cxx-clause cxx-section ::shadow header {font-size : 117% ; }
7373cxx-clause cxx-section cxx-section ::shadow header {font-size : 100% ; }
7474
7575[data-bookmark-label ] {bookmark-label : attr (data-bookmark-label); }
7676h1 {bookmark-level : 1 ; }
7777cxx-toc ::shadow h1 {bookmark-level : 2 ; }
78- cxx-clause h1 {bookmark-level : 2 ; }
78+ cxx-clause h1 , cxx-foreword h1 {bookmark-level : 2 ; }
7979cxx-clause cxx-section h1 {bookmark-level : 3 ; }
8080cxx-clause cxx-section cxx-section h1 {bookmark-level : 4 ; }
8181/* The <h2> is a subtitle, which shouldn't get a PDF bookmark. */