print-paper.css.bak 721 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* "Paper" style; symmetrical pages breaks between chapters */
  2. @page normal-flow {
  3. @top-center {
  4. content: string(ComponentTitle);
  5. }
  6. @bottom-center {
  7. content: counter(page);
  8. }
  9. }
  10. @page normal-flow:first {
  11. @top-center {
  12. content: "";
  13. }
  14. }
  15. .book > header {
  16. page-break-after: always;
  17. }
  18. .book .list-of-titles {
  19. break-before: always;
  20. }
  21. .book .list-of-titles div .title {
  22. string-set: ComponentTitle content()
  23. }
  24. .book .article,
  25. .book .chapter,
  26. .book .preface,
  27. .book .appendix,
  28. .book .refentry,
  29. .book .part,
  30. .book .partintro,
  31. .book .dedication,
  32. .book .glossary,
  33. .book .bibliography,
  34. .book .index,
  35. .book .colophon {
  36. break-before: always;
  37. page: normal-flow;
  38. }