Skip to content

handling of brackets #44

Open
Open
@floriandk

Description

@floriandk

Rather pondering than suggesting...

Processing

\documentclass{article}
\usepackage[series={A},nofamiliar,noeledsec,noledgroup]{reledmac}

\begin{document}

\beginnumbering
\pstart
Some
\edtext{text}{%
	\Afootnote{words.}} 
and some more te[xt but partly un]readable.
This will cause \edtext{problems}{%
	\Afootnote{difficulties}} later.
\pend
\endnumbering 

\end{document}

will give

\documentclass{article}
\usepackage[series={A},nofamiliar,noeledsec,noledgroup]{reledmac}

\begin{document}

\beginnumbering
\pstart
Some
\edtext{\sameword[1]{text}}{%
	\Afootnote{words.}} 
and some more \sameword{te[xt} but partly un]readable.
This will cause \edtext{problems}{%
	\Afootnote{difficulties}} later.
\pend
\endnumbering 

\end{document}

This is the expected behaviour in line with that "[]" are considered punctuation.

There are two problems with this -- depending on the expected behaviour for numbering:

  • reledmac will not process a single "[" in a \sameword-macro. The second run of the resulting code will break off. This should probably be changed in reledmac at one point.
    In the meantime I could use \char"005B instead, but then "text" in the apparatus will not be numbered as reledmac considers text and te\char"005B{}xt to be two different words.

  • Some editors will prefer not to consider two words with critical brackets (e.g. "Juli[us]" and "Julius") to be the same word. Is there a way to remove characters from the list of punctuation-characters other than changing the settings.py file directly? Would this cause problems in other contexts?

Do you have any advice/suggestions on how to handle this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions