{"action":"created","issue":{"url":"https://api.github.com/repos/maieul/ledmac/issues/252","labels_url":"https://api.github.com/repos/maieul/ledmac/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/maieul/ledmac/issues/252/comments","events_url":"https://api.github.com/repos/maieul/ledmac/issues/252/events","html_url":"https://github.com/maieul/ledmac/issues/252","id":62389497,"number":252,"title":"Critical footnotes with f. / ff.  and slash.","user":{"login":"mepherl","id":11441262,"avatar_url":"https://avatars.githubusercontent.com/u/11441262?v=3","gravatar_id":"","url":"https://api.github.com/users/mepherl","html_url":"https://github.com/mepherl","followers_url":"https://api.github.com/users/mepherl/followers","following_url":"https://api.github.com/users/mepherl/following{/other_user}","gists_url":"https://api.github.com/users/mepherl/gists{/gist_id}","starred_url":"https://api.github.com/users/mepherl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mepherl/subscriptions","organizations_url":"https://api.github.com/users/mepherl/orgs","repos_url":"https://api.github.com/users/mepherl/repos","events_url":"https://api.github.com/users/mepherl/events{/privacy}","received_events_url":"https://api.github.com/users/mepherl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-17T13:00:21Z","updated_at":"2015-03-17T23:54:41Z","closed_at":null,"body":"I needed to implement to \"hacks\" into eledmac as I have to follow a pre-existing layout. \r\n\r\n1.) Critical footnotes referencing more than one line should denote as \"5f.\"/\"5ff.\" instead of \"5-6\" or \"5-9\". This saves space and is common practice in German editions.\r\n\r\n2.) I'm preparing an edition where a new chapter has been introduced in a later print of the book. This of course happens between lines. So if a new chapter is introduced after line 112 I don't have a lemma to attach this to. Instead it should read: \"112/113 Chapter seperation introduced in 3rd edition\".\r\n\r\nI've got a working solution, which is not a good one: The first problem is easy, i use a counter for it. The second one was more difficult, i misused the value of the first pagemark and set it to -1.\r\n\r\n```javascript\r\nif (isAwesome){\r\n  return true\r\n}\r\n\\documentclass{scrbook}\r\n\\usepackage{eledmac}\r\n\r\n\\firstlinenum{0} \\linenumincrement{1}\r\n\r\n\\newcounter{inbetween}\r\n\r\n\\makeatletter\r\n\\def\\printlines#1|#2|#3|#4|#5|#6|#7|{%\r\n\\setcounter{inbetween}{#2}\r\n\\stepcounter{inbetween}\r\n\\begingroup\r\n\\setprintlines{#1}{#2}{#3}{#4}{#5}{#6}%\r\n\\ifnum#5>\\value{inbetween}\\hspace{-1em}{#2}ff. \\else       % This line is new\r\n\\ifnum#5=\\value{inbetween}\\hspace{-0.5em}{#2}f. \\else\r\n\\ifnum#1=-1 \\hspace{-0.5em}{#2}/\\arabic{inbetween} \\else \\ifnum#5=#2 \\hspace{-0.5em}{#2} \\fi \\fi \\fi\r\n\\endgroup}\r\n\\makeatother\r\n\r\n\\newcommand{\\insertpartmark}{\\edtext{}{\\linenum{-1}\\Afootnote[nosep]{\\hspace{-1em}New chapter mark introduced in 3rd edition}}}\r\n\r\n\\begin{document}\r\n\\beginnumbering      \r\n\\pstart\r\n\\edtext{What}{\\Afootnote{Whit}} a \\edtext{piece}{\\Afootnote{peace}} of work is man! how noble in reason! \r\n\\pend\r\n\\pstart\r\nDann bekleidete sie mit seinen weichen, weiten Filz\r\npantoffeln, in denen sie versanken, \\edtext{ihre Fuesschen,}{\\Afootnote{test}}\r\nwelche von Kuessen verwundet waren, und stampfte gravitaetisch\r\nmit einer sehr wuerdigen und kaiserlichen Miene und sang, indem sie mit dem Kopfe den Takt dazu pendelte, ein altes feierliches Kirchenlied. Aber plötzlich, aufrecht auf einem Beine, schnellte sie mit dem Schwunge des andern den Schuh hoch, um ihn durch eine flinke und zuversichtliche Gebaerde wieder aufzufangen. In dieser anmutigen Pose verweilte sie. Sie stiess den Laden nach dem Garten auf, aus welchem der Flieder suesse Gruesse schickte.{\\insertpartmark}\r\n\\pend\r\n\r\n\\endnumbering\r\n\\end{document}"},"comment":{"url":"https://api.github.com/repos/maieul/ledmac/issues/comments/82645431","html_url":"https://github.com/maieul/ledmac/issues/252#issuecomment-82645431","issue_url":"https://api.github.com/repos/maieul/ledmac/issues/252","id":82645431,"user":{"login":"maieul","id":636640,"avatar_url":"https://avatars.githubusercontent.com/u/636640?v=3","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":"2015-03-17T23:54:41Z","updated_at":"2015-03-17T23:54:41Z","body":"could you try branch \"issue252\"? (read https://github.com/maieul/ledmac#debug to know how to test). I have implemented it.\r\n\r\nI have just change the name of the two command. Now it is shorter : `\\twolines`\r\n`\\morethantwolines`. See the file issue252.tex.\r\n\r\nIf I have a positive  answer tomorrow night, I could add it to the release of thursday."}}