Re: DOCBOOK-APPS: Re: perl/docbook2-converter

2002-04-30 Thread Dave Brooks, BCS Systems

My guess is no, but you should really ask the question across on the AxKit 
mailing list (http://www.axkit.org/mailinglist.xml)

At 22:19 30/04/2002 -0400, Gary Lawrence Murphy wrote:
> > "D" == Dave Brooks  writes:
>
> D> ... Or go all the way and use Ax-Kit (http://www.axkit.org/) to
> D> directly serve XML via Apache.
>
>Is it possible to run AxKit without mod_perl?  Our server host only
>offers FastCGI which is effectively the same thing, but for many
>apps, that doesn't mean much.
>
>--




Re: DOCBOOK-APPS: Re: perl/docbook2-converter

2002-04-30 Thread Gary Lawrence Murphy

> "D" == Dave Brooks  writes:

D> ... Or go all the way and use Ax-Kit (http://www.axkit.org/) to
D> directly serve XML via Apache.

Is it possible to run AxKit without mod_perl?  Our server host only
offers FastCGI which is effectively the same thing, but for many
apps, that doesn't mean much.

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)




Re: DOCBOOK-APPS: Re: perl/docbook2-converter

2002-04-30 Thread Dave Brooks, BCS Systems

Use an XSLT library and call it from perl to transform XML Docbook sources 
using the XSL style sheets. Or go all the way and use Ax-Kit 
(http://www.axkit.org/) to directly serve XML via Apache.


Dave

At 00:46 1/05/2002 +, Matt G. wrote:
>>From: Thomas Porschberg <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: DOCBOOK-APPS: perl/docbook2-converter
>>Date: Tue, 30 Apr 2002 10:24:11 +0200
>>
>>At the moment I convert my docbook-apps with
>>jade or xsltproc. Is there a way with perl too?
>
>You might consider that there are good reasons why DSSSL and XSL were 
>created for the task of transforming and formatting SGML and XML documents.
>That said, I'm not aware of a full implementation of DSSSL (i.e. one that 
>includes the transformations portion), since XSLT basically supercedes it.
>XSLT packs a surprising amount of text processing power, given the small 
>number of constructs it provides, but that's really not what it was 
>designed for.  So, there might be some good reasons to preprocess or query 
>XML DocBook documents with other tools or languages, such as Perl, but you 
>consider whether it's really the best tool for the job.




DOCBOOK-APPS: Re: perl/docbook2-converter

2002-04-30 Thread Matt G.

>From: Thomas Porschberg <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: DOCBOOK-APPS: perl/docbook2-converter
>Date: Tue, 30 Apr 2002 10:24:11 +0200
>
>At the moment I convert my docbook-apps with
>jade or xsltproc. Is there a way with perl too?

You might consider that there are good reasons why DSSSL and XSL were 
created for the task of transforming and formatting SGML and XML documents.  
That said, I'm not aware of a full implementation of DSSSL (i.e. one that 
includes the transformations portion), since XSLT basically supercedes it.  
XSLT packs a surprising amount of text processing power, given the small 
number of constructs it provides, but that's really not what it was designed 
for.  So, there might be some good reasons to preprocess or query XML 
DocBook documents with other tools or languages, such as Perl, but you 
consider whether it's really the best tool for the job.


Matt


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




DOCBOOK-APPS: LyX 1.2 for DocBook

2002-04-30 Thread Gary Lawrence Murphy


LyX 1.2 for DocBook

Abstract

A  quick  5-minute  review  of using LyX 1.2 for DocBook authoring. Keep in
mind  this  is  not  meant  to  be  an  exhaustive review or be any sort of
evaluation  of  LyX  on  its own merits, this is only a quick review of LyX
with  regard  to editing DocBook articles in relation to the other free XML
editing tools such as XXE and Emacs psgml-mode.


[ I don't remember if this list allows attachments; if so, the generated
  DocBook will be attached, and if not, oh well ... ]

Table of Contents

First Impressions
First Commands
Basic Markup
Special effects
   
   
First DocBook
Working with Structured Docs
Printing DocBook
   
   
Conclusions

First Impressions

The first item that appears when trying to use the new experimental branch
of  the  LyX  word  processor  for  DocBook  is  the appearance of the same
familiar  LyX  interface;  it's  not  totally  obvious that this thing does
DocBook  at  all.  The import choices list the long defunct LinuxDoc, along
with  MsWord,  but  no  DocBook.  On closer examination, though, there is a
DocBook Article template option.

Selecting  that  option,  it's  still  not totally obvious. The filename is
still  a  .lyx  file.  Highlighting text with the intention to mark it as a
literal or some other DocBook tag is also not apparently obvious, and there
are no interface objects which are obvious as DocBook markup.

First Commands


The first thing that does work as expected is to select a new section. This
produces a proper section heading, numbered as one would expect.

Selecting a subsection, though, immediate makes the current paragraph into
a subsection heading rather than opening a new heading; LyX apparently does
not use a ??mark and select?? editing model, but instead uses the more
confusing ??set mode and proceed?? model.

The issue remains, than, of how to introduce docbook markup.

Basic Markup


Adding  basic  markup like subsections follows as the usual LyX sequence of
opening  a  new  line,  selecting  the mode, and continuing to type, with a
carriage  return  to  end  that mode and return to standard text. The other
buttons, on the other hand, follow a select/op mode where text can be
selected,  and  then the font changed via ! or the little man. The semantic
meanings of these markup elements is not explained.

Entering tags


This  part  is  pretty  elusive; I'm not going to go to the manual for this
because an interface should be self-revealing, but it expect this may be a
place  where  you  need  to  actually educate yourself as to the designer's
intentions.  Ditto  for  the  buttons  which,  being  xform  based, have no
tooltips  ---  it's  anyone's  guess  what  a  ! or a little man might mean
(unless you're an old-hand at LyX). The basic philosophy, then, is ??to do
this, you got to know how?? but I always wonder if it is then true that
since you had to learn something to use it anyway, why not simply learn the
markup?

There's another button marked ??font?? with an arrow below it, but clicking
this only fills the status line with ??(Changed) (font-free)?? ... whatever
that means.
   
 ¡ü you do get itemized lists
   
 ¡ü which repeat for each item
   
 ¡ü until you back-space over the bullet
   


and  then  you  can't type the next paragraph until you enter a bullet item
and use the style-set to change it to standard. Most of the actions of the
interface will happen from the style-select box. and this has no concept of
what  is  valid  and  what  is not; you can insert any tag inside any other
regardless  of  the  legality  of  it within the current DTD. Many of these
options also have no real meaning for DocBook (such as ??paragraph?? which
changes  the  font  rather  than introducing a paragraph break or something
tangible like that).

I  do  see  GUI buttons in the stylesheet, but I've been unable to discover
how  to  add my own; IIRC, LyX lets you insert LaTeX commands inline in the
text,  and  I  expect the DocBook way is to use this facility to insert the
special elements.

Special effects


There  are  some special effects in the style menu which may be useful, but
it's  not  obvious  what  these do or how to use them; you just have to try
them and see,

Description
this  appears  to be a description line which probably does the same as
an itemized or enumerated list in creating a style that is
   
repeated
for  subsequent  lines  and  continued  until  you enter a new line and
switch it back to the standard markup.
   


If there are hotkeys for these mode changes, there is no indication in the
interface.
   
   
you can always read the manual.

In addition to the style settings, LyX has a menu item caled ??insert??
which contains some special objects to put into the text.[1]to return from
these  objects,  you have to move the cursor outside of the bounding box on
the GUI display.a hyperlink insert is also a bit of a break from the flow;
my biggest complaint about this mo

DOCBOOK-APPS: Announcement: DocBook Doclet 0.21

2002-04-30 Thread Michael Fuchs

Hello,

I want to announce DocBook Doclet 0.21. The DocBookDoclet creates DocBook SGML 
3.1 or 4.1 and XML 4.1.2 code from Java source documentation. It is helpful 
if you want to print reference handbooks of your API. 

For more information, see

http://freshmeat.net/projects/dbdoclet

Changes: This release has support for the attribute rowspan of the tags td and 
th.

I am new to the list and I hope my announcement is welcome. Otherwise let me 
know. I am also interested in bug reports and suggestions for improvement of 
the DocBook Doclet

Bye
Michael

-- 
Dipl.-Ing.(FH) Michael Fuchs
Tel. (0 89) 18 95 96 52
Fax. (0 89) 18 95 96 53
Mobil 0150 55 4000 55
EMail [EMAIL PROTECTED]

-- 
Dipl.-Ing.(FH) Michael Fuchs
Tel. (0 89) 18 95 96 52
Fax. (0 89) 18 95 96 53
Mobil 0150 55 4000 55
EMail [EMAIL PROTECTED]




Re: DOCBOOK-APPS: Has anyone used java server pages to serve upDocBook XML documents?

2002-04-30 Thread Eric Richardson

Lori Wong wrote:

> I'm new and although I've looked through the list archive, I'm not sure 
> that the postings about Java and DocBook XML necessarily address 
> implementing a java server page to serve up DocBook XML as HTML 
> on-the-fly.  

You might want to check out the following:
http://xml.apache.org/cocoon/index.html

Hope this helps,
Eric




DOCBOOK-APPS: wiki wiki wiki

2002-04-30 Thread Dave Pawson

So where's the newbie guide to wiki's, i.e.
syntax to use, etc. Is it as simple as it says on the edit sheets?
No docbook submissions or anything?

Can it be indexed?

Can I correct it if I screw it up?

Advice please

TIA DaveP





Re: DOCBOOK-APPS: perl/docbook2-converter

2002-04-30 Thread Bob Stayton

On Tue, Apr 30, 2002 at 10:24:11AM +0200, Thomas Porschberg wrote:
> 
> At the moment I convert my docbook-apps with 
> jade or xsltproc. Is there a way with perl too?
> I installed the Meta-0.03 module which comes with
> a module Meta::Tool::Docbook2 but the documentation
> is not so overwhelming.
> Any good link for instructions?

There are many ways to manipulate XML with Perl.
See http://perl-xml.sourceforge.net/faq/
to get started.


Bob Stayton 400 Encinal Street
Publications Architect  Santa Cruz, CA  95060
Technical Publications  voice: (831) 427-7796
Caldera International, Inc. fax:   (831) 429-1887
email: [EMAIL PROTECTED]



DOCBOOK-APPS: Articles and LoFs

2002-04-30 Thread Rory Hunter

Hi,

How can I generate a List of Figures / Titles for an ? Copying 
code from dbdivis.dsl created a LoT, but the rest of the document was 
rendered a bit strangely.

Cheers,

-- Rory
"Yes, but most people don't attack their boxes with the same
  cavalier abandon you do."
  -- Said when modding my box [fenriz.org]




DOCBOOK-APPS: perl/docbook2-converter

2002-04-30 Thread Thomas Porschberg


At the moment I convert my docbook-apps with 
jade or xsltproc. Is there a way with perl too?
I installed the Meta-0.03 module which comes with
a module Meta::Tool::Docbook2 but the documentation
is not so overwhelming.
Any good link for instructions?
-- 



Re: DOCBOOK-APPS: set-titlepage-verso-elements

2002-04-30 Thread Kogule, Ryo

On 4/30/02 1:50, "Camille Bégnis" <[EMAIL PROTECTED]> wrote:
> I have added the following in my DSSSL customization layer (1.76), but
> it has o effect (the revision history still shows up on book verso title
> page). Am I missing something?
> 
> (define (set-titlepage-verso-elements)
>  (list (normalize "title")
>(normalize "subtitle")
>(normalize "edition")
>(normalize "pubdate")
>(normalize "copyright")
>(normalize "legalnotice")))

set-titlepage-verso-elements means title page verso elements of  tag
but not setting them ;-)  Define book-titlepage-verso-elements instead.

Regards,
  Kogulé, Ryo