Skip to content

Commit 8d8ad8a

Browse files
author
Matthias Rabe
committed
display kekule-id if provided
Signed-off-by: Matthias Rabe <[email protected]>
1 parent 650801f commit 8d8ad8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reports/book.inc.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def t1(a, b, c, d= nil, e= nil, f= nil, g= nil, src_ids= [])
155155

156156
$params[:ofile].print "\\begin{minipage}[t]{\\textwidth-10em} \\vspace{0mm}\n"
157157
$params[:ofile].print "\\begin{tabular}{p{4em} p{\\textwidth-15em}}\n"
158-
$params[:ofile].print t1("Kekule", "", "1")
158+
$params[:ofile].print t1("Kekule", "", indi.idno.to_i.to_s) if indi.idno.to_s != ""
159159
$params[:ofile].print t1("Geboren", "am", indi.birth, "in", indi.birth_place, nil, nil, indi.birth_sources(ged))
160160
$params[:ofile].print t1("Getauft", "am", indi.leaf, "in", indi.leaf_place, nil, nil, indi.leaf_sources(ged))
161161
$params[:ofile].print t1("Gestorben", "am", indi.died, "in", indi.died_place, nil, nil, indi.died_sources(ged))

0 commit comments

Comments
 (0)