[docbook] braille and audio

2013-10-30 Thread evaristegalois
I have now read several times that the cool thing about docbook is that it
provides output in braille and audio as well, for example here:

The advantage is that one SGML source file can generate any type of output:
Postscript, PDF, RTF, HTML, QNX Helpviewer, even audio files or braille.
(http://developers.cogentrts.com/cogent/prepdoc/pd-single-sourcingwithdocbook.html)

I work with blind people in an educational setting and would love to use
docbook to provide content to students. But despite extensive searching on
this forum, the docbook wiki, and duckduckgo (google), I cannot find
anything about braille or audio output. I have successfully used docbook to
create html and pdf output. Please tell me how I can convert an sgml or xml
file to brf (braille) or a sound file (any format) using an input file that
I've already successfully converted to pdf and html.



--
View this message in context: 
http://docbook.10921.n7.nabble.com/braille-and-audio-tp14972.html
Sent from the docbook General mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org



Re: [docbook] braille and audio

2013-10-30 Thread Bob Stayton

Hi,
As far as I know, there is no tool to directly convert DocBook XML to 
Braille.  However, the DocBook XSL stylesheets can convert DocBook to HTML 
or PDF, and those can be converted to Braille, according to this website:


 http://www.brailletranslator.org/

Similarly with audio, as this tool seems to be able to convert HTML to MP3:

 http://www.naturalreaders.com/

I have not used either of these tools, and other people might have other 
recommendations.


FYI, here is a report on an attempt to use Apache FOP to generate Braille:

 http://code.google.com/p/daisy-pipeline/wiki/BrailleFopRenderingReport

Bob Stayton
Sagehill Enterprises
b...@sagehill.net

--
From: evaristegalois evaristegal...@hotmail.com
Sent: Wednesday, October 30, 2013 9:41 AM
To: docbook@lists.oasis-open.org
Subject: [docbook] braille and audio


I have now read several times that the cool thing about docbook is that it
provides output in braille and audio as well, for example here:

The advantage is that one SGML source file can generate any type of 
output:

Postscript, PDF, RTF, HTML, QNX Helpviewer, even audio files or braille.
(http://developers.cogentrts.com/cogent/prepdoc/pd-single-sourcingwithdocbook.html)

I work with blind people in an educational setting and would love to use
docbook to provide content to students. But despite extensive searching on
this forum, the docbook wiki, and duckduckgo (google), I cannot find
anything about braille or audio output. I have successfully used docbook 
to
create html and pdf output. Please tell me how I can convert an sgml or 
xml
file to brf (braille) or a sound file (any format) using an input file 
that

I've already successfully converted to pdf and html.



--
View this message in context: 
http://docbook.10921.n7.nabble.com/braille-and-audio-tp14972.html

Sent from the docbook General mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org





-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org



Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-30 Thread Carlos Araya
Have you tried using the namespace declaration in your document?

Something like this:

?xml version=1.0 encoding=utf-8?
article
xmlns='http://docbook.org/ns/docbook'
xmlns:xlink='http://www.w3.org/1999/xlink'
xmlns:mathml=http://www.w3.org/TR/MathML2/dtd/mathml2.dtd;
version=5.0 xml:lang=en
titleTitle of your document/title


This should replace the entity declaration and still let your mathml validate.

HTH,

Carlos



On Tue, Oct 29, 2013 at 2:53 AM, Jon Leech j...@alumni.caltech.edu wrote:

 On 10/28/2013 10:31 PM, Bob Stayton wrote:

 The short answer is no, xmllint does not successfully validate DocBook 5
 documents that are in fact valid.

 I normally use Jing to validate DocBook 5.  I've not seen it hang like
 you have.


 Thanks, that's good to know going forward. It turns out that stripping
 the

 !DOCTYPE refentry [
 !ENTITY % mathml PUBLIC -//W3C//DTD MathML 2.0//EN
   
 http://www.w3.org/TR/MathML2/**dtd/mathml2.dtdhttp://www.w3.org/TR/MathML2/dtd/mathml2.dtd
 
 %mathml;
 ]

 prolog from my documents will prevent jing from hanging. Unfortunately it
 will also
 prevent some of them from validating, since they use MathML entities like
 lfloor; .
 I filed a bug on the jing project page to ask about this but perhaps I'm
 missing
 some other way to be able to use these entities that would work around
 this issue?


 Jon Leech


 --**--**-
 To unsubscribe, e-mail: 
 docbook-apps-unsubscribe@**lists.oasis-open.orgdocbook-apps-unsubscr...@lists.oasis-open.org
 For additional commands, e-mail: 
 docbook-apps-help@lists.oasis-**open.orgdocbook-apps-h...@lists.oasis-open.org




[docbook-apps] Indexes in mobi

2013-10-30 Thread Richard Hamilton
I'm running into something strange with indexes when I convert from epub to 
mobi using kindlegen.

I use the epub3 transform and set kindle.extensions=1, then use kindlegen to 
get a .mobi file.

The index comes out fine for ePub, but for .mobi, some devices (Paperwhite and 
Kindle Fire on the kindle previewer) throw away all indentation so there is no 
distinction between primary and secondary terms, though they do leave an extra 
vertical space between a primary and its secondaries.

And some (Kindle DX on the previewer and Kindle on iPhone) seemingly randomly 
indent (or don't indent) primary and secondary terms, and also frequently lose 
the line break when a primary term without secondaries precedes another primary 
(unless the first primary is immediately after a letter heading).

epub looks great on iOS, though I haven't tried it anywhere else.

Has anyone run into this, and has anyone figured out how to solve the problem? 
I've been playing around with CSS to no avail, but I'm reluctant to do any 
major surgery in the index if others have solved the problem.

Thanks,
Dick Hamilton
---
XML Press
XML for Technical Communicators
http://xmlpress.net
hamil...@xmlpress.net




-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org