Giter Club home page Giter Club logo

ext-plugins's Introduction

This set of plugins provides a framework for extensible HTML-based transformations. The transformation types "html+", "xhtml+", "eclipsehelp+" and "htmlhelp+" produce the same output as the basic DITA-OT ones, but there are a number of extension points which enable you to add additional functionality to the transforms.

Extra functionality out of the box includes:

  • Rasterization of SVG images referenced in elements.
  • Presentation MathML in topics can be rendered to SVG (and then optionally rasterized).
  • DITA Programming Domain elements rendered as railroad diagrams in SVG (which can be optionally rasterized).
  • Tree diagram domain, for representing hierarchical diagrams, plus processing to render these as SVG (which can be optionally rasterized).
  • XHTML transformation is properly in XHTML namespace.
  • HTML Help transformation uses the current machine's character encoding, resolving most garbage-character incidents.
  • HTML Help transformation much more configurable, including window size, navigation pane tabs, etc.
  • Rudimentary context-sensitive help support for HTML Help transformation.
  • Breadcrumb ancestor links in topics.

Many of these additions require additional free software. Requirements may include:

  • Apache Ant 1.7 [ant.jar]
  • Apache Batik 1.7, an SVG processor [batik-all.jar]
  • Batik Rasterizer Ant task (contributed code to Batik) [rasterizertask.jar]
  • JEuclid 3.0.x (not 3.1, which has a different API), a MathML renderer [jeuclid-core-3.0.x.jar]
  • Saxon 9 Basic, an XSLT 2.0 processor [saxon9.jar, saxon9-dom.jar]
  • Mozilla Rhino, a JavaScript interpreter [js.jar]
  • Apache Commons External APIs [xml-apis-ext.jar]
  • Apache Commons Logging APIs [commons-logging-api-1.1.jar]

Ensure that these are available in the classpath before invoking the transform. Each plugin contains a document doc/reference.xml which describes its prerequisites.

Support for these plugins is available by posting to the dita-users Yahoo group.

License

The plug-ins are distributed under the same terms as DITA Open Toolkit, at the user's election, under the Common Public License 1.0 (CPL) or Apache License 2.0.

ext-plugins's People

Contributors

jelovirt avatar julio-vazquez avatar raducoravu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ext-plugins's Issues

Java API Reference Specialization missing Annotation Types

Converted from dita-ot/dita-ot#1119

The Java API Reference Specialization plugin from the DITA Open Toolkit does not support the new Java 5 language features of Annotation Types and Enums.

For a quick overview of annotation types, see:
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html

For a quick overview of enums, see:
http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html

For an example of the documentation that Sun's Javadoc doclet creates for a custom annotation type, look here:
http://edocs.bea.com/wls/docs92/javadocs/weblogic/jws/AsyncResponse.html

We also have a custom annotation type that happens to include an enum class. Just to be clear: enums can appear in other types of classes, but for convenience sake, I thought I'd show a single example that contains both of the new Java 5 features. So here's a custom annotation type that also uses an enum class:
http://edocs.bea.com/wls/docs92/javadocs/weblogic/jws/security/UserDataConstraint.html

I've attached the source code for the two examples.

Thanks for looking in to this. Unfortunately, I cannot use the Java API specialization until it supports these new features.

Let me know if I can help.


Background

Template find-matrix-column return value is not correct for td with colspan in h2d.xsl

When I tried to convert html to dita by using h2d.xsl, I found that the namest and nameend are not correct for td with colspan. After tracing the code, I found that the error may be related the template "find-matrix-column". For the variable "next-col-count", it may need some changes.
Original:

<xsl:when test="@colspan"><xsl:value-of select="$col-count + number(@colspan) - 1"/></xsl:when>

Modified:

<xsl:when test="@colspan"><xsl:value-of select="$col-count + number(@colspan)"/></xsl:when>

Please feel free to correct me if i am wrong. Thanks for your great effort.

Ben

Plus plugins integration fails

com.moldflow.dita.plus-transtype-anyhtml requires a plugin "batik-1.7".
The plugins work after modyfing this to "org.apache.xmlgraphics.batik" (and patching dita2html-base_template.xsl).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.