List Info

Thread: DocBook and TEI P5




DocBook and TEI P5
user name
2006-06-26 18:22:10
Hi there,

I'm writing an application which saves files in both TEI
(Text-Encoding 
Initiative) P5 XML format, and in DocBook (v5). I'm trying
to create a 
mapping of basic tags in the two formats, so that
round-tripping is 
possible with simple documents. I wonder if anyone familiar
with both 
TEI and DocBook could help with this simple question:

Among the most commonly-used tags in TEI are format-related
tags such as:

<hi rend="bold">
<hi rend="italics">
<hi rend="underline">

(For purists not familiar with TEI, I should point out that
it's often 
used to digitize existing books and manuscripts, and these
tags are used 
to describe the style of text in the source document.)

Is there any DocBook equivalent I could use? I haven't
found anything so 
shamelessly style-related (which is quite proper, given the
purpose and 
nature of DocBook). Can anyone suggest any alternative way
of turning 
such tags into acceptable DocBook markup?

All help appreciated,
Martin

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmesuvic.ca)
Half-Baked Software, Inc.
(mholmeshalfbakedsoftware.com)
martinmholmes.com

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org

DocBook and TEI P5
user name
2006-06-26 18:38:52
maybe emphasis with a role=";bold", role=";italic&quot;, role=";underline&quot; plus stylesheets for proper rendering of this 'specialization' of the emphasis tag?

Just a quick wild guess...

On 6/26/06, Martin Holmes <uvic.ca">mholmesuvic.ca&gt; wrote:
Hi there,

I'm writing an application which saves files in both TEI (Text-Encoding
Initiative) P5 XML format, and in DocBook (v5). I'm trying to create a
mapping of basic tags in the two formats, so that round-tripping is
possible with simple documents. I wonder if anyone familiar with both
TEI and DocBook could help with this simple question:

Among the most commonly-used tags in TEI are format-related tags such as:

<hi rend=";bold">
<hi rend=";italics&quot;>
<;hi rend=";underline&quot;>

(For purists not familiar with TEI, I should point out that it's often
used to digitize existing books and manuscripts, and these tags are used
to describe the style of text in the source document.)

Is there any DocBook equivalent I could use? I haven't found anything so
shamelessly style-related (which is quite proper, given the purpose and
nature of DocBook). Can anyone suggest any alternative way of turning
such tags into acceptable DocBook markup?

All help appreciated,
Martin

--
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(uvic.ca">mholmesuvic.ca )
Half-Baked Software, Inc.
(halfbakedsoftware.com">mholmeshalfbakedsoftware.com)
mholmes.com">martinmholmes.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lists.oasis-open.org">docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: lists.oasis-open.org">docbook-helplists.oasis-open.org




--
Fabian Mandelbaum
IS Engineer
DocBook and TEI P5
user name
2006-06-26 18:59:34
I think that's exactly what I need to do. Many thanks!

Cheers,
Martin

Fabian Mandelbaum wrote:
> maybe emphasis with a role="bold",
role="italic", role="underline" plus

> stylesheets for proper rendering of this
'specialization' of the 
> emphasis tag?
> 
> Just a quick wild guess...
> 
> On 6/26/06, *Martin Holmes* <mholmesuvic.ca
<mailto:mholmesuvic.ca>> 
> wrote:
> 
>     Hi there,
> 
>     I'm writing an application which saves files in
both TEI (Text-Encoding
>     Initiative) P5 XML format, and in DocBook (v5).
I'm trying to create a
>     mapping of basic tags in the two formats, so that
round-tripping is
>     possible with simple documents. I wonder if anyone
familiar with both
>     TEI and DocBook could help with this simple
question:
> 
>     Among the most commonly-used tags in TEI are
format-related tags
>     such as:
> 
>     <hi rend="bold">
>     <hi rend="italics">
>     <hi rend="underline">
> 
>     (For purists not familiar with TEI, I should point
out that it's often
>     used to digitize existing books and manuscripts,
and these tags are
>     used
>     to describe the style of text in the source
document.)
> 
>     Is there any DocBook equivalent I could use? I
haven't found anything so
>     shamelessly style-related (which is quite proper,
given the purpose and
>     nature of DocBook). Can anyone suggest any
alternative way of turning
>     such tags into acceptable DocBook markup?
> 
>     All help appreciated,
>     Martin
> 
>     --
>     Martin Holmes
>     University of Victoria Humanities Computing and
Media Centre
>     (mholmesuvic.ca <mailto:mholmesuvic.ca>)
>     Half-Baked Software, Inc.
>     (mholmeshalfbakedsoftware.com
<mailto:mholmeshalfbakedsoftware.com>)
>     martinmholmes.com <mailto:martinmholmes.com>
> 
>    
------------------------------------------------------------
---------
>     To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
>     <mailto:docbook-unsubscribelists.oasis-open.org>
>     For additional commands, e-mail: docbook-helplists.oasis-open.org
>     <mailto:docbook-helplists.oasis-open.org>
> 
> 
> 
> 
> -- 
> Fabian Mandelbaum
> IS Engineer

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmesuvic.ca)
Half-Baked Software, Inc.
(mholmeshalfbakedsoftware.com)
martinmholmes.com

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )