From 942ca65a5d5a4b39241c13a63c946c1165347757 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Sat, 30 Oct 2004 19:26:52 +0000 Subject: [PATCH] Add more character styles to docbook. Fix partially bug 1726. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9149 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 5 ++ lib/Makefile.am | 1 + lib/layouts/db_stdcharstyles.inc | 142 +++++++++++++++++++++++++++++++ lib/layouts/db_stdclass.inc | 57 +------------ 4 files changed, 149 insertions(+), 56 deletions(-) create mode 100644 lib/layouts/db_stdcharstyles.inc diff --git a/lib/ChangeLog b/lib/ChangeLog index 2e37fa5385..a933f48ad6 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2004-10-30 José Matos + + * db_stdclasses.inc: + * db_stdcharstyles.inc: new file to hold docbook Character Styles. + 2004-10-30 José Matos * layouts/db_lyxmacros.inc: Remove innertag "CDATA" from Code. diff --git a/lib/Makefile.am b/lib/Makefile.am index ca771f270b..cc2acbeab7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 index 0000000000..642c59dd3c --- /dev/null +++ b/lib/layouts/db_stdcharstyles.inc @@ -0,0 +1,142 @@ +# Textclass definition file for docbook. +# Author : José Abílio Oliveira Matos +# 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=" + 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 diff --git a/lib/layouts/db_stdclass.inc b/lib/layouts/db_stdclass.inc index 2ee4e6ce52..171e1a0ea8 100644 --- a/lib/layouts/db_stdclass.inc +++ b/lib/layouts/db_stdclass.inc @@ -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 -- 2.39.2