From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23704 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: ChrisD Newsgroups: gmane.text.pandoc Subject: Images in tables Date: Sun, 27 Oct 2019 12:45:35 -0700 Message-ID: <9c0fa901-7b66-e34e-1218-c4ff87d22bb3@intielectronics.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155694"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDHMHIETYAGRBYXH27WQKGQEVY4IXWA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 27 20:45:47 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf1-f190.google.com ([209.85.210.190]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iOoTy-000eEu-EU for gtp-pandoc-discuss@m.gmane.org; Sun, 27 Oct 2019 20:45:46 +0100 Original-Received: by mail-pf1-f190.google.com with SMTP id g186sf3327176pfb.15 for ; Sun, 27 Oct 2019 12:45:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1572205539; cv=pass; d=google.com; s=arc-20160816; b=xLx3/gxQWEPji+oMcBBrcnuQVlduGYI2yajf7Gm/9qs/BaUCWusixFf16Uz+7KkD2a UebiAuLAyoB0mrE7KE1FDQHiGCsy88Q5c+WbYbEwE8O8phnYtjuSwMddk7DfZU4Y7cvO lSdwIJFEg8rF32yoVH31bzq5BPXYjmP6oEZKaHu/n6nkh5imivE3eY85HvrsaotrSTxb oY1BUeOeR5u0+IT2sjCGPRI4LsRtdUaMy867IIHY9XIcD08hJiAl4v1x+8qvVkbpaCDB ln8FOd2DaK7TOb4cHNc9qzM3j+95DEeAIBOLzJbiYnlOLljllhPyeP0Epb/GTc3N7U6T jwPQ== 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-language :content-transfer-encoding:mime-version:user-agent:date:message-id :subject:from:to:sender:dkim-signature; bh=Yinw5Wl5AX7O4d9JPWFArN6Z4rZWbhYKEy3qSg29730=; b=kmXvXhtimb3XfjeIQaNjy3nMjPu4r+x1PHmKLJxr0CpnhYOkQ8ortXc4L3N+vp7zoO D72sAAWmEAcMn/xa6L3L2SvQD9xQRLIMdC6t2IYehA0FfD7hwHWBtzGZyLnI3PS9euDd nS8/Xmp0K1RhEpFu4ZKnhGeZ6707ekpnlUg3AlrWO0VQgZpvQQKbLa93FaMye+QURfPh yjUL5BjiQRqXTE1D+zD9hSUTDxKcMra12Mf8RBG4JVzp+w5sJqqK4zTfBx+aq3xmptSB fsA5LVqEH3jwDoJZ7bcB5AMs2DAIE4ByeviNR9eR88kNayi9n4vBtVMv2ud5ACyku2yl 3myw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org designates 209.68.5.143 as permitted sender) smtp.mailfrom=cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language: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=Yinw5Wl5AX7O4d9JPWFArN6Z4rZWbhYKEy3qSg29730=; b=U1MUVd2K5JcIE9R3CN7J5oCQ8N1krMQBw+XgclkZ9avgKW2o96vJ4fCqjblnTc0kv2 dNmMm3ZZPA0AEYHRmHSwk6+zR4FN4J/6oae87sC7PmfH98Pwd0Tt+SQIFUcVEvNdQUVV Q/sNAxb2sKYRzyjFFNrFYkiBf/Ijohg+9ieFtG+HnulDyyTN85R7ULwa4nR/1X+nWCUK vw8HpT7Zh2zb8lMqX3bKe8I7gI+F2L7vl4UzDrrTlS5g5RwP+lFkdToBclI8dOSbcBTo lrAqX52ypzDiOjphQ9GykyYuYfL/H8VvuhOk2dGstn+Uvs+iFlHTflkPGkaE/Llld+pv i3xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:to:from:subject:message-id:date :user-agent:mime-version:content-transfer-encoding:content-language :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=Yinw5Wl5AX7O4d9JPWFArN6Z4rZWbhYKEy3qSg29730=; b=dlglLHnUi7j5+RTZQaeE6lg89LWmw+rP3DzsesplCTngvWk9/APoR9mzb91LbXWFzM g3idfudVnkmpHA0TVgE+K1sp7nRD9I8FjgwZtjcHv0KDO5nj7kz8bVHzkjc+gk2+9Gli H6n6bWBryiF2pVOgVvwlyqxjLcCSIpw+71qTI6jmPRyz/U16fFj84lw0vie1zH0mgvzJ 9XzebpHA+QJSCAQG6sWE82ZCVaYS+EA2cvroga2DU5Nqh5hSm9PSeUFVUqPlXu4RaZ2X shY3s+zmPvY8zGfB9ma/rWpX4DAYrWhVtHKAh6YhyP+96qbT6FxVQUK29whgsGO1hBIz Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAViYrOu8qR6cLQMPSA4hWAegsQPp9/jOSbV4xmZcjYh0psN5Y58 elRnzPmhdqiTDSsJNBsntKE= X-Google-Smtp-Source: APXvYqy9bVKH4f9C7AhzxrIhVGAlo7lCriA22yMhvSIy6Bl1erwgbTHJ3m+YlhMa2VIk8CuYalviGA== X-Received: by 2002:a65:62d1:: with SMTP id m17mr17026177pgv.284.1572205539311; Sun, 27 Oct 2019 12:45:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:a40c:: with SMTP id p12ls4515602plq.3.gmail; Sun, 27 Oct 2019 12:45:38 -0700 (PDT) X-Received: by 2002:a17:90a:ba8b:: with SMTP id t11mr18233086pjr.143.1572205538437; Sun, 27 Oct 2019 12:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572205538; cv=none; d=google.com; s=arc-20160816; b=RNSt/rqd4KsbPUcXf9TSsWt0jmtGXZnguvZvJbbMvylagDi4LN7suo69jwod+6Fk2k 7p8+sETBHXtEqNl3l7kHJjDH29i42uUZJnZarLo5EX/MOmftLM6LFQSQZIAkBTehUxKe RuneaAaQ4eOelK2Kk9qeT4ZyxcryNi+8Mh7m4YhiEz+ZWJLAHDBh9GbfR1wttuqfT9H+ +dTSIl89djuclT41kw/bS/B6r7jrMbgJjuSvTY1dYpmTBwpUFC9X6gd+jONXFdWX+shS daWrRC2wPW6D+j2/bZuBW2VJw7o5DiXCPzMn8cxW0Im3f1e96t7+6Y9//s/xRmU5Eglo Hnbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:mime-version:user-agent :date:message-id:subject:from:to; bh=kFD8EazCZGsCfCWzpg7xo2Wns8D65eICC9s3X4xjR/w=; b=oaCabR4QwzgCHPwRqUk289uC7O9rKmjt6l+6o33ovfv40YCeqACuPLNhIeUoXywip/ Yz+beCF9rCJMma+5CJ6lvqSGpY48+e2UUnAaPcAxdraigiEeSd8NRqVHvhVpHweq3vHJ wVlNCgv86QuCauqraZvj99KYnpP1r7brmOd3DsKoCNmJbyF37CJajXkXTmsivIeujyP+ NbE4r0i/h4hltre7WQrvQ0H+rRJq9/hbfMDCdzw4X+ph/bBJ2GuTCVFbBTn1skpVaTv9 22LSEuE7BkgsoNy5s3ciN8/o8LETKm7SapSUVXEEDvctXCFdodoDlfIR/uxVhmSWWBDq eQiQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org designates 209.68.5.143 as permitted sender) smtp.mailfrom=cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org Original-Received: from hamza.pair.com (hamza.pair.com. [209.68.5.143]) by gmr-mx.google.com with ESMTPS id z8si60384pju.2.2019.10.27.12.45.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Oct 2019 12:45:37 -0700 (PDT) Received-SPF: pass (google.com: domain of cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org designates 209.68.5.143 as permitted sender) client-ip=209.68.5.143; Original-Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id BC28A33DFF for ; Sun, 27 Oct 2019 15:45:36 -0400 (EDT) Original-Received: from [10.58.10.6] (ip-55-36-244-173.west.us.northamericancoax.com [173.244.36.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 9007C33DFB for ; Sun, 27 Oct 2019 15:45:36 -0400 (EDT) Content-Language: en-US X-Original-Sender: cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org designates 209.68.5.143 as permitted sender) smtp.mailfrom=cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@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:23704 Archived-At: I have some tables where I have an image in the first column, and text in t= he second column. For example ````md ---------------------- ----------------------------------------------------= ----------------------- ![](ButtonZ.png)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The Z button will do .= .. ![](ButtonX.png)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The X button will do .= .. ---------------------- ----------------------------------------------------= ----------------------- ```` For HTML output, the buttons and text are vertically centered in their cell= s. For PDF output, it appears that the text is aligned so the bottom of the= first line of text lines up with the bottom of the image. I would like to have the table contents top aligned -- the top of the text = is aligned with the top of the image. Is there any way to do that? I found the image-in-table filter (https://github.com/zommerfelds/pandoc-im= age-in-table), which makes an adjustment for pdf output. The result is simi= lar to HTML, in that the bottom of the text is aligned with the center of t= he image. Perhaps I could modify this filter (or convert it to a lua filter= ), but how would I calculate the amount to move up? And how would I duplica= te this effect in html? Thanks, --=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/9c0fa901-7b66-e34e-1218-c4ff87d22bb3%40intielectronics.com.