On 7/10/2013 8:18 PM, Pablo RodrÃguez wrote:
Dear Hans,
I have found two bugs with compressed linenotes that I reported (http://www.ntg.nl/pipermail/ntg-context/2013/073940.html and http://www.ntg.nl/pipermail/ntg-context/2013/073953.html).
I would like to introduce ConTeXt for critical editions to some Spanish-speaking people and I think this is a very useful feature.
Many thanks for your help,
put this in cont-new.mkiv \unexpanded\def\strc_linenotes_range_sparse#1% order {\doifreferencefoundelse{lr:b:\currentlinenotereference}\settrue\setfalse\c_page_lines_current_from \ifconditional\c_page_lines_current_from \xdef\m_page_lines_current_from{\currentreferencelinenumber}% \doifreferencefoundelse{lr:e:\currentlinenotereference}\settrue\setfalse\c_page_lines_current_to \ifconditional\c_page_lines_current_to \xdef\m_page_lines_current_to{\currentreferencelinenumber}% \ifx\m_page_lines_previous_from\m_page_lines_current_from \ifx\m_page_lines_previous_to\m_page_lines_current_to \notationparameter\c!compressseparator \else \page_lines_in_from \ifx\m_page_lines_current_from\m_page_lines_current_to\else\endash\page_lines_in_to\fi \fi \else \page_lines_in_from \ifx\m_page_lines_current_from\m_page_lines_current_to\else\endash\page_lines_in_to\fi \fi \else \page_lines_in_from \fi \else \ifx\m_page_lines_previous_from\m_page_lines_current_from \notationparameter\c!compressseparator \else \page_lines_in_from \fi \fi} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------