ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: issues with \comment
Date: Fri, 6 Jul 2018 13:56:30 +0200	[thread overview]
Message-ID: <9080aa38-b2a6-8e62-297d-06751a2019af@gmx.es> (raw)
In-Reply-To: <5B3F37A2.60306@gmail.com>

On 07/06/2018 11:34 AM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 6. Juli 2018 um 11:14
>> [...]
>> Locations for leftedge, rightedge and text don’t seem to work (in
>> Acrobat Reader, SumatraPDF and Evince).
> 
> By default the leftedge and rightedge areas are disabled because
> they have a width of 0pt and even when you enable them you won’t see
> them because they are outside of the visible area.

Many thanks for your reply, Wolfgang.

Using your approach, I see what the problem is:

    \setuppapersize[A5][A4]
    \setuplayout[location=middle]
    \showframe
    \setupinteraction[state=start]
    \starttext
    \comment[location=leftmargin,space=yes,buffer=abc]{}
    \type{\comment[location=leftmargin,space=yes,buffer=abc]{}}
    \blank[2*big]

    \comment[location=rightmargin,space=yes,buffer=abc]{}
    \type{\comment[location=rightmargin,space=yes,buffer=abc]{}}
    \blank[2*big]
    \stoptext

leftmarging places the icon over the text (at least, in Acrobat Reader
and Evince), since the width of the icon isn’t considered in the icon
placemement. I think this should be improved.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2018-07-06 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-06  9:14 Pablo Rodriguez
2018-07-06  9:34 ` Wolfgang Schuster
2018-07-06 11:56   ` Pablo Rodriguez [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=9080aa38-b2a6-8e62-297d-06751a2019af@gmx.es \
    --to=oinos@gmx.es \
    --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).