ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tomas Hala <thala@pef.mendelu.cz>
To: "hajtmar@gyza.cz"@pef.mendelu.cz, ntg-context@ntg.nl
Subject: Re: Nested itemize (spaces before and after inside environment)
Date: Thu, 24 Oct 2013 14:21:11 +0200	[thread overview]
Message-ID: <20131024122111.GA28078@akela.mendelu.cz> (raw)
In-Reply-To: <5268FA2D.6030501@gyza.cz>

Hi Jarda and all,

I tested it on my computer using CTX from TL 2010 and 2013 and I have got
the same result in both cases. It seems that the content of the option before 
is completely ignored. I tested another values for this option
(\page,\vskip,\godown...), no result.

The only one way which works is the manual addition of \blank before and
after the nested itemize environment, unfortunatelly.

---

Another interesting thing is that the compiler of CTX in TL 2013 does not
report an error when I forgot the opening \starttext, or the closing
\stoptext, or both, whereas in TL 2010 it does. Is this expected behaviour?

Best regards,

Tomas Hala


Thu, Oct 24, 2013 ve 12:45:01PM +0200 Jaroslav Hajtmar napsal(a):
# Hello ConTeXist.
# 
# I tried convert plainTeX source code into ConTeXt  source code so
# that the output PDF gave the same (or approximately the same)
# result. I did it for one of plainTEX developers (Mr. Olšák), which
# compared results of PlainTeX, LaTeX and ConTeXt. However, I
# encountered the following problem.
# 
# Is there a way to adjust the spacing before internal itemize
# environment when the external itemize environment is set as PACKED?
# 
# Thanx JaroslavHajtmar
# 
# Here is my minimal example:
# 
# 
# \setupitemize[1][packed][symbol=n,before={\blank[medium]},after={\blank[medium]}]
# \setupitemize[2][packed][symbol=a,stopper=),before={\blank[big]},after={\blank[big]}]
# 
# \starttext
# 
# This is normal text before itemize list.
# 
# \startitemize
# \item First 1 level
# \item Second 1 level
#   \startitemize
#   \item First 2 level (before this line should be big space)
#   \item Second 2 level
#   \item Third  2 level (after this line should be big space)
#   \stopitemize
# \item Third 1 level
# \item Fourth 1 level
# \stopitemize
# 
# This is normal text after itemize list.
# 
# 
# \stoptext
# 
# ___________________________________________________________________________________
# 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://tex.aanhet.net
# archive  : http://foundry.supelec.fr/projects/contextrev/
# 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-10-24 12:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24 10:45 Jaroslav Hajtmar
2013-10-24 12:21 ` Tomas Hala [this message]
2013-10-24 12:43   ` Jaroslav Hajtmar

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=20131024122111.GA28078@akela.mendelu.cz \
    --to=thala@pef.mendelu.cz \
    --cc="hajtmar@gyza.cz"@pef.mendelu.cz \
    --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).