DOCBOOK: One Problem Resolved..

2002-04-09 Thread Sumit Dhar

Hello Everyone,

I had mailed the group earlier about db2pdf generating a PDF document
with out page numbers... 

I was just playing around with db2pdf when I decided to try something
that I usually do with Latex. I ran the command twice... and was
pleasantly surprised when the corresponding PDF file had the correct
page numbers etc. 

Cheers,
a href=http://dhar.homelinux.com/dhar/Sumit Dhar/a
Manager, Business Development and Products,
SLMsoft.com




Re: DOCBOOK: Query.

2002-04-09 Thread Jirka Kosek

Sumit Dhar wrote:

 1. Are there any Open Source WYSIWYG editors available for this
 task?

Not Open Source, AFAIK.

From commercial sphere -- ArborText Epic has quite usable Word to
DocBook XML converter. There are also several MS Word plug-ins able to
do Word - XML conversion, e.g. WorX (www.hvltd.com).

Jirka

-- 
-
  Jirka Kosek
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz



Re: DOCBOOK: One Problem Resolved..

2002-04-09 Thread Zack Brown

On Tue, Apr 09, 2002 at 11:33:13AM -0400, Sumit Dhar wrote:
 Hello Everyone,
 
 I had mailed the group earlier about db2pdf generating a PDF document
 with out page numbers... 
 
 I was just playing around with db2pdf when I decided to try something
 that I usually do with Latex. I ran the command twice... and was
 pleasantly surprised when the corresponding PDF file had the correct
 page numbers etc. 

makes sense since the DocBook processing tools compile to TeX before
going to PDF. If this isn't in a FAQ somewhere, it should be.

 
 Cheers,
 a href=http://dhar.homelinux.com/dhar/Sumit Dhar/a
 Manager, Business Development and Products,
 SLMsoft.com
 

-- 
Zack Brown



Re: DOCBOOK: customizing docbook xsl

2002-04-09 Thread Dave Pawson

At 13:42 09/04/2002 -0400, Stefan Seefeld wrote:

Uhm, you don't like the frames ?

I understood the intent, just totally missed the solution :-)

Well, the idea is that you can browse the document structure, content, as 
well as annotations in parallel. Right now I'm more or less trying to
mimic the look and feel of this:

http://www.unidata.ucar.edu/community/committees/umada/d0021/d0021-t.html


One hairy website!


Where's the stylesheet again?

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/berlin//web/xsl/doc.xsl?rev=1.6content-type=text/vnd.viewcvs-markup

It's still very specific to our needs, but it might well be generalized at 
some point

OK, I'll look again when you get to that point. I believed it was at that stage
from your earlier message.

Regards DaveP





Re: DOCBOOK: One Problem Resolved..

2002-04-09 Thread Sumit Dhar

On Tue, 9 Apr 2002, Dave Pawson wrote:

 I will be, when I get a website back.
 I can't blame the docbook users, but somehow I've exceeded the
 .5gb per month I paid for, and my hosts have cut me off at the backbone.


I dont have an idea of what is involved, but could you give me an idea
wrt to size of the FAQ? And what is the kind of traffic you expect for
the FAQ? If it is not *TOO* high, I could put it up on my site, for the
time being that is. 

You can give the hyper link from where ever you are hosting the pages. 

Cheers, 
Dhar

-- 
If I had a dollar for everytime my linux box crashed, I would have, 
hold a minute...,  exactly $3.68.

pub  1024D/7AB2D05A 2002-02-24 Sumit Dhar (Sumit Dhar, SLMSoft.com)
Key fingerprint = 4A18 D20D 3D15 6C5B CD2F  8E45 B903 0C29 7AB2 D05A




DOCBOOK-APPS: dbmathml

2002-04-09 Thread dbook

Hi, 
do enybody know how to write XSL style sheet for dbmathml.dtd 
document.
I have something like that:

book lang=cs
titleBook Title/title
chaptertitleChapter Title/title
paraContent./para
equation
mml:math
mml:applymml:divide//mml:apply/mml:math
/equation
/chapter
/book

and I would like to get HTML document with MathML tags (possible 
to use in Mozilla). 

Thank You,  Jiri



Nov vyhledva pro esk internet www.WebFast.cz - prost najde ...








Re: DOCBOOK-APPS: dbmathml

2002-04-09 Thread Steffen Maier

On Tue, 9 Apr 2002, [EMAIL PROTECTED] wrote:
 do enybody know how to write XSL style sheet for dbmathml.dtd 
 document.
snip/
 and I would like to get HTML document with MathML tags (possible 
 to use in Mozilla). 

You just take the docbook-xsl stylesheet distribution and add the missing 
template for handling MathML.

For creating an appropriate stylesheet driver file see the following 
posts.
Haven't tried Norm's MathML-template yet: 
http://lists.oasis-open.org/archives/docbook-apps/200011/msg00189.html
The second one works for me:
http://lists.oasis-open.org/archives/docbook/200202/msg00139.html

To see some example results, visit my homepage (see signature), select 
sitemap and search for MathML and/or Formal Semantics. You need a 
MathML-capable browser of course :-).

HTH,
Steffen.

-- 
  http://w3studi.informatik.uni-stuttgart.de/~maiersn/
mailto:[EMAIL PROTECTED]





Re: DOCBOOK-APPS: psgml: how to set sgml-validate-command?

2002-04-09 Thread M.-A. DARCHE

On 2002-04-05 08:41 (Friday), Gunnar Sigurdsson wrote:
 Looking at the psgml source code reveals:
 
 (setq sgml-validate-command nsgmls -wxml -s %s %s)
 
 all I want to do is to change the command to:
 
 nsgmls -wxml -wno-idref -s %s %s
 
 I have tried the obvious, putting this in the .emacs file:
 
 (setq sgml-validate-command nsgmls -wxml -wno-idref -s %s %s)
 
 and doing the corresponding thing inside individual docbook files
 with no luck. The problem is that the above change has no effect
 the value of the remains the same (nsgmls -wxml -s %s %s). 

Here is what I advise you to do to change psgml variables :

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
(defun custom-xml-behavior() Sets custom behavior for sgml mode
  (interactive)
  (setq sgml-indent-data t)
  (setq
   sgml-validate-command nsgmls -wxml -wno-idref -s %s %s
   ))

(add-hook 'xml-mode-hook 'custom-xml-behavior)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I didn't find any other way to set psgml variables than creating a function.
Listed below is the function that I use :

(defun custom-sgml-behavior() Sets custom behavior for sgml mode
  (interactive)
  (setq sgml-indent-data t)
  (setq
   sgml-always-quote-attributes t
   sgml-auto-insert-required-elements t
   sgml-auto-activate-dtd t
   sgml-indent-data t
   sgml-indent-step 2
   sgml-minimize-attributes max
   ;;sgml-minimize-attributes nil
   sgml-omittag t
   sgml-shortag t))

(add-hook 'sgml-mode-hook 'custom-sgml-behavior)


Let me know if it helps.
And of course if someone knows a better way to do it, let it be known.


Cheers,

-- 
Marc-Aurèle DARCHE  http://www.cynode.org
AFUL http://www.aful.org
Association Francophone des Utilisateurs de Linux/Logiciels Libres
French speaking Linux and Libre Software Users' Association




Re[2]: DOCBOOK-APPS: Visio Vector Graphics - DocBook XSL

2002-04-09 Thread Dave Pawson

At 09:38 08/04/2002 +0200, Doc Team Lingua Tedesca2 wrote:

Dear Docbook friends,

Under Windoze, there is a very inexpensive (shareware 25$, but unlimited trial
version) drawing program by Mayura (http://www.mayura.com) which imports
postscript (.ps), and, after converting it to .ai using a batch file, 
outputs it
as .eps or - SVG!

Excellent piece of software!

Thanks for the tip.

Regards DaveP





DOCBOOK-APPS: Transforming SGML instance to XML instance

2002-04-09 Thread Trevor Jenkins

I should know this; my excuse is the long hours and late nights I've put
in to finish my 450+ page DocBook-ed document have pushed the answerout of
my head. ;-)

The master version of my document is in SGML (has and requires
IGNORE/INCLUDE marked sections) from which I need to derive various
electronic versions, viz an RTF version, an XML version, and eventually a
PDF. Now the RTF I can get (have got) using jade. Something, probably FOP
whenit's upto it, will produce the PDF version. But I'm having trouble
with the XML version.

When I run sx to produce an XML-compliant instance no DOCTYPE declaration
is inserted. Have tried every option I can find within sx but the DTD just
doesn't make it into the output. It does include the ?xml PI correctly.

The SGML instane's DOCTYPE declaration has subset declarations; actually
all general entity declarations. Otherwise it's by the book. No
element customisations no nothing.

I'm using the latest version of openjade (1,3,4) ripped from sourceforge
last week. As this includes all of SP the version of osx is the same
(1.3.4). So happens I'm using the DocBook 3.1 DTD but that shouldn't be
the cause of the omission.

So how can I force sx/osx to include an appropriate DOCTYPE declaration
for the XML instance?

Regards, Trevor

British Sign Language is not inarticulate handwaving; it's a living language.
Support the campaign for formal recognition by the British government now!
Details at http://www.fdp.org.uk/ or http://www.bsl-march.co.uk/

-- 

 Re: deemed!




DOCBOOK-APPS: controlling document appearance

2002-04-09 Thread Zack Brown

Hi folks,

My company is thinking of using DocBook (XML version) for documenting its
APIs and various other docs. There are various requirements that DocBook
seems to fill well, such as providing a clear standard, compiling to various
formats including HTML, and allowing outside scripts to modify or add to the
docs before processing. But one thing we need to do is brand the PDF file
for printed output.

The systems we're using are Red Hat and Debian. Is there any documentation
on how to handle fine-grained visual control over DocBook on those
systems? DocBook: The Definitive Guide only seems to cover customization
of tags and attributes, not visual appearance.

Thanks,
Zack

-- 
Zack Brown



RE: DOCBOOK-APPS: controlling document appearance

2002-04-09 Thread David Cramer

Check out the resources pointed to from
http://sourceforge.net/docman/?group_id=21935 (Docbook project at
sourceforge, under 'Docs'). 

David

 docs before processing. But one thing we need to do is 
 brand the PDF file
 for printed output.
 
 The systems we're using are Red Hat and Debian. Is there any 
 documentation
 on how to handle fine-grained visual control over DocBook on those
 systems? 



Re: DOCBOOK-APPS: jadetex very slow on windows

2002-04-09 Thread Juan R. Migoya

I have some experience wiht Miktex, wich is the LateX distro I use. You
can ask me
for specific questions, perhaps I can help you. Please, indicate Miktex
version.

Regarding speed, I work with Windows NT 4.0 and have the same problem,
but I'm
working with tex output files of 1,5 Mb or more. Well, I like coffe so
it's not so bad :-)
If you use texifiy it will run three or more time to resolve
references, and this can
take quite a long time. For testing and proofread I use pdflatex
directly at the cost
of getting blanks in the places of references.

Regards,

Juan R. Migoya
SPAIN


Sharon B Jones wrote:


 Hi!

 Running Win2k (sp2), docbook 4.1, openjade 3.1, dl 1.76
 stylesheets.  I am building the tex file from my docbook source using
 openjade.  The tex file is created fairly quickly.  and it's about
 800Kb.  I run pdfjadetex (or jadetex) on this tex file and it takes
 forever!  Granted, it's running out of main memory (I'm figuring out
 how high to bump it up) and I'll probably run out of strings as well,
 but it runs really fast on Linux!  Is there anyway to speed this up on
 Windows?

 Also, does anyone have good instructions on using it with MikTex?  The
 instructions I find are either for Linux (various flavors) or
 TeTexand the config files are not the same for miktex.  I'm
 figuring this out as I'm going along, and I'm sure I can be doing
 something smarter.

 Thanks in advance,
 Sharon

 ~~
 Sharon Jones  [EMAIL PROTECTED]
 Voice: 914-945-2188  Fax: 914-945-4490
 Voice Systems
 Natural Language Engines GUI Tools Team Lead