From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Itemization formatting
Date: Wed, 29 May 2019 16:40:09 +0200 [thread overview]
Message-ID: <35105826-DA27-4198-A7F0-BF3B1492EE28@elvenkind.com> (raw)
In-Reply-To: <20190529142746.GA1638@akela.mendelu.cz>
Hi,
Not here. The extra empty brackets seem to ‘destroy’ the option=intext
setting, and I am left with a para going like this:
• Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus turpis
et nulla venenatis tincidunt. Curabitur sit amet vehicula nisi, sit amet
instead of
• Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus turpis
et nulla venenatis tincidunt. Curabitur sit amet vehicula nisi, sit amet
(extra empty brackets rarely are without side-effects)
Best wishes,
Taco
> On 29 May 2019, at 16:27, Tomas Hala <tomas.hala@mendelu.cz> wrote:
>
> Hi Taco,
>
> probably, there is missing one pair of []:
>
> \setupitemize[1][][margin=1cm]
> \setupitemize[2][][margin=2cm]
>
> I tried it with TL2018 and I guess it works.
>
> Best wishes,
>
> Tomáš
>
>
>
>
> Wed, May 29, 2019 ve 04:15:25PM +0200 Taco Hoekwater napsal(a):
> # Hi all,
> #
> # I must be getting old :(
> #
> # It used to be that I could get ConTeXt to do what I wanted, but that is increasingly getting harder.
> #
> # Current problem: I would like to have itemizations that behave like in this dummy
> # ascii formatting:
> #
> # * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus turpis et
> # nulla venenatis tincidunt. Curabitur sit amet vehicula nisi, sit amet
> #
> # and so far it has been impossible for me to set up \setupitemize to do what I want.
> #
> # In descriptive text, what I want is:
> #
> # 1. some global indentation to the left and/or right. That is what the margin= key does
> # 2. the symbol (or number) typeset in a specific width. That is the width= key
> # 3. some distance between the number box and the following text. That is the distance= key
> # 4. on line 2 and forward to the end of the item, I want a *different* indentation from the first item line.
> #
> # In this particular case, I want no extra indentation except for ‘margin’, but in other
> # cases I may like either more or less indentation than on line 1 of the first para of the item.
> #
> # The desired effect is simple achieve with primitive operations, but I would like the input
> # to look nice (not to mention that I do not want to loose options for cross-referencing etc).
> #
> # \setupitemize[option=intext]
> #
> # is nearly right for this case (with indentation equal to the left margin), so I assumed I would
> # be able to tweak that. But the problem there is that while it does 2-4, it ignores the extra
> # indentation required for nested itemizations (it even ignores explicit margin= settings for the
> # nested level). After fighting with this for hours, I am nearly ready to give up.
> #
> # Anybody have any idea how to get itemizations to do what I want?
> #
> # MWE attached.
> #
> # Best wishes,
> # Taco
> # PS It seems that “indentnext=no” does not work for nested itemizations?
>
>
>
> #
> #
> #
> #
> #
>
> # ___________________________________________________________________________________
> # 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
> # ___________________________________________________________________________________
>
>
> Tomáš Hála
> --------------------------------------------------------------------
> Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
> Zemědělská 1, CZ-613 00 Brno, tel. +420 545 13 22 28
> --------------------------------------------------------------------
> http://akela.mendelu.cz/~thala
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
Taco Hoekwater
Elvenkind BV
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-05-29 14:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-29 14:15 Taco Hoekwater
2019-05-29 14:20 ` Itemization formatting (different question) Taco Hoekwater
2019-05-29 15:14 ` Wolfgang Schuster
2019-05-29 15:20 ` Taco Hoekwater
2019-05-29 15:26 ` Hans Hagen
2019-05-29 14:27 ` Itemization formatting Tomas Hala
2019-05-29 14:40 ` Taco Hoekwater [this message]
2019-05-29 14:53 ` Tomas Hala
2019-05-29 15:01 ` Taco Hoekwater
2019-05-29 14:59 ` Hans Hagen
2019-05-29 15:04 ` Taco Hoekwater
2019-05-29 15:24 ` Hans Hagen
2019-05-29 15:31 ` Wolfgang Schuster
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=35105826-DA27-4198-A7F0-BF3B1492EE28@elvenkind.com \
--to=taco@elvenkind.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).