ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس   سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: reference bug: MkiV
Date: Thu, 03 Nov 2011 14:35:51 -0600	[thread overview]
Message-ID: <op.v4d0t1ojpw6hmh@ishamid-pc> (raw)
In-Reply-To: <CF703539-9A39-444E-BB5D-75CDFF8C0ACE@googlemail.com>

On Thu, 03 Nov 2011 14:23:28 -0600, Wolfgang Schuster  
<schuster.wolfgang@googlemail.com> wrote:

>>> The old \inmargin command is gone, Hans rewrote the whole code for  
>>> \inmargin etc.

>>> You can change the alignment global with  
>>> \setupmarginframed[align=outer] for for a single
>>> command with \inmargin[][align=outer]{…}
>>
>> Hmm .. does not work:
>>
>> ====================
>> \starttext
>> \setuplayout[location={middle,doublesided},backspace=2cm]
>> \setuppagenumbering[alternative=doublesided]
>> %
>> \setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx\setupinterlinespace,margin=54pt]
>> \setupmarginframed[align=outer]
>> % \dorecurse{20}{\input zapf \inmargin{This is a test of the margindata
>> system and the inmargin macros}\par  }
>>
>> \dorecurse{20}{\input zapf \inmargin[][align=outer]{This is a test of  
>> the
>> margindata system and the inmargin macros}\par  }
>>   \stoptext
>> ====================
>>
>> inmargin remains in the left margin on each page.
> The \margindata commands have two optional commands, the arguments of  
> the first argument
> are used for the placement of the margin text while the second passes  
> it’s argument to the frame
> part of each command.

Ok, this may seem like a moot point since we got the other method working,  
but work on the context book means getting clear on these things and if  
there is a bug, so ... :

A perhaps clearer example:

=================
\starttext
\setuplayout[location={middle,doublesided},backspace=2cm]
\setuppagenumbering[alternative=doublesided]
% \setupmarginframed[][align=outer]
% \setupmarginframed[align=outer][]
\setupmarginframed[align=outer]

\dorecurse{20}{\input zapf \inmargin{This is a test of the marginframed  
system and the inmargin macros}\par  }
  \stoptext =================

Toggling the commented line with the two immediately above it makes no  
difference; inmargin stays in the left gutter.

What am I doing wrong? or should we just officially forget about the  
marginframed mechanism and stick to margindata only??

Best wishes
Idris
-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-11-03 20:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 18:47 Idris Samawi Hamid ادريس   سماوي حامد
2011-11-01 18:59 ` Wolfgang Schuster
2011-11-01 19:20   ` Idris Samawi Hamid ادريس   سماوي حامد
2011-11-01 20:03     ` Wolfgang Schuster
2011-11-03 20:12       ` Idris Samawi Hamid ادريس   سماوي حامد
2011-11-03 20:23         ` Wolfgang Schuster
2011-11-03 20:35           ` Idris Samawi Hamid ادريس   سماوي حامد [this message]
2011-11-03 21:04             ` Wolfgang Schuster
2011-11-03 21:35               ` Idris Samawi Hamid ادريس   سماوي حامد
2011-11-03 20:17       ` Idris Samawi Hamid ادريس   سماوي حامد
2011-11-03 20:24         ` Wolfgang Schuster
2011-11-04  9:13           ` Hans Hagen
2011-11-05 14:05             ` Idris Samawi Hamid ادريس   سماوي حامد
2011-11-05 14:07           ` Idris Samawi Hamid ادريس   سماوي حامد
2011-11-03 20:18       ` Idris Samawi Hamid ادريس   سماوي حامد

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=op.v4d0t1ojpw6hmh@ishamid-pc \
    --to=ishamid@colostate.edu \
    --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).