From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81605 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: markdown: referencing tables Date: Wed, 10 Apr 2013 15:39:40 +0200 Message-ID: <20130410133940.GL5709@homerow> References: <51646BFD.3040807@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1465957584==" X-Trace: ger.gmane.org 1365601208 19815 80.91.229.3 (10 Apr 2013 13:40:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 13:40:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 10 15:40:10 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPvFy-0001tN-EZ for gctc-ntg-context-518@m.gmane.org; Wed, 10 Apr 2013 15:40:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3324910419; Wed, 10 Apr 2013 15:39:50 +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 2yPIzAdbjuoi; Wed, 10 Apr 2013 15:39:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 678B510401; Wed, 10 Apr 2013 15:39:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59A0910401 for ; Wed, 10 Apr 2013 15:39:47 +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 wkqwaZkDbNGd for ; Wed, 10 Apr 2013 15:39:46 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 18EB4103F2 for ; Wed, 10 Apr 2013 15:39:45 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3ADdhBa024242 for ; Wed, 10 Apr 2013 15:39:44 +0200 Original-Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id EC10D11BB9C for ; Wed, 10 Apr 2013 08:39:42 -0500 (CDT) Original-Received: from homerow (miun115-121.dynamic.miun.se [193.10.115.121]) by lavabit.com with ESMTP id JZRON5ITTPE2 for ; Wed, 10 Apr 2013 08:39:42 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=C9btl69Z82fa7stls5iULl8fZINXNIG0MHSpsDX8qZjw9Jm0UMTgzVb1YTKcLTuVI6cW9aEhrFu3z406SWPYDsYeQ2uLN+oMeO4k2De0qmW64MFu+JZhOeHzlkdHh/8UYAfPQtXh419iDuoP78X40F/Jk1tXwE0PlsLCRPn5/ek=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <51646BFD.3040807@googlemail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NJmdDIau - b7cb39ccaf72 - 20130410 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81605 Archived-At: --===============1465957584== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HuXIgs6JvY9hJs5C" Content-Disposition: inline --HuXIgs6JvY9hJs5C Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9304=E2=80=9309 Xenia wrote: > \startmarkdown > Right Left Center Default > ------- ------ ---------- ------- > 12 12 12 12 > 123 123 123 123 > 1 1 1 1 >=20 > Table: Demonstration of simple table syntax. > \stopmarkdown >=20 > Is there a way to reference this table? I might get you wrong here, but I think this is a markdown/pandoc issue. Look at the ConTeXt code generated for section references: %%% section.markdown %%%%%%%%%%%%%%%%%%%% Whatever =3D=3D=3D=3D=3D=3D=3D=3D See [section](#whatever) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% section.tex %%%%%%%%%%%%%%%%%%%%%%%%% \section[whatever]{Whatever} See \in{section}{}[whatever] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Now compare this with the code generated for tables on the other hand: %%% table.markdown %%%%%%%%%%%%%%%%%%%%%% Right Left Center Default ------- ------ ---------- ------- 12 12 12 12 123 123 123 123 1 1 1 1 Table: Caption See [table](#caption) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% table.tex %%%%%%%%%%%%%%%%%%%%%%%%%%% \placetable[here]{Caption} \starttable[|r|l|c|l|] \HL \NC Right \NC Left \NC Center \NC Default \NC\AR \HL \NC 12 \NC 12 \NC 12 \NC 12 \NC\AR \NC 123 \NC 123 \NC 123 \NC 123 \NC\AR \NC 1 \NC 1 \NC 1 \NC 1 \NC\AR \HL \stoptable See \in{table}{}[caption] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% As you can see, no reference is created. I don't even know if references are supported in markdown in the same way section references are. If this is actually supposed to work, then I assume a bug in the pandoc context output filter. Marco --HuXIgs6JvY9hJs5C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRZWucAAoJEPGqVaNSn0iKEnwH+wR8YknIg1OnrtYYMEtiuEQx jJsXrNmnTus/7oBfrJDUKze18EfaRR4IX3H8b8lBZ7ydRv1ouf15tByXEHI85uZ9 tZEDrlwEhi05H6+plfiJfC2rerUFjPoNOxSCUpZmlI3oX1na7ts0wJmv7j89PEGt mVuirWaOl7oHIWGQP+ZreyhC0GG62EFzC9JP0dUfZN5vCvhYXM5F3FggDrMg6Rm4 vCmIp3q7oew68ozswaPZ3Qzr3ic98WC3RwNPfvxcn1rz5JaYIqx3If/m6k3dPBHC 4GWuPyJovKIaeGlM2IvI37Ek+inrLzRjSq4tubReM9p0bcBG0wdgu0x7YqPVLmk= =6RYa -----END PGP SIGNATURE----- --HuXIgs6JvY9hJs5C-- --===============1465957584== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1465957584==--