From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18075 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Date: Wed, 23 Aug 2017 13:54:25 -0700 Message-ID: <20170823205425.GE56323@protagoras.berkeley.edu> References: <87r2w5xaie.fsf@mat.ucm.es> <20170821210000.GD9940@protagoras.berkeley.edu> <871so3yet8.fsf@mat.ucm.es> <20170822175049.GC33272@protagoras.berkeley.edu> <878tibz7c2.fsf@mat.ucm.es> <20170823000957.GD11626@Johns-MacBook-Pro.local> <87k21uwk14.fsf_-_@mat.ucm.es> <20170823141516.GA22331@Johns-MacBook-Pro.local> <8760dew9da.fsf@mat.ucm.es> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1503521672 10643 195.159.176.226 (23 Aug 2017 20:54:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2017 20:54:32 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBCOX67GAKGQEKOGRWJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 23 22:54:28 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f189.google.com ([209.85.216.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkcfT-0002XP-53 for gtp-pandoc-discuss@m.gmane.org; Wed, 23 Aug 2017 22:54:27 +0200 Original-Received: by mail-qt0-f189.google.com with SMTP id u11sf599670qtu.1 for ; Wed, 23 Aug 2017 13:54:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503521673; cv=pass; d=google.com; s=arc-20160816; b=U0qZhqjZF1gCz3An9vFVQWbGU7yPPoggmSlZc05tdKbUfO7U8fAEyOXS5sooB+i2tU AjFmase5O+11P7tL3iIOHyK9d4D+xOWIY+07plYPAHZH4K300rWLIt51VCGoxg/dhDxK imcMuRwV79tkGenQ6CI5zomk5bCCoIIl2pSIM1vzjGjSbmaORyQrJuWoMkxxPiNN7cZ4 XJvTKFz9JGE5bOziRAGC3pHijZRG+oqFeTUGK8sYBAnxNUVx1pVzM80OQJkWfSwcG+ZB alvKQjYMIIpOwokb7e4pBxD/ZcrtmneswZFaNl2KTK0qaivZTPM/x9j86bIwJSs9sH8E ynsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=ixkPl2IsOO9bK4P31cJB1141bChyB5EFvx5wPggetl0=; b=ASDDTwRB9KuS1oiaXtacyfSZ4eDT+LBs3/SjeiTSBNCzm6E8AC3RDYPfdYfw9gPpiG YUdlmF0HHeQl5AMebA8qz2Zh8Jcm+EtF6mUHjpg9Q8yWOA9uyWoAygjorM1TUME5jX7t WHWkzb5VnhonbSEq6+/IOrBMLDSYfTRNGIsk1ogyqNR6E0NZPBs9C2EGRfcEZNo/+9f9 5ZPM2DH5lis36R3SvsnQ7PGKiLtTLxsGypNBh4NPAWM0B4fy6y4R8HHi3owUPHt89ACx 8aBJ6E/J8tiwBDKZXibVXYKBiJ1fnoVtndQTe9o7d/yhTHSiDow5OPH0c6pD3b0kF9eW ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=hv7bajzH; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::244 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ixkPl2IsOO9bK4P31cJB1141bChyB5EFvx5wPggetl0=; b=lwGJSql3o33okF1ouU/OFqC/4qm0vFw2Tb2OphjpTtudydnl3tnS6NEdKPGzg8GVdF WPAW0w3iLynOVjTN2JSLdoL5PApjQfMHjeGOuFtxjKpxkIllMZTj2GJg9IqYJMhr6I+E oidD48CpAn+IZSe91YbdSJLofk/sPfMNDqDvMwkaTxjRz4grkcgFdGI8wuuL1Wb9uCyw tyJqPLqmGazjhWp++AU38qXpqTMdE2IrGo13f4dbkB8z8n2Zoc/6bqIv8sz749pm/8jw 30HSh4NqyQ8YTczvlB75Evztmf/GOFXBl0xpO9YbIFVgE/MpyztQhM0QdjQ3B6RXrtfu q16w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=ixkPl2IsOO9bK4P31cJB1141bChyB5EFvx5wPggetl0=; b=tSk3gj6xkmeNWWo9z8qaoSh+M5Z+CH0tASBvbpgZPnMYvaNybN11yD1Ns60Wb5ADWy A3TDO7YRnFiMaJG2iZLmDJJ+Ww4rv6qaMKah9A4VcbZw6xgcxpx0sU3ka504VK1Dfc6G MxLZHmz0m+KF8DKdEIN6hg/fwAz4++Mkm9SKezxtChNZhxrd53Dq4QJuTgQ8Tm0Gd5YQ RkYqokrDBz9Tg0/OcvQvR6rFc94Ku/srPGt1ovq5ZlBx2f6nMazgsDsZL6/g8Ge54/Js YHGhNiNKwmuoiL7pkfVOlevTSGgel3phUFRG3/UHS2tam+3+rJuBL2dEXfDoU8Kmj3fR Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5hD5gexWP/kz0Wh3yyQiaZh3AY6kPaPf3mzzmOGbyiTxxk97j9X YYKV1IuWGoUmTA== X-Received: by 10.36.41.68 with SMTP id p65mr204142itp.3.1503521673959; Wed, 23 Aug 2017 13:54:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.181.147 with SMTP id e141ls2227447iof.33.gmail; Wed, 23 Aug 2017 13:54:33 -0700 (PDT) X-Received: by 10.36.137.86 with SMTP id s83mr3455828itd.50.1503521673047; Wed, 23 Aug 2017 13:54:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503521673; cv=none; d=google.com; s=arc-20160816; b=AfmDZ6Hv+AP6VDyoTjNpWeR1+XuGVNfURtax6XZmYqbqLI1i61T+aHDaTqhweSoX3p 6COFy14DZ5tAejBuXuzjim3/ZwWkEGWlMlHLqFf5+8fb8uUeiMUEaWMHYDHNLLzIISxL E+ZNEGOGY2cjMxa33Zo4KxRagxCU4tuXe8eLATYNg0bsfExttVlDuC4M3jcCYDnpc0OK bsGy2QsFUQzBMV4q9tDQIjAZEEeiCyvW16NOHrbp9nGUVgZlDuphhjkWkfvtoIpEQj+b 4VpLV/hFkHrit8qmhXwVRLT3hhhqR2uXGe/pqjRqaBP0VyAvVKrzt92CB6qHf6jwhL+o RiQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=DD5BibokZRmC17ueAYWgOqOEVrJAEdrX5GtwILs2+pc=; b=uEsBqCI92NT3v8zBYHAokOfv8t+1XPFwBmKZRYUaaDO9nPfw7d7krvfcyKk2QOSWpR hjHK9Y/d7LQSDr64WCv7PwMu7cZZeVfLVutajQhAep5ux8kuTMtKJ8zIv7SbmksqRwly X59B6Rw2mEnzJPhMAFMMOQVXD7sLFFBllD326F72a9JkwPVFaI7/4UNf/hc+cFsFrvlj eP971EMqizxJ139ZZvMLfDb4CWS1dps4NRq9GvuPMFRDEOpJbTb32TrUH0QuJiJa4agF 6KmPvN/nnBsCBePrXLbPjg9/uC/TXZecgWQfEISveoPt7+MAR1O+y+JMA5IgXZs4lvuS uVbg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=hv7bajzH; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::244 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com. [2607:f8b0:400e:c05::244]) by gmr-mx.google.com with ESMTPS id y87si450931pfk.14.2017.08.23.13.54.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Aug 2017 13:54:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::244 as permitted sender) client-ip=2607:f8b0:400e:c05::244; Original-Received: by mail-pg0-x244.google.com with SMTP id m7so739598pga.3 for ; Wed, 23 Aug 2017 13:54:32 -0700 (PDT) X-Received: by 10.98.89.156 with SMTP id k28mr3951099pfj.323.1503521672527; Wed, 23 Aug 2017 13:54:32 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id u68sm4018995pgc.10.2017.08.23.13.54.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Aug 2017 13:54:31 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 59AA2A1C5; Wed, 23 Aug 2017 16:54:21 -0400 (EDT) Content-Disposition: inline In-Reply-To: <8760dew9da.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=hv7bajzH; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::244 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18075 Archived-At: +++ Uwe Brauer [Aug 23 17 16:13 ]: >I wouldn't mind to download and compile the dev version of pandoc. >But how am I supposed to do it with that version? With dev pandoc, pandoc -t native -f latex \label{hi} [Para [Span ("hi",[],[("label","hi")]) [Str "[hi]"]]] So your filter could pattern match on a Span with label attribute: go (Math _ _) = Str "FORMULA" go (Span (_,_,[("label",_)]) _) = Str "LABEL" go x = x