Commit b1a66095 authored by Julie's avatar Julie

move folio startChapter in files chapter-body

parent e7b05fdf
/*
This is the layout for the ucp vivliostyle export
thing tried here: create a complete flow with specific updated layout on different pages
Define flow with specific updated layout on different pages
/* page size */
......@@ -10,7 +9,7 @@ thing tried here: create a complete flow with specific updated layout on differe
}
/* flow test */
/* ----------------------------------------------------------------------------- flow test (to find) > */
[data-type="notes"] hgroup {
-epubx-flow-into: noteStart;
......@@ -20,22 +19,36 @@ thing tried here: create a complete flow with specific updated layout on differe
-epubx-flow-into: partStart;
}
/* line numbering from the html:; */
/* ----------------------------------------------------------------------------- < flow test (to find) */
/* ----------------------------------------------------------------------------- line numbering from the html; (to supprim at the end) > */
.numbering {
-epubx-flow-into: lines;
-epubx-flow-options: exclusive static;
-epubx-flow-options: exclusive static;
}
/* ----------------------------------------------------------------------------- < to supprim at the end */
/* break after a section */
section {
break-after: page;
}
/* Folio for first page of Capter */
.folio {
-epubx-flow-into: startFolio;
-epubx-flow-options: exclusive;
color:green!important;
}
......@@ -58,13 +71,11 @@ section {
/* hacking the right page */
.right {
/* flow-into: frontmatter; */
break-after: page;
}
.left {
break-after: page;
break-after: page;
}
@import 'layouts/helpers/page-elements.css';
/*
This is the layout for the ucp vivliostyle export
thing tried here: create a complete flow with specific updated layout on different pages
Define flow with specific updated layout on different pages
/* page size */
......@@ -10,7 +9,7 @@ thing tried here: create a complete flow with specific updated layout on differe
}
/* flow test */
/* ----------------------------------------------------------------------------- flow test (to find) > */
[data-type="notes"] hgroup {
-epubx-flow-into: noteStart;
......@@ -20,22 +19,35 @@ thing tried here: create a complete flow with specific updated layout on differe
-epubx-flow-into: partStart;
}
/* line numbering from the html:; */
/* ----------------------------------------------------------------------------- < flow test (to find) */
/* ----------------------------------------------------------------------------- line numbering from the html; (to supprim at the end) > */
.numbering {
-epubx-flow-into: lines;
-epubx-flow-options: exclusive static;
-epubx-flow-options: exclusive static;
}
/* ----------------------------------------------------------------------------- < to supprim at the end */
/* break after a section */
section {
break-after: page;
}
/* Folio for first page of Capter */
.folio {
-epubx-flow-into: startFolio;
-epubx-flow-options: exclusive;
/*-epubx-flow-into: startFolio;*/
/*-epubx-flow-options: exclusive;*/
}
......@@ -58,13 +70,11 @@ section {
/* hacking the right page */
.right {
/* flow-into: frontmatter; */
break-after: page;
}
.left {
break-after: page;
break-after: page;
}
@import 'layouts/helpers/page-elements.css';
......@@ -17,6 +17,12 @@
}
.folio {
-epubx-flow-into: startFolio;
-epubx-flow-options: exclusive;
}
@-epubx-page-master chapterStart {
@-epubx-partition startchapter {
......@@ -46,7 +52,7 @@
top: 796px;
height: 17px;
}
@import "helpers/numbering.css";
@import "helpers/baseline.css";
}
......@@ -60,11 +66,10 @@
top: 82px;
bottom: 84px;
}
@import "helpers/numbering.css";
@import "helpers/running-head.css";
@import "helpers/baseline.css";
/* background:red; */
}
......@@ -8,16 +8,11 @@
### About Kerning
On page 3, we have a larger white space between *D. Y.*. This happens because the type designer did kern the font for that specific suite of letters.
In Indesign, the only way to correct this is to manually correct the kerning where it’s needed.
One of the option we have using javascript is to use [kerning.js](http://kerningjs.com/) everytime we encounter a need of kerning. Also, this is tied to the typeface in use.
On page 3, we have a larger white space between *D. Y.*. This happens because the type designer did kern the font for that specific suite of letters.
In Indesign, the only way to correct this is to manually correct the kerning where it’s needed.
One of the option we have using javascript is to use [kerning.js](http://kerningjs.com/) everytime we encounter a need of kerning. Also, this is tied to the typeface in use.
### About justification and hyphens
......@@ -31,7 +26,7 @@ The running headers are automatically detected inside the chapter. Depending on
Running header and page numbers are now aligned, as i figured out a way to get page number + running headers. Since the page number are old style figure, we may have a different feeling, but they are on the same baseline.
Also, as an experiment, i tried to have chapter title on the left pages and book title on the right ones.
Also, as an experiment, i tried to have chapter title on the left pages and book title on the right ones.
### About notes
......@@ -49,7 +44,5 @@ The note are hardcoded in the previous html. Which means that renumbering everyt
### Misc fixes
- Added copyright, as an example. It may not be the good one though.
- Orisa was turned into Oriṣa. This issue come from the tools used to turn docx into html. With editoria and Xsweet running smoothly, this should not be happening again.
- Orisa was turned into Oriṣa. This issue come from the tools used to turn docx into html. With editoria and Xsweet running smoothly, this should not be happening again.
- p.31, there was an error from the docx file with errors in the numbering of titles.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment