]> git.lyx.org Git - features.git/commitdiff
Add more character styles to docbook.
authorJosé Matox <jamatos@lyx.org>
Sat, 30 Oct 2004 19:26:52 +0000 (19:26 +0000)
committerJosé Matox <jamatos@lyx.org>
Sat, 30 Oct 2004 19:26:52 +0000 (19:26 +0000)
Fix partially bug 1726.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9149 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/Makefile.am
lib/layouts/db_stdcharstyles.inc [new file with mode: 0644]
lib/layouts/db_stdclass.inc

index 2e37fa5385b540f0ea7933a3f0e7a45a74f42fac..a933f48ad671d2a29997e4566c882dce0132565e 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * db_stdclasses.inc:
+       * db_stdcharstyles.inc: new file to hold docbook Character Styles.
+
 2004-10-30  José Matos  <jamatos@lyx.org>
 
        * layouts/db_lyxmacros.inc: Remove innertag "CDATA" from Code.
index ca771f270b0d87abe85862ed65c356b6d84feb31..cc2acbeab751715a886f851420eb12634bca553f 100644 (file)
@@ -747,6 +747,7 @@ dist_layouts_DATA =\
        layouts/cv.layout \
        layouts/db_lyxmacros.inc \
        layouts/db_stdclass.inc \
+       layouts/db_stdcharstyles.inc \
        layouts/db_stdcounters.inc \
        layouts/db_stdlayouts.inc \
        layouts/db_stdlists.inc \
diff --git a/lib/layouts/db_stdcharstyles.inc b/lib/layouts/db_stdcharstyles.inc
new file mode 100644 (file)
index 0000000..642c59d
--- /dev/null
@@ -0,0 +1,142 @@
+# Textclass definition file for docbook.
+# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
+# Character Styles definition
+
+CharStyle Filename
+       LatexType             Command
+       LatexName             filename
+       Font
+         Family              Typewriter
+       EndFont
+       LabelFont
+         Family              Roman
+         Color               blue
+       EndFont
+End
+
+CharStyle Directory
+       LatexType             Command
+       LatexName             filename
+       LatexParam            "class=<directory>"
+       Font
+         Family              Typewriter
+       EndFont
+       LabelFont
+         Family              Roman
+         Color               blue
+       EndFont
+End
+
+CharStyle Firstname
+       LatexType             Command
+       LatexName             firstname
+       LabelFont
+         Shape               Up
+         Color               blue
+       EndFont
+End
+
+CharStyle Surname
+       LatexType             Command
+       LatexName             surname
+       LabelFont
+         Shape               Up
+         Color               blue
+       EndFont
+End
+
+CharStyle Literal
+       LatexType             Command
+       LatexName             literal
+       Font
+         Family              Typewriter
+       EndFont
+       LabelFont
+         Family              Roman
+         Color               blue
+       EndFont
+End
+
+CharStyle Email
+        LatexType             Command
+        LatexName             email
+        Font
+          Family              Typewriter
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
+
+CharStyle KeyCombo
+        LatexType             Command
+        LatexName             keycombo
+        Font
+          Family              Typewriter
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
+
+CharStyle KeyCap
+        LatexType             Command
+        LatexName             keycap
+        Font
+          Family              Typewriter
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
+
+CharStyle GuiMenu
+        LatexType             Command
+        LatexName             guimenu
+        Font
+          Family              Sans
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
+
+CharStyle GuiMenuItem
+        LatexType             Command
+        LatexName             guimenuitem
+        Font
+          Family              Sans
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
+
+CharStyle GuiButton
+        LatexType             Command
+        LatexName             guibutton
+        Font
+          Family              Sans
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
+
+CharStyle MenuChoice
+        LatexType             Command
+        LatexName             menuchoice
+        Font
+          Family              Sans
+        EndFont
+        LabelFont
+          Family              Roman
+          Color               blue
+        EndFont
+End
index 2ee4e6ce525a79bde71730346677dc374e9a1c2a..171e1a0ea8a2b004c554daed6e593beef61318a9 100644 (file)
@@ -28,62 +28,7 @@ Style Standard
        LabelType             No_Label
 End
 
-
-CharStyle Filename
-       LatexType             Command
-       LatexName             filename
-       Font
-         Family              Typewriter
-       EndFont
-       LabelFont
-         Family              Roman
-         Color               blue
-       EndFont
-End
-
-CharStyle Firstname
-       LatexType             Command
-       LatexName             firstname
-       LabelFont
-         Shape               Up
-         Color               blue
-       EndFont
-End
-
-CharStyle Surname
-       LatexType             Command
-       LatexName             surname
-       LabelFont
-         Shape               Up
-         Color               blue
-       EndFont
-End
-
-CharStyle Literal
-       LatexType             Command
-       LatexName             literal
-       Font
-         Family              Typewriter
-       EndFont
-       LabelFont
-         Family              Roman
-         Color               blue
-       EndFont
-End
-
-CharStyle Email
-        LatexType             Command
-        LatexName             email
-        Font
-          Family              Typewriter
-        EndFont
-        LabelFont
-          Family              Roman
-          Color               blue
-        EndFont
-End
-
-
+Input db_stdcharstyles.inc
 Input db_stdlists.inc
 Input db_stdsections.inc
 Input db_stdstarsections.inc