ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Extra space when \setcharacterkerning is used in enumeration
Date: Fri, 12 Jun 2020 21:47:37 +0200	[thread overview]
Message-ID: <CAHy-LL8iUX+0zRSjtQYJvUX0OrBco8G6nF-7-UMGszLU+DfukA@mail.gmail.com> (raw)
In-Reply-To: <3c84d56f-7c4a-52f7-0a1b-ed71a10a44e2@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2118 bytes --]

On Fri, Jun 12, 2020 at 9:35 PM Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com> wrote:

> Mikael Sundqvist schrieb am 12.06.2020 um 20:55:
> > Hi,
> >
> > I noticed an extra space in an enumeration when
> > using \setcharacterkerning in the \headstyle parameter. The extra space
> > appears before the first word "Sats", and in my case it is unwanted (In
> > the example I want the word Sats to align with a), b), ...).
> >
> > The space was not there a year ago, with the same code.
> >
> > In the test file below (sorry for its length), the environment sats is
> > having the problem, while SATS does not. The only difference is in the
> > \headstyle parameter.
>
> Is the delab environment necessary for the example?
>
> > Am I missing something obvious?
>
> I have no old installation to compare the example below but the problem
> is the \hskip\measure{...} in your code which is stretched as well.
>
> \starttext
>
> text
>
> \kerncharacters{text}
>
> \dontleavehmode\hskip\emwidth text
>
> \dontleavehmode\kerncharacters{\hskip\emwidth text}
>
> \dontleavehmode\kern\emwidth text
>
> \dontleavehmode\kerncharacters{\kern\emwidth text}
>
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

Oh, many thanks for the quick fix, Wolfgang! Now it looks as intended.

/Mikael

PS 1: No, the delab was there for me to check which one was the "wrong"
one. There are probably better ways to do that, but this is how it popped
up in my document.

PS 2: I have to take back what I said about last year. I see now that this
particular setup in my document actually has changed since then. Sorry for
being unclear about that.

[-- Attachment #1.2: Type: text/html, Size: 3165 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2020-06-12 19:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12 18:55 Mikael Sundqvist
2020-06-12 19:35 ` Wolfgang Schuster
2020-06-12 19:47   ` Mikael Sundqvist [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=CAHy-LL8iUX+0zRSjtQYJvUX0OrBco8G6nF-7-UMGszLU+DfukA@mail.gmail.com \
    --to=mickep@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).