Using Docbook as XML with lyx 1.2.1
Hi, I have to write documentation using docbook for a software project to which other developers will also contribute. My understanding of docbook is not great, but I'd like to use lyx for this if it's recommendable. This will be done using docbook xml files, which are sent through lots of scripts until they reach a web frontend with pdf and html versions. In future this process will be automated, and each project will have it's /docs dir with said XML files. So I need to be able to open these xml files in lyx, and save them as xml. Is this possible? What scripts do I need to do this? So far I have been able to find a URL with some info on this but I'm not sure if this is out of date. Also I can save as docbook sgml, but not as xml, and on this mailing list's archive I've found posts on how lyx can't currently save as docbook xml but someone called bob has a script that can do it... :) http://bgu.chez.tiscali.fr/doc/db4lyx/xml-overview.html#id2705103 Thanks for any help. Please reply direct: I'm not subscribed. Ale -- Alejandro Fernandez Electronic Group Interactive --+34-65-232-8086-+34-93-600-2338--
Using Docbook as XML with lyx 1.2.1
Hi, I have to write documentation using docbook for a software project to which other developers will also contribute. My understanding of docbook is not great, but I'd like to use lyx for this if it's recommendable. This will be done using docbook xml files, which are sent through lots of scripts until they reach a web frontend with pdf and html versions. In future this process will be automated, and each project will have it's /docs dir with said XML files. So I need to be able to open these xml files in lyx, and save them as xml. Is this possible? What scripts do I need to do this? So far I have been able to find a URL with some info on this but I'm not sure if this is out of date. Also I can save as docbook sgml, but not as xml, and on this mailing list's archive I've found posts on how lyx can't currently save as docbook xml but someone called bob has a script that can do it... :) http://bgu.chez.tiscali.fr/doc/db4lyx/xml-overview.html#id2705103 Thanks for any help. Please reply direct: I'm not subscribed. Ale -- Alejandro Fernandez Electronic Group Interactive --+34-65-232-8086-+34-93-600-2338--
Using Docbook as XML with lyx 1.2.1
Hi, I have to write documentation using docbook for a software project to which other developers will also contribute. My understanding of docbook is not great, but I'd like to use lyx for this if it's recommendable. This will be done using docbook xml files, which are sent through lots of scripts until they reach a web frontend with pdf and html versions. In future this process will be automated, and each project will have it's /docs dir with said XML files. So I need to be able to open these xml files in lyx, and save them as xml. Is this possible? What scripts do I need to do this? So far I have been able to find a URL with some info on this but I'm not sure if this is out of date. Also I can save as docbook sgml, but not as xml, and on this mailing list's archive I've found posts on how lyx can't currently save as docbook xml but someone called "bob" has a script that can do it... :) http://bgu.chez.tiscali.fr/doc/db4lyx/xml-overview.html#id2705103 Thanks for any help. Please reply direct: I'm not subscribed. Ale -- Alejandro Fernandez Electronic Group Interactive --+34-65-232-8086-+34-93-600-2338--
Re: acknowledgements environment
Thanks Dekel For the record I got an error with your first suggestion, and tried this instead, which worked, so I'm sticking with it. I don't know why it works, but it does...: Style Acknowledgement MarginStatic LatexType Environment LatexName acknowledgements NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Acknowledgements LabelBottomSep0.5 # standard font definition Font SizeSmall EndFont # label font definition LabelFont Series Bold SizeLarge EndFont Preamble \newcommand\ackname{Acknowledgements} \newenvironment{acknowledgements}{% \titlepage \null\vfil \@beginparpenalty\@lowpenalty \begin{center}% \bfseries \ackname \@endparpenalty\@M \end{center}}% EndPreamble End Dekel Tsur wrote: On Wed, May 30, 2001 at 08:17:20PM +0300, Dekel Tsur wrote: Assuming you want the acknowledgement paragraph to be similar to abstract, you need following lines: I forgot about CopyStyle. What you need is just Style Acknowledgement CopyStyle Abstract LatexName ack LabelString Acknowledgements Preamble \newenvironment{ack}% {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}% {\end{abstract}} EndPreamble End -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
Re: acknowledgements environment
Thanks Dekel For the record I got an error with your first suggestion, and tried this instead, which worked, so I'm sticking with it. I don't know why it works, but it does...: Style Acknowledgement MarginStatic LatexType Environment LatexName acknowledgements NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Acknowledgements LabelBottomSep0.5 # standard font definition Font SizeSmall EndFont # label font definition LabelFont Series Bold SizeLarge EndFont Preamble \newcommand\ackname{Acknowledgements} \newenvironment{acknowledgements}{% \titlepage \null\vfil \@beginparpenalty\@lowpenalty \begin{center}% \bfseries \ackname \@endparpenalty\@M \end{center}}% EndPreamble End Dekel Tsur wrote: On Wed, May 30, 2001 at 08:17:20PM +0300, Dekel Tsur wrote: Assuming you want the acknowledgement paragraph to be similar to abstract, you need following lines: I forgot about CopyStyle. What you need is just Style Acknowledgement CopyStyle Abstract LatexName ack LabelString Acknowledgements Preamble \newenvironment{ack}% {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}% {\end{abstract}} EndPreamble End -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
Re: acknowledgements environment
Thanks Dekel For the record I got an error with your first suggestion, and tried this instead, which worked, so I'm sticking with it. I don't know why it works, but it does...: Style Acknowledgement MarginStatic LatexType Environment LatexName acknowledgements NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Acknowledgements LabelBottomSep0.5 # standard font definition Font SizeSmall EndFont # label font definition LabelFont Series Bold SizeLarge EndFont Preamble \newcommand\ackname{Acknowledgements} \newenvironment{acknowledgements}{% \titlepage \null\vfil \@beginparpenalty\@lowpenalty \begin{center}% \bfseries \ackname \@endparpenalty\@M \end{center}}% EndPreamble End Dekel Tsur wrote: > > On Wed, May 30, 2001 at 08:17:20PM +0300, Dekel Tsur wrote: > > Assuming you want the acknowledgement paragraph to be similar to abstract, > > you need following lines: > > I forgot about CopyStyle. > What you need is just > > Style Acknowledgement > CopyStyle Abstract > LatexName ack > LabelString Acknowledgements > Preamble > \newenvironment{ack}% > {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}% > {\end{abstract}} > EndPreamble > End -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
acknowledgements environment
Hi, I'm using lyx to write a project report, using the report style. I'd like to add an acknowledgements page, after the title page, but I don't have much time to spend on it. I've tried adding this stile: Style Acknowledgement MarginStatic LatexType Environment LatexName ack NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Acknowledgements LabelBottomSep0.5 # standard font definition Font SizeSmall EndFont # label font definition LabelFont Series Bold SizeLarge EndFont End I added it to lyx/layouts/report.layout I have no idea what I'm doing, of course, except that I just copied the abstract style, since that's mostly what I need, but when I try to print, it gives the error: environment ack undefined Where do I define it? Can I just leave the environment as abstract Or am I doing this wrong? Thanks, Ale -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
Re: acknowledgements environment
Hi, Thanks, but I don't understand where to find a package that defines this, or how to define it with \newenvironment. Could you tell me where these packages are usually kept, or what extension or file name they might have? I've tried looking for occurrences of Preamble, \newenvironment and usepackage in the lyx layouts directory, but this has not led me anywhere useful... There is a file named svjour.inc, which contains various acknowledgements style definitions, but no package seems to be defined there either. Ale ben wrote: You must define the ack environment. You should have something like this: Style Acknowledgement CopyStyle abstract LatexType Environment LatexName ack # define the ack environment Preamble % Define completely your environment here \newenvironment{ack}{ ... }{ ... } % Or include the package that defines this environment % \usepackage{..} EndPreamble End BG -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
acknowledgements environment
Hi, I'm using lyx to write a project report, using the report style. I'd like to add an acknowledgements page, after the title page, but I don't have much time to spend on it. I've tried adding this stile: Style Acknowledgement MarginStatic LatexType Environment LatexName ack NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Acknowledgements LabelBottomSep0.5 # standard font definition Font SizeSmall EndFont # label font definition LabelFont Series Bold SizeLarge EndFont End I added it to lyx/layouts/report.layout I have no idea what I'm doing, of course, except that I just copied the abstract style, since that's mostly what I need, but when I try to print, it gives the error: environment ack undefined Where do I define it? Can I just leave the environment as abstract Or am I doing this wrong? Thanks, Ale -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
Re: acknowledgements environment
Hi, Thanks, but I don't understand where to find a package that defines this, or how to define it with \newenvironment. Could you tell me where these packages are usually kept, or what extension or file name they might have? I've tried looking for occurrences of Preamble, \newenvironment and usepackage in the lyx layouts directory, but this has not led me anywhere useful... There is a file named svjour.inc, which contains various acknowledgements style definitions, but no package seems to be defined there either. Ale ben wrote: You must define the ack environment. You should have something like this: Style Acknowledgement CopyStyle abstract LatexType Environment LatexName ack # define the ack environment Preamble % Define completely your environment here \newenvironment{ack}{ ... }{ ... } % Or include the package that defines this environment % \usepackage{..} EndPreamble End BG -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
acknowledgements environment
Hi, I'm using lyx to write a project report, using the report style. I'd like to add an acknowledgements page, after the title page, but I don't have much time to spend on it. I've tried adding this stile: Style Acknowledgement MarginStatic LatexType Environment LatexName ack NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Acknowledgements LabelBottomSep0.5 # standard font definition Font SizeSmall EndFont # label font definition LabelFont Series Bold SizeLarge EndFont End I added it to lyx/layouts/report.layout I have no idea what I'm doing, of course, except that I just copied the "abstract" style, since that's mostly what I need, but when I try to print, it gives the error: "environment ack undefined" Where do I define it? Can I just leave the environment as "abstract" Or am I doing this wrong? Thanks, Ale -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]
Re: acknowledgements environment
Hi, Thanks, but I don't understand where to find a package that defines this, or how to define it with \newenvironment. Could you tell me where these packages are usually kept, or what extension or file name they might have? I've tried looking for occurrences of "Preamble", "\newenvironment" and "usepackage" in the lyx layouts directory, but this has not led me anywhere useful... There is a file named svjour.inc, which contains various "acknowledgements" style definitions, but no package seems to be defined there either. Ale ben wrote: > You must define the ack environment. You should have something like this: > > Style Acknowledgement > CopyStyle abstract > LatexType Environment > LatexName ack > > # define the ack environment > Preamble > % Define completely your environment here > \newenvironment{ack}{ ... }{ ... } > % Or include the package that defines this environment > % \usepackage{..} > EndPreamble > End > > BG -- Alejandro Fernandez Bscp 5 Caledonian University 0790 541 8809 - [EMAIL PROTECTED]