|
From: | Georg-Johann Lay |
Subject: | Re: Problem with @sortas{@{} |
Date: | Mon, 16 Dec 2019 16:53:45 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Am 01.12.19 um 14:04 schrieb Gavin Smith:
On Wed, Nov 13, 2019 at 01:52:34PM +0100, Georg-Johann Lay wrote:Writing documentation for a ${variable} feature, "${variable}" should appear in the index also under "{". Hence I added a @sortas somethink like that: @cindex $@{variable@} @sortas{@{variable} However, the entry appears in section "$".@-commands inside @sortas were not supported. I've tried to implement it in git commit c0483b7b5, so that @, { and } can be used in index sort keys.
Thank you, I downloaded your version and built from source. The git log shows the change you mentioned.
However the artifact is still the same: It works for PDF, but not for HTML. Here is a test case:
\input texinfo @defcodeindex inik @syncodeindex inik cp @node Vars @top Vars @inikindex $@{variable@} @inikindex $@{variable@} @sortas{@{variable} Text text text text text text text. @node Index @printindex cp @bye And then compile with$ makeinfo --html --no-split -c TREE_TRANSFORMATIONS=regenerate_master_menu -c TREE_TRANSFORMATIONS=insert_nodes_for_sectioning_commands manual.texi
$ makeinfo --pdf --no-split -c TREE_TRANSFORMATIONS=regenerate_master_menu -c TREE_TRANSFORMATIONS=insert_nodes_for_sectioning_commands manual.texi
Then the PDF index looks fine and like: $ ${variable}: Vars { ${variable}: Vars whereas the HTML index is: $ ${variable}: Vars ${variable}: Varsand there is no "{" section in the HTML index, and no indication of such a section in the HTML source.
Johann p.s. please CC me in your answer to bug-texinfo@, I am not subscribed to this list.
[Prev in Thread] | Current Thread | [Next in Thread] |