summaryrefslogtreecommitdiffstats
path: root/poxml/lauri.xml
blob: 35448f0c8dcf764ccf5449d80c70e6a6962cb915 (plain)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
  <!ENTITY % English "INCLUDE" > <!-- change language only here -->
  <!ENTITY lauri "<emphasis>Lauri</emphasis>" >
]>

<book>


<bookinfo>
<date>06/08/2000</date>
<releaseinfo>0.05.00</releaseinfo>

<!-- *********************** Test **************** -->

<title>test document</title>
<author><firstname>Stephan</firstname><surname>Kulow</surname></author>

<abstract><para>This is nonsense</para></abstract>
<keywordset><keyword>KDE</keyword></keywordset>

</bookinfo>

<chapter id="hello">
<title>&quot;Text&quot; for &lauri;</title>
<sect1>
<title>Section 1</title>
<sect2>
<title>Section 1.1</title>
  <anchor id="try"/>
       <para><emphasis><emphasis role="blah">Warum kann ich
        meinem Rechner nicht einfach
        ausschalten?</emphasis></emphasis>Hier noch</para>
    <para><application>me</application> can't be turned off.</para>
<para>
  <note><para>
    Leading &quot;Text&quot; for &lauri;
  </para></note>
  <caution><para>we pretend her name was Höpfner, but that <anchor id="help"/> is a good name too</para></caution>
  <keycap>
    Shift
  </keycap>
  <keycap>
    help
  </keycap><indexterm><primary>kde</primary></indexterm>
  <tip><para>an archive of the
developer's mailing list is at <ulink
url="http://lists.kde.org/?l=kde-kmail&amp;r=1&amp;w=2">lists.kde.org</ulink>.
  </para></tip>
</para>
<!-- TRANS:GIVE_ME_CREDIT -->

<para>
  <variablelist>
    <varlistentry>
      <term>
         Text 1
      </term>
      <listitem>
         <para id="blah">
            Text 2
           <note>
             <para>
               Text 3 "everything"
		<variablelist><varlistentry><term>Everything</term><listitem><para>Is correct</para></listitem></varlistentry></variablelist>
		<variablelist><varlistentry><term>Nothing</term><listitem><para>Is wrong</para></listitem></varlistentry></variablelist>
		<footnote>
                  <para>
                     Text 4 \"even more\"
                  </para>
		  <para>
		    <note>
			<para>
                           Text 4 \"even less\"
		        </para>
 		    </note>
                  </para>
               </footnote>
             </para>
           </note>
         </para>
      </listitem>
    </varlistentry>
    <varlistentry>
    <term><anchor id="new"/><menuchoice>
<shortcut><keycombo><keycap>Ctrl</keycap><keycap>N</keycap></keycombo></shortcut>
<guimenu><accel>F</accel>ile</guimenu><guimenuitem><accel>N</accel>ew</guimenuitem></menuchoice></term>
    <listitem><para><action>This starts a new Document in a new instance of the
editor.</action></para>
</listitem>
   </varlistentry>
  </variablelist>
</para>
</sect2>
         <sect2 id="xml-format">
	 <title>What XML looks like</title>

         <para>
            Here is an example of an XML file used
            by <application>Columbo</application> to describe a search site on the
            Internet:
         </para>
         <para>
            <programlistingco>
               <areaspec>
                  <area id="xml.doctype" coords="1"/>
                  <area id="xml.rootel" coords="2"/>
                  <area id="xml.nestedel" coords="9"/>
               </areaspec>
               <programlisting>
<![CDATA[<!DOCTYPE search>
<search 
   name="Altavista" 
   channel="web"
   method="get"
   action="http://www.altavista.com/cgi-bin/query"
>

   <input name="pg" value="q"/>
   <input name="sc" value="on"/>
   <input name="hl" value="on"/>
   <input name="kl" value="XX"/>
   <input name="stype" value="stext"/>
   <input name="q" user="true"/>

   <interpret
      resultListStart="&lt;dl&gt;"
      resultItemStart="&lt;dt&gt;"
      relevanceStart=""
      resultListEnd="&lt;/td&gt;"
      resultItemEnd="&lt;/dl&gt;"
      relevanceEnd=""
   />
</search>]]>
               </programlisting>
               <calloutlist>
                  <callout arearefs="xml.doctype">
                     <para>
                        This instruction is normally used to declare the DTD of the
                        document. Here no DTD is used, and only the name of the root
                        element (<varname>search</varname>) appears.
                     </para>
                  </callout>
                  <callout arearefs="xml.rootel">
                     <para>
                        <sgmltag class="starttag">search</sgmltag> begins the root
                        element. Here, it extends to the end of the document
                        (<sgmltag class="endtag">search</sgmltag>).
                     </para>
                  </callout>
                  <callout arearefs="xml.nestedel">
                     <para>
                        This is an example of an empty element. Empty elements do not
                        need a closing tag (which would be
                        <varname>&lt;/input&gt;</varname> in this case).
                     </para>
                  </callout>
               </calloutlist>
            </programlistingco>
         </para>
         
         </sect2>
<sect2>
<title>The ugly part</title>
<para>
  Ending Text:

<literaltqlayout>
Matthias Hoelzer
KDE-Verein i.G.
Account-Nr. 2798296

Staedtische Sparkasse Wuerzburg
Hofstrasse 9
97070 Wuerzburg
Germany
BLZ 790 500 00
SWIFT-Address: BYLA DE 77

print "$b4 /path/to/KDE/libs/libpng.a $af\n"; \
you see it here
whereever
</literaltqlayout>
</para>
<para>
<screen>
Expect       ogin:           <lineannotation># remember, we do ordinary terminal login</lineannotation>
ID           ""              <lineannotation># kppp sends the id you configured in the main dialog</lineannotation>
Expect       for userxyz:    <lineannotation># a list of available numbers is shown, the user should choose one</lineannotation> 
Send         userxyz-home    <lineannotation># the user wants to be called back on their home number</lineannotation>
Expect       ogin:           <lineannotation># The callback process is now running, a new connection, and so a new login.</lineannotation>
ID
Expect       assword:        <lineannotation># Now send your password</lineannotation>
Expect       &gt;               <lineannotation># Wait for the command prompt (the prompt may vary)</lineannotation>
Send         start_ppp       <lineannotation># this command starts the pppd</lineannotation>
</screen>
</para>

<para>
<screen>
Send                         <lineannotation># send an empty string</lineannotation>
Expect           ID:
Send             itsme
Expect           word:
Send             forgot
Expect           granted
Send             ppp
</screen>

<programlisting>
-&gt;  #include &lt;qpixmap.h&gt;
-&gt;  #include &lt;qpen.h&gt;

     class KScribbleDoc
     {

-&gt;   protected:

-&gt;       QPen currentPen(){ return pen;};   
                
-&gt;       int penWidth()
-&gt;          { return pen.width(); }

      public Q_SLOTS:
         void updateAllViews(KScribbleView *sender);
        
      protected:
        
-&gt;      QPixmap buffer;
        
      private:
-&gt;      QPen pen;
        /** the modified flag of the current document */
        bool modified;
</programlisting>
</para>
</sect2>
</sect1>
</chapter>
</book>