On 2014-05-17 20:12, Matthias Weber wrote:Dear All,You want margin rules. The wiki has a place-holder entry for \setupmarginrules, but the ConTeXt reference manual has a couple of pages that should provide a good start.
I would like to use the margin for two different purposes: For brief notes, using
\inmargin, and to mark entire paragraphs sections of the text with vertical lines.
So, I’d like to be able to something like this
\starttext
\startsquigglyline
\inmargin{read \\ this \\ first}
\input{knuth}
\stopsquigglyline
\startthinline
\inmargin{read \\ this \\ next}
\input{tufte}
\stopthinline
\stoptext
I know I could use frames to accomplish the vertical features within in the text area, but I’d prefer to use the margin so that framing paragraphs doesn’t
indent the paragraphs compared to the unframed portions.
But I also want to have the \inmargin notes to be lined up properly. So it looks like I would need to divide the margin into two horizontally
separate regions. On left pages, the left region would be used for the \inmargin notes, and the (very thin) right region would be used for the
vertical features (squigglyline and thinline). For right pages the other way around. Of course I’d also like the vertical features to extend across pages, if needed.
Like so:
Left Page Right Page
read ( Knuth Tufte | read
this ) Knuth Tufte | this
first ( Knuth Tufte | next
) Knuth Tufte |
( Knuth Tufte |
Is there a mechanism in place for that?
Thanks for any hints!
Matthias
--
Rik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________