From 84adefa331c4159d432d22840663c38f155cd4c1 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 20 Nov 2009 14:54:40 +0000 Subject: The R13B03 release. --- lib/erl_docgen/priv/xsl/Makefile | 80 ++ lib/erl_docgen/priv/xsl/db_html.xsl | 1486 ++++++++++++++++++++++++++++ lib/erl_docgen/priv/xsl/db_html_params.xsl | 35 + lib/erl_docgen/priv/xsl/db_man.xsl | 308 ++++++ lib/erl_docgen/priv/xsl/db_pdf.xsl | 1129 +++++++++++++++++++++ lib/erl_docgen/priv/xsl/db_pdf_params.xsl | 406 ++++++++ 6 files changed, 3444 insertions(+) create mode 100644 lib/erl_docgen/priv/xsl/Makefile create mode 100644 lib/erl_docgen/priv/xsl/db_html.xsl create mode 100644 lib/erl_docgen/priv/xsl/db_html_params.xsl create mode 100644 lib/erl_docgen/priv/xsl/db_man.xsl create mode 100644 lib/erl_docgen/priv/xsl/db_pdf.xsl create mode 100644 lib/erl_docgen/priv/xsl/db_pdf_params.xsl (limited to 'lib/erl_docgen/priv/xsl') diff --git a/lib/erl_docgen/priv/xsl/Makefile b/lib/erl_docgen/priv/xsl/Makefile new file mode 100644 index 0000000000..92a53b8c0b --- /dev/null +++ b/lib/erl_docgen/priv/xsl/Makefile @@ -0,0 +1,80 @@ +# +# %CopyrightBegin% +# +# Copyright Ericsson AB 2009. All Rights Reserved. +# +# The contents of this file are subject to the Erlang Public License, +# Version 1.1, (the "License"); you may not use this file except in +# compliance with the License. You should have received a copy of the +# Erlang Public License along with this software. If not, it can be +# retrieved online at http://www.erlang.org/. +# +# Software distributed under the License is distributed on an "AS IS" +# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +# the License for the specific language governing rights and limitations +# under the License. +# +# %CopyrightEnd% +# +# +include $(ERL_TOP)/make/target.mk +include $(ERL_TOP)/make/$(TARGET)/otp.mk + +# ---------------------------------------------------- +# Application version +# ---------------------------------------------------- +include ../../vsn.mk +VSN=$(ERL_DOCGEN_VSN) + +# ---------------------------------------------------- +# Release directory specification +# ---------------------------------------------------- +RELSYSDIR = $(RELEASE_PATH)/lib/erl_docgen-$(VSN) + + +# ---------------------------------------------------- +# Target Specs +# ---------------------------------------------------- + + +XSL_FILES = \ + db_pdf.xsl \ + db_pdf_params.xsl \ + db_html.xsl \ + db_html_params.xsl \ + db_man.xsl + + +# ---------------------------------------------------- +# FLAGS +# ---------------------------------------------------- + + +# ---------------------------------------------------- +# Targets +# ---------------------------------------------------- +debug opt: + +docs: + +clean: + $(RM) $(TARGET_FILES) + + +# ---------------------------------------------------- +# Release Target +# ---------------------------------------------------- +include $(ERL_TOP)/make/otp_release_targets.mk + + +release_spec: opt + $(INSTALL_DIR) $(RELSYSDIR)/priv/xsl + $(INSTALL_DATA) $(XSL_FILES) $(RELSYSDIR)/priv/xsl + + +release_docs_spec: + + +release_tests_spec: + + diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl new file mode 100644 index 0000000000..3e6f762870 --- /dev/null +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -0,0 +1,1486 @@ + + + + + + + + + + + + + + + Erlang -- <xsl:value-of select="header/title"/> + + + +
+ + + + + + + +
+
+ + + + + +
+ + + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + refpage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Erlang logo +
+ + + User's Guide
+
+ + Reference Manual
+
+ + Release Notes
+
+ PDF
+ Top +
+
+ + + +
+ + Expand All
+ Contract All +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + .  + + +

+ + + + +
+ + + + + +

+ + +

+ + + +
+ + + + + + +

+ + + +

+
+ + + +
+
+ + + + + +

+ +

+
+ + + +
+
+ + + + + + +
    + + + +
+
+ + + +
  • + + + +
  • +
    + + + + +
    + + + +
    +
    + + + +
    + + + +
    +
    + + + + +
    + + + +
    +
    + + + + +
    +
    Note
    +
    +

    + + + +

    +
    +
    +
    + + + + +
    +
    Warning
    +
    +

    + + + +

    +
    +
    +
    + + + +

    + +

    +
    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + Table + .: +   + + + + + + + + + + + + + IMAGE MISSING
    + + + + + + + +
    + + + + + + + Figure + .: +   + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

    User's Guide

    + +

    Version

    +

    + + + + + + + + + +
    +
    + + + +

    +
    + User's Guide
    + Version +

    + + + +

    + + Chapters + +

    + +
      + + + + +
    +
    +
    +
    + + + + + + + + + + + + + true + false + + +
  • + + +
  • +
    +
    + + + + + + +
  • + + + +
  • +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +   +

    + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

    Reference Manual

    + +

    Version

    +

    + + + + + + + + +
    +
    + + + +

    +
    + Reference Manual
    + Version +

    + + + +

    + + Table of Contents + +

    + +
      + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + false + false + true + false + + + + + + true + false + + + + + + + + +
  • + + +
  • +
    + + + +
  • + + (App) + +
  • +
    + +
  • + + + +
  • +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + +
  • + + () + +
  • +
    + +
  • + + () + +
  • +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  • + + / + +
  • +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    + + + + + + + + + + + + + + + + + +

    +
    + + + + + +
    + + + + + +

    MODULE

    +
    + + + +
    +
    + + + + + +

    MODULE SUMMARY

    +
    + + + +
    +
    + + + + +

    C LIBRARY

    +
    + + + +
    +
    + + + + + +

    LIBRARY SUMMARY

    +
    + + + +
    +
    + + + + +

    COMMAND

    +
    + + + +
    +
    + + + + + +

    COMMAND SUMMARY

    +
    + + + +
    +
    + + + + +

    FILE

    +
    + + + +
    +
    + + + + + +

    FILE SUMMARY

    +
    + + + +
    +
    + + + + + +

    APPLICATION

    +
    + + + +
    +
    + + + + + +

    APPLICATION SUMMARY

    +
    + + + +
    +
    + + + + +

    DESCRIPTION

    +
    +

    + + + +

    +
    +
    + + + + +

    + EXPORTS +

    + + + + + +
    + + + + + +

    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    + + +
    + + + + + + +

    Types:

    + + + + +
    + +
    + + + + + +
    + + + + +
    +
    +
    + + + + +
    + + + +
    +
    + + + +
    +

    + + + +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

    Release Notes

    + +

    Version

    +

    + + + + + + + + + +
    +
    + + + +

    +
    + Release Notes
    + Version +

    + + + +

    + + Chapters + +

    + +
      + + + + +
    +
    +
    +
    + + + + + + + + + Erlang Documentation -- <xsl:value-of select="header/title"/> + + + +
    + + + + + +
    +
    +

    Glossary

    +
    + +
    + + + +
    +
    +
    +
    +
    + + + +
    +
    + + + + +
    +
    + + + + + + + + + + Erlang Documentation -- <xsl:value-of select="header/title"/> + + + +
    + + + + + +
    +
    +

    Bibliography

    +
    + + + + + + + + + + + +
    + + + +
    +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/erl_docgen/priv/xsl/db_html_params.xsl b/lib/erl_docgen/priv/xsl/db_html_params.xsl new file mode 100644 index 0000000000..2373200702 --- /dev/null +++ b/lib/erl_docgen/priv/xsl/db_html_params.xsl @@ -0,0 +1,35 @@ + + + + + + + + + + + Copyright © + + + + diff --git a/lib/erl_docgen/priv/xsl/db_man.xsl b/lib/erl_docgen/priv/xsl/db_man.xsl new file mode 100644 index 0000000000..c759a77496 --- /dev/null +++ b/lib/erl_docgen/priv/xsl/db_man.xsl @@ -0,0 +1,308 @@ + + + + + + + + + + + + + + + + + + + + .RE + .SH "" + + + + + + .RE + .SS "" + + + + + + + + .RS 2 + + .RE + + + + .TP 2 + * + + + + + .br + .br + + + + .RS 2 + + .RE + + + + .TP 4 + .B + + + + + + + + + .br + .br + + + + + + + + + + + .TP 4 .B Note: + + + + + + .TP 4 .B Warning: + + + + + + + + + .LP + + + + + + .LP + + + + + + + + + \fB + + \fR\& + + + + .br + + + + \fI\fR\& + + + + \fI\fR\& + + + + \fB\fR\& + + + + + .nf + + .fi + + + + + .nf + + .fi + + + + + + + + + + + + + + + + + + + + + + + + + .TH 3 " " "Ericsson AB" "Erlang Module Definition" + .SH MODULE + \- + + + + + + .TH 1 " " "Ericsson AB" "User Commands" + .SH NAME + \- + + + + + + .TH 3 " " "Ericsson AB" "C Library Functions" + .SH NAME + \- + + + + + + .TH 4 " " "Ericsson AB" "Files" + .SH NAME + \- + + + + + + .TH 6 " " "Ericsson AB" "Erlang Application Definition" + .SH NAME + \- + + + + + + + + + + + + + + .SH DESCRIPTION + + + + + + .SH EXPORTS + + + + + + .LP + + + + + .B + + .br + + + + + + .RS + .TP + Types + + .RE + + + + + + + .br + + + + + + .br + + + + + .RS + + .RE + + + + + + + + + + + + + + + diff --git a/lib/erl_docgen/priv/xsl/db_pdf.xsl b/lib/erl_docgen/priv/xsl/db_pdf.xsl new file mode 100644 index 0000000000..bef86277ea --- /dev/null +++ b/lib/erl_docgen/priv/xsl/db_pdf.xsl @@ -0,0 +1,1129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | + : + + + + + + + : + + | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The contents of this file are subject to the Erlang Public License, + Version 1.1, (the "License"); you may not use this file except in + compliance with the License. You should have received a copy of the + Erlang Public License along with this software. If not, it can be + retrieved online at http://www.erlang.org/. + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + the License for the specific language governing rights and limitations + under the License. + + The Initial Developer of the Original Code is + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + User's Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reference Manual + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + () + + + () + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + +     + User's Guide + + + + + + + + + + + + + + + + + + + .   + + .   + + + + + + + + + + + + + + + + ..  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note: + + + + + + + + + + + + + Warning: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code listing .:  + + + + + + + + + + + + + + + + + + + Code listing .:  + + + + + + + + + + + + + + + + + + + + +     + Reference Manual + + + + + + + + + + + + + + + + + + + + + + + + + + + Erlang module + + + + + + + + + + + + + + + + + + + + + Command + + + + + + + + + + + + + + + + + + + + + C Library + + + + + + + + + + + + + + + + + + + + + Name + + + + + + + + + + + + + + + + + + + + + Application + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exports + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Types: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Table + .: +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Figure + .: +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/erl_docgen/priv/xsl/db_pdf_params.xsl b/lib/erl_docgen/priv/xsl/db_pdf_params.xsl new file mode 100644 index 0000000000..e2e264b90a --- /dev/null +++ b/lib/erl_docgen/priv/xsl/db_pdf_params.xsl @@ -0,0 +1,406 @@ + + + + + + + + + + + Copyright © - + + + + + + + + 10pt + + + 297mm + 210mm + + + + + + + + sans-serif + 0.8em + bold + always + 2.5em + 0em + + + + monospace + 0.8em + auto + preserve + 0em + + -1em + false + preserve + no-wrap + + + + 0.9em + end + + + + 130mm + retain + end + + + + solid + 10pt + #960003 + 2.3em + 0.5em + end + + + + 0.9em + end + + + + solid + 1pt + #960003 + bold + 0.5em + 200mm + retain + + + + 0.9em + bold + + + + 0.9em + bold + 2em + + + + 2em + + + + always + + + + 0.5em + 0.5em + + + + 1.8em + 1em + 0.25em + 0.25em + + + + 0.25em + + + + 0.25em + 0.25em + + + + always + + + + 2em + + + + + solid + 1pt + #960003 + page + sans-serif + 1.83em + normal + 1em + 2em + retain + + + + sans-serif + 1.5em + normal + always + 0.3em + 1em + + + + sans-serif + 1.33em + normal + always + 0.3em + 0.8em + + + + sans-serif + 1.17em + normal + always + 0.3em + 0.6em + + + + sans-serif + 1em + bold + always + 0.2em + 0.4em + + + + sans-serif + 0.83em + bold + always + 0em + 0.4em + + + + 1em + + 0.5em + 0.5em + justify + + + + solid + 2pt + #960003 + sans-serif + 0.9em + bold + + + + sans-serif + 0.9em + bold + + + + #e0e0ff + monospace + 0.8em + auto + preserve + 0em + 1em + 1em + 2em + false + preserve + no-wrap + + + + + + 1em + + + + #d0fed0 + 1em + 2em + justify + 1em + 0.3em + 1em + 1em + always + + + + #ffd6d6 + 1em + 2em + justify + 1em + 0.3em + 1em + 1em + always + + + + + 1.33em + + + + always + 2em + 1em + + + + solid + 1pt + sans-serif + 1.5em + normal + always + 0.3em + 1em + + + + bold + monospace + + always + 0.3em + 1.5em + + + + 1.8em + 1em + 0.25em + 0.25em + + + + 0.25em + + + + + + separate + 1em + 1em + fixed + + 100% + + + + solid + 0.5pt + before + 0.5em + 0.5em + 0.3em + 0.3em + start + + + + solid + 1pt + before + bold + 0.5em + 0.5em + 0.3em + 0.3em + center + + + + + + + before + + + center + + + after + + + + + + + + start + + + center + + + end + + + + + + 0.5em + 0.5em + + + + sans-serif + 0.8em + bold + always + 2.5em + 0em + + + -- cgit v1.2.3