ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* right aligned footnote
@ 2010-04-20 21:16 Honza Pohanka
  2010-04-22 13:58 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Honza Pohanka @ 2010-04-20 21:16 UTC (permalink / raw)
  To: ntg-context

Hello,

I can't find out, how to place footnote on the right side of the page.

\setupfootnotes[location=page]
\setupnotedefinition[footnote][location=right]

This places the number on the right, but the text remains on the left.


greetings
Jan

-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-20 21:16 right aligned footnote Honza Pohanka
@ 2010-04-22 13:58 ` Wolfgang Schuster
  2010-04-29 21:17   ` Honza Pohanka
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-04-22 13:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 20.04.10 23:16, schrieb Honza Pohanka:
> Hello,
>
> I can't find out, how to place footnote on the right side of the page.
>
> \setupfootnotes[location=page]
> \setupnotedefinition[footnote][location=right]
>
> This places the number on the right, but the text remains on the left.
\setupnotedefinition[footnote][location=right,align=flushright]

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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-22 13:58 ` Wolfgang Schuster
@ 2010-04-29 21:17   ` Honza Pohanka
  2010-04-30  7:22     ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Honza Pohanka @ 2010-04-29 21:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks for the answer, but it does not work. I tried MKII and MKIV. Text  
is still on the left.

min example

\setupoutput[pdftex]

\starttext

\setupfootnotes[location=page]
\setupnotedefinition[footnote][location=right,align=flushright]
a\footnotetext{blabla}
b\footnotetext{bububu}

\stoptext


Dne Thu, 22 Apr 2010 15:58:37 +0200 Wolfgang Schuster  
<schuster.wolfgang@googlemail.com> napsal(a):

> Am 20.04.10 23:16, schrieb Honza Pohanka:
>> Hello,
>>
>> I can't find out, how to place footnote on the right side of the page.
>>
>> \setupfootnotes[location=page]
>> \setupnotedefinition[footnote][location=right]
>>
>> This places the number on the right, but the text remains on the left.
> \setupnotedefinition[footnote][location=right,align=flushright]
>
> 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
> ___________________________________________________________________________________


-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-29 21:17   ` Honza Pohanka
@ 2010-04-30  7:22     ` Wolfgang Schuster
  2010-04-30  7:53       ` Philipp Gesang
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-04-30  7:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 29.04.10 23:17, schrieb Honza Pohanka:
> Thanks for the answer, but it does not work. I tried MKII and MKIV. 
> Text is still on the left.
>
> min example
>
> \setupoutput[pdftex]
>
> \starttext
>
> \setupfootnotes[location=page]
> \setupnotedefinition[footnote][location=right,align=flushright]
> a\footnotetext{blabla}
> b\footnotetext{bububu}
>
> \stoptext
Seems to be not possible for the moment. Here is another example but
the location of the number is now too far to the right.

\setuppapersize[A4][A3,landscape]

\setupnotedefinition[footnote][location=right]
\setupnote          [footnote][align=flushright]

\showframe

\starttext

a\footnotetext{blabla}
b\footnotetext{bububu}

\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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-30  7:22     ` Wolfgang Schuster
@ 2010-04-30  7:53       ` Philipp Gesang
  2010-04-30  8:19         ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Philipp Gesang @ 2010-04-30  7:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 2010-04-30 <09:22:44>, Wolfgang Schuster wrote:
> Am 29.04.10 23:17, schrieb Honza Pohanka:
> >Thanks for the answer, but it does not work. I tried MKII and
> >MKIV. Text is still on the left.
> >
> >min example
> >
> >\setupoutput[pdftex]
> >
> >\starttext
> >
> >\setupfootnotes[location=page]
> >\setupnotedefinition[footnote][location=right,align=flushright]
> >a\footnotetext{blabla}
> >b\footnotetext{bububu}
> >
> >\stoptext
> Seems to be not possible for the moment. Here is another example but
> the location of the number is now too far to the right.
> 
> \setuppapersize[A4][A3,landscape]
> 
> \setupnotedefinition[footnote][location=right]
> \setupnote          [footnote][align=flushright]
> 
> \showframe
> 
> \starttext
> 
> a\footnotetext{blabla}
> b\footnotetext{bububu}
> 
> \stoptext
> 
> Wolfgang

Hi Honza and Wolfgang,


what about this one:
---8<--------------------------------------------------------------------------
%\showframe
\starttext
\setupnotedefinition[footnote][location=right,align=left,before={\startalignment[left]},after=\stopalignment]

a\footnote{blabla\input knuth\par}\par
a\footnote{blabla\input knuth\par}\par

\stoptext
---8<--------------------------------------------------------------------------
?


Philipp

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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-30  7:53       ` Philipp Gesang
@ 2010-04-30  8:19         ` Wolfgang Schuster
  2010-04-30  9:56           ` Philipp Gesang
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-04-30  8:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 30.04.10 09:53, schrieb Philipp Gesang:
> Hi Honza and Wolfgang,
>
> what about this one:
> ---8<--------------------------------------------------------------------------
> %\showframe
> \starttext
> \setupnotedefinition[footnote][location=right,align=left,before={\startalignment[left]},after=\stopalignment]
>
> a\footnote{blabla\input knuth\par}\par
> a\footnote{blabla\input knuth\par}\par
>
> \stoptext
> ---8<--------------------------------------------------------------------------
>    
Nice solution, you lead me to another possible setup

%\setupnotedefinition[footnote][location=right,align=left,style=\raggedleft]
\setupnotedefinition[footnote][location=right,align=left,style={\setupalign[flushright]}]

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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-30  8:19         ` Wolfgang Schuster
@ 2010-04-30  9:56           ` Philipp Gesang
  2010-04-30 10:24             ` Wolfgang Schuster
  2010-05-01  8:03             ` Wolfgang Schuster
  0 siblings, 2 replies; 9+ messages in thread
From: Philipp Gesang @ 2010-04-30  9:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 2010-04-30 <10:19:49>, Wolfgang Schuster wrote:
> Am 30.04.10 09:53, schrieb Philipp Gesang:
> >Hi Honza and Wolfgang,
> >
> >what about this one:
> >---8<--------------------------------------------------------------------------
> >%\showframe
> >\starttext
> >\setupnotedefinition[footnote][location=right,align=left,before={\startalignment[left]},after=\stopalignment]
> >
> >a\footnote{blabla\input knuth\par}\par
> >a\footnote{blabla\input knuth\par}\par
> >
> >\stoptext
> >---8<--------------------------------------------------------------------------
> Nice solution, you lead me to another possible setup
> 
> %\setupnotedefinition[footnote][location=right,align=left,style=\raggedleft]
> \setupnotedefinition[footnote][location=right,align=left,style={\setupalign[flushright]}]

Better indeed, because it's shorter. Which one should be wikified? Shall
we wait until everybody's back from Poland and Hans dubs one of the
solutions official?

Philipp

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-30  9:56           ` Philipp Gesang
@ 2010-04-30 10:24             ` Wolfgang Schuster
  2010-05-01  8:03             ` Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-04-30 10:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 30.04.10 11:56, schrieb Philipp Gesang:
> Better indeed, because it's shorter. Which one should be wikified? Shall
> we wait until everybody's back from Poland and Hans dubs one of the
> solutions official?
>    
Both are equal but i still wonder why this fails for short footnote entries,
as you can see the number for the first too far to the right while the 
number
for the second is right.

\setuppapersize[A4][A3,landscape]
\setupnotedefinition[footnote][location=right]
\setupnote          [footnote][align=flushright]
\showframe
\starttext
a\footnote{blabla}\par
c\footnote{blabla\input knuth\par}\par
\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] 9+ messages in thread

* Re: right aligned footnote
  2010-04-30  9:56           ` Philipp Gesang
  2010-04-30 10:24             ` Wolfgang Schuster
@ 2010-05-01  8:03             ` Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-05-01  8:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 30.04.10 11:56, schrieb Philipp Gesang:
> Better indeed, because it's shorter. Which one should be wikified? Shall
> we wait until everybody's back from Poland and Hans dubs one of the
> solutions official?
>    

1. I found know a working solution without \setupalign or \startalignment

\setupnotedefinition[footnote][location=right,align=flushright,hang=margin]
\starttext
a\footnote{blabla}\par
b\footnote{blablablablablablablablablablablablablablablabla}\par
c\footnote{blabla\input knuth\par}\par
\stoptext

2. I can reproduce the odd results without footnotes

\setuppapersize[A4][A3,landscape]
\defineenumeration[test][location=right,align=flushright]
\showframe

\starttext

\vbox
   {\starttest bla\stoptest
    \starttest blablabla\stoptest
    \starttest \input knuth \stoptest}

\setupenumerations[hang=margin]

\vbox
   {\starttest bla\stoptest
    \starttest blablabla\stoptest
    \starttest \input knuth \stoptest}

\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] 9+ messages in thread

end of thread, other threads:[~2010-05-01  8:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20 21:16 right aligned footnote Honza Pohanka
2010-04-22 13:58 ` Wolfgang Schuster
2010-04-29 21:17   ` Honza Pohanka
2010-04-30  7:22     ` Wolfgang Schuster
2010-04-30  7:53       ` Philipp Gesang
2010-04-30  8:19         ` Wolfgang Schuster
2010-04-30  9:56           ` Philipp Gesang
2010-04-30 10:24             ` Wolfgang Schuster
2010-05-01  8:03             ` Wolfgang Schuster

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