[daisy-pipeline.wiki] push by - Edited wiki page ZedAIToPEFUsage through web user interface. on 2013-05-08 10:08 GMT

0 views
Skip to first unread message

daisy-p...@googlecode.com

unread,
May 8, 2013, 6:08:47 AM5/8/13
to daisy-pipel...@googlegroups.com
Revision: 82f2d8b61374
Branch: default
Author: bert...@gmail.com
Date: Wed May 8 03:08:31 2013
Log: Edited wiki page ZedAIToPEFUsage through web user interface.
http://code.google.com/p/daisy-pipeline/source/detail?r=82f2d8b61374&repo=wiki

Modified:
/ZedAIToPEFUsage.wiki

=======================================
--- /ZedAIToPEFUsage.wiki Mon May 6 08:03:11 2013
+++ /ZedAIToPEFUsage.wiki Wed May 8 03:08:31 2013
@@ -359,9 +359,9 @@
}
}}}

-The only valid positions for page numbers are currently `@top-right` and
`@bottom-right`. It is also posible to put both page numbers at the top or
at the bottom, like this: `@top-right{content:string(print-page)
counter(braille-page);}`
+The only valid positions for page numbers are currently `@top-right` and
`@bottom-right`. It is also possible to put both page numbers at the top or
at the bottom, like this: `@top-right{content:string(print-page)
counter(braille-page);}`

-As showed in the next example, pages can be named. This can be useful to
switch page layout in the middle of a document. The example will start a
new page with double width for each wide table, so that it can be printed
across facing pages.
+As showed in the next example, pages can be named. This can be useful to
switch page layout in the middle of a document. The following example will
start a new page with double width for each wide table, so that it can be
printed across facing pages.

{{{
@page double {
@@ -376,13 +376,34 @@

==== Example 7: Running header/footer ====

-As we already saw in [ZedAIToPEFUsage#Example_6:_Page_layout example 6]
above, pages can have running headers and/or footers. To update the value
of the footer whenever a new heading appears, include the following:
+As seen in [ZedAIToPEFUsage#Example_6:_Page_layout example 6] above, pages
can have running headers and/or footers. To update the value of the footer
whenever a new heading appears, include the following:

{{{
h {
string-set: running-footer content();
}
}}}
+
+
+==== Example 8: Braille page numbers ====
+
+CSS also has some tools to customized the braille page numbering. For
example, to distinguished the frontmatter from the bodymatter, they often
have different page numbering formats. This snippet gives the frontmatter
lowercase Roman page numbers, and restarts the numbering after the
frontmatter:
+
+{{{
+@page front {
+ @bottom-right {
+ content: counter(braille-page, lower-roman);
+ }
+}
+
+frontmatter {
+ page: front;
+}
+
+bodymatter {
+ counter-reset: braille-page 1;
+}
+}}}


=== Extending the Script ===
Reply all
Reply to author
Forward
0 new messages