ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* inverse indentation
@ 2015-11-24 18:38 Pablo Rodriguez
  2015-11-24 21:33 ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2015-11-24 18:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \setupindenting[always,yes,big]
    \startsetups[bibliography:indent]
        \setupindenting[negative]
    \stopsetups
    \definehead[Bibliography][subject]
    \setuphead[Bibliography]
     [setups=bibliography:indent,
     indentnext=yes]

    \starttext
    \startBibliography[reference=ref,title=Bibliography]
    \reference[ref-Frankfurt:1971fk]{}%
    Frankfurt, Harry. 1971. “Freedom of the Will and the Concept of a
    Person.” {\em Journal of Philosophy}.
    \stopBibliography
    \stoptext

How can I define indenting in startsetups so that Bibliography has the
same margin that the indentation for the rest of the text and
indentation in that section is negative (the same amount as the general
indentation)?

Sorry, but this is a standard practice that doesn’t seem to be
documented in the wiki. At least, I wasn’t able to find information
about this issue.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 3+ messages in thread

* Re: inverse indentation
  2015-11-24 18:38 inverse indentation Pablo Rodriguez
@ 2015-11-24 21:33 ` Thomas A. Schmitz
  2015-11-28 21:03   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2015-11-24 21:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/24/2015 07:38 PM, Pablo Rodriguez wrote:
> How can I define indenting in startsetups so that Bibliography has the
> same margin that the indentation for the rest of the text and
> indentation in that section is negative (the same amount as the general
> indentation)?
>
> Sorry, but this is a standard practice that doesn’t seem to be
> documented in the wiki. At least, I wasn’t able to find information
> about this issue.

I don't know where this code comes from, but it does what you want:

\definestartstop
   [exdent]
   [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
    after=\stopnarrower]

Thomas
___________________________________________________________________________________
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] 3+ messages in thread

* Re: inverse indentation
  2015-11-24 21:33 ` Thomas A. Schmitz
@ 2015-11-28 21:03   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2015-11-28 21:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/24/2015 10:33 PM, Thomas A. Schmitz wrote:
> On 11/24/2015 07:38 PM, Pablo Rodriguez wrote:
>> How can I define indenting in startsetups so that Bibliography has the
>> same margin that the indentation for the rest of the text and
>> indentation in that section is negative (the same amount as the general
>> indentation)?
>>
>> Sorry, but this is a standard practice that doesn’t seem to be
>> documented in the wiki. At least, I wasn’t able to find information
>> about this issue.
> 
> I don't know where this code comes from, but it does what you want:
> 
> \definestartstop
>    [exdent]
>    [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>     after=\stopnarrower]

Many thanks for your reply, Thomas.

That was exactly what I needed.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2015-11-28 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 18:38 inverse indentation Pablo Rodriguez
2015-11-24 21:33 ` Thomas A. Schmitz
2015-11-28 21:03   ` Pablo Rodriguez

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