Your message dated Sun, 18 Nov 2012 13:26:15 +0100
with message-id <6222.1353241575@manetheren>
and subject line Re: Bug#685721: dblatex: Non-alphabetix indexterm entries show 
up under strange heading
has caused the Debian Bug report #685721,
regarding dblatex: Non-alphabetix indexterm entries show up under strange 
heading
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
685721: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685721
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dblatex
Version: 0.3-2

<indexterm> entries starting with a number show up in the index under a
rather strange "_" heading.  Can this be changed to be more like the
docbook-xsl apprach, where the same entry show up under and 'Symbols'
heading in the index?

Here is an example document demonstrating the problem.

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";>
<!--

Demonstrate problem with non-alphabetic indexterm entries in dblatex.

The '60 Minutes' entry is placed under an "_" heading, which is rather
strange.  docbook-xsl places it under an 'Symbols' heading, which is
strange too, but a bit better looking than the dblatex approach.

 -->
<book>
  <bookinfo>
    <title>Example demonstrating index problem</title>
  </bookinfo>
<preface>
<indexterm><primary>A index entry</primary></indexterm>
<indexterm><primary>60 Minutes</primary></indexterm>
  <para>text is good</para>
</preface>
<index></index>
</book>

--
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Hi Petter,

shortly after opening your BTS report Benoît Guillon (the dblatex
upstream author) has noticed it and sent me an answer how to handle your
requirement.  Sorry for the delay, this is my fault.

The idea is to call dblatex with an index style file crafted
appropriately [1]:

$ dblatex --indexstyle=mydoc.ist number-indexterm.xml

BTW, Benoît suggests to report this kind of
observations/requests/questions on the dblatex user mailing list [2]
instead of the Debian BTS.

[1] 
%%
%% This is file `Letter.ist',
%%
%% The idea is from Ingo Kloeckl, Latex2e:
%% Herbert Voss 000726
%% 
%% This is a MAKEINDEX style file which should be used to
%% generate the formatted change history for use with the doc
%% package. The TeX commands used below are defined in
%% doc.sty.  The commands for MAKEINDEX like `level'
%% `item_x1' are described in `` Makeindex, A General
%% Purpose, Formatter-Independent Index Processor'' by
%% Pehong Chen.
%%
headings_flag       1           % headings yes
heading_prefix   "\\textbf{"    % boldfont
heading_suffix   "}\n"          % newline
symhead_positive "Symbols"
%% preamble
%%   "\\begin{theindex}\n"
%% item_1
%%   "\\par\\leavevmode\\hangindent10pt\\makebox[10pt][l]{--}"
%% item_01
%%   "\\par\\leavevmode\\hangindent10pt\\makebox[10pt][l]{--}"
%% item_x1
%%   "\\par\\leavevmode\\hangindent10pt\\makebox[10pt][l]{--}"
%% item_2
%%   "\\par\\leavevmode\\hangindent20pt\\makebox[20pt][l]{-- -- }"
%% item_12
%%   "\\par\\leavevmode\\hangindent20pt\\makebox[20pt][l]{-- -- }"
%% item_x2
%%   "\\par\\leavevmode\\hangindent20pt\\makebox[20pt][l]{-- -- }"
%% 
%%
%% End of file `Letter.ist'.
[2] http://sourceforge.net/mailarchive/forum.php?forum_name=dblatex-users

Regards, Andreas
-- 
Andreas Hoenen <[email protected]>
GPG: 1024D/B888D2CE
     A4A6 E8B5 593A E89B 496B
     82F0 728D 8B7E B888 D2CE

Attachment: pgpu8EHn65mdi.pgp
Description: PGP signature


--- End Message ---

Reply via email to