ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: \noindentation not working
Date: Fri, 20 Nov 2020 20:49:30 +0100	[thread overview]
Message-ID: <ea576ea5-303e-9b51-6490-d11af2315c8f@gmx.es> (raw)
In-Reply-To: <9e04fa3a-93af-c39a-ba57-ae9570c77bae@xs4all.nl>

On 11/20/20 8:07 PM, Hans Hagen wrote:
> [...]
> Here's a fix:
> [...]
> (we might need adapt some more code); actually more correct would be:
>
> \def\spac_indentation_remove
>    {\ifzeropt\parindent \else
>       \begingroup
>       \ifnum\lastnodetype=\gluenodecode
>         \unskip % we also need to check for the subtype
>       \orelse\ifnum\lastnodetype=\hlistnodecode
>         \setbox\scratchbox\lastbox % we also need to check for the subtype
>       \else
>         % forget about it
>       \fi
>       \endgroup
>     \fi}

Many thanks for the fix, Hans.

I placed it in cont-new.mkiv (I thought there was a cont-new.mkxl, but I
couldn’t find it.

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:[~2020-11-20 19:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 16:41 Pablo Rodriguez
2020-11-20 16:47 ` Otared Kavian
2020-11-20 17:27 ` Wolfgang Schuster
2020-11-20 19:07   ` Hans Hagen
2020-11-20 19:49     ` Pablo Rodriguez [this message]
2020-11-20 20:07     ` RE : " Joseph
2020-11-20 21:05       ` Pablo Rodriguez

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=ea576ea5-303e-9b51-6490-d11af2315c8f@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).