ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: madiazm.eoicc@gmail.com,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: [NTG-context] Re: Why is only the first frame protruding into the margin?
Date: Fri, 17 May 2024 23:41:04 +0200	[thread overview]
Message-ID: <b3cc482f-d3ef-44af-b3d0-c2405d0959f2@freedom.nl> (raw)
In-Reply-To: <171597015515.1996.6148230939744309560@cgl.ntg.nl>

On 5/17/2024 8:22 PM, madiazm.eoicc@gmail.com wrote:
> thanks Pablo, but this is strange
> 
> If I reproduce your code in a new file I see the perfect alignment of the frames. But I had changed the code in my original file as suggested by Wolfgang and I additionally commented all lines in the "firstHeadings" definitions following your advice and after compiling... the same result.
> 
> The strange thing is that it is only the first section that protrudes, the other sections are right (as seen in the link). Therefore it must not be the code definition, since in that case all sections should protrude...
> 
> Over the weekend I will slowly move my code to a new file with your code adding a bit everytime to try to spot the moment when I get this strange behaviour and then I will write again.
> 
> ps. I included the link because there is no attach option here in the online-mailing-list. Sorry if it not ok.
> thanks
if you do something \switchtobodyfont without ever having loaded it 
(before starttext) spaces can creep in depending on what files are 
loaded for that font

also, in order to avoid grouping issues / side effects you can do this 
before \starttext:

\usebodyfont[foo]

when you use multiple bodyfont sets

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2024-05-17 21:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 22:05 [NTG-context] " madiazm.eoicc
2024-05-17  5:27 ` [NTG-context] " garulfo
2024-05-17  7:38   ` madiazm.eoicc
2024-05-17  7:46 ` Wolfgang Schuster
2024-05-17  9:02   ` madiazm.eoicc
2024-05-17  9:21     ` madiazm.eoicc
2024-05-17 14:44     ` Pablo Rodriguez via ntg-context
2024-05-17 18:22       ` madiazm.eoicc
2024-05-17 18:46         ` madiazm.eoicc
2024-05-18 11:14           ` Pablo Rodriguez via ntg-context
2024-05-17 21:41         ` Hans Hagen via ntg-context [this message]
2024-05-17 22:45           ` madiazm.eoicc
2024-05-18 10:57         ` Pablo Rodriguez via ntg-context

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=b3cc482f-d3ef-44af-b3d0-c2405d0959f2@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.nl \
    --cc=madiazm.eoicc@gmail.com \
    /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).