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

Translation for lemma #944

Open
martensas opened this issue Oct 19, 2022 · 4 comments
Open

Translation for lemma #944

martensas opened this issue Oct 19, 2022 · 4 comments

Comments

@martensas
Copy link

Is there a possibility to have a specificed translation for a lemma that is automatically generated according to a set format (in this case “ before and ” after)?

Minimal working example

\beginnumbering
 \edtext{hjól}{\lemmatr{wheel}\Afootnote{hringr “ring” \emph{A}}}
\endnumbering
@maieul
Copy link
Owner

maieul commented Oct 19, 2022

I don't understand what should be translated, and with which criteria

@martensas
Copy link
Author

So, if this in a normal case would generate:

1 hjól ] hringr “ring” A

with this argument we would get

1 hjól “wheel” ] hringr “ring” A

@Doc73
Copy link

Doc73 commented Oct 19, 2022

\edtext{hjól}{\lemma{hjól "wheel"}\Afootnote{hringr “ring” \emph{A}}}

🙄

@maieul
Copy link
Owner

maieul commented Oct 19, 2022

Well, there is not yet any such feature. It should be not very complex to add, but unfortunatly, I have no time for reledmac developing now. I suggest you to create your own macro, which call \lemma and include repetition.

Something link

\newcommand{\lemmawithtr}[2]{
\lemma{#1 \enquote{#2}}
}

(supposing you use csquotes package)

And call them as

 \edtext{hjól}{\lemmawithtr{hjol}{wheel}\Afootnote{hringr “ring” \emph{A}}}

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

3 participants