ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indenting problems
@ 2012-06-08 14:12 Bill Meahan
  2012-06-08 14:16 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Meahan @ 2012-06-08 14:12 UTC (permalink / raw)
  To: ConTeXt Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 1948 bytes --]

I can't seem to get indenting to work. I've tried various combinations 
of \setupindenting, \indenting and \indent to no avail. My latest try 
looks like this:

\setuppapersize[letter][letter]

\setuplayout
   [  backspace=0.10\paperwidth,
          width=0.60\paperwidth,
    rightmargin=0.20\paperwidth,
         footer=0pt,
       topspace=0.10\paperheight,
         height=0.80\paperheight]

\setuppagenumbering[alternative=doublesided]

\setupbackgrounds[text][rightmargin][frame=on,rulethickness=0.05pt]

\setuplabeltext[en][chapter=Chapter ]

\define[2]\ChapterCommand
   {\inright[][align=middle]{#1}%
    \midaligned{#2}}

\setuphead
   [chapter]
   [command=\ChapterCommand,
    after=\hairline\blank,
    header=empty,
    textstyle=\cgd,
    numberstyle=\sca]

\definefontfeature[smallcaps][smallcaps][onum=yes]

\definetypeface[mainface][rm][serif]      [pagella] [default]
\definetypeface[mainface][ss][sans]       [modern]  [default]
\definetypeface[mainface][cg][calligraphy][chorus]  [default]
\definetypeface[mainface][mm][math]       [palatino][default]

\setupbodyfont[mainface]

\setupindenting[next]


\starttext %\showframe

\indenting[small]
\startchapter[title=Knuth]
\input /usr/home/wwm/LoremIpsum.tex
%\dorecurse{10}{\input knuth\par}
\stopchapter

\startchapter[title=Zapf]
\dorecurse{10}{\input zapf\par}
\stopchapter

\stoptext

(Yes, this is an expanded version of Wolfgang's example from yesterday.)

This is LuaTeX, Version beta-0.70.2-2012052318 (TeX Live 2012)
ConTeXt  ver: 2012.05.29 00:12 MKIV  fmt: 2012.6.7  int: english/english
i386-FreeBSD 9.0
-- 
Bill Meahan K8QN

"The pessimist complains about the wind;
  the optimist expects it to change;
  the realist adjusts the sails."

-- William Arthur Ward

This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Indenting problems
  2012-06-08 14:12 Indenting problems Bill Meahan
@ 2012-06-08 14:16 ` Aditya Mahajan
  2012-06-08 14:20   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2012-06-08 14:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 8 Jun 2012, Bill Meahan wrote:

> \setupindenting[next]

\setupindenting[next,yes]

See 
http://wiki.contextgarden.net/Indentation#Setting_up_indentation_for_the_whole_document

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Indenting problems
  2012-06-08 14:16 ` Aditya Mahajan
@ 2012-06-08 14:20   ` Aditya Mahajan
  2012-06-08 14:54     ` Bill Meahan
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2012-06-08 14:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 8 Jun 2012, Aditya Mahajan wrote:

> On Fri, 8 Jun 2012, Bill Meahan wrote:
>
>> \setupindenting[next]
>
> \setupindenting[next,yes]

Sorry, that should be

\setupindenting[medium, next, yes]

> See 
> http://wiki.contextgarden.net/Indentation#Setting_up_indentation_for_the_whole_document

(The above page is not completely clear on this).

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Indenting problems
  2012-06-08 14:20   ` Aditya Mahajan
@ 2012-06-08 14:54     ` Bill Meahan
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Meahan @ 2012-06-08 14:54 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]

On 06/08/2012 10:20, Aditya Mahajan wrote:
> On Fri, 8 Jun 2012, Aditya Mahajan wrote:
>
>> On Fri, 8 Jun 2012, Bill Meahan wrote:
>>
>>> \setupindenting[next]
>>
>> \setupindenting[next,yes]
>
> Sorry, that should be
>
> \setupindenting[medium, next, yes]
>

Yep, found that out before I got a chance to read your second note.

Thanks so much!


-- 
Bill Meahan K8QN

"The pessimist complains about the wind;
  the optimist expects it to change;
  the realist adjusts the sails."

-- William Arthur Ward

This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-08 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 14:12 Indenting problems Bill Meahan
2012-06-08 14:16 ` Aditya Mahajan
2012-06-08 14:20   ` Aditya Mahajan
2012-06-08 14:54     ` Bill Meahan

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).