Re: [NTG-context] right aligned footnote

2010-05-01 Thread Wolfgang Schuster

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
___


Re: [NTG-context] right aligned footnote

2010-04-30 Thread Wolfgang Schuster

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
___


Re: [NTG-context] right aligned footnote

2010-04-30 Thread Philipp Gesang
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


pgp0sRrHjQYPg.pgp
Description: PGP signature
___
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
___


Re: [NTG-context] right aligned footnote

2010-04-30 Thread Wolfgang Schuster

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
___


Re: [NTG-context] right aligned footnote

2010-04-30 Thread Philipp Gesang
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


pgpWcCBvdXk9E.pgp
Description: PGP signature
___
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
___


Re: [NTG-context] right aligned footnote

2010-04-30 Thread Wolfgang Schuster

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
___


Re: [NTG-context] right aligned footnote

2010-04-29 Thread 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


Dne Thu, 22 Apr 2010 15:58:37 +0200 Wolfgang Schuster  
 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
___


Re: [NTG-context] right aligned footnote

2010-04-22 Thread Wolfgang Schuster

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
___


[NTG-context] right aligned footnote

2010-04-20 Thread 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.


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
___