Here is a code with makeindex reledmac, bibleref entry in footnoteA and line number in Index

Since I have a Non English text I tried to make indexes with xindy


\documentclass[twoside,14pt,onecolumn,openright ,a4paper]{memoir}

    \usepackage[series={A,B,C,D,E},xindy+hyperref]{reledmac} \usepackage[hyperindex=false]{hyperref}
    \Xafterrule[A]{0pt}  % n
    \Xbhooknote[A]{\vskip 0pt\noindent} 

    \renewcommand\footnoteruleA{ %
        \kern-3pt \hrule width 5.5cm \kern 2.6pt
    \renewcommand\Afootnoterule{ %
        \kern-3pt \hrule width 3.5cm \kern 2.6pt
    \usepackage[usenames, dvipsnames]{color}


    \makeindex[title=Bible index,name=bible]
    \chapter{Test chapter}
        An old\mysidenote{\ibibleverse{Gn}(1:1-10)} testament reference %\footnoteA{\ibibleverse{Gn}(1:1-10)}.\\
        An old testament reference \footnoteA{\ibibleverse{Gn}(3:1-10)}.\\
        An old testament reference \footnoteA{\ibibleverse{Gn}(4:1-10)}.\\
        An old testament reference \footnoteA{\ibibleverse{Ex}(1:1-10)}.\\
        An old testament reference \footnoteA{\edindex[bible]{Lv!1:1-10}}.



Running command:

xindy -I xelatex -M texindy -M reledmac.xdy  -o bible.ind bible.idx


    WARNING: unknown cross-reference-class `ledinnote[$&2]'! (ignored)

and index page is empty. So I need to write xdy file. How? And another small question is How to have pagenumber^{line number}(linenumber as superscript) Instead of default pagenumber(linenumber) in index entries?


Hum, maybe the handbook is unclear, but here are the following steps to get what you need.

  1. The xindy+hyperref option doesn't replace the xindy options. So you need to replace

    \usepackage[series={A,B,C,D,E},xindy+hyperref]{reledmac} by \usepackage[series={A,B,C,D,E},xindy,xindy+hyperref]{reledmac}

  2. There is a reledmac.xdyfile provided by in the examples folder of the reledmac handbook: http://www.pirbot.com/mirrors/ctan/macros/latex/contrib/reledmac/examples/reledmac.xdy. You just need to recopy it along your .tex file

  3. opening it, you will find the lines

    (markup-locref-list :open " (" :sep ", " :close ")" :depth 1 :class "eledmac") Just changes them to

    (markup-locref-list :open "\textsuperscript{" :sep ", " :close "}" :depth 1 :class "eledmac") to get line number in superscript

  4. At the end of the file, you have also some lines to be uncommented to work with hyperref.
  • Thank you very much.... and One more question please. For makeindex we can change behavior of index levels. Like level 1 subitem and level 2 subsubitem... I actually want to remove/change subitem on level 1 replacing it by \---..how can I do this with xindy? – Levan Shoshiashvili Dec 16 '16 at 14:45
  • 1
    (markup-indexentry :open "\---" :close "" :depth 0) – Maïeul Dec 16 '16 at 14:55
  • but that is not a reledmac problem… – Maïeul Dec 16 '16 at 14:55
  • Ok...thanks..Yes i know. Just did not want to open new question for this :) – Levan Shoshiashvili Dec 16 '16 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.