From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31477 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: missing figures in latex/pdf output Date: Tue, 27 Sep 2022 23:04:28 -0700 Message-ID: References: <1AF44C44-B3C7-4872-BA10-980739F20F72@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="28193"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBB36HZ6MQMGQE7A7XFYA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 28 08:04:34 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vs1-f59.google.com ([209.85.217.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1odQBO-00078a-MV for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 28 Sep 2022 08:04:34 +0200 Original-Received: by mail-vs1-f59.google.com with SMTP id 65-20020a670344000000b0039b3020da1bsf2056657vsd.3 for ; Tue, 27 Sep 2022 23:04:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664345073; cv=pass; d=google.com; s=arc-20160816; b=IY7af6XnLsCoDltWR+D0tZM9YdgjcxFCb/gsQaVzerCoh4ZuBlIPoS5bcKpkBr/kIm CvHHOvRkm0rFApoKtUgIJHUHYZoSkj80jvHY2dPEjSRLIfoC08Kf8rKS1NrYBluGk1UH +Ji6eA6VzsCngw2L+iJIOVfS8rgFiDHRGTgaPr9xFIjBWZjcd8IWQyzc+8kRR4rFMYGW IROtCfLbsEqHWwUgBJqdYV2Fl6k3RHOZiG/Rw1S0ODqhUsY2QfprcB1GFTwoyoJ5Uj03 CAcb46w4kgOtEYPN3M3yt5aRk54GfHvcL0q2Myp/58YFKdHnTCzTXyUD7rnR1tdX0YnA ozDQ== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=vOn/S7NTkuajq5dlakMysGXKnBhlHjjkm6/ejxnN7Es=; b=QMAAwr3OfgI1WQh6QWJClh1q0l4D+8uUjhn6f0K+HRKRSDTAqWQ7JVt/ZlnIvghVcj qfD5EfoOVMRMINq8Iu0qrWHGVdEPquNiv6lSZUJOdDc4svEq2GX7WRg0F821qSt2IQE8 CQgl10wf6MZKe9FmnmCi3y+8wFY6LiOkNgk7FBCA3B1OQwsAdUZeIWu6uuI5uYPbhZ5l 9CvVWmB73zrGYewPQ/egnTt1J30+qFgIO6s4D1MuRlZ7iUSjZqGITUAAw4d65LPDq4Kd ZX37sPTCf8UlT6Lr0qEEJU2JQCs4uaHblOngG0gDvjrAakm+a3ST3Zg50xlo8bQcseel +J+Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DNQGn4Ll; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date; bh=vOn/S7NTkuajq5dlakMysGXKnBhlHjjkm6/ejxnN7Es=; b=qFt5D70yYCAexjaMCXl6iBGdHC3+nZqU80VI9VhkK4M2w/mLNMCAY7Beq+7z2QOWs8 sZuej6yoyrJtB76RPwFKxMX1SL82M5viz8OlBM0Mw0Kp3e/Dhla8Suhwd6O8z/Y+r3b6 WInGKTpeRIae78funcxGPnt5fZmZJt3J3iFTg5E6x2VquoqTFYISTPd438T4knP6Uih9 Fv1YDt48Ub0hEFz/CZZrvKzwujMSHcRDbKYl94D3xBeJo/OwdC9JJncU6BidFg6aGWZo y8oGLMT34DafPmd/M4LVf2vuIdTJb8/8c0gbqwmmFeXMfIFXH6yzeJ1/VnenwMUl9+8i fcnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date; bh=vOn/S7NTkuajq5dlakMysGXKnBhlHjjkm6/ejxnN7Es=; b=B60U513Y+B6731ieS0oG4uRaUX7Lf4fJs+NjhgHwV6XLuFFc+CwiQmRAIIkxetasdQ ZTGt+o6mG1qvIxpY+sQO18YJjxUmt2tuFIkIhr/0dERFnOFXoAF/UIkBK0YWmpAnk5FO 5hQiQDyEzxnI6pv3BrdVbirobY9Sozx1pJBfOR1OSGuBeCLXN/h7wrf/dnfoU8ZW76il dZ9CyXBxi5Y1C080AqM2QwP6QN88xB8hTBc5XD9G7zHpu5e8pCPuyk/CY5RGcv6oAyuy cFOuzdc3e4RDnEsZEOTkIbCgRz+qWQz6UU1ES2YgHGgVeYhyFVOGDKaf0ML/VpoijZYB eBzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date; bh=vOn/S7NTkuajq5dlakMysGXKnBhlHjjkm6/ejxnN7Es=; b=Xk4jbkd3w9MpUxfmu7ZRp/QUq3nD8U2WeMCjV1jf0HtXIqflT6rl90zL+ZXte7X7gh ks9hDHWdZ3lOFt3MDJANv0vBgg7e+zGAm+CgOfx4VKflLDquKd51RaQxx8Y253zZX3eo 3/cHDShIS5gJeNztSp9KhdeyoONVifv5GN+2gMf/kWHwe/m50QsVQhhbH7ADaCCTUdbE Evh1xA7LMXjcXfdjLMVxMDjftJw8qo9Ncz6M5cZKcp1dR5kk8w0xAPlfpOG+mu4Y1dQG viyR/wHc+PL/puoS5iXsgfOCdHyzaK29TQFd5YyF Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf21AX5GfHagullUGC4Jhmjl9nEVwppfP3tIqK4xhSoKjJTcRhug wuY4MThYJdDnPstvH2+xPoE= X-Google-Smtp-Source: AMsMyM45Z/5pgsTVPZfSBq03Hws7iuoAENICFk7kTZ8O9/BoLDLWftaH4amq3FpuAmJHJp81fhqkYg== X-Received: by 2002:ab0:6287:0:b0:38c:5a1d:109 with SMTP id z7-20020ab06287000000b0038c5a1d0109mr14048758uao.29.1664345073583; Tue, 27 Sep 2022 23:04:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6102:a89:b0:398:2638:7615 with SMTP id n9-20020a0561020a8900b0039826387615ls952188vsg.6.-pod-prod-gmail; Tue, 27 Sep 2022 23:04:30 -0700 (PDT) X-Received: by 2002:a05:6102:253:b0:398:a8b3:fb09 with SMTP id a19-20020a056102025300b00398a8b3fb09mr14887752vsq.41.1664345070710; Tue, 27 Sep 2022 23:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664345070; cv=none; d=google.com; s=arc-20160816; b=RXbAIyJzVvLfqJlEqaAvlg/ebx2mti/xzuT/8XlC95te3CkcA9a/uaKsjjyczWjDGT in5LwYDqVllVUF7MkZx+RW5jxL+XLeOiKde9/v8q45XBCbbjI6bHPXwRV6c7QcsfJnqK FAqiGV5/n6I57Xp4SNqzAEDf61PT7T1TjspiyoiG6QLtWWuJ2x5svGxGd+FPcAC0y8s7 rtopKkrP+wjxL6jniwnSKAdfiiywncXdgieEOsx5+kNpXcG+SSxwjIJ3o1VzaHy47Uga 1siJ79Tf2ukEze/S1SdwJS86GK70xUKdEawEqZFSCDdl3fbYh9YsUr4o0rUxbN+NpKj1 bHxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=QhKItdIm31RpaNRnqd6HdePlels5uZ9aviVsQ8elfgE=; b=BkUh3R2ZfNepU6fvEt5nx2PB6mraNNvZZ6ghhHbUSA+M7xob8YOayhVVpdsnMLNn4i 8UXt50KYtsoTx6yO85rd0T3qeX6tt9mkmaG8GCiU8bYyRn4pPgTw2hQ4w9DQZnkmrb3v KWlMjy/gEkDWtPsvkVQ0JVSBBTT0kJGic/C10T2a1KqK3se8o3+vOjxxNq19nilNCZSe WBpfpgCSQQsfdyZzPVUAEr6taVZTGVLr0+x1LW5wzP7S5fMy+8YklLlIZcRfSrU4ftN5 hecTkW5S3YBZDauSNtpb0ofqfLhEpo0Lijg0JsqPBAAECjcUQdp3xEz+C9WCVP3rqXBg KzjA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DNQGn4Ll; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com. [2607:f8b0:4864:20::630]) by gmr-mx.google.com with ESMTPS id y185-20020a1f32c2000000b0037d0dfd4d08si144184vky.0.2022.09.27.23.04.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 23:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) client-ip=2607:f8b0:4864:20::630; Original-Received: by mail-pl1-x630.google.com with SMTP id jm5so10915161plb.13 for ; Tue, 27 Sep 2022 23:04:30 -0700 (PDT) X-Received: by 2002:a17:90b:1b4c:b0:202:c1a3:25ce with SMTP id nv12-20020a17090b1b4c00b00202c1a325cemr8939563pjb.232.1664345069982; Tue, 27 Sep 2022 23:04:29 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:400:7c40:c8ae:e6f7:d2cb:c1ba]) by smtp.gmail.com with ESMTPSA id d2-20020a631d02000000b0043a09d5c32bsm2665132pgd.74.2022.09.27.23.04.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Sep 2022 23:04:29 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DNQGn4Ll; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:31477 Archived-At: > On Sep 27, 2022, at 8:41 PM, Antonio Piccolboni wrot= e: >=20 > Until now I had assumed that markdown was a superset of html. It wasn't a= pandoc extension, it is what the Markdown format says: you can mix in html= when markdown syntax is not enough. It was the backstop that made it easy = to pick markdown without future regret. So not converting the html in mark= down is not in keeping with the format definition according to my assumptio= ns. That said, markdown doesn't have an official standard and I may very we= ll be wrong.=20 Well, original Markdown.pl was just a markdown -> HTML converter, with no a= spirations to support any other formats. So the HTML was passed through li= terally to the output, and that is what we still do. I think either approa= ch would be equally consistent with the original. But the literal passthro= ugh approach is what we stick with, for a number of reasons. The main one is that HTML is strictly more expressive than what can be repr= esented with pandoc's types. Allowing HTML in markdown was a way of avoidin= g expressive limitations; if you want to do something fancy, you can pass t= hrough HTML. If we parsed the HTML and re-rendered, we'd often lose somethi= ng (although over time pandoc's types have gotten more expressive, they are= still not as expressive as HTML). > In my specific case the solution is to use just markdown as Martin sugges= ted. The reason I had switched to html is that, for some reason, the calibr= e epub viewer ignores the caption when using the Markdown syntax. Apple boo= ks doesn't have this problem. So I will just ignore the calibre viewer. I h= ad a few other uses for html tags like sup and span, but I can work around = those, mostly. Thanks! You could use a filter to generate special HTML from pandoc figures, for HT= ML output only. Note also that pandoc's markdown includes syntax for sup and span. --=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/ADAB9DB0-E0D5-4933-A83A-589C7EF14F61%40gmail.com.