ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indented footnotes in ConTeXt
Date: Wed, 21 Nov 2012 09:22:06 +0100	[thread overview]
Message-ID: <5A324199-D242-4D2D-9B54-0A2AAACC9765@gmail.com> (raw)
In-Reply-To: <50AC88C3.4020008@mmnetz.de>


Am 21.11.2012 um 08:54 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:

> Am 21.11.2012 08:50, schrieb ntg-context-request@ntg.nl:
>> Message: 1
>> Date: Tue, 20 Nov 2012 14:28:11 -0600
>> From: Adam Khan<loyalchap@gmail.com>
>> To:ntg-context@ntg.nl
>> Subject: [NTG-context] Indented footnotes in ConTeXt
>> Message-ID:
>> 	<CAAAgs1CcxeJ9Dr2MqNb1JdD3N1Pv3=Yju=GE=uJO6zVwGVrwhQ@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Greetings!
>> 
>> I am writing a German critical edition in which I am using endnotes, and I
>> am encountering severe difficulties with formatting them as I should wish.
>> 
>> The idea is to indent the entire footnote?marker and text?0.5in.
>> 
>> In ConTeXt (Mark II) on XeTeX, I can move the footnote marker with this
>> set-up:
>> 
>> \definenote[critical][conversion=characters,
>>                       way=bychapter,
>>                       location=text,
>>                       bodyfont=12pt,
>>                       margindistance=-.5in,
>>                       align=flushleft]
>> 
>> Then I move the text by adding the unsightly but functional hack
>> \hskip.5into the beginning of the argument of
>> \critical or \criticaltext.  Unfortunately, the endnotes do not flow from
>> page to page in Mark II, and, from the comments on the source code, it
>> appears that this cannot be helped.  Given the length and number of
>> endnotes needed for my project, ConTeXt (Mark II) on XeTeX does not seem
>> viable.
>> 
>> In ConTeXt (Mark IV) on LuaTeX, on the other hand, the endnotes do flow
>> from page to page, but the formatting does not appear to respond to the
>> margindistance key.  From various related posts, the answer appears to lie
>> in \setupnotation, but, whenever I attempt to pass this command, I get an
>> ?undefined control sequence? error.
>> 
>> In short, my question is, How do I code indenting each endnote .5in with
>> the highest degree of automation and fewest hacks possible?
>> 
>> Sincerely yours,
>> Adam Khan
> 
> You can try, what I use for footnotes, maybe this is what you want or helps?
> 
> \setupnotation[footnote][
> alternative=left,
> width=2em,
> numbercommand=\hskip1.6em\high]	%Fußnoten werden eingerückt und Nummer hochgestellt

\setupnotation
  [endnote]
  [alternative=left,
   hang=1,
   width=1.6em,
   headalign=flushright]

\starttext

\input knuth\endnote{\input ward }

\placenotes[endnote]

\stoptext

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


  reply	other threads:[~2012-11-21  8:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.284.1353484220.2161.ntg-context@ntg.nl>
2012-11-21  7:54 ` "H. Özoguz"
2012-11-21  8:22   ` Wolfgang Schuster [this message]
2012-11-22  4:57 Adam Khan
  -- strict thread matches above, loose matches on Subject: below --
2012-11-20 20:28 Adam Khan

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=5A324199-D242-4D2D-9B54-0A2AAACC9765@gmail.com \
    --to=wolfgang.schuster@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).