* Indenting with ConTeXt
@ 2008-01-21 13:02 morgan.brassel
2008-01-21 17:06 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: morgan.brassel @ 2008-01-21 13:02 UTC (permalink / raw)
To: ntg-context
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...
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?
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Indenting with ConTeXt
2008-01-21 13:02 Indenting with ConTeXt morgan.brassel
@ 2008-01-21 17:06 ` Wolfgang Schuster
2008-01-21 23:47 ` morgan.brassel
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-01-21 17:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
> 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.
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 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Indenting with ConTeXt
2008-01-21 17:06 ` Wolfgang Schuster
@ 2008-01-21 23:47 ` morgan.brassel
2008-01-22 0:04 ` Arthur Reutenauer
0 siblings, 1 reply; 5+ messages in thread
From: morgan.brassel @ 2008-01-21 23:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-22 0:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-21 13:02 Indenting with ConTeXt morgan.brassel
2008-01-21 17:06 ` Wolfgang Schuster
2008-01-21 23:47 ` morgan.brassel
2008-01-22 0:04 ` Arthur Reutenauer
2008-01-22 0:12 ` Hans Hagen
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).