File: pagination.html

package info (click to toggle)
liblayout 0.2.10-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,332 kB
  • sloc: java: 51,125; xml: 138; makefile: 17
file content (91 lines) | stat: -rw-r--r-- 2,120 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
  <TITLE>Example of inline flow on several lines</TITLE>
  <STYLE type="text/css">
    @page
    :
    left
    {
      counter-reset: dodo 0
    ;
    }
    ;
    EM {
      padding: 2px;
      margin: 1em;
      border-width: medium;
      border-style: dashed;
      line-height: 2.4em;
    }

    span.count {
      counter-increment: dodo 1;
      content: counter( dodo );
      background-color: blue;
    }

    OL {
      counter-reset: section;
      /* Creates a new instance of the
     section counter with each ol
     element */
      list-style-type: none;
    }

    LI:before {
      counter-increment: section;
      /* Increments only this instance
  of the section counter */
      content: counters( section, "." ) " ";
      /* Adds the value of all instances
   of the section counter separated
   by a ".". */
    }
  </STYLE>
</HEAD>
<!--
This example shows, how to handle block content, that intersects
inline content. The <EM> is split into two seperate lineboxes, the DIV
is *not* included in the border-box.
-->

<BODY>
<div>
  <P>Several <EM>emphasized words<div>Block <span class="count">aa</span></div>a</EM>
    appear here.</P>

  <P style="page-break-before: always;">Several <span class="count">aa</span>
    <EM>emphasized words<div>Block</div>a</EM> appear here.</P>

  <P>Several <EM>emphasized words<div>Block</div>a <span class="count">aa</span>
  </EM> appear here.</P>
</div>

<OL>
  <LI>item          <!-- 1     -->
  <LI>item          <!-- 2     -->
    <OL>
      <LI>item      <!-- 2.1   -->
      <LI>item      <!-- 2.2   -->
      <LI>item      <!-- 2.3   -->
        <OL>
          <LI>item  <!-- 2.3.1 -->
          <LI>item  <!-- 2.3.2 -->
        </OL>
        <OL>
          <LI>item  <!-- 2.3.1 -->
          <LI>item  <!-- 2.3.2 -->
          <LI>item  <!-- 2.3.3 -->
        </OL>
      <LI>item      <!-- 2.4   -->
    </OL>
  <LI>item          <!-- 3     -->
  <LI>item          <!-- 4     -->
</OL>
<OL>
  <LI>item          <!-- 1     -->
  <LI>item          <!-- 2     -->
</OL>
</BODY>
</HTML>