Permalink
Browse files

Small changes

  • Loading branch information...
1 parent ccb690d commit d86c5f740810e5a4c2c5b83685c03ef89c4c9bde @mafritsch mafritsch committed Nov 29, 2011
View
2 .gitignore
@@ -4,3 +4,5 @@
*.*~
# Maven target dirs
target/
+out/
+*.jar
View
2 META-INF/plugin.xml
@@ -2,7 +2,7 @@
<name>IDEA DocBook</name>
<description>Support for the DocBook format.</description>
<version>1.0</version>
- <vendor url="http://documentation.coremedia.com"
+ <vendor url="https://github.com/CoreMedia/docbook-idea-plugin"
email="documentation@coremedia.com">CoreMedia</vendor>
<idea-version since-build="IU-103.255"/>
View
2 README.md
@@ -1,2 +1,4 @@
An IntelliJ IDEA Plugin for DocBook
===================================
+At the moment, the Plugin offers an adapted DocBook Schema that removes some of the rarely used elements.
+It contains templates for Book, Chapter and Section documents and live templates for elements such as table, example etc.
View
2 docbook-idea-plugin.iml
@@ -6,7 +6,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
- <orderEntry type="jdk" jdkName="IDEA IU-103.72" jdkType="IDEA JDK" />
+ <orderEntry type="jdk" jdkName="IDEA IU-107.587" jdkType="IDEA JDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
View
2 docbook-idea-plugin.ipr
@@ -179,7 +179,7 @@
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA IU-103.72" project-jdk-type="IDEA JDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA IU-107.587" project-jdk-type="IDEA JDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="VcsDirectoryMappings">
View
37 src/fileTemplates/DocBook Book.xml.ft
@@ -1,44 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
-<book version="5.0-subset coremedia-1.0"
+<book version="5.0"
xml:lang="en"
xml:id="${PACKAGE_NAME}${NAME}"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://docbook.org/ns/docbook"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
+ xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml5.0/xsd/docbook.xsd"
>
<info>
+ <productnumber>
+ <?eval ${project.version}?>
+ </productnumber>
<title>${NAME}</title>
- <legalnotice>
- <para>
- <emphasis role="strong">Copyright</emphasis>
- CoreMedia AG © 2010
- </para>
- <para>CoreMedia AG</para>
- <para>Ludwig-Erhard-Straße 18</para>
- <para>20459 Hamburg</para>
- <para>
- <emphasis role="strong">International</emphasis>
- </para>
- <para>All rights reserved. No part of this manual or the corresponding program may be reproduced or copied in any
- form (print, photocopy or other process) without the written permission of CoreMedia AG.
- </para>
- <para>
- <emphasis role="strong">Germany</emphasis>
- </para>
- <para>Alle Rechte vorbehalten. CoreMedia und weitere im Text erwähnte CoreMedia Produkte sowie die entsprechenden
- Logos sind Marken oder eingetragene Marken der CoreMedia AG in Deutschland. Alle anderen Namen von Produkten
- sind Marken der jeweiligen Firmen.
- </para>
- <para>Das Handbuch bzw. Teile hiervon sowie die dazugehörigen Programme dürfen in keiner Weise (Druck, Fotokopie
- oder sonstige Verfahren) ohne schriftliche Genehmigung der CoreMedia AG reproduziert oder vervielfältigt werden.
- Unberührt hiervon bleiben die gesetzlich erlaubten Nutzungsarten nach dem UrhG.
- </para>
- <para>
- <emphasis role="strong">Licenses and Trademarks</emphasis>
- </para>
- <para>All trademarks acknowledged.</para>
- </legalnotice>
+ <xi:include href="../../../target/temp/docbkx/content/legalnotice.xml" xpointer="legalnotice"/>
</info>
<xi:include href='glossary.xml'/>
<index/>
View
4 src/fileTemplates/DocBook Chapter.xml.ft
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<chapter version="5.0-subset coremedia-1.0" xml:lang="en"
+<chapter version="5.0"
+ xml:lang="en"
xml:id="${PACKAGE_NAME}${NAME}"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://docbook.org/ns/docbook"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
+ xsi:schemaLocation="http://www.w3.org/1999/xlink http://www.docbook.org/xml/5.0/xsd/xlink.xsd"
>
<title></title>
</chapter>

0 comments on commit d86c5f7

Please sign in to comment.