ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indentation within footnotes
Date: Sun, 15 Mar 2015 23:08:54 +0100	[thread overview]
Message-ID: <19ABDA9B-E767-4F2B-93EB-DAB8567822E7@gmail.com> (raw)
In-Reply-To: <op.xvj7btdzfkrasx@ishamid-pc>


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


> Am 15.03.2015 um 22:58 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
> 
> On Sun, 15 Mar 2015 15:43:47 -0600, Wolfgang Schuster <schuster.wolfgang@gmail.com <mailto:schuster.wolfgang@gmail.com>> wrote:
> 
>> 
>>> Am 15.03.2015 um 19:19 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
>>> 
>>> Hi Pablo,
>>> 
>>> On Sun, 15 Mar 2015 11:24:47 -0600, Pablo Rodriguez <oinos@gmx.es> wrote:
>>> 
>>>> Changing indenting to {yes, next} only the third
>>>> paragraph in the footnote is indented.
>>> 
>>> My guess is that the first "next" is already hardwired into the footnote mechanism. If you remove the "next" it should work. So this works here:
>>> 
>>> % \setupnotation[footnote][indenting={yes,big,next}]
>>> \setupnotation[footnote][indenting={yes,big}]
>>> 
>>> When I had the "next" I got the same result as you.
>> 
>> 
>> I will show below the reason for the unexpected behaviour of the next keyword. What you should
>> keep in mind is that context uses the same mechanism for enumerations, description and note
>> entries.
>> 
>> In older versions of the mechanism indentation was set before the title and content where placed
>> but this produces unwanted results when you used the “next” keyword because the title itself
>> was recognised as first paragraph (see page 1). After moving the indentation setting between
>> the title and the content (see page 2) the “next” keyword produced the expected output.
>> 
>> The problem is now when make the title part of the first paragraph because the indentation
>> is changed until we start the second paragraph and the “next” keyword applies now to the third
>> paragraph.
>> 
>> %%%% begin example
>> \setuppapersize[A5]
>> 
>> \starttext
>> 
>> % Page 1
>> 
>> \start \setupindenting[yes,medium,next]
>> 
>> \noindent{\bf Description Title}
>> 
>> \input knuth
>> 
>> \stop
>> 
>> \page
>> 
>> % Page 2
>> 
>> \start
>> 
>> \noindent{\bf Description Title}
>> 
>> \setupindenting[yes,medium,next]
>> 
>> \input knuth
>> 
>> \stop
>> 
>> \page
>> 
>> % Page 3
>> 
>> \start
>> 
>> \noindent{\bf Description Title}
>> \setupindenting[yes,medium,next]
>> \input knuth
>> 
>> \stop
>> 
>> \stoptext
>> %%%% end example
> 
> Thanks, Wolfgang -- or is it Hans? ;-) -- for this very instructive example!
> 
> I just made one change: \noindentation instead of \noindent (my understanding is that we're supposed to avoid very low-level indenting commands).
> 
> So the first paragraph of a footnote insertion contains an implicit title, or does the footnote numeral function as title? Anyway, very interesting!

The footnote number is placed as title.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 8913 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
___________________________________________________________________________________

      reply	other threads:[~2015-03-15 22:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-15 13:42 Idris Samawi Hamid ادريس سماوي حامد
2015-03-15 14:16 ` Idris Samawi Hamid ادريس سماوي حامد
2015-03-15 16:29   ` Pablo Rodriguez
2015-03-15 18:36     ` Idris Samawi Hamid ادريس سماوي حامد
2015-03-15 21:07       ` Pablo Rodriguez
2015-03-15 21:24         ` Alan BRASLAU
2015-03-15 21:37         ` Idris Samawi Hamid ادريس سماوي حامد
2015-03-16 19:09           ` Pablo Rodriguez
2015-03-15 16:55 ` Wolfgang Schuster
2015-03-15 17:24   ` Pablo Rodriguez
2015-03-15 18:19     ` Idris Samawi Hamid ادريس سماوي حامد
2015-03-15 21:43       ` Wolfgang Schuster
2015-03-15 21:58         ` Idris Samawi Hamid ادريس سماوي حامد
2015-03-15 22:08           ` Wolfgang Schuster [this message]

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=19ABDA9B-E767-4F2B-93EB-DAB8567822E7@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).