Re: [SLUG] DocBook
On Tue, 2003-08-12 at 12:24, Denis Crowdy wrote: Alan L Tyree wrote: Is anyone using DocBook? I'm looking at converting from LaTeX, but emacs + psgml does not seem to give the author support that I get with emacs + auctex + reftex. Am I missing something? In particular, it would be nice to have the support of reftex in pulling in bibtex references. I tried using refdb for citing and bibliographies using DocBook - http://refdb.sourceforge.net/ From recollection it converts bibtex files fairly neatly. I found it all a bit messy in terms of the markup needed for citing works in the way I needed (a modified Harvard system). It was certainly nice in terms of flexible conversion options though - rtf (I know - but other people I work with just know about it), pdf, html and so on. It also meant more mucking around with mysql than I had time for too. Well, rtf is part of my problem as well. One of the publishers I work with only takes rtf/doc files. I have fount that latex2rtf isn't doing as nice a job as I would like. The DocBook conversions are much better. One of the other publishers is using DocBook as their primary system, so I thought I would have a look at changing from LaTeX. But, as I said, I need (or at least want) the good author support (outlining, citation, cross-referencing) that I get with emacs/auctex/reftex. Went back to LaTeX in the end; still haven't comletely solved the process of co-authoring stuff with people who use word processors. There is no solution. And it is certainly impossible to get them to change! Thanks for you comments, Alan Denis Crowdy -- Department of Contemporary Music Studies Macquarie University NSW 2109 Australia, ph: +61 (0)2 9850 6787, fax: 9850 6593 http://www.ccms.mq.edu.au -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: +61 2 4782 2670 Mobile: +61 405 084 990 Fax: +61 2 4782 7092 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] DocBook
At 12 Aug 2003 13:49:53 +1000, Alan L Tyree wrote: One of the other publishers is using DocBook as their primary system, so I thought I would have a look at changing from LaTeX. But, as I said, I need (or at least want) the good author support (outlining, citation, cross-referencing) that I get with emacs/auctex/reftex. psgml-mode will fold/unfold elements, thats about as close as I think you'll get to outlining. You could probably add speedbar support or something pretty easily though (I don't think it supports speedbar out of the box, but I haven't tried). It also has lots of ways of moving around the SGML source, so you might find that good enough for skipping around the document. Cross-referencing should work ok (even referencing particular pieces of other docbook files). Like everything else in docbook, the process is very markup-heavy compared to LaTeX. I haven't looked, but I'm guessing citation/bibtex-stuff is one of those its so easy with XML/SGML that no-one bothers publishing their solution things. Indeed, given a good bibtex-esque database, it should be quite simple to find all your citations and build another XML/SGML file containing the relevant bibliography. With docbook, be prepared to get familiar with DSSSL or XSLT+some other language. Unlike TeX, your source is data (not code) so will almost certainly need a more complicated build process surrounding it. (I alternated between preferring LaTeX or DocBook for years. I think they each have clear strengths/weaknesses and should be considered carefully on a case-by-case basis. I'm completely sold on ConTeXt at the moment though ;) -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] DocBook
Is anyone using DocBook? I'm looking at converting from LaTeX, but emacs + psgml does not seem to give the author support that I get with emacs + auctex + reftex. Am I missing something? In particular, it would be nice to have the support of reftex in pulling in bibtex references. Any help appreciated. Cheers, Alan -- -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: +61 2 4782 2670 Mobile: +61 405 084 990 Fax: +61 2 4782 7092 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Docbook with XML examples
Thanks Gus - excellent suggestion which worked on a simple example but failed on my example as it also contained CDATA. ie CDATA within CDATA blows up the parser! I´ll stick to lt; gt; for the mo. Stu Angus Lees wrote: At Thu, 05 Jun 2003 10:04:54 +1000, Stuart Guthrie wrote: Does anyone know how to embed an example of XML in a DocBook formatted XML document. CDATA? yes. you should be able to do: ![CDATA[ foobarThis is my example/bar/foo ]] and then include it in informalexample or whatever docbook markup you wanted. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Docbook with XML examples
At Thu, 05 Jun 2003 10:04:54 +1000, Stuart Guthrie wrote: Does anyone know how to embed an example of XML in a DocBook formatted XML document. CDATA? yes. you should be able to do: ![CDATA[ foobarThis is my example/bar/foo ]] and then include it in informalexample or whatever docbook markup you wanted. -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Docbook with XML examples
Thanks Carl. Unfortunately that doesn´t do it so I did a global substitute of the XML example changing to lt; and to gt; I marked the block as programlisting role=¨xml¨ which worked a treat in the html render. Stu Carl G Lewis wrote: On Thursday 05 June 2003 10:04, Stuart Guthrie wrote: Does anyone know how to embed an example of XML in a DocBook formatted XML document. CDATA? This may be what you are looking for: http://www.docbook.org/tdg/en/html/markup.html -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Docbook with XML examples
Does anyone know how to embed an example of XML in a DocBook formatted XML document. CDATA? Stu -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Docbook with XML examples
On Thursday 05 June 2003 10:04, Stuart Guthrie wrote: Does anyone know how to embed an example of XML in a DocBook formatted XML document. CDATA? This may be what you are looking for: http://www.docbook.org/tdg/en/html/markup.html -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] DocBook formatting to PS from Jade breaks TeX
On Fri, 3 Jan 2003, Angus Lees wrote: Angus, thanks for your reply. At Fri, 3 Jan 2003 15:29:56 +1100, Michael Still wrote: ! TeX capacity exceeded, sorry [grouping levels = 255] based purely on the comment, i'd guess you want nest_size: nest_size = 100 % simultaneous semantic levels (e.g., groups) i note that my debian install has raised this to 500 for (pdf)jadetex. (by setting nest_size.jadetex and nest_size.pdfjadetex) Hmmm. This was already set to 500 for pdfjadetex and jadetex. I have upped it to 5000 to see what will happen. Interestingly I still get exactly the same error. Any more hints? Thanks, Mikal -- Michael Still ([EMAIL PROTECTED]) | Stage 1: Steal underpants http://www.stillhq.com| Stage 2: UTC + 11 | Stage 3: Profit -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] DocBook formatting to PS from Jade breaks TeX
At Sun, 5 Jan 2003 11:47:49 +1100, Michael Still wrote: On Fri, 3 Jan 2003, Angus Lees wrote: At Fri, 3 Jan 2003 15:29:56 +1100, Michael Still wrote: ! TeX capacity exceeded, sorry [grouping levels = 255] based purely on the comment, i'd guess you want nest_size: nest_size = 100 % simultaneous semantic levels (e.g., groups) i note that my debian install has raised this to 500 for (pdf)jadetex. (by setting nest_size.jadetex and nest_size.pdfjadetex) Hmmm. This was already set to 500 for pdfjadetex and jadetex. I have upped it to 5000 to see what will happen. Interestingly I still get exactly the same error. hmm.. you can't raise them above the compiled-in limit. perhaps you are hitting that limit? (might require something horrid like grepping source for grouping levels) -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] DocBook formatting to PS from Jade breaks TeX
At Fri, 3 Jan 2003 15:29:56 +1100, Michael Still wrote: I've been using DocBook for a while, and this is the first time I have got anything like this. When building a quite large document, I get the following error: ! TeX capacity exceeded, sorry [grouping levels = 255] I did a surf, and some people suggested tweaking texmf.cnf and running fmt util --all, which I have done. However, I couldn't see grouping levels listed in that file, and have achieved no joy. The DocBook formats to HTML ok, so I am pretty confident it is a tool problem. based purely on the comment, i'd guess you want nest_size: nest_size = 100 % simultaneous semantic levels (e.g., groups) i note that my debian install has raised this to 500 for (pdf)jadetex. (by setting nest_size.jadetex and nest_size.pdfjadetex) if you are using default texmf values for jadetex, you will likely run into many limits, since jadetex is very stack hungry. just for reference, here is what debian has put in my texmf.cnf: % Settings for Debian jadetex hash_extra.jadetex = 32500 hash_extra.pdfjadetex = 32500 pool_size.jadetex = 50 pool_size.pdfjadetex = 50 string_vacancies.jadetex = 45000 string_vacancies.pdfjadetex = 45000 max_strings.jadetex = 58500 max_strings.pdfjadetex = 58500 pool_free.jadetex = 47500 pool_free.pdfjadetex = 47500 nest_size.jadetex = 500 nest_size.pdfjadetex = 500 param_size.jadetex = 1500 param_size.pdfjadetex = 1500 save_size.jadetex = 5000 save_size.pdfjadetex = 5000 stack_size.jadetex = 1500 stack_size.pdfjadetex = 1500 extra_mem_bot.jadetex = 85000 extra_mem_bot.pdfjadetex = 85000 -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Docbook(?) issues
OK, now be gentle with me as I'm a total documentation newbie :-) I've messed around with docbook, on a very simple level, recently (on a debian sid box) and found it to be what I'm looking for to knock up documentation. I don't claim to know a lot about it (yet), but I'm learning :-) I've not done anything with it for a while but when I came back to work on some documentation, I found I was 'suddenly' getting errors. I'm guessing that some packages etc have been upgraded and borked my config, but I can't find any pointers on google etc. Here's the output from a docbook2pdf on a file that used to parse fine. The errors seem to come from jade. I've tried using jade, openjade and openjade1.3 with no change (it was worth a try). --- Using catalogs: /etc/sgml/catalog Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print Working on: /home/tgreen/work/eserv/handover/./handover.sgml jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:53:65:W: cannot generate system identifier for public text ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:54:8:E: reference to entity ISOamsa for which no system identifier could be generated jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:52:0: entity was defined here jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:60:66:W: cannot generate system identifier for public text ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:61:8:E: reference to entity ISOamsb for which no system identifier could be generated jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:59:0: entity was defined here jade:/usr/share/sgml/docbook/dtd/3.1/dbcent.mod:67:60:W: cannot generate system identifier for public text ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN --- Its quite likely that I've broken something, but I don't have a clue as to what (though I'm guessing its a catalog). Pointers to TFM are welcome. Cheers Greeno -- Tony Green [EMAIL PROTECTED] Tel : +61-(0)2-9500-9996 signature.asc Description: This is a digitally signed message part
[SLUG] DocBook
Sluggers, I've just gotten DocBook working, as i'm writting stuff in it, so i thought it be nice to view the finished product on my home machine :) But, my question is, how can i use jade to output in PS, TeX, etc... without using the db2x filters cygnus/redhat has? If thats not possible, just tell me Steve If It's Graphical, On A Web Site, Smells Like A Bucket Of Catterpillar Arses And Looks Like A Road Accident, I'm Not Going Near It... -Adapted from a friend's quote on IRC. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug