-
Notifications
You must be signed in to change notification settings - Fork 1
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
TeX's non-breaking space ~ breaking samewords #29
Comments
Don't apologize for contributing to the project! Your feedback is really great. I'm looking into this now. |
I have pushed a suggestion for this to the branch "issue-29". \sameword{2}~dollars and
\edtext{\sameword[1]{2}~\edtext{cent}{%
\Afootnote{dimes}}
and
even
2
\sameword[1]{more}}{%
\lemma{\sameword{2}–\sameword{more}}%
\Afootnote{del.}},
and
some
\sameword{more}. Does that fit your expectation? Edit: There are no other one character space characters in TeX right (aside from of course " "). So that excludes for example |
Yes, this is the result I'd expect. But I found something else while trying the branch (haven't checked for other branches yet). Try: \documentclass{scrartcl}
\usepackage[series={A},nofamiliar,noeledsec,noledgroup,draft]{reledmac}
\begin{document}
\beginnumbering
\pstart
TWO~dollars and
\edtext{TWO \edtext{cent}{%
\Afootnote{dimes}}
and
even
%
\edtext{TWO}{%
\Afootnote{4}}
more}{%
\lemma{TWO–more}%
\Afootnote{del.}},
and
%
\edtext{TWO~%
\edtext{dollars}{%
\Afootnote{cents}}
}{%
\Afootnote{del.}}
some
more.
\pend
\endnumbering
\end{document} The result gives some double ./orig1-SWtestSW.tex:30: Undefined control sequence.
<argument> ... @\this@absline @\the \section@numR
@R
l.30 \endnumbering Removing the double On the other hand
is a bit strange. I'd expect to find
in an edition. Considering this, your markup seems to make sense and |
Trying again without the |
Yes, I'm moving this and then I'll close the original issue when the update is pushed. |
Hej igen -- it's me, your nemesis… ;)
I am now running samewords on my huge project, so I have dug up some more problems. I'd really appreciate if you could iron out the last few glitches.
First:
~
in\edtext
isn't compiled:With
\edtext{2 \edtext{cent}
it runs through, but doesn't catch all occurrences of "2", not surprisingly, as I assume that the whole string "2~dollars" is handled as one word and thus not matched with the word "2" of theedtext
.The text was updated successfully, but these errors were encountered: