ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indented footnotes in ConTeXt
@ 2012-11-20 20:28 Adam Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Khan @ 2012-11-20 20:28 UTC (permalink / raw)
  To: ntg-context


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

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

P.S. In case something less obvious in my environment file is causing my
difficulties, I attach it below:

\startenvironment Formattierung

\setuppapersize[letter][letter]
\setuplayout[backspace=1.5in,
             topspace=1in,
             bottomspace=1in,
             cutspace=1in]
\setupinterlinespace[line=5.6ex]
\setupindenting[.5in]
\indenting[always]
\setupnarrower[left=0.5in,
               right=0in]
\setupspacing[packed]
\setupalign[right,broad,nothyphenated]
\setuplinenumbering[step=1]
\setuppagenumbering[way=bytext]
\definenote[genetic]
\setupnote[genetic][numberconversion=romannumerals,
                    way=bychapter,
                    location=text,
                    bodyfont=12pt,
                    align=flushleft]
\definenote[source]
\setupnote[source][numberconversion=set2,
                   way=bychapter,
                   location=text,
                   bodyfont=12pt,
                   align=flushleft]
\definenote[critical]
\setupnote[critical][numberconversion=characters,
                     way=bychapter,
                     location=text,
                     bodyfont=12pt,
                     margindistance=-.5in,
                     align=flushleft]
\definenote[annotation]
\setupnote[annotation][numberconversion=numbers,
                       way=bychapter,
                       location=text,
                       bodyfont=12pt,
                       align=flushleft]
\definenote[sociological]
\setupnote[sociological][numberconversion=Romannumerals,
                         way=bychapter,
                         location=text,
                         bodyfont=12pt,
                         align=flushleft]
\setupbodyfont[ss,12pt]
\setuphead[chapter][ownnumber=yes]

\def\broadcast{\rm}
\def\callout#1{<#1>}
\def\noteindent{\hskip.5in}
\def\notepar{\\\hskip.5in}
\def\original{\ss}
\def\paratext{\tt}
\def\quotationheader#1#2{{\noindenting\paratext#1]\wordright{[#2}}}
\def\siglum#1{{\bf#1}}
\def\someoneelse#1{{\it#1}}

\stopenvironment

[-- Attachment #1.2: Type: text/html, Size: 4778 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: Indented footnotes in ConTeXt
@ 2012-11-22  4:57 Adam Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Khan @ 2012-11-22  4:57 UTC (permalink / raw)
  To: ntg-context


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

Thank you for your solutions, Huseyin, Wolfgang, but this still does not
fix my problem with passing \setupnotation.  Why does Mark IV keep throwing
the error “undefined control sequence”?  I have reinstalled ConTeXt and run
both luatools --generate and mtxrun --generate.

Sincerely yours,
Adam Khan

[-- Attachment #1.2: Type: text/html, Size: 590 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: Indented footnotes in ConTeXt
  2012-11-21  7:54 ` "H. Özoguz"
@ 2012-11-21  8:22   ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2012-11-21  8:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Indented footnotes in ConTeXt
       [not found] <mailman.284.1353484220.2161.ntg-context@ntg.nl>
@ 2012-11-21  7:54 ` "H. Özoguz"
  2012-11-21  8:22   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: "H. Özoguz" @ 2012-11-21  7:54 UTC (permalink / raw)
  To: ntg-context

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


Viel Erfolg.
Huseyin
___________________________________________________________________________________
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-11-22  4:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 20:28 Indented footnotes in ConTeXt Adam Khan
     [not found] <mailman.284.1353484220.2161.ntg-context@ntg.nl>
2012-11-21  7:54 ` "H. Özoguz"
2012-11-21  8:22   ` Wolfgang Schuster
2012-11-22  4:57 Adam Khan

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