[<<] [<] Page 1 of 2 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 00:57:46 -0000 Message-Id: <1038877164.2956.94.camel@mysticchild.dbsoftware.com> Hi all, I'm currently working on a project that requires a company logo at the top of the HOWTO I've written. I mostly use DocBook XML (but don't mind working in sgml) and process with jade/openjade using the ldp.dsl. For some reason, when I use the docbook.dsl for html output, it doesn't create files, just prints to the screen, which is a problem I think I have to conquer before I will have any success with this task. Besides having a logo in the header (instead of just the title), I want the html to show the graphics for next/previous/home/up. I think the logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given all the problems I have using docbook.dsl, I'm not sure what to do to accomplish this. When I process sgml or xml, I type: openjade -t xml(/sgml) -d /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html /usr/share/sgml/xml.dcl I only use the last path when I'm processing XML. And instead of using ldp.dsl, I want to use the docbook.dsl, but again, it's not creating files, and I'm not sure why! Is there something glaringly obvious that I'm missing? And what all would it take to insert a header graphic into each html page for the logo? Thanks in advance for any clarity you can provide! -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Adding headers to html output
From: "Jim Weller" ####@####.#### Date: 3 Dec 2002 03:49:31 -0000 Message-Id: <000201c29a7e$f7a297a0$1700a8c0@synergy> My ridiculous question. I've found that when I have errors in my install/markup that openjade spits out the xml/sgml to stdout after the errors. Do you have errors before the document on stdout? Just checking, Jim -----Original Message----- From: Tabatha Persad ####@####.#### Sent: Monday, December 02, 2002 3:59 PM To: ####@####.#### Subject: Adding headers to html output Hi all, I'm currently working on a project that requires a company logo at the top of the HOWTO I've written. I mostly use DocBook XML (but don't mind working in sgml) and process with jade/openjade using the ldp.dsl. For some reason, when I use the docbook.dsl for html output, it doesn't create files, just prints to the screen, which is a problem I think I have to conquer before I will have any success with this task. Besides having a logo in the header (instead of just the title), I want the html to show the graphics for next/previous/home/up. I think the logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given all the problems I have using docbook.dsl, I'm not sure what to do to accomplish this. When I process sgml or xml, I type: openjade -t xml(/sgml) -d /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html /usr/share/sgml/xml.dcl I only use the last path when I'm processing XML. And instead of using ldp.dsl, I want to use the docbook.dsl, but again, it's not creating files, and I'm not sure why! Is there something glaringly obvious that I'm missing? And what all would it take to insert a header graphic into each html page for the logo? Thanks in advance for any clarity you can provide! -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) ______________________ http://lists.tldp.org/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Adding headers to html output
From: "Jim Weller" ####@####.#### Date: 3 Dec 2002 04:01:26 -0000 Message-Id: <000a01c29a80$92900a80$1700a8c0@synergy> Full of silly ones tonight. Can you tell I'm procrastinating on studying for a final? Openjade -o <oputput file> Might that help? Jim -----Original Message----- From: Jim Weller ####@####.#### Sent: Monday, December 02, 2002 6:49 PM To: ####@####.#### ####@####.#### Subject: RE: Adding headers to html output My ridiculous question. I've found that when I have errors in my install/markup that openjade spits out the xml/sgml to stdout after the errors. Do you have errors before the document on stdout? Just checking, Jim -----Original Message----- From: Tabatha Persad ####@####.#### Sent: Monday, December 02, 2002 3:59 PM To: ####@####.#### Subject: Adding headers to html output Hi all, I'm currently working on a project that requires a company logo at the top of the HOWTO I've written. I mostly use DocBook XML (but don't mind working in sgml) and process with jade/openjade using the ldp.dsl. For some reason, when I use the docbook.dsl for html output, it doesn't create files, just prints to the screen, which is a problem I think I have to conquer before I will have any success with this task. Besides having a logo in the header (instead of just the title), I want the html to show the graphics for next/previous/home/up. I think the logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given all the problems I have using docbook.dsl, I'm not sure what to do to accomplish this. When I process sgml or xml, I type: openjade -t xml(/sgml) -d /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html /usr/share/sgml/xml.dcl I only use the last path when I'm processing XML. And instead of using ldp.dsl, I want to use the docbook.dsl, but again, it's not creating files, and I'm not sure why! Is there something glaringly obvious that I'm missing? And what all would it take to insert a header graphic into each html page for the logo? Thanks in advance for any clarity you can provide! -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) ______________________ http://lists.tldp.org/ ______________________ http://lists.tldp.org/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 04:33:45 -0000 Message-Id: <1038890123.2956.188.camel@mysticchild.dbsoftware.com> Funny you should say that, Jim. I didn't check the doc for errors before converting it. And I didn't know that was the usual behavior when there were errors (which there are plenty, since it's so far a first draft). Thanks for that tip! Tab On Mon, 2002-12-02 at 19:49, Jim Weller wrote: > My ridiculous question. I've found that when I have errors in my > install/markup that openjade spits out the xml/sgml to stdout after the > errors. Do you have errors before the document on stdout? > > Just checking, > Jim > > > -----Original Message----- > From: Tabatha Persad ####@####.#### > Sent: Monday, December 02, 2002 3:59 PM > To: ####@####.#### > Subject: Adding headers to html output > > > Hi all, > > I'm currently working on a project that requires a company logo at the > top of the HOWTO I've written. > > I mostly use DocBook XML (but don't mind working in sgml) and process > with jade/openjade using the ldp.dsl. For some reason, when I use the > docbook.dsl for html output, it doesn't create files, just prints to the > screen, which is a problem I think I have to conquer before I will have > any success with this task. > > Besides having a logo in the header (instead of just the title), I want > the html to show the graphics for next/previous/home/up. I think the > logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given > all the problems I have using docbook.dsl, I'm not sure what to do to > accomplish this. > > When I process sgml or xml, I type: > openjade -t xml(/sgml) -d > /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html > /usr/share/sgml/xml.dcl > > I only use the last path when I'm processing XML. And instead of using > ldp.dsl, I want to use the docbook.dsl, but again, it's not creating > files, and I'm not sure why! Is there something glaringly obvious that > I'm missing? And what all would it take to insert a header graphic into > each html page for the logo? > > Thanks in advance for any clarity you can provide! > > > > -- > Tabatha Persad > Web: www.merlinmonroe.com > Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu > Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area > Manager US:wa (http://counter.li.org) > > > ______________________ > http://lists.tldp.org/ > > > > ______________________ > http://lists.tldp.org/ > -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 04:37:39 -0000 Message-Id: <1038890358.2956.193.camel@mysticchild.dbsoftware.com> You're funny..! I'll try correcting the errors first, and then if it still won't give me any files using the docbook.dsl, I'll try your idea with the -o option.. Why is it that when I use the ldp.dsl I don't have the same problem - does it not care? Now get back to studying! :P Tab PS - Yes, this info helped a LOT! On Mon, 2002-12-02 at 20:00, Jim Weller wrote: > Full of silly ones tonight. Can you tell I'm procrastinating on studying > for a final? > > Openjade -o <oputput file> > > Might that help? > > Jim > > > -----Original Message----- > From: Jim Weller ####@####.#### > Sent: Monday, December 02, 2002 6:49 PM > To: ####@####.#### ####@####.#### > Subject: RE: Adding headers to html output > > > My ridiculous question. I've found that when I have errors in my > install/markup that openjade spits out the xml/sgml to stdout after the > errors. Do you have errors before the document on stdout? > > Just checking, > Jim > > > -----Original Message----- > From: Tabatha Persad ####@####.#### > Sent: Monday, December 02, 2002 3:59 PM > To: ####@####.#### > Subject: Adding headers to html output > > > Hi all, > > I'm currently working on a project that requires a company logo at the > top of the HOWTO I've written. > > I mostly use DocBook XML (but don't mind working in sgml) and process > with jade/openjade using the ldp.dsl. For some reason, when I use the > docbook.dsl for html output, it doesn't create files, just prints to the > screen, which is a problem I think I have to conquer before I will have > any success with this task. > > Besides having a logo in the header (instead of just the title), I want > the html to show the graphics for next/previous/home/up. I think the > logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given > all the problems I have using docbook.dsl, I'm not sure what to do to > accomplish this. > > When I process sgml or xml, I type: > openjade -t xml(/sgml) -d > /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html > /usr/share/sgml/xml.dcl > > I only use the last path when I'm processing XML. And instead of using > ldp.dsl, I want to use the docbook.dsl, but again, it's not creating > files, and I'm not sure why! Is there something glaringly obvious that > I'm missing? And what all would it take to insert a header graphic into > each html page for the logo? > > Thanks in advance for any clarity you can provide! > > > > -- > Tabatha Persad > Web: www.merlinmonroe.com > Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu > Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area > Manager US:wa (http://counter.li.org) > > > ______________________ > http://lists.tldp.org/ > > > > ______________________ > http://lists.tldp.org/ > > -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 06:41:33 -0000 Message-Id: <1038897792.2956.217.camel@mysticchild.dbsoftware.com> As it turns out, I made the corrections to the document, and everything came out fine. One interesting thing I noticed was that the TOC is all picky in DocBook. It was a real nuisance, but I got through it eventually. Still don't know how to get the logo in the header. I went through CVS at LDP and viewed the Author's Guide docs. In the main xml file I saw an entity included for a header.sgml, but couldn't find that file in the tree. Still curious on that one. Still can't make the navigation graphics work either! Tab On Mon, 2002-12-02 at 20:00, Jim Weller wrote: > Full of silly ones tonight. Can you tell I'm procrastinating on studying > for a final? > > Openjade -o <oputput file> > > Might that help? > > Jim > > > -----Original Message----- > From: Jim Weller ####@####.#### > Sent: Monday, December 02, 2002 6:49 PM > To: ####@####.#### ####@####.#### > Subject: RE: Adding headers to html output > > > My ridiculous question. I've found that when I have errors in my > install/markup that openjade spits out the xml/sgml to stdout after the > errors. Do you have errors before the document on stdout? > > Just checking, > Jim > > > -----Original Message----- > From: Tabatha Persad ####@####.#### > Sent: Monday, December 02, 2002 3:59 PM > To: ####@####.#### > Subject: Adding headers to html output > > > Hi all, > > I'm currently working on a project that requires a company logo at the > top of the HOWTO I've written. > > I mostly use DocBook XML (but don't mind working in sgml) and process > with jade/openjade using the ldp.dsl. For some reason, when I use the > docbook.dsl for html output, it doesn't create files, just prints to the > screen, which is a problem I think I have to conquer before I will have > any success with this task. > > Besides having a logo in the header (instead of just the title), I want > the html to show the graphics for next/previous/home/up. I think the > logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given > all the problems I have using docbook.dsl, I'm not sure what to do to > accomplish this. > > When I process sgml or xml, I type: > openjade -t xml(/sgml) -d > /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html > /usr/share/sgml/xml.dcl > > I only use the last path when I'm processing XML. And instead of using > ldp.dsl, I want to use the docbook.dsl, but again, it's not creating > files, and I'm not sure why! Is there something glaringly obvious that > I'm missing? And what all would it take to insert a header graphic into > each html page for the logo? > > Thanks in advance for any clarity you can provide! > > > > -- > Tabatha Persad > Web: www.merlinmonroe.com > Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu > Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area > Manager US:wa (http://counter.li.org) > > > ______________________ > http://lists.tldp.org/ > > > > ______________________ > http://lists.tldp.org/ > > -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 06:43:26 -0000 Message-Id: <1038897906.2871.219.camel@mysticchild.dbsoftware.com> On Mon, 2002-12-02 at 22:43, Tabatha Persad wrote: > As it turns out, I made the corrections to the document, and everything > came out fine. > > One interesting thing I noticed was that the TOC is all picky in > DocBook. It was a real nuisance, but I got through it eventually. Er, I meant to say with the docbook.dsl instead of the ldp.dsl up there! ;> > > Still don't know how to get the logo in the header. I went through CVS > at LDP and viewed the Author's Guide docs. In the main xml file I saw > an entity included for a header.sgml, but couldn't find that file in the > tree. Still curious on that one. Still can't make the navigation > graphics work either! > > Tab > > > On Mon, 2002-12-02 at 20:00, Jim Weller wrote: > > Full of silly ones tonight. Can you tell I'm procrastinating on studying > > for a final? > > > > Openjade -o <oputput file> > > > > Might that help? > > > > Jim > > > > > > -----Original Message----- > > From: Jim Weller ####@####.#### > > Sent: Monday, December 02, 2002 6:49 PM > > To: ####@####.#### ####@####.#### > > Subject: RE: Adding headers to html output > > > > > > My ridiculous question. I've found that when I have errors in my > > install/markup that openjade spits out the xml/sgml to stdout after the > > errors. Do you have errors before the document on stdout? > > > > Just checking, > > Jim > > > > > > -----Original Message----- > > From: Tabatha Persad ####@####.#### > > Sent: Monday, December 02, 2002 3:59 PM > > To: ####@####.#### > > Subject: Adding headers to html output > > > > > > Hi all, > > > > I'm currently working on a project that requires a company logo at the > > top of the HOWTO I've written. > > > > I mostly use DocBook XML (but don't mind working in sgml) and process > > with jade/openjade using the ldp.dsl. For some reason, when I use the > > docbook.dsl for html output, it doesn't create files, just prints to the > > screen, which is a problem I think I have to conquer before I will have > > any success with this task. > > > > Besides having a logo in the header (instead of just the title), I want > > the html to show the graphics for next/previous/home/up. I think the > > logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given > > all the problems I have using docbook.dsl, I'm not sure what to do to > > accomplish this. > > > > When I process sgml or xml, I type: > > openjade -t xml(/sgml) -d > > /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html > > /usr/share/sgml/xml.dcl > > > > I only use the last path when I'm processing XML. And instead of using > > ldp.dsl, I want to use the docbook.dsl, but again, it's not creating > > files, and I'm not sure why! Is there something glaringly obvious that > > I'm missing? And what all would it take to insert a header graphic into > > each html page for the logo? > > > > Thanks in advance for any clarity you can provide! > > > > > > > > -- > > Tabatha Persad > > Web: www.merlinmonroe.com > > Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu > > Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area > > Manager US:wa (http://counter.li.org) > > > > > > ______________________ > > http://lists.tldp.org/ > > > > > > > > ______________________ > > http://lists.tldp.org/ > > > > > -- > Tabatha Persad > Web: www.merlinmonroe.com > Linux Documentation Project Review Coordinator (http://www.tldp.org) > Gnu Writing Movement Contributor (http://gwm.gnu.org) > Linux Counter Area Manager US:wa (http://counter.li.org) > > > ______________________ > http://lists.tldp.org/ > -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Adding headers to html output
From: Togan Muftuoglu ####@####.#### Date: 3 Dec 2002 06:43:31 -0000 Message-Id: <20021203064342.GA26583@dinamizm.com> * Tabatha Persad; ####@####.#### on 02 Dec, 2002 wrote: >Hi all, > >I'm currently working on a project that requires a company logo at the >top of the HOWTO I've written. > >I mostly use DocBook XML (but don't mind working in sgml) and process >with jade/openjade using the ldp.dsl. For some reason, when I use the >docbook.dsl for html output, it doesn't create files, just prints to the >screen, which is a problem I think I have to conquer before I will have >any success with this task. For dssl look for the main parameters in dbparam.dsl and for xsl param.xsl (define use-output-dir ;; REFENTRY use-output-dir ;; PURP If an output-dir is specified, should it be used? ;; DESC ;; If true, chunks will be written to the 'output-dir' instead of ;; the current directory. ;; (This option can conveniently be set with '-V use-output-dir' on ;; the ;; Jade command line). ;; /DESC ;; AUTHOR N/A ;; /REFENTRY #t) (define %output-dir% ;; REFENTRY output-dir ;; PURP The directory to which HTML files should be written ;; DESC ;; The output directory can be set in two ways. An individual document ;; can specify 'output-dir="directory"' in the dbhtml PI, or the ;;stylesheet ;; can specify the '%output-dir%'. If both are specified, the PI value ;; will be used. ;; ;; Note: the output directory is ignored if 'use-output-dir' is not ;; '#t'. ;; (This allows the author to test stylesheets and documents without ;; accidentally overwriting existing documents.) ;; /DESC ;; AUTHOR N/A ;; /REFENTRY #f) > >Besides having a logo in the header (instead of just the title), I want >the html to show the graphics for next/previous/home/up. I think the >logo is done in dbchunk.dsl, and navigation in dbnavig.dsl, but given >all the problems I have using docbook.dsl, I'm not sure what to do to >accomplish this. >When I process sgml or xml, I type: >openjade -t xml(/sgml) -d >/usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html >/usr/share/sgml/xml.dcl > >I only use the last path when I'm processing XML. And instead of using >ldp.dsl, I want to use the docbook.dsl, but again, it's not creating >files, and I'm not sure why! Is there something glaringly obvious that >I'm missing? And what all would it take to insert a header graphic into >each html page for the logo? > You need to use the <bookinfo> ( substititue for your case ie article info) having the <mediaobject> tag including your logo -- Togan Muftuoglu | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 07:38:01 -0000 Message-Id: <1038901180.22765.231.camel@mysticchild.dbsoftware.com> On Mon, 2002-12-02 at 22:43, Togan Muftuoglu wrote: > You need to use the <bookinfo> ( substititue for your case ie article > info) having the <mediaobject> tag including your logo Thank you! It worked! I converted the doc to XML, does that work in DocBook sgml too? -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Adding headers to html output
From: Tabatha Persad ####@####.#### Date: 3 Dec 2002 07:40:15 -0000 Message-Id: <1038901315.2956.234.camel@mysticchild.dbsoftware.com> Another couple of questions! Now that I have the header graphic displaying on the title page of the html output, how can I get it to appear as a header on all the html pages? Also, any thoughts on how to get the navigation graphics working, would that go into the bookinfo section as well? Thanks again! Tabatha -----Forwarded Message----- > From: Tabatha Persad ####@####.#### > To: Togan Muftuoglu ####@####.#### > Cc: ####@####.#### > Subject: Re: Adding headers to html output > Date: 02 Dec 2002 23:39:40 -0800 > > On Mon, 2002-12-02 at 22:43, Togan Muftuoglu wrote: > > > You need to use the <bookinfo> ( substititue for your case ie article > > info) having the <mediaobject> tag including your logo > > Thank you! It worked! I converted the doc to XML, does that work in > DocBook sgml too? > > > -- > Tabatha Persad > Web: www.merlinmonroe.com > Linux Documentation Project Review Coordinator (http://www.tldp.org) > Gnu Writing Movement Contributor (http://gwm.gnu.org) > Linux Counter Area Manager US:wa (http://counter.li.org) -- Tabatha Persad Web: www.merlinmonroe.com Linux Documentation Project Review Coordinator (http://www.tldp.org) Gnu Writing Movement Contributor (http://gwm.gnu.org) Linux Counter Area Manager US:wa (http://counter.li.org) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 2 [>] [>>] |