[NTG-context] r2l alignment and linenumbering conflict?
Idris Samawi Hamid ادريس سماوي حامد
Idris.Hamid at colostate.edu
Sun Aug 2 13:51:50 CEST 2015
On Sun, 02 Aug 2015 03:24:12 -0600, talazem at fastmail.fm
<talazem at fastmail.fm> wrote:
> Thanks for that, Wolfgang. I can only hope that, as the culprit is
> known, it can be apprehended!
Talal, here is a barbarous workaround using \thinrule:
======================
\setuppapersize[A6]
\starttext \showframe
\setupthinrules[color=white]
\setupwhitespace[big]
\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque
molestie dictum quam non congue. Integer ut dolor vel mi vestibulum
molestie vel et nulla.\thinrule
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque
molestie dictum quam non congue. Integer ut dolor vel mi vestibulum
molestie vel et nulla.
\stopalignment
\stoplinenumbering
\section{Correct}
\startalignment[r2l]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque
molestie dictum quam non congue. Integer ut dolor vel mi vestibulum
molestie vel et nulla.
\stopalignment
\stoptext
======================
This effectively hides the problem. Unfortunately it is apparently not
straightforward to invoke the \thinrule automatically at the end of every
paragraph [see the other thread with Alan].
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
More information about the ntg-context
mailing list