Awesome, thanks!

On Sat, Jan 9, 2016 at 8:07 AM, Hans Hagen <pragma@wxs.nl> wrote:
On 1/9/2016 3:15 AM, Mohammad Hossein Bateni wrote:
I updated the documentation on context garden.  Hans, I hadn't noticed
that you updated the macros on the same day as your last message!

I had another question regarding the definition of notes/footnotes.  It
is not that important but I am curious: is it possible to define two
notes that are essentially the same except for some of their stylistic
definitions?  Let me give an example.

some text \Afootnote{A}
more text \Bfootnote{B}
some more text \Afootnote{C}

And I want the result at the bottom of the page to read:

1 A
2 B
3 C

However, I'd like to have the power to control how the numbers are
typeset in the text and at the bottom, as well as determine the fonts,
etc. of \Afootnote and \Bfootnote separately.

\definenote[handnote][footnote] \setupnotation[handnote][style=bold]
\definenote[earnote] [footnote] \setupnotation[earnote] [style=bolditalic,color=green]
\definenote[nosenote][earnote]  \setupnotation[nosenote][color=red]

\starttext

a foot note \footnote{A}
a hand note \handnote{B}
an ear note \earnote{C}
a nose note \nosenote{D}

\stoptext


On Mon, Jan 4, 2016 at 11:21 AM, Mohammad Hossein Bateni
<bateni@gmail.com <mailto:bateni@gmail.com>> wrote:

            That said, I'm not asking for this to be the default. I only
            want to
            know how it can be achieved. The code will be put in my
            style file or
            module.


        i'll add rule=paragraph (i.e. listen to the first following
        paragraph if possible) ... you need to document it as for sure i
        forget about it


    Awesome!  Thanks, Hans!  Once this becomes available and I test it,
    I'll update the documentation for Footnotes on Context Garden.

            Is it possible to determine the direction of the first line
            of footnote
            block while typesetting the footnote rule? I imagine it
            should not be
            difficult in Lua. Note that this may be the leftover from a long
            footnote that started on some previous page.


    —MHB




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



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl

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