{"action":"created","issue":{"url":"https://api.github.com/repos/maieul/ledmac/issues/767","repository_url":"https://api.github.com/repos/maieul/ledmac","labels_url":"https://api.github.com/repos/maieul/ledmac/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/maieul/ledmac/issues/767/comments","events_url":"https://api.github.com/repos/maieul/ledmac/issues/767/events","html_url":"https://github.com/maieul/ledmac/issues/767","id":324500248,"number":767,"title":"Edtext inside sameword gives error","user":{"login":"stenskjaer","id":4047523,"avatar_url":"https://avatars0.githubusercontent.com/u/4047523?v=4","gravatar_id":"","url":"https://api.github.com/users/stenskjaer","html_url":"https://github.com/stenskjaer","followers_url":"https://api.github.com/users/stenskjaer/followers","following_url":"https://api.github.com/users/stenskjaer/following{/other_user}","gists_url":"https://api.github.com/users/stenskjaer/gists{/gist_id}","starred_url":"https://api.github.com/users/stenskjaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenskjaer/subscriptions","organizations_url":"https://api.github.com/users/stenskjaer/orgs","repos_url":"https://api.github.com/users/stenskjaer/repos","events_url":"https://api.github.com/users/stenskjaer/events{/privacy}","received_events_url":"https://api.github.com/users/stenskjaer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-18T17:56:48Z","updated_at":"2018-05-20T19:51:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Issue can be opened in English or in French (I prefer in French). Please fill this form.\r\nPlease open one issue by problem, and not a global issue for multiple problems. \r\n\r\n# Version of reledmac / reledpar (if that is a devellopement version, please precise the branch)\r\n2.24.2\r\n\r\n# If this is a newly introduced problem, please indicate the last working version of the package(s)\r\n\r\n# Does the problem happen only when combining with some packages?\r\nNo.\r\n\r\n# Does the problem happens both in parallel typesetting and normal typesetting?\r\nYes.\r\n\r\n# Description of the problem\r\nWhen a `\\sameword{}` entry contains an `\\edtext{}{}` element, the compilation gives the error \"! Missing \\endcsname inserted.\" on the line of the nested encoding. The problem is also described in https://github.com/stenskjaer/samewords/issues/33 with a bit more context and more complex examples.\r\n\r\n# Minimal Working Example\r\nPlease provide a [MWE](http://minimalbeispiel.de/mini-en.html). \r\nIn  case where the problem happens both in parallel typesetting and normal typesetting, please make your MWE in normal typesetting (because your MWE must be _Minimal_). \r\n\r\n``` latex\r\n\\documentclass{article}\r\n\r\n\\usepackage[series={A},nofamiliar,noeledsec,noledgroup,draft]{reledmac}\r\n\r\n\\begin{document}\r\n\r\n\\beginnumbering\r\n\\pstart\r\n\\sameword{two \\sameword{dollars}}\r\n\\sameword{two \\edtext{\\sameword[2]{dollars}}{\\Afootnote{cents}}}{\\Afootnote{del.}}\r\n\\pend\r\n\\endnumbering\r\n\r\n\\end{document}\r\n```"},"comment":{"url":"https://api.github.com/repos/maieul/ledmac/issues/comments/390506692","html_url":"https://github.com/maieul/ledmac/issues/767#issuecomment-390506692","issue_url":"https://api.github.com/repos/maieul/ledmac/issues/767","id":390506692,"user":{"login":"maieul","id":636640,"avatar_url":"https://avatars2.githubusercontent.com/u/636640?v=4","gravatar_id":"","url":"https://api.github.com/users/maieul","html_url":"https://github.com/maieul","followers_url":"https://api.github.com/users/maieul/followers","following_url":"https://api.github.com/users/maieul/following{/other_user}","gists_url":"https://api.github.com/users/maieul/gists{/gist_id}","starred_url":"https://api.github.com/users/maieul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maieul/subscriptions","organizations_url":"https://api.github.com/users/maieul/orgs","repos_url":"https://api.github.com/users/maieul/repos","events_url":"https://api.github.com/users/maieul/events{/privacy}","received_events_url":"https://api.github.com/users/maieul/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T19:51:37Z","updated_at":"2018-05-20T19:51:37Z","author_association":"OWNER","body":"Ok\r\n1. First of all, you had an error in your MWE: you have a \\Afootnote outside of an edtext. Cf 69e0d0532d59591dd6e24d288e783683793c7963 and dcc75c1a\r\n2. Then, I have modified reledmac in branch issue767:\r\n    - Fix bug with optional argument of \\sameword inside a \\saweword\r\n    - Allow \\edtext inside \\sameword\r\nPlease try it and let me know.\r\n\r\nAlso, I have tried with nestedt sameword/edtext (dcc75c1a).  But with the default way of printing sameword, that was unclear, because we get two 1 and two 2,  the first refering to \"two dollars\" and in the second refering to \"dollars\".  But I found a way to make parenthesis around a the samword, in the foonote, when concerning two words or mord. cf fedd07f1. \r\n\r\nI don't think I will integrate it direclty in reledmac, as I thinkg it is not a good idea to refer to two words as a single sameword. "}}
{"actor":{"display_login":"maieul"}}