silvesterlangen.de

Seite
Menü

DITA Formatierungen

Aus gegebenem Anlass beschäftige ich mich zu Dokumentationszwecken mit DITA. DITA ist ein Akronym und steht für Darwin Information Typing Architecture und XML-basiert woraus sich verschiedene Dokumente wie beispielsweise PDF generieren lassen.

 

Formatierungen

Die bekannten drei Hervorhebungen.

<b>fett</b>
<i>kursiv</i>
<u>unterstrichen</u>

 

Hier kann ein vorformatierter Text eingefügt werden. Es werden multiple Leerzeichen und Zeilenumbrüche berücksichtigt. Außerdem wird eine sog. Monospace Font verwendet. <Pre> ist nicht für Code zu nutzen, auch wenn es die Schriftart vermuten lässt. Dafür wird <codeph> genutzt

<pre>Vorformatierter Text im Monospace Type Font</pre>

 

Zeilen und Umbrüche

Zeilenumbrüche werden ignoriert.

<p> Text </p>

Zeilenumbruch. Es sind nicht mehrere hintereinander möglich!

<?linebreak?>

 Zeilen werden umgebrochen, aber keine Tabsprünge berücksichtigt.

<lines>

Dies ist eine Zeile

Dies ist noch eine weitere Zeile

</lines>

 

Aufzählungen

Ordered List - Eine Liste, die mit den Punkten 1, 2, 3, 4 .... usw abgearbeitet wird.

<ol>

<li>Das ist der Erste</li>
<li>Das ist das Zweite</li>
<li>Und hier das Dritte</li>

</ol>

 

Unordered List - Eine Liste, die keine Zahlen, sondern Punkte voranstellt.

<ul>

<li>Punkt 1</li>
<li>Punkt 2</li>

</ul>

 

 Sections

Sections sind wie Absätze. Man spricht von Sections und Subsections. Die Subsections haben direkten Bezug auf die Sections. Die Formatierungen funktionieren auch innerhalb der Sections.

<section><title>Das ist eine Section</title>

<lines>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum is simply dummy text of the printing and typesetting industry. 

Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

</lines>

</section>

<section><title>Das ist eine weitere Section</title>

<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum is <i>simply dummy text</i> of the printing and typesetting industry. </p>

<p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</b>

</section>

 

« vorige Seite Seitenanfang nächste Seite »
Seite
Menü
Earned Certificates:
LPIC-1 LPIC-1 LPIC-1
Powered by CMSimple | Template by CMSimple | Login