-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marking of index entries in familiar notes #436
Comments
It is not at all nore a reledmac nore a indextools problem, but just a standard behavior of xindy. I explain: with you hack (Or more exacty with the hack as described in this file: https://github.com/maieul/ledmac/blob/5a1163a0e9225e7989ac6ec41931a7cfd13f2ff6/issue436.tex), which could be used also for otherthing that for reledmac), you write entry in the .idx in the following form:
and xindy can't understand the innote, except if you add in your .xdy file the following lines:
So what could I do:
|
Thank you very much! If I split the index via splitindex into two indices, as done in the modified MWE below, it doesn't work. Is there an error in my usage? \documentclass{scrbook} \usepackage[utf8]{inputenc} \usepackage{letltxmacro} \usepackage[xindy+hyperref]{reledmac} \makeatletter \AtBeginDocument{% \begin{document} Textus\index{textus} usitatus\footnote{nota communis\index[res]{nota communis}}. \begin{ledgroup} \end{document} |
first splitindex and xindy options are mutually exclusive. Then, as the index as two arguments, you should define with the following \nindex:
cf 40ee967. I am quit e busy now, but I hope to find time in next weeks to integrate such hack directly in reledmac and indextools. |
In splitted indices the page numbers refering to footnotes in numbered and unnumbered texts are now marked comme il faut. And so the mentioned hack in reledmac and indextools will surely find at least one very thankful user! |
yes, just need to find time... |
hi @sonator could you try BOTH branch "issue436" of reledmac and "issue4" of indextools. It provide an option to indextools : innote. It's automatically do the right things. |
@sonator do yo thinks you will have time to look on it before this week-end ? I would like to merge it for the next release. |
hi @sonator : any answer ? |
SORRY for the long delay! There has been a misunderstanding. I thought that for some time you would be too busy to work on reledmac/indextools problems. And so I did not check my GitHub account. Now I have installed reledmac-issue436 and indextools-issue4. The example of issue4 is running optimally with both options using makeindex. In particular the notenumber option is an unexpected and highly comfortable application. Please have a look on the MWE. Indextools, reledmac/reledpar, splitindex, and xindy are working perfectly. But for any reason the command \setcounter{footnoteC}{0} in the second ledgroup environment will be disabled. In this MWE the notenumber option of indextools does not yet work. But please note, that this is not an urgent problem. Chapeau et merci! \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[splitindex,innote]{indextools}%notenumber \makeindex[name=res,title=Index rerum] \usepackage[series={A,B,C},noeledsec,noend,xindy,xindy+hyperref]{reledmac} \begin{document} \begin{ledgroup} \begin{Rightside} \end{pairs} \newpage \begin{ledgroup} \begin{Rightside} \end{pairs} \newpage \end{document} |
@sonator the time to manage reledmac/reledpar is quite fluctuant. But you do not receipt any email from github ? For now, I will release next version of indextools, and then I will look to you problem, which is I think not related to the index system but to the new feature added to manage correctly the footnote number in parallel typesetting. |
No, I do not receive any E-Mail. You are right. It's time to modify the profile. Thank you for the rapid reaction! |
problem found. I correct it. |
… eviter de tout casser. On test deja sans ledgroup
please try the new branch. It should solve this problem (which was, definitivly, not linked to this issue, but to the new way reledpar manage footnote number in // typesetting). |
In two test files the \setcounter command inside the ledgroup environment is working correctly. Thank you very much! |
ok. Will be published next week. |
The marking of index entries in familiar notes of numbered text with an italic 'n' is failing. The solution of the indextools handbook p. 12-13 for ledmac does not run using reledmac.
And xindy ignores a command like \newcommand{\fn}[1]{#1\textit{n}}.
Please have a look on the MWE. Thank you!
\documentclass{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{letltxmacro}
\usepackage[xindy,splitindex]{indextools}%
\indexsetup{level=\section*,toclevel=section}
\usepackage[series={A},noeledsec,noend,xindy,xindy+hyperref]{reledmac}
\usepackage[hyperindex=false]{hyperref}
%\newcommand{\fn}[1]{#1\textit{n}}
\makeatletter
\LetLtxMacro\orig@@Index\index
\newcommand\nindex[1]{\orig@@Index{#1|innote}}
\newcommand\innote[1]{#1\textit{n}}
\makeindex[name=res,title=Index rerum]
\makeindex[name=nom,title=Index nominum]
\AtBeginDocument{%
\pretocmd{@footnotetext}{\let\index\nindex}{}{}
}
\makeatother
\begin{document}
Textus usitatus\footnote{nota communis\nindex[res]{nota communis}}.
\begin{ledgroup}
\beginnumbering
\pstart
Textus\index[res]{textus} a reledmac\footnoteA{Nota familiaris reledmacensis\nindex[nom]{reledmac}} numeratus.
\pend
\endnumbering
\end{ledgroup}
\printindex[res]
\printindex[nom]
\end{document}
The text was updated successfully, but these errors were encountered: