Re: [SLUG] DocBook

2003-08-14 Thread Denis Crowdy
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.

Went back to LaTeX in the end; still haven't comletely solved the 
process of co-authoring stuff with people who use word processors.

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


Re: [SLUG] DocBook

2003-08-14 Thread Angus Lees
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


Re: [SLUG] DocBook

2003-08-14 Thread Alan L Tyree
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 with XML examples

2003-06-07 Thread Stuart Guthrie
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 < > 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:


and then include it in  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

2003-06-06 Thread Angus Lees
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:



and then include it in  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

2003-06-05 Thread Stuart Guthrie
Thanks Carl.

Unfortunately that doesn´t do it so I did a global substitute of the XML 
example  changing < to <  and > to > I marked the block as 
 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


Re: [SLUG] Docbook with XML examples

2003-06-05 Thread Carl G Lewis
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

2003-01-04 Thread Angus Lees
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

2003-01-04 Thread Michael Still
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

2003-01-03 Thread Angus Lees
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