summaryrefslogtreecommitdiffstats
path: root/bin/xmlformat-fdp.conf
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2005-06-27 19:49:20 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2005-06-27 19:49:20 +0000
commit91bdd805a5d90b0385e1fdc1d5baeba3afae3362 (patch)
tree403ab8fe369860b8369656d14b176e2f1fca9ec6 /bin/xmlformat-fdp.conf
parent3c33127fa82c086ff1fc597abad32f2a9c33be82 (diff)
downloadfedora-doc-utils-91bdd805a5d90b0385e1fdc1d5baeba3afae3362.zip
fedora-doc-utils-91bdd805a5d90b0385e1fdc1d5baeba3afae3362.tar.gz
fedora-doc-utils-91bdd805a5d90b0385e1fdc1d5baeba3afae3362.tar.xz
Make the XML format normalization tools available to the client side.
Diffstat (limited to 'bin/xmlformat-fdp.conf')
-rw-r--r--bin/xmlformat-fdp.conf101
1 files changed, 101 insertions, 0 deletions
diff --git a/bin/xmlformat-fdp.conf b/bin/xmlformat-fdp.conf
new file mode 100644
index 0000000..b724168
--- /dev/null
+++ b/bin/xmlformat-fdp.conf
@@ -0,0 +1,101 @@
+# Comments are treated as CDATA and not touched. It's best to set
+# them out from other text if possible. A doublespace is nice but
+# code is still code, so it's not really that important. (Down, inner
+# stickler...)
+#
+# ChangeLog:
+# * Jun 26 2005 Paul W. Frields &lt;stickster@gmail.com&gt;
+# - Initial version.
+#
+
+*DEFAULT
+ format = block
+ entry-break = 1
+ element-break = 1
+ exit-break = 1
+ subindent = 2
+ normalize = no
+ wrap-length = 72
+
+*DOCUMENT
+ format = block
+ wrap-length = 72
+ element-break = 2
+
+year holder
+ entry-break = 0
+ exit-break = 0
+ normalize = yes
+
+firstname surname othername
+ entry-break = 0
+ exit-break = 0
+
+revnumber date authorinitials
+ entry-break = 0
+ exit-break = 0
+
+revremark
+ normalize = yes
+
+
+article book
+ element-break = 2
+
+section
+ entry-break = 1
+ normalize = yes
+
+# "Normalize" means make smart whitespace decisions
+para example important note warning caution itemizedlist variablelist varlistentry
+ normalize = yes
+
+title titleabbrev
+ entry-break = 0
+ exit-break = 0
+ normalize = yes
+
+emphasis literal
+ format = inline
+
+trademark
+ format = inline
+
+# Do not fubar <screen> or <programlisting>
+screen programlisting
+ format = verbatim
+
+command application filename option userinput computeroutput replaceable
+ format = inline
+
+# The <primary> and <secondary> subelements of <indexterm> are still block
+firstterm
+ format = inline
+ normalize = yes
+
+indexterm
+ format = block
+# normalize = yes
+
+primary secondary
+ format = block
+ entry-break = 1
+ exit-break = 1
+
+varlistentry
+ element-break = 1
+
+term
+ entry-break = 0
+ exit-break = 0
+
+menuchoice guilabel guimenu guisubmenu guimenuitem
+ format = inline
+
+wordasword systemitem citetitle footnote
+ format = inline
+
+# Make <ulink> and <xref> less goofy in their use of whitespace
+ulink xref
+ format = inline
+