Changes between Version 21 and Version 22 of DocsTranslationsProject


Ignore:
Timestamp:
Jun 26, 2007, 2:10:34 PM (15 years ago)
Author:
Matias Capeletto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DocsTranslationsProject

    v21 v22  
    4545    [[Br]] Example:
    4646    {{{
    47 
     47<?xml version="1.0" encoding="UTF-8"?>
     48<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
     49<library id="library_name" name="Boost.LibraryName" dirname="library_name" last-revision="$Date: 2007/06/14 22:18:40 $"
     50 xmlns:xi="http://www.w3.org/2001/XInclude">
     51
     52  <libraryinfo>
     53    <author>
     54      <firstname>name</firstname> <surname>name</surname>
     55    </author>
     56    <copyright>
     57      <year>year</year> <holder>name</holder>
     58    </copyright>
     59    <legalnotice>
     60      <para>
     61        Distributed under the Boost Software License, Version 1.0. (See accompanying
     62        file LICENSE_1_0.txt or copy at <ulink url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</ulink>)
     63      </para>
     64    </legalnotice>
     65    <librarypurpose>
     66      Standard boostbook example
     67    </librarypurpose>
     68    <librarycategory name="category:library_category"></librarycategory>
     69  </libraryinfo>
     70
     71  <title>Boost.LibraryName</title>
     72
     73  <section id="library_name.section_id">
     74
     75    <title>Description</title>
     76
     77    <para>
     78      <inlinemediaobject><imageobject><imagedata fileref="../images/library_logo.png"></imagedata></imageobject>
     79      <textobject>
     80        <phrase>Boost.LibraryName logo</phrase>
     81      </textobject>
     82      </inlinemediaobject>
     83    </para>
     84
     85    <para>
     86      This is an example of a <emphasis role="bold">standard</emphasis> Boostbook document.
     87      An <ulink url="http://www.boost.org">external link</ulink>
     88    </para>
     89
     90    <para>
     91      These should be syntax highlighted:
     92    </para>
     93 
     94    <programlisting>
     95<phrase role="preprocessor">#include</phrase> <phrase role="special">&lt;</phrase><phrase role="identifier">iostream</phrase><phrase role="special">&gt;</phrase>
     96
     97<phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase>
     98<phrase role="special">{</phrase>
     99    <phrase role="comment">// Sample code
     100</phrase>    <phrase role="identifier">std</phrase><phrase role="special">::</phrase><phrase role="identifier">cout</phrase> <phrase role="special">&lt;&lt;</phrase> <phrase role="string">&quot;Hello, World\n&quot;</phrase><phrase role="special">;</phrase>
     101    <phrase role="keyword">return</phrase> <phrase role="number">0</phrase><phrase role="special">;</phrase>
     102<phrase role="special">}</phrase>
     103
     104    </programlisting>
     105
     106    Quickbook to the rescue please!
     107
     108  </section>
     109
     110</library>
    48111
    49112    }}}
     
    340403        <link  tag="First Subsection"         href="library_name/larger_section/first_subsection.html" />
    341404        <link  tag="Second Subsection"        href="library_name/larger_section/second_subsection.html" >
    342             <link  tag="Deeper section"       href="library_name/larger_section/deeper_section.html" />
     405            <link  tag="Deeper section"       href="library_name/.../deeper_section.html" />
    343406        </link>
    344407        <link tag="Last Subsection"           href="library_name/larger_section/last_subsection.html" />