Ditalog
msgbartop
DITA für Redakteure – von Single Source Publishing bis Self-Publishing
msgbarbottom

12 Mai 10 tocjs – Installation und Test

{lang: 'de'}

Anleitung: Original-Anleitung von Shawn McKenzie zur Installation und Integration des Plugins.

Ein Einsatzbeispiel des Plugins wäre der XHTML-Output des Ditalogs, erreichbar unter www.tocjs.ditalog.com

Once you have obtained the latest tocjs plugin, you need to install and integrate it into the DITA Open Toolkit
  1. Obtain the latest version of the tocjs plugin. Ab DITA OT 1.5 ist dieses Plug bereits in der Auslieferung enthalten.
  2. Unzip the plugin in your demo directory. This should give you a tocjs directory.
  3. From your base DITA directory, type:ant -f integrator.xml.
    You should see output similar to the following message:

    Buildfile: integrator.xml
    
    BUILD SUCCESSFUL
    Total time: 1 seconds

    The tocjs transtype should be registered with the Open Toolkit.

  4. Type: ant -f demo/tocjs/buildsample.xml sample2tocjs.

    The end of the message output should say:

    dita2tocjs:
    
    BUILD SUCCESSFUL
    Total time: 6 seconds
  5. Open demo/tocjs/out/sample/frameset.html in a browser.This documentation should be displayed in a frameset that includes a JavaScript TOC in the left pane.
Teilen Sie die URL Ihren Xing-Kontakten mit.

12 Mai 10 Umlaute im Inhaltsverzeichnis der chm-Datei

{lang: 'de'}

Anleitung: So stellen Sie deutsche Umlaute im Inhaltsverzeichnis der CHM-Datei richtig dar.

  1. Editieren Sie die Datei C:\DITA-OT1.5\xsl\map2hhc.xsl folgendermaßen:

    Abbildung 1. encoding-Attribut hinzufügen

    Umlaute im Inhaltsverzeichnis der CHM-Datei
  2. Fügen Sie wie im Bild angeben beim xsl:output das Attribut encoding="ISO-8859-1" hinzu.
Teilen Sie die URL Ihren Xing-Kontakten mit.