ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: morgan.brassel@free.fr
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indenting with ConTeXt
Date: Tue, 22 Jan 2008 00:47:00 +0100	[thread overview]
Message-ID: <1200959220.47952ef4dfdec@imp.free.fr> (raw)
In-Reply-To: <115224fb0801210906r516c6cd3ofac97edd8f945849@mail.gmail.com>

Selon Wolfgang Schuster <schuster.wolfgang@googlemail.com>:

> Hi Morgan,
>
> On Jan 21, 2008 2:02 PM,  <morgan.brassel@free.fr> wrote:
> > Hi,
> >
> > I'm very new to ConTeXt and I've got some (probably naive) questions about
> > indenting.
> >
> > 1. According to the ConTeXt Excursion, using \setupindenting[medium] should
> lead
> > to indented paragraph. And actually, at least for me, it doesn't... I saw
> > examples on the wiki with \setupindenting[yes,medium]: this actually works,
> but
> > the 'yes' option is not documented for the \setupindenting command on
> texshow.
> > What am I missing here? Is the \indenting command needed even to indent the
> > whole document? It is not what I understood from the Excursion...
>
> The manuals are a little bit outdated and not every new feature and
> change in the
> setup is documented.

I see. So the 'yes' option is now a "true option" of \setupindenting?

>
> > 2. I have not been able to indent the first paragraph after a \section (or
> any
> > other titling) command. Isn't it the role of the 'first' option for
> > \setupindenting? Is a trick needed to have it work?
>
> This is a feature, because the first paragraph after a section
> shouldn't be intended
> by default, you could change this with the following setups.

In french documents, common usage is to indent every paragraphs, including those
following titles. Maybe this behaviour could be added in the \mainlanguage[fr]
command? I guess that babel does it in LaTeX when the frenchb option is chosen.

>
> a. You want to enable indenting only for section commands.
>
> \setuphead[section][indentnext=yes]
>
> b. You want to enable indenting for all headers
>
> \setupheads[indentnext=yes]

Thanks for this solution. This probably should be the default for french
documents...

>
> > Thanks in advance for your answers,
> >
> > Morgan
> >
> >
> > \setupindenting[medium,first]
> > \starttext
> >
> > This paragraph is not indented. It becomes indented when I add the
> > (undocumented?) 'yes' option to \setupindenting.
> >
> > \section{A section}
> >
> > How to get this one indented (in the whole document)?
> >
> > \stoptext
>
> Greetings,
>
> 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://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
___________________________________________________________________________________
>


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-01-21 23:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21 13:02 morgan.brassel
2008-01-21 17:06 ` Wolfgang Schuster
2008-01-21 23:47   ` morgan.brassel [this message]
2008-01-22  0:04     ` Arthur Reutenauer
2008-01-22  0:12       ` Hans Hagen

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=1200959220.47952ef4dfdec@imp.free.fr \
    --to=morgan.brassel@free.fr \
    --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).