If you look at http://lartc.org you will find links to a DocBook generated version of the HOWTO. Please let me know what you think! If you have tips & tricks for using DocBook, please let me know as well. I''m not happy with the need to use <paragraph></paragraph> for each paragraph right now! Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
On Sun, 10 Mar 2002, bert hubert wrote:> If you look at http://lartc.org you will find links to a DocBook generated > version of the HOWTO. Please let me know what you think! If you have tips & > tricks for using DocBook, please let me know as well. I''m not happy with the > need to use <paragraph></paragraph> for each paragraph right now!Disclamer: I know zilch about DocBook format :) Is there a specific reason to still persist with ascii diagrams like on pages 41, 102 etc.? I guess its for the text version of the document? Can we have nicer diagrams in the non-text versions? I volunteer for some xfig diagrams if its possible to include them. Regards, Amit -- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________
On Sun, Mar 10, 2002 at 04:55:22PM -0600, Amit Kucheria wrote:> On Sun, 10 Mar 2002, bert hubert wrote: > > > If you look at http://lartc.org you will find links to a DocBook generated > > version of the HOWTO. Please let me know what you think! If you have tips & > > tricks for using DocBook, please let me know as well. I''m not happy with the > > need to use <paragraph></paragraph> for each paragraph right now! > > Disclamer: I know zilch about DocBook format :) > > Is there a specific reason to still persist with ascii diagrams like on > pages 41, 102 etc.? I guess its for the text version of the document? > > Can we have nicer diagrams in the non-text versions? I volunteer for some > xfig diagrams if its possible to include them.Well, cool, but I''m hesitant. The problem is that these figures would then live outside of the main file, and will most definitely start to diverge. I also investigated pic(1) which has a cool syntax and very cool output. ellipse "kernel"; arrow; box "network"; arrow; circle "internet"; This turns into http://ds9a.nl/tmp/pic.png which is rather nice (it needs some work to make it really pretty). However, it still does not look good in ascii. So basically I''m looking for something that: - can live in the source - generates legible ASCII - generates good looking postscript/png The real solution may be to use pic in the DocBook and also provide an ASCII version in the source. That *would* mean double work, but at least everything would be in the same place. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
Pg 29. table needs reformatting. On Mon, 11 Mar 2002, bert hubert wrote:> Well, cool, but I''m hesitant. The problem is that these figures would then > live outside of the main file, and will most definitely start to diverge.let me know if you need help with xfig images. A quick look at xfig showed that it allowed file export in ''PicTex'' format. I dunno if TeX is directly importable into DocBook SGML......only if we could get somebody to write a Perl script to translate ''PicTex'' macros into Pic :) (hint hint)> So basically I''m looking for something that: > - can live in the source > - generates legible ASCII > - generates good looking postscript/pngciao, Amit -- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________
* bert hubert; <ahu@ds9a.nl> on 10 Mar, 2002 wrote:>If you look at http://lartc.org you will find links to a DocBook generated >version of the HOWTO. Please let me know what you think! If you have tips & >tricks for using DocBook, please let me know as well. I''m not happy with the >need to use <paragraph></paragraph> for each paragraph right now!I can not find the Docbook sourcefiles on the CVS it still fetches the linuxdoc version. It would be easier to comment if we can see the source and the stylesheet used to produce the outputs. Thanks -- Togan Muftuoglu
Hi All, Sent this to the wrong recepients the first time around and just noticed that it hadn''t gone through. Anyways, see below. As for including multiple different pictures that are used depending on the backend, i don''t think it is all that impossible. I use the following code to insert images etcetera: <para> <mediaobject> <imageobject> <imagedata fileref="images/tables_traverse.eps" format=eps> </imageobject> <imageobject> <imagedata fileref="images/tables_traverse.jpg" format=jpg> </imageobject> </mediaobject> </para> DocBook should then try to insert the first imageobject, and if that fails go further down and try the next, and then the next. etcetera. I don''t know how well this works together with txt diagrams, but I can''t see how this would be any problems. I hope this is of any help. Now... if anyone would like to help me with changing fonts used within a document=). I''ve spent some 2 days or so trying to figure it out, and so far I only think it should be done via the DSSSL style sheets however it doesn''t work when I do it;). by the by, www.docbook.org is an excellent reference and I definitely recommend buying the book(also available online at the site) which contains a huge and extremely well written reference section to every tag available in docbook v 3.1. Have a nice day, Oskar Andreasson http://www.boingworld.com http://people.unix-fu.org/andreasson/ mailto: blueflux@koffein.net ----- Original Message ----- From: "Amit Kucheria" <amitk@ittc.ku.edu> To: "bert hubert" <ahu@ds9a.nl> Cc: <lartc@mailman.ds9a.nl> Sent: Monday, March 11, 2002 12:58 AM Subject: Re: [LARTC] DocBook testing> Pg 29. table needs reformatting. > > On Mon, 11 Mar 2002, bert hubert wrote: > > > Well, cool, but I''m hesitant. The problem is that these figures would then > > live outside of the main file, and will most definitely start to diverge. > > let me know if you need help with xfig images. A quick look at xfig showed > that it allowed file export in ''PicTex'' format. I dunno if TeX is directly > importable into DocBook SGML......only if we could get somebody to write a > Perl script to translate ''PicTex'' macros into Pic :) (hint hint) > > > So basically I''m looking for something that: > > - can live in the source > > - generates legible ASCII > > - generates good looking postscript/png > > ciao, > Amit > -- > The statement below is true. > The statement above is false. > ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ > Amit Kucheria > EECS Grad. Research Assistant > University of Kansas @ Lawrence > (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 > ____________________________________________________ > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >
* Oskar Andreasson; <blueflux@koffein.net> on 13 Mar, 2002 wrote:>DocBook should then try to insert the first imageobject, and if that fails go further down and try the next, and then the next. etcetera. I don''t know how well this works together with txt diagrams, but I can''t see how this would be any problems. > >I hope this is of any help. Now... if anyone would like to help me with changing fonts used within a document=). I''ve spent some 2 days or so trying to figure it out, and so far I only think it should be done via the DSSSL style sheets however it doesn''t work when I do it;). by the by, www.docbook.org is an excellent reference and I definitely recommend buying the book(also available online at the site) which contains a huge and extremely well written reference section to every tag available in docbook v 3.1. >If you want send me the customized dssl stylke sheet you have created and I''ll see what I can do. Alternatively sycbscribe to the docbook-apps mailinglist and have the gurus. On the Book subject current print edition is way too old Docbook is 4.1.2 now and 5.0 should be coming soon. I''ll prefer to have the printout of the current beta ( or was it alpha) book printed as a reference until it is ready to go. -- Togan Muftuoglu
Hi Togan et al, As for the customized dsssl style sheets, I can''t since they are located at home. However, I don''t even know if this is where I should do the changes. I assume that I was looking at the correct files since you asked me to send them over to you. Anyways, what I am trying to do is simply to change fonts and font sizes etcetera used within documents created with DocBook. For example, how do one change the default font to (just grabbing something out of the air) Courier New? Is it correct to do the changes directly within the system wide dsssl stylesheets, or is it possible to change it only within a separate document? How? I''m still quite new to the whole concept of docbook, and I definitely know this is the wrong place to ask, but since the thread was already open... Also, as for the recommendation of the book, I would personally still recommend it, because I believe it is one of the most complete books available at all for DocBook. Also, it contains a great reference for reading offline. Anyways, you may be right that it is "old", however it gives a good explanation of the basics in DocBook, and it has helped me out a lot. Secondly, heck, I would be willing to support anyone who has written an documentation this large, and publishes it as "open source". Have a nice day, Oskar Andreasson http://www.boingworld.com http://people.unix-fu.org/andreasson/ mailto: blueflux@koffein.net ----- Original Message ----- From: "Togan Muftuoglu" <toganm@yahoo.com> To: <lartc@mailman.ds9a.nl> Sent: Wednesday, March 13, 2002 4:00 PM Subject: Re: [LARTC] DocBook testing> * Oskar Andreasson; <blueflux@koffein.net> on 13 Mar, 2002 wrote: > >DocBook should then try to insert the first imageobject, and if that fails go further down and try the next, and then the next. etcetera. I don''t know how well this works together with txt diagrams, but I can''t see how this would be any problems. > > > >I hope this is of any help. Now... if anyone would like to help me with changing fonts used within a document=). I''ve spent some 2 days or so trying to figure it out, and so far I only think it should be done via the DSSSL style sheets however it doesn''t work when I do it;). by the by, www.docbook.org is an excellent reference and I definitely recommend buying the book(also available online at the site) which contains a huge and extremely well written reference section to every tag available in docbook v 3.1. > > > > If you want send me the customized dssl stylke sheet you have created > and I''ll see what I can do. Alternatively sycbscribe to the docbook-apps > mailinglist and have the gurus. > > On the Book subject current print edition is way too old Docbook is > 4.1.2 now and 5.0 should be coming soon. I''ll prefer to have the > printout of the current beta ( or was it alpha) book printed as a > reference until it is ready to go. > > > > -- > Togan Muftuoglu > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >
On Wed, Mar 13, 2002 at 03:18:09PM +0100, Oskar Andreasson wrote:> DocBook should then try to insert the first imageobject, and if that fails > go further down and try the next, and then the next. etcetera. I don''t > know how well this works together with txt diagrams, but I can''t see how > this would be any problems.Well, I''m wondering if it would insert ''ascii pictures''.> > I hope this is of any help. Now... if anyone would like to help me with > changing fonts used within a document=). I''ve spent some 2 days or so > trying to figure it out, and so far I only think it should be done via the > DSSSL style sheets however it doesn''t work when I do it;). by the by, > www.docbook.org is an excellent reference and I definitely recommend > buying the book(also available online at the site) which contains a huge > and extremely well written reference section to every tag available in > docbook v 3.1.No clue :-) Sorry. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
* bert hubert; <ahu@ds9a.nl> on 16 Mar, 2002 wrote:> >Well, I''m wondering if it would insert ''ascii pictures''.It should with no problem try <literal> and <literallayout>. On a side note I can not seem to find the Docbook SGML/XML version of the howto -- Togan Muftuoglu