From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91179 Path: news.gmane.org!not-for-mail From: =?utf-8?B?SWRyaXMgU2FtYXdpIEhhbWlkINin2K/YsdmK2LMgICDYs9mF2KfZiNmKIA==?= =?utf-8?B?2K3Yp9mF2K8=?= Newsgroups: gmane.comp.tex.context Subject: Re: Feature request for export: Interactive Notes Date: Fri, 24 Apr 2015 18:44:58 -0600 Organization: CSU Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------rwalqwn2REnuQanb5KTZWz X-Trace: ger.gmane.org 1429923139 15183 80.91.229.3 (25 Apr 2015 00:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2015 00:52:19 +0000 (UTC) To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 25 02:52:05 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YloKA-00068C-F4 for gctc-ntg-context-518@m.gmane.org; Sat, 25 Apr 2015 02:52:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B569410223 for ; Sat, 25 Apr 2015 02:52:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qrX3BQrEPYCt for ; Sat, 25 Apr 2015 02:52:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5B3051024B for ; Sat, 25 Apr 2015 02:51:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6273C1021E for ; Sat, 25 Apr 2015 02:51:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6HPfTsNA16Dy for ; Sat, 25 Apr 2015 02:51:10 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id CFAA71020E for ; Sat, 25 Apr 2015 02:45:03 +0200 (CEST) Original-Received: from smith.colostate.edu (smith.colostate.edu [129.82.103.169]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t3P0j0kw015419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 25 Apr 2015 02:45:02 +0200 Original-Received: from smtp.colostate.edu (smtp.colostate.edu [129.82.111.41]) by smith.colostate.edu (8.13.8/8.12.11) with ESMTP id t3P0ixII000536 for ; Fri, 24 Apr 2015 18:44:59 -0600 Original-Received: from ihamidnb.libarts.colostate.edu (unknown [64.58.21.163]) (Authenticated sender: ishamid) by smtp.colostate.edu (Postfix) with ESMTPSA id 7598340002 for ; Fri, 24 Apr 2015 18:44:58 -0600 (MDT) In-Reply-To: User-Agent: Opera Mail/12.17 (Win32) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.33, 0.0.0000 definitions=2015-04-24_06:2015-04-24,2015-04-24,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1504250008 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=129.82.103.169; country=US; region=Colorado; city=Fort Collins; latitude=40.5853; longitude=-105.0844; http://maps.google.com/maps?q=40.5853,-105.0844&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04Ok0J1cD - 784d5903b9b7 - 20150425 (trained as not-spam) Received-SPF: pass (filter2-utr.mf.surf.net: domain of ishamid@colostate.edu designates 129.82.103.169 as permitted sender) receiver=filter2-utr.mf.surf.net; client-ip=129.82.103.169; envelope-from=; helo=smith.colostate.edu; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:91179 Archived-At: ------------rwalqwn2REnuQanb5KTZWz Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable + attachment On Fri, 24 Apr 2015 18:36:12 -0600, Idris Samawi Hamid =D8=A7=D8=AF=D8=B1= =D9=8A=D8=B3 =D8=B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF = wrote: > Dear gang, > > I've spent a considerable amount of time over the past month trying = to > master the art of xhtml output. We are close to being able to use = > ConTeXt > as a replacement for markdown in, e.g., WordPress. Indeed, I plan to= > present the results of this experiment (porting an entire academic = > article > to xhtml and WP) in a future article for one of the TeX journals... > > There is at least one crucial feature that's still needed. Perhaps i= t = > is > already supported: If so, it would be much appreciated if someone = > kindly > explained how to do it. > > In a web post (or epub), one wants to be able to interact back and = > forth > with notes. Here is how markdown (extra) does it: > > =3D=3D=3D=3D=3D=3D=3D=3DInput=3D=3D=3D=3D=3D=3D=3D=3D > That's some text with a footnote.[^1] > > [^1]: And that's the footnote. > > That's the second paragraph of the note. > > More main text > =3D=3D=3D=3D=3D=3D=3D=3DOutput=3D=3D=3D=3D=3D=3D=3D=3D >

That's some text with a footnote. rel=3D"footnote">1

>

More main text

> >
>
>
    >
  1. >

    And that's the footnote.

    >

    That's the second paragraph of the note.  rev=3D"footnote">↩

    >
  2. >
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > The resulting html file is attached. '↩' corresponds to U+21A9= = > (=E2=86=A9). > See also > > https://michelf.ca/projects/php-markdown/extra/#footnotes > > Now we can of course already export xhtml footnotes from ConTeXt but= = > there > will be no interactive links. In the current project, there are 77 > footnotes; I had to add the links manually to get the output to do = > what we > wanted. > > [Also note that it makes much more sense to export the footnotes as > endnotes, particularly for long blog posts.] > > Is there already a way to get done automatically? > > In any case: This feature is a must-do in my humble opinion. Aside = > from a > few other export bugs, this is one of the few features still needed = so > that ConTeXt can completely replace markdown for (advanced) web post= s. > Thanks is advance and > > Best wishes > Idris > -- = Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80523 ------------rwalqwn2REnuQanb5KTZWz Content-Disposition: attachment; filename=test-md-footnote.html Content-Type: text/html; name="test-md-footnote.html" Content-Transfer-Encoding: 7bit footnote

That's some text with a footnote.1

More main text


  1. And that's the footnote.

    That's the second paragraph of the note. 

------------rwalqwn2REnuQanb5KTZWz 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= ------------rwalqwn2REnuQanb5KTZWz--