From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93244 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: Footnote rules for bidi document Date: Sat, 9 Jan 2016 10:21:21 -0500 Message-ID: References: <56899FE7.1050504@wxs.nl> <568A8363.7050701@wxs.nl> <5691062F.3050008@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1132621432101384715==" X-Trace: ger.gmane.org 1452352933 6581 80.91.229.3 (9 Jan 2016 15:22:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2016 15:22:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 09 16:22:01 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aHvL2-0001bn-Ir for gctc-ntg-context-518@m.gmane.org; Sat, 09 Jan 2016 16:21:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6CF5E5F04; Sat, 9 Jan 2016 16:21:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ks0uXeF0eQ1e; Sat, 9 Jan 2016 16:21:35 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 980DC5F09; Sat, 9 Jan 2016 16:21:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0777A5F07 for ; Sat, 9 Jan 2016 16:21:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VaTxFACWhgcF for ; Sat, 9 Jan 2016 16:21:34 +0100 (CET) Original-Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CB0045F04 for ; Sat, 9 Jan 2016 16:21:23 +0100 (CET) Original-Received: by mail-ob0-f176.google.com with SMTP id ba1so376939611obb.3 for ; Sat, 09 Jan 2016 07:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oOTlt1m5jQEwDXLkpMhWB8MW9NlWloD2rIaxJNsdUQY=; b=PfJYAKsjncyR7jNQ7OqNZXHf8FK1UBbDt75+fCy8oOnVJ4aqrSo6pyoK2l+vSmgIbE /iwQUO+8h3sG3KfwituM1no1btU3Z2m8jFqoSHUHrE3DSy6gguhYjQzSI80kUG+KPOV7 8EOZJg3FwCkfMc6PZ0cJBo/MTLpFAif3udV+NnHHxgPVUq2KuZ0zsrJEImjlzJ1O9lta IUxoL8NqJwaq5cRlcA/zPbE1mnza7nJhroR30blOZ+jNG2QDPX/kgrxV4Ih18cW87Xhg SWEJjs0VvAbAjOGKzeSIaotIXLeaKl+B0b6xzNrvSeay3Tq3AWZUsGSQ4z9O/SmBgi8N 9X/Q== X-Received: by 10.182.130.162 with SMTP id of2mr73369322obb.57.1452352881752; Sat, 09 Jan 2016 07:21:21 -0800 (PST) Original-Received: by 10.202.57.86 with HTTP; Sat, 9 Jan 2016 07:21:21 -0800 (PST) In-Reply-To: <5691062F.3050008@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93244 Archived-At: --===============1132621432101384715== Content-Type: multipart/alternative; boundary=089e013cbb2c9b072c0528e841da --089e013cbb2c9b072c0528e841da Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Awesome, thanks! On Sat, Jan 9, 2016 at 8:07 AM, Hans Hagen 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=3Dbold] > \definenote[earnote] [footnote] \setupnotation[earnote] > [style=3Dbolditalic,color=3Dgreen] > \definenote[nosenote][earnote] \setupnotation[nosenote][color=3Dred] > > \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 >> > 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=3Dparagraph (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. >> >> >> =E2=80=94MHB >> >> >> >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> 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 > > _________________________________________________________________________= __________ > --089e013cbb2c9b072c0528e841da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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.=C2=A0 Hans, I hadn't not= iced
that you updated the macros on the same day as your last message!

I had another question regarding the definition of notes/footnotes.=C2=A0 I= t
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?=C2=A0 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=3Dbold]
\definenote[earnote] [footnote] \setupnotation[earnote] [style=3Dbolditalic= ,color=3Dgreen]
\definenote[nosenote][earnote]=C2=A0 \setupnotation[nosenote][color=3Dred]<= br>
\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<= /a> <mailto:bateni= @gmail.com>> wrote:

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


=C2=A0 =C2=A0 =C2=A0 =C2=A0 i'll add rule=3Dparagraph (i.e. listen to t= he first following
=C2=A0 =C2=A0 =C2=A0 =C2=A0 paragraph if possible) ... you need to document= it as for sure i
=C2=A0 =C2=A0 =C2=A0 =C2=A0 forget about it


=C2=A0 =C2=A0 Awesome!=C2=A0 Thanks, Hans!=C2=A0 Once this becomes availabl= e and I test it,
=C2=A0 =C2=A0 I'll update the documentation for Footnotes on Context Ga= rden.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Is it possible to determine the d= irection of the first line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 of footnote
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 block while typesetting the footn= ote rule? I imagine it
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 should not be
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 difficult in Lua. Note that this = may be the leftover from a long
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 footnote that started on some pre= vious page.


=C2=A0 =C2=A0 =E2=80=94MHB




___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________



--

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.com | www.prag= ma-pod.nl

-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--089e013cbb2c9b072c0528e841da-- --===============1132621432101384715== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1132621432101384715==--