From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31473 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Martin Hepp Newsgroups: gmane.text.pandoc Subject: Re: missing figures in latex/pdf output Date: Wed, 28 Sep 2022 03:11:49 +0200 Message-ID: <1AF44C44-B3C7-4872-BA10-980739F20F72@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (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="7236"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDDMFSFCYUDBBWF6Z2MQMGQEYE7ECOI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 28 03:11:57 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f63.google.com ([209.85.167.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1odLcC-0001gM-QX for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 28 Sep 2022 03:11:56 +0200 Original-Received: by mail-lf1-f63.google.com with SMTP id m20-20020a0565120a9400b004a1ca87dc45sf2901217lfu.23 for ; Tue, 27 Sep 2022 18:11:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664327516; cv=pass; d=google.com; s=arc-20160816; b=ms9hHtlb+dwe+oyW1eaW+jH17apP3DwcvYuR1lAKfg9ZUmIN7/C0zPjfolS4GAb4t+ d7CrB3SpLT+lvnmtdNQZTBr9DBAFlWEinzmYwkRAuqecwueS9lAEoQBgOnX9Pg6Qo/HF qG/JIsEaaHLT6uNbbNZkE09l9DFsSIP2fOiBvmqLPeS1CiDlJrAQU70iD4qP9sphnK3z 5JTT2fP7aUPNbdCJyHEy0CFHk/T/az0XRqr33/nKJroaMIRvQ1Ef9OlQVtzN1uyDhZfS e8+Tqh/MRXUwjW9Fts3WMRS9EpDhZBCc1BBpE2YIKISFHUZgCmfz8AhRTqD/vosat7EA 0awg== 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:to:in-reply-to:references :message-id:date:subject:mime-version:from:content-transfer-encoding :sender:dkim-signature:dkim-signature; bh=b4JAiJijRVexyWg2Prq1EI2D67GB16mdZX4PYTxqkvc=; b=fdkg6/fOwBrQaM34Z41/GeoKuUEaUUyANLxxyi0T3sDe+WPL/3jBraNhHH4R3KvrbX x4yEPo4D1J5Bu6in2khQ6liClkrN/O5eHTkgjxQaIY773798UXzRK3Rijx1Qk6OJm5OX WKOvpzdyQBBtVEB9WABX9uz14cUcVB5Q1cTOnZwL+DoIIAHMDKzZtzQfEdI2tM39u54m bsiOpXiGpMkQzm9LPtcYgbvSz6slmCmk+VT0IxBkXMXS3JcfqAJTneo0OFBJShWkC+dl 5I3iQGCPfNHAHWI/gudn53aAzaRqfi11oWghIjMH8INfycox1eQqsOysXJdN4egJmt7N vhnA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E3ylhyjN; spf=pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=mfhepp-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:to:in-reply-to :references:message-id:date:subject:mime-version:from :content-transfer-encoding:sender:from:to:cc:subject:date; bh=b4JAiJijRVexyWg2Prq1EI2D67GB16mdZX4PYTxqkvc=; b=eK3Nm21YALDJVwpkWxYvLDr9DURG6KgkqpF6n2ekKhbWHm8MikHVN4tZy1AbHqI8om 6JUfkLWmcTI2AFrNbqDHwgQxf8RQZK7pSz6fuLVMRbYq0g8rcukcCTNuUbe8qIALBapb QTek3gX6AawXZ0aIGRSntfdKRF43C2qiTokr1WxdHMzzny4bPvMSjWiFkUJoYE+3RIYB sQ08Sas5TZ9CH/UyP75rYkbwyrO4SdDTEawNHt+0Xokxpy6K8D+rJmBeYq/BcoTQqwCc TLTteWZY2Tl5jJ8H0FDVzx27pIfg3DMQbYGZ3CrBYtLsuXqg36nLEI48oAEpV7lhNreG Pw6Q== 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:to:in-reply-to :references:message-id:date:subject:mime-version:from :content-transfer-encoding:from:to:cc:subject:date; bh=b4JAiJijRVexyWg2Prq1EI2D67GB16mdZX4PYTxqkvc=; b=Rw5GNs4YOoIVP5TE/wBOeG5zcZR40kSN2P00GOXnQCGWiSeTkrDRowQ24EaVYKivTO drxxtPfm/iG7+lP4CWL66H0imwCqSBI4bT0D+vWWiuyj1CXrxfRoKFFGlRWGbH9dHPLz 5mth3UxWxTKPf6r3QuoHr0xt/ytcbVlLtRMoFIChKwNmHvSS8Jp9nLpG/mdOfaktvSp9 /sIXxFLRDHOjai6ipEYbyuzNyuxE7K6dVujQweQh9tvlMu/x1D+zyR40MaXiV9u8hXzj sQSrR0biWIPz/+eVMmxqRUM9zt1TSGoMcBz1OkZFHfPcQw7KaaCX8BH2tOqR8f4xF2Hl Ufjg== 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:to:in-reply-to :references:message-id:date:subject:mime-version:from :content-transfer-encoding:x-gm-message-state:sender:from:to:cc :subject:date; bh=b4JAiJijRVexyWg2Prq1EI2D67GB16mdZX4PYTxqkvc=; b=T/JFf0MwuQ0tHQPUGzYtlep6Te1Pn/O3ebxIuGXpF5taPShclqb7Nfmpr1a+Efe+IQ Yt1FLHN8T5UGHIiZgeliGc1gIehUJ5u2kms+76IvCm0Qj3ih32hbzJ9MywUBZK+EahJF kc9yohUZZn1JcLXNFN7RVUSDDJ5Avh7NSbMy6FKFlsrXvbAu/lpzxZ0VcauZ3asGKorr AoHDAy40PaiETViWD7vV6OSCfbtZfKS7zVVc3LLMkKHlRp16T92FsJd+MKFUtbMG6AVZ pr9iAteLokmvhpjmZZGsK0ufwXEbtpgiLZTS5HX+ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf0LkQbGxqL91I5+/TuUG1sPuDIk8ioscSlX1HOQAHn567kkNxJE +loFb39bKj94AIWbft5HksQ= X-Google-Smtp-Source: AMsMyM4eOEkqsT8DFHml4BbTCv7sWQqExMnQc149rDPyV+V49MCnRBWJaSVhv8SN8xscDjGtvgkuOQ== X-Received: by 2002:a05:6512:3e12:b0:48a:a64f:7228 with SMTP id i18-20020a0565123e1200b0048aa64f7228mr13064964lfv.159.1664327516189; Tue, 27 Sep 2022 18:11:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:46da:0:b0:48b:2227:7787 with SMTP id p26-20020ac246da000000b0048b22277787ls78253lfo.3.-pod-prod-gmail; Tue, 27 Sep 2022 18:11:51 -0700 (PDT) X-Received: by 2002:a05:6512:23a3:b0:498:ff0e:70d5 with SMTP id c35-20020a05651223a300b00498ff0e70d5mr12202657lfv.572.1664327511217; Tue, 27 Sep 2022 18:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664327511; cv=none; d=google.com; s=arc-20160816; b=fy8tb5z8zdIGKtd4c11kJAxF68eoDQ1X9fAJL+G9cZJtGIvhMzkd3Gpxex5H6bLI7y wUjjZmmr+iUt6n2c0PoR0w9ekCPnwKYfXFEmhVMEQUGdoPSH3bg7asEvR4PUcqO63fep m7RiblgFKP3+T4Kk6XLspLH52gFrVQpxHv8wDoPtpgx01X9RkKbBj7fkUqwdsqF34/ow Ive1aG34XEb68xjwCyd1ZjxVTyZD/4dBpVneu/JD0PtNfjeFy1D439DLM8PD3jQzY1eA TIUlJfw5hoMIocWhlOV7INb66kJMMGUbiIphdVbXwvBwcFqGbj5pUF9HCLxJNIJLDyLn q+vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:dkim-signature; bh=wVuQdU0udGbcdI2ddGot/2K0uwmd1iNMrnDgdjjsRNg=; b=0fEtiQGaZBWvK5nPmsgcVSDfL+xMRySp7qpCN0Saca2F8mc8P/36UvPjCd8aDlLw7Y jAEopHnpq9pOiJokihbeE+lVtfGWev9D/TYMrf8sk+nEuHHv6mxXqPbdbTwi4zpvzmiU T3nSYOltM8RKZ1Tp6Jly9Zb5IRy920SuN6zP/36GZWru+WYcTK5UViHbRWGLusKo6H/K YNvjbjO5ql6A0acETCIZ1toZ3ILvgtooJN8LpzeunPMWqVBNCzVRmo5B13pO+vgmefNH MeE+/injfoGYkncW1g6yZFMMOT5tYldYRF29nNDme51ftLm7L3j2Pd5J71/6rFL0jBXc xleQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E3ylhyjN; spf=pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com. [2a00:1450:4864:20::633]) by gmr-mx.google.com with ESMTPS id x3-20020a056512078300b00497f1948428si144198lfr.8.2022.09.27.18.11.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 18:11:51 -0700 (PDT) Received-SPF: pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::633 as permitted sender) client-ip=2a00:1450:4864:20::633; Original-Received: by mail-ej1-x633.google.com with SMTP id l14so24064958eja.7 for ; Tue, 27 Sep 2022 18:11:51 -0700 (PDT) X-Received: by 2002:a17:907:743:b0:740:ef93:2ffc with SMTP id xc3-20020a170907074300b00740ef932ffcmr25465093ejb.514.1664327510730; Tue, 27 Sep 2022 18:11:50 -0700 (PDT) Original-Received: from smtpclient.apple ([2a01:598:81b8:12f4:6455:e175:eba3:80b6]) by smtp.gmail.com with ESMTPSA id k13-20020a17090632cd00b007835316a1aesm1514055ejk.65.2022.09.27.18.11.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 18:11:50 -0700 (PDT) In-Reply-To: X-Mailer: iPhone Mail (19H12) X-Original-Sender: mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E3ylhyjN; spf=pass (google.com: domain of mfhepp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=mfhepp-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:31473 Archived-At: In general, if you aim at multiple output formats, it=E2=80=99s best to use= Markdown syntax / elements for the authoritative master document, and dele= gate required modifications to format-specific Pandoc filters (or writers, = but less common). There are quite some filters out there that try to translate HTML elements = to TeX syntax (e.g. text color) and other formats, but this is typically se= cond-best, in particular more difficult to implement in a robust way. Except for tables, Markdown in the Pandoc flavor, is likely the best compro= mise for a output-format-agnostic representation of documents, in particula= r thanks to fenced divs support. Best wishes Martin --------------------------------------- martin hepp www: https://www.heppnetz.de/ > On 27. Sep 2022, at 23:06, John MacFarlane wrote= : >=20 > =EF=BB=BFIt=E2=80=99s not a bug. Raw HTML is only passed through to form= ats that support it (e.g. Markdown, EPUB, and HTML). > It isn=E2=80=99t parsed into a native Pandoc structure and then rerendere= d in the target format. >=20 >> On Sep 27, 2022, at 1:26 PM, Antonio Piccolboni wro= te: >>=20 >> Hi, >> if one includes some graphics with the ![]() syntax, the graphics is pre= sent in the pdf output. But if one uses
, no such luck. Both work w= ith epub output. (I momentarily forgot why I am alternating between the two= forms, I think I needed some extra control on image size). This is a minim= al example. Markdown: >>=20 >> ``` >> ![Some image](assets/IBM650.jpg) >>=20 >>
>> >>
Some image 2 >>
>>
>> ``` >>=20 >> Tex output: >>=20 >> ``` >> \begin{figure} >> \centering >> \includegraphics{assets/IBM650.jpg} >> \caption{Some image} >> \end{figure} >>=20 >> Some image 2 >> ``` >>=20 >> Of the second image, only the caption is left. Is this a bug or am I mis= sing something? Thanks >>=20 >>=20 >>=20 >> Antonio >>=20 >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/8bd75451-cad3-4a83-80e3-7a983091bcadn%40googlegroups.com. >=20 > --=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/D0DAD6A1-3B30-4F46-8FAB-5F484F65D700%40gmail.com. --=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/1AF44C44-B3C7-4872-BA10-980739F20F72%40gmail.com.