ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: massifr@fastwebnet.it,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: annotated text: main text in narrower text, annotations on the right
Date: Fri, 30 Sep 2016 18:43:31 +0200 (CEST)	[thread overview]
Message-ID: <136662265.114621628.1475253811589.JavaMail.root@spooler6-g27.priv.proxad.net> (raw)
In-Reply-To: <1475186956.4077.11.camel@fastwebnet.it>

Hi Massi,

Why don't you try this kind of parallel paragraphs ?

% \setuppapersize[A5]
\defineparagraphs[TwoThird][n=2]
% The second paragraph width is automatically calculated, if not specified.
\setupparagraphs[TwoThird][1][width=.66\textwidth]
\starttext
\startTwoThird
quotation{...{\it pourquoi y a-t-il quelque chose plutôt que rien ?}
Parce que rien n’est plus simple et facile que quelque chose.
Plus loin, sachant que les choses existent,
on doit être en mesure d’expliquer
{\it pourquoi elles existent ainsi,}
et pas autrement.}
\nextTwoThird
G. W. Leibniz, {\it\fr Principes de la nature et de la grâce fondés en raison,} 1714.
\stopTwoThird
\stoptext

Another solution is :

\defineparagraphs[TwoColumns][n=2,align=verytolerant]
\startsetups[TwoColumns]
\setupinterlinespace[line=5ex]
\stopsetups
\setupparagraphs[TwoColumns:2][inner=\directsetup{TwoColumns}]

\starttext
\input tufte

% here start the twocolumns
\startTwoColumns

\startlines
{\bf ontact information}
Adeimantos
3 Achaion Street
Attica
Gr - 11852 Athens
adeimantos@uc.cy

{\bf Edition}
Essays § Novels

{\bf Development}
Prototype

{\bf Year}
2016

{\bf Private funding}
\$0

\stoplines

% Starting second column
\TwoColumns
\input ward
 \blank
\input ward

\stopTwoColumns

\stoptext

----- Mail original -----
De: "mf" <massifr@fastwebnet.it>
À: ntg-context@ntg.nl
Envoyé: Vendredi 30 Septembre 2016 00:09:16
Objet: Re: [NTG-context] annotated text: main text in narrower text, annotations on the right


>  Which feature from verbatim annotations do you need because style
> and color
> changes can be applied in normal text without problems.
> 
> Wolfgang

Thanks for the answer, Wolfgang.

That's not style and color, it's a sort of two-column layout with the
main text in the left column and annotations (comments) in the right
one.
Example (it does not work):

\starttext

This is the main text\sidenote{annotation} flowing in the left
column...

\stoptext

resulting in

|This is the main text flowing   | annotation               |
|in the left column...           |                          |

You can do it with setuplayout and a wider right margin, using \inright
for annotations, but it's for the whole document or a whole page.
Is that possibile only for a section of text inside a page?

Best regards,
Massi
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2016-09-30 16:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29 14:23 MF
2016-09-29 18:45 ` Wolfgang Schuster
2016-09-29 22:09   ` mf
2016-09-30 10:04     ` Wolfgang Schuster
2016-10-02  8:29       ` MF
2016-10-02 12:21         ` Footnotes inside and outside a framed text Jean-Pierre Delange
2016-10-02 22:47           ` mf
2016-10-04 15:36             ` Jean-Pierre Delange
2016-10-04 18:44               ` Pablo Rodriguez
2016-10-05  9:48                 ` Jean-Pierre Delange
2016-09-30 16:43     ` Jean-Pierre Delange [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=136662265.114621628.1475253811589.JavaMail.root@spooler6-g27.priv.proxad.net \
    --to=adeimantos@free.fr \
    --cc=massifr@fastwebnet.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).