ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Align TOC section numbers flushright
Date: Tue, 26 Jun 2018 06:26:00 -0600	[thread overview]
Message-ID: <op.zk7t5vbsejo439@desktop-mt1m160> (raw)
In-Reply-To: <5B314E73.7090905@gmail.com>

On Mon, 25 Jun 2018 14:20:03 -0600, Wolfgang Schuster  
<schuster.wolfgang@gmail.com> wrote:

>> If one turns on \showframe, one sees that the width value does not
>> prevent crossing the left side of the textblock (a good thing). OTOH,
>> getting the TOC numerals to lineup with the left side is a matter of
>> trial and error. [width=1.85em comes close]
>>
>> And if the document is changed so that the wider roman numerals are
>> not needed, then one has to reset the width value, again by trial and
>> error.
>>
>> So is there a way to make the left side of the textblock flush with
>> the widest roman? It's by no means urgent, but sine we are supposed to
>> be able to automate nearly everything.. -)
>
> This isn’t supported but adding a sample key (which is supported by
> enumerations) where you can set a text which is used to calculate the
> width should be easy.

Ok, hereby making this a feature request -)

>>> The attached file shows which values are valid for \setupcombinedlist.
>>
>> Ah, our npp-4-context config files for calltips need updating, I have
>>
>> \definecombinedlist [NAME]
>> [LIST]
>> [INHERIT: \setuplist]
>>
>> but that should be
>>
>> \definecombinedlist [NAME]
>> [LIST]
>> [INHERIT: \setupcombinedlist]
>
> I have the changes only in my local files.

Ah, ok. Many thanks.

Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
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-06-26 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 13:51 Idris Samawi Hamid ادريس سماوي حامد
2018-06-25 19:17 ` Wolfgang Schuster
2018-06-25 19:42   ` Idris Samawi Hamid ادريس سماوي حامد
2018-06-25 20:20     ` Wolfgang Schuster
2018-06-26 12:26       ` Idris Samawi Hamid ادريس سماوي حامد [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=op.zk7t5vbsejo439@desktop-mt1m160 \
    --to=idris.hamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).