From: <josephcanedo@gmail.com>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Problem with \inouter and text justification
Date: Tue, 8 Dec 2015 22:03:36 +0000 [thread overview]
Message-ID: <c7b38e82c9e94beda4d0c57166e52f8a@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 663 bytes --]
Dear all,
I am trying to add margin notes and for some reason I do not understand when having them in the main text, the main text which normally would be fully justified (without notes) is now aligned to left, but right side is erratic. I attach a simple MWE showing this.
If you disable the notes uncommenting the no op versions of \R and \N macros the text is perfectly justified.
Any hint on what I am doing wrong or some solution to avoid this please?
Another question would be how to make the margin content always aligned to left please (even if the used margin is the left one) ?
Many thanks
Best regards
Joseph Canedo
[-- Attachment #1.2: Type: text/html, Size: 1845 bytes --]
[-- Attachment #2: margin_mwe.tex --]
[-- Type: application/octet-stream, Size: 1428 bytes --]
\setuppapersize[A5][A5]
% computed from lua in document (large right margin)
\setuplayout[grid=both,edge=0sp,footer=0sp,edgedistance=0sp,margindistance=280166.5sp,footerdistance=0sp,backspace=1837977.5826sp,rightmargin=5951077.8304sp,leftmargin=1277644.5826sp,height=33829095.45sp,header=1015678.5sp,headerdistance=507839.25sp,width=18407373.087sp,topspace=760715.01666667sp]
\setupmargindata[outer][stack=continue, align=inner]
\setupbodyfont[schola, 8pt]
% margin notes, text not justified
\def\R#1{\inouter{#1}}
\def\N#1#2{\high{#1}\R{#1 #2}}
% when uncommented margin notes are gone, text justified
% \def\R#1{}
% \def\N#1#2{}
\starttext
\R{Luc.1.c}Or la nativite de Jesus Christ estoit telle. Car comme Marie mere d'iceluy fut espousee a Joseph : devant
qu'ilz \N{h*}{ou/ fussent en mesnage}convinssent/ elle fut trouvee \N{i*}{Grec/ ayant au ventre}enceincte du sainct esprit.
Et Joseph son mary/ estant juste/ & ne
voulant point la diffamer/ la voulut secretement \N{k*}{c'est) repudier}laisser. Mais comme iceluy pensoit ces choses/ voicy \N{l*}{Ange: c'est/ messager}l'ange du
Seigneur s'apparut a luy en son songe/ disant : Joseph filz de David/ ne crains a recevoir Marie ta femme : car
ce qui est \N{m*}{ou/ nay}conceu en elle/ est du sainct Esperit. Or enfantera elle ung filz/ & appelleras son nom \R{Jesus/ pourquoy est il ainsi appelle.}Jesus : car
iceluy sauvera son peuple de leurs pechez.
\stoptext
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2015-12-08 22:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 22:03 josephcanedo [this message]
2015-12-10 10:04 ` josephcanedo
2015-12-11 12:13 ` Wolfgang Schuster
2015-12-11 20:03 ` josephcanedo
2015-12-15 20:58 ` josephcanedo
2016-01-22 8:45 ` josephcanedo
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=c7b38e82c9e94beda4d0c57166e52f8a@gmail.com \
--to=josephcanedo@gmail.com \
--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).