Bug 663539 - [FAMILY Given] shown without author's name on the cover page
Summary: [FAMILY Given] shown without author's name on the cover page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: redhat-release-notes
Version: 5.6
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Martin Prpič
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-16 05:36 UTC by Yuko Katabami
Modified: 2012-01-19 10:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-19 10:20:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showoing the location of the words that need to be removed (177.90 KB, image/png)
2010-12-16 05:36 UTC, Yuko Katabami
no flags Details

Description Yuko Katabami 2010-12-16 05:36:28 UTC
Created attachment 469047 [details]
Screenshot showoing the location of the words that need to be removed

Description of problem:


Version-Release number of selected component (if applicable): 5.6 ja-JP


How reproducible:


Steps to Reproduce:
1. Simply open this document in any format. (html, html-single or pdf)
2.
3.
  
Actual results:
On the first page "[FAMILY Given]" is shown without author's name.

Expected results:
It should not appear there.

Additional info:
There would be an invisible author name given there, which should be removed.

Comment 2 Ruediger Landmann 2011-08-01 22:48:00 UTC
This string is set by the DocBook stylesheets for Japanese when you use the <firstname> and <surname> tags, which in this case are apparently empty. If you don't use those tags, you won't get the "[FAMILY Given]" string.

Comment 3 Martin Prpič 2011-08-02 02:07:09 UTC
(In reply to comment #2)
> This string is set by the DocBook stylesheets for Japanese when you use the
> <firstname> and <surname> tags, which in this case are apparently empty. If you
> don't use those tags, you won't get the "[FAMILY Given]" string.

Unfortunately, it does not contain the <firstname> or <surname> tags. The only thing in that file is:

<authorgroup>
<author>
	<affiliation>
	<orgname>Red Hat</orgname>
	<orgdiv>Engineering Content Services</orgdiv>
	</affiliation>
	<email>rhelv5-list</email>
</author>
</authorgroup>

Thanks for help Rudi!

Comment 4 Ruediger Landmann 2011-08-02 03:06:12 UTC
(In reply to comment #3)

> Unfortunately, it does not contain the <firstname> or <surname> tags. The only
> thing in that file is:
> 
> <authorgroup>
> <author>
>  <affiliation>
>  <orgname>Red Hat</orgname>
>  <orgdiv>Engineering Content Services</orgdiv>
>  </affiliation>
>  <email>rhelv5-list</email>
> </author>
> </authorgroup>

Ah, OK. It turns out that DocBook applies that template whenever you use the <author> tag, regardless of whether you provide names or not. I guess this makes sense, because <author> is designed for the name of an individual author.[1]

Because the author is a corporate author in this case, "as opposed to an individual"[2], use <corpauthor> instead:

<authorgroup>
	<corpauthor>Red Hat Engineering Content Services</corpauthor>
</authorgroup>

Note: unfortunately, <corpauthor> doesn't support email addresses.

Cheers
Rudi

[1] http://www.docbook.org/tdg/en/html/author.html
[2] http://www.docbook.org/tdg/en/html/corpauthor.html


Note You need to log in before you can comment on or make changes to this bug.