From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27292 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: Html tables in markdown to other formats Date: Mon, 21 Dec 2020 16:55:10 +0100 Message-ID: <871rfjqhlt.fsf@zeitkraut.de> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3286"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBZMKQP7QKGQE45UDNGA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Dec 21 16:55:21 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f63.google.com ([209.85.221.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1krNWq-0000fo-8V for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 21 Dec 2020 16:55:20 +0100 Original-Received: by mail-wr1-f63.google.com with SMTP id q2sf8896832wrp.4 for ; Mon, 21 Dec 2020 07:55:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608566120; cv=pass; d=google.com; s=arc-20160816; b=OeYFOVvZ4KZ+ecP4sjw0rdaLid5XY3XKVEwxnT4CWT9loDPdhgW/+rqF8iNdr5O9Lb zkXJbHk3lSNpFXZq5iWfueUUrEuBeaJfmBEvqQpadAFWAXmx7LxDlS/6/yxTsdgXkdU+ wjL4gA3a0neOAE6TITPjRLJ58TunTdLrpt2vTOkhvG9BwS5ABxE6X1c/tiJ6kx7OVatY 05t+JhFLyBxZ4IDit+tEbQ+1V/I2lN+i+njRFkrmPo3K7BBKbARqjzCqYJoYDozR/bvW hv7BBBVRGA0C+tzET1ikBKXWeBhqggbTp4xdsSrKeWmldfJiML4C8x39XwkCVEXa0NDO M8iA== 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:content-transfer-encoding :mime-version:message-id:date:in-reply-to:subject:to:from:references :sender:dkim-signature; bh=aBiZQJXjtwJJVst/v+hzz9UisNs95xAGZwAdnSADkUM=; b=Mn8nEuyta+Vx4eBC5KBi94dQ1rjdwgRv5cMCRAsv6d5g+aCX0ANp9DhG3OeieFmxlK QAIR1icv+uNY59Uyhb2MydxGXVsCocrUdFzj4A9iNqwUidRPKfhYYqSMy1MI2wuWzCUF rEvCoE5xaexJS1RyT/WISikZjTqxQl4m05RfGmTb0mJo2aJ8ZdGdbWkPmDq4EOBUhH4m ZycMfTRplR8Tjnz1Rhj7sLJbuob08oTwJ7fmF0XPKkTTFMBxuHIQNjnjhVUtN4CK6bzV UN0vb2iCeiNWTLV5pr1quUKpygeZ/2fJVCDOGWefeSXxlV3J7UCtmz2uE6OHFckCg4Ld 4vSg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:references:from:to:subject:in-reply-to:date:message-id :mime-version:content-transfer-encoding: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=aBiZQJXjtwJJVst/v+hzz9UisNs95xAGZwAdnSADkUM=; b=IwkdTYGxxgDWGzS3IQj+vG1D2lK0uGWIw4ke+qxAq/kahSNBNpMTIdnq/UwJbhtxkf 2QekdyPRxOv9cxdvHjPa6p3lB22PlEvkUVZF5/KEJQr3pOx0eY8SxOTkJ56t+mqHWSWJ Gv6NOTXWE9bspOoKeR0jae0TSDDmD26pq2NwYyNN5jh7hN8sqgJlYOpFbW5N0p9Chg+f 9x0QD7i7kjyXk3DSFgrRbM5CuPtcf0wodD7MdzkIiu4A4WQrimwMKjrsU1gx751srljU H9n/0xIlNnuxQLZpBpDIAWyoPIKnkVN4MbyhEDtOIhKdXWkUkg5Rh0pL8eD4Ml0bmBeQ YnHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:references:from:to:subject:in-reply-to :date:message-id:mime-version:content-transfer-encoding :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=aBiZQJXjtwJJVst/v+hzz9UisNs95xAGZwAdnSADkUM=; b=DNWM05WeROl9Ca59UMUAx2bRlGLlobAOrm94TCc3oqXkUYuVYxScnGf3QZeCrX/Dwp Ie/2A1o3f8yykN8MgebEjX4G5/z8zXH4IGT6MXHoDn5lKQFD2auJI43Sik8JWIgZ9xbQ D6thKpgkFKSCSkt86QhP349655eSYAkzpjDI8bmjAHkLvt/C0yOKVFtQ0X8w7lAK0hpp T2uHUS0EimDX8tp3Q/SGwY7nHUu5LUvJw/LnO+O41LzsQmveOEiW+yNSQ/BUPoUrw9aG SRowxnrHXjKKQFxXEjvhyv9PSb4ZoN9U9vwweWmocoXkAK8znO5CECMHFADJ5cFHaPxe Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533mLhG/NQnyLJ7Out5qJSeD/0AM3V84j2iiu22kJPzd3IXrLhT4 yliZcd5j0P1tugdicddYl94= X-Google-Smtp-Source: ABdhPJzSxeGgbALIHpOIQm0Zn2W5tMb1gRCX8TJAD8VAQNP8yzHslg9MPTPFKotEgJq0NQNoT/PecA== X-Received: by 2002:a5d:5552:: with SMTP id g18mr19682171wrw.145.1608566119975; Mon, 21 Dec 2020 07:55:19 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:66c5:: with SMTP id k5ls422961wrw.3.gmail; Mon, 21 Dec 2020 07:55:16 -0800 (PST) X-Received: by 2002:a5d:4cd1:: with SMTP id c17mr19493813wrt.49.1608566116825; Mon, 21 Dec 2020 07:55:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608566116; cv=none; d=google.com; s=arc-20160816; b=E2oQJ0Db3CLwAJ3wZewfnDb+0aN9LY01gfR+6ywaDrN0ZETWksENDDfUCfHPPzJEIc xbMU2FZdi4YhszSLCZWJX3IyceIIS3jp9rEnz7qIU0sylgkiZ6qa5agnah1Y9pet55Fi pZhbdh7jsQZA84DcHdmbZ+CTRYD83XiiXFRA//vK/C8gpe7Bp0RPZuZbp4yEKdskqlRY S+ApWcWv8FWQE7GuSnBxcJ/bv5NeLMYO1ZmGOg35rlQrtl2AJS7jflY/EFQgvzvIeppx gQgrrs/Apwt7tS4nfIQ/FqbMJb5Mhm81pvrtfKXo0OJA9xvaB2pbnv9klh5X/favObn5 a92Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:to:from:references; bh=tSgC5+mqTcxohbs3TnXBTd8AcEHxQ+Gj6uEf9oD5NcE=; b=snIIyPFZB3fFGsLmauhmO2clKXiV7hjuecMuIxQCITyKbXYYA9kYEk46GNWIL+lnKa vbMLPOEQzeOjWfX3adH6w8yi4Ni3u2DaPqemjTaL1tVTc23tKzAOg1W55G7WBaYk/66S Ra8msO1ahDemuMOKnrUWlleKeKmSqwjqnDBOPae1IDfr4atBgsaQ470IgZw/DqJNVuyK gkiArQHkMFB+5x2JkSf5PJgR3dXSv8jlDo7819XfX+HNH4uePiQqeULsAyTClC5Jx2ht lUzSZjle+OMi/ZPv6LuaFRNLCKtn8w+SrPLYPxZoPLKOPrmfaVgPwg1LtJx18E+hZHeL LuuA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org. [2001:67c:2050::465:201]) by gmr-mx.google.com with ESMTPS id o85si560131wme.0.2020.12.21.07.55.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 07:55:16 -0800 (PST) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) client-ip=2001:67c:2050::465:201; Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4D03vm3VJdzQjbW for ; Mon, 21 Dec 2020 16:55:16 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id wJauWevNBrsm for ; Mon, 21 Dec 2020 16:55:11 +0100 (CET) In-reply-to: X-Rspamd-Score: -7.71 / 15.00 / 15.00 X-Rspamd-Queue-Id: BBEF017BE X-Rspamd-UID: 4839c1 X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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.io gmane.text.pandoc:27292 Archived-At: denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org writes: > Hi, > I've just read this blog post (in German): https://oa-pub.hos.tuhh.de/de/= 2020/12/20/20.-beitr=C3=A4ge-zu-open-source/ > > Does that mean I can now use html tables in markdown sources and > convert t other formats, say jats xml? We are currently including the tables marked as raw HTML ```{=3Dhtml} ...
``` and use a short Lua filter to parse the HTML: if FORMAT:match 'html' then return {} end function RawBlock (raw) if raw.format =3D=3D 'html' then return pandoc.read(raw.text, 'html').blocks end end Output formats which currently work best with the enhanced tables: JATS and HTML; better LaTeX support is in progress. Cheers, -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/871rfjqhlt.fsf%40zeitkraut.de.