Skip to content
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

Bug: edtabular and edindex #571

Closed
martinantonmueller opened this issue Sep 6, 2016 · 8 comments
Closed

Bug: edtabular and edindex #571

martinantonmueller opened this issue Sep 6, 2016 · 8 comments

Comments

@martinantonmueller
Copy link

Dear Maïeul,
it seems as if I found a bug, as mentionned by you here:
http://tex.stackexchange.com/questions/327684/reledmac-table-and-edindex

When I try to set the table offered in the manual of reledmac, I get the error: "undefined control sequence \reserved\c -> l@d@index", which definetly is a problem of the \edindex. Normal \index works. What am I doing wrong?

MWE:

\documentclass{scrbook}

\usepackage{imakeidx}
\makeindex[name=test]
\usepackage{reledmac}

\begin{document}
\beginnumbering
 \pstart
 \begin{edtabularl}
 \textbf{\Large I} & wish I was a little bug\edindex{bug} &
 \textbf{\Large I} & eat my peas with honey\index{honey} \\
  & With whiskers \edtext{round}{\Afootnote{around}} my tummy &
  & I've done it all my life. \\
  & I'd climb into a honey\index{honey} pot &
  & It makes the peas taste funny \\
  & And get my tummy gummy.\index{gummy} &
  & But it keeps them on the knife.
 \end{edtabularl}
 \pend

 \endnumbering

\end{document}

Thank you for looking into it!
Best regards,
Martin

@maieul
Copy link
Owner

maieul commented Sep 6, 2016

It is not a bug in \edindex, as I have thought in a first quick reading.

You have written in your preamble

makeindex[name=test]

that means you should use \index[test]{the-word-in-index} or \edindex[test]{the-word-in-index}. If you don't want to use the optional argument, as you have only one index, just write in your preamble

makeindex

Without name argument.

Indeed, there is a little bug with \edindex: it should not produce ununderstandable error, but ignore the entry and write a warning message, as index do. So I let the issue opened, but it is on a low priority.

@maieul
Copy link
Owner

maieul commented Sep 7, 2016

As explained in the handbook, you also must use call \makeindex AFTER loading reledmac. But there is still, and really, a bug with tabularl.

@maieul
Copy link
Owner

maieul commented Sep 7, 2016

please try branch issue571. It should fix the bug of indexing. About the bug of not using the good index name, it should be fixed directly in indextools, the sucessor of imakeidx, which I maintain. But it is not a priority.

@martinantonmueller
Copy link
Author

i will do so tonight and get back! thank you for fixing it!

@martinantonmueller
Copy link
Author

Thank you! It works! And I will look into the indextools next time I have time on my hands...

@maieul
Copy link
Owner

maieul commented Sep 7, 2016 via email

@maieul maieul closed this as completed in 7fa8a5a Sep 7, 2016
@maieul
Copy link
Owner

maieul commented Sep 7, 2016

please validate the new answer on SE.

@maieul
Copy link
Owner

maieul commented Sep 7, 2016

please also do it for all questions related to reledmac. It's help me to obtain "reputation", which I can send to have help for technical problem in order to solve have a better reledmac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants