From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18214 Path: news.gmane.org!.POSTED!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: unwanted image captions Date: Sat, 23 Sep 2017 18:38:36 +0200 Message-ID: <87k20pcqur.fsf@zeitkraut.de> References: <20170923162044.aoj7ciyfuidd7d4u@scru.org> 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" X-Trace: blaine.gmane.org 1506184758 2858 195.159.176.226 (23 Sep 2017 16:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Sep 2017 16:39:18 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBNU4TLHAKGQELHXQ6VY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Sep 23 18:39:12 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lf0-f58.google.com ([209.85.215.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvnSR-0000Hy-Mu for gtp-pandoc-discuss@m.gmane.org; Sat, 23 Sep 2017 18:39:11 +0200 Original-Received: by mail-lf0-f58.google.com with SMTP id h74sf583884lfl.5 for ; Sat, 23 Sep 2017 09:39:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1506184759; cv=pass; d=google.com; s=arc-20160816; b=KUzleJtfXZRrAtCIzzCfVaooVhri19FDsrYNWpHSXOb5rDqEUm+PDLPmavSeXX0T2V DJGpTHgnAv9jMQgpmn9UlfiD45JUhxdYpgWtV/DNyuTRa+aFbWBBP0xdyBFwD4GVa+1o jSe9wk1L5AdE3PwjpOP/uw0yfL97GbQexe3qduhcU5wU+R8ekJRAaa6GOeTRfGV92S71 d8D2wsrBQCogbFdvUfd5SD1BUKJYyo6w4foE5PjTUaypCQ4gBy3wtHjg4drEz8V7ULtQ HkKYgYqA1/Y82rfbTfyTnE7iEEDkCUWnKLQCbqlsgVmheTkpJ501JYuvhIeDZlx+lh3C 5ZmA== 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:mime-version:message-id :in-reply-to:date:references:subject:to:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=uSMLfNNBWe9A2Ch1dKzuWQBPUoAttrC1LpzDlNCyTJA=; b=BGPRcL7lHt23IzwYE6WtPf2fDgAiki1NOlgkXjrje5VzfRRajRpztuGhR15RjmDQdm Bp20b5riArQ6JzbnM2/xt95MvJDo03FRBwddRWFlyw+LPzxt/0LQsLZiyoTRieyASsrO S6WyiCwUgdAdYwv0EaRQ9snFQD6PE4OuB+V/lNoLfaTcFTj8fyCi6RMf3xQP6H9WI19Z iQgOzvLOyCDdFdLFIGkr4k+bm9c8yPPfgTGn7RgxduF56X6WJZKf4XljjjnmvOOHkb5l 4lj7BD96A1Z8O17QfJOu+i42LzhWxVhVM2kdVGnrOkeNZ9CZs0rmETHovZyZ2FXn8JZX mPlQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.60.212 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeitkraut.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:references:date:in-reply-to:message-id :mime-version: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=uSMLfNNBWe9A2Ch1dKzuWQBPUoAttrC1LpzDlNCyTJA=; b=Fzy+duhcf5Or0aPz9sCcXmO9taq+HT5pcEG1X9TUCjStkVZWBx8p+/JSdjPUAjKLDI DqVZYHx+yAB4wrEj7pjJlY3p0jncop1msWR3n6ISoiToi/Jtpeq1YN/IdQKXbQtbvLsd gOPwE7pPPOgIgpl+pISRkYjszKpPSyYlyYo2j8E2bqCJCTR3rbWdUw9Ev0Zcww/k1ij1 bDU/fHPfuqoRUWe5aFtrbUmuMceJg65Go1j0RpxawwbuELJeqsTG/ynRaswNslfIDyLi 8SawQXlT59ElUSZZFH4prQnkZUD1JiIuosR2lI04zlANd1r4UIGCY4cKhirachq+rda5 2mMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:references:date :in-reply-to:message-id:mime-version: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=uSMLfNNBWe9A2Ch1dKzuWQBPUoAttrC1LpzDlNCyTJA=; b=LnPCJdhFCwn9E/NJvPH4TI0n7ZWFRemdX57FZpJAFYm9WGH8RroMHnko1VlCE8SX+1 aNqU0hcy8w6sWFsWUVnYTHGrdPOeDVrJ0WpCPlLRD/wb/Zo5AJkR3ZK1JwAa6WvFXVxz OTSGY0ZR0VqDmnZniL4CxpSf4KkAmrfAz7xia/EC5p0dP+z/cS6oWdnQrKVZ73IWiWfD 7j4Fnr6DFT/m+Diz6aZK30TseDD1Ipju/coiYMNhv51H4nLXmvuSBJxIwghLm5h0WYch Y2wbcNHao5Zu3tklOhSCwvrRFATR03WOZrcqu0zXMjW1W/uM7c1Hwo+U2RIxjvANKLoh zexw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUhPur7bB25dOoMwe1+QVwNQCRWzPbxYu7EBLj35YAgbARc0gSR5 bk0wKi7PT1NcCZ1e+E3r0ZM= X-Google-Smtp-Source: AOwi7QBPIN/2djNewjYpApCVd4bT+SU3/XgBP52KcnP9NdPwOey91aJQYikRsoCf3gxpKllVKrZAew== X-Received: by 10.46.88.72 with SMTP id x8mr5965ljd.6.1506184759401; Sat, 23 Sep 2017 09:39:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.46.27.27 with SMTP id b27ls1764396ljb.8.gmail; Sat, 23 Sep 2017 09:39:17 -0700 (PDT) X-Received: by 10.25.125.138 with SMTP id y132mr135540lfc.9.1506184757847; Sat, 23 Sep 2017 09:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506184757; cv=none; d=google.com; s=arc-20160816; b=ZpA4aFZbRugspVhZF8g6mCG9tys8Lpq7Vf45O4cPqEaThZZ0eO5+AVAG5N464N2EyG e9dtIuXnGdYb8OKN8PgxUDLMcwJegomtSJG/PQwIYhAGuXZ5gBh7OrJC2vQcGcXYP99A b1qgwcPnFRhx6DpQszEGPhFsacgKGwlvM0Vxre5O4rOYkuQrSc01sEJiLw20QwGRmU+V NcIJL6XxsZ+RqjMLtyupG8gXrmRu0VT9cVNqcwwDygUZKbD7G4kyfUd3t3kK4Emvng7k 3xM9EBDdIRmKIQfY91aOlB463FkePwuS10Ilxzmf0q031HRvxK82eqoDFZUF9zwIu/yn 2Y5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:references:subject:to:from :arc-authentication-results; bh=lVETd0p3IpJvFpWAQromzFty/QSkQDQD8QjH9qL+pHg=; b=Pt1noVkXPS6cy1sz1LDinWaKVHHpys4DiHUd5SAcMvr0SV88O4Mp4AdHZWL/KwpSUS LWdvcyato1uYA3HP+NCbzH48lOzJHOF+C94a0L/fCiPSWP+vak7qH94ukoFM0zkqsMWS 6mUayg/HB+SxlTKJSPyyUvnPXcZtNfeniQL7DqQnAe0hDPSeCwjjNNL72uL+TqrEd4e7 5VXJZ5rFG32kQHUeX1LxMRoiK3WWoxQG4u28hrK32e9zgJkFEWSi+bsO3cWRGD++2cfS TJpzIOlLY0l5ph1enki1xtzkJle2IEWUhzWfRpIHXcixzP6+PXL07Uum+wsdVsivRW4v dJaw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.60.212 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeitkraut.de Original-Received: from mx1.mailbox.org (mx1.mailbox.org. [80.241.60.212]) by gmr-mx.google.com with ESMTPS id k18si403109wmd.1.2017.09.23.09.39.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Sep 2017 09:39:17 -0700 (PDT) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.60.212 as permitted sender) client-ip=80.241.60.212; Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 5BAC945B67 for ; Sat, 23 Sep 2017 18:39:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id GPj46rc0wsWh for ; Sat, 23 Sep 2017 18:39:15 +0200 (CEST) In-Reply-To: <20170923162044.aoj7ciyfuidd7d4u-Ef207QMqB4M@public.gmane.org> (Clint Adams's message of "Sat, 23 Sep 2017 16:20:44 +0000") 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 80.241.60.212 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeitkraut.de 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:18214 Archived-At: Clint Adams writes: > Text::Markdown will render > > ![some text](https://example.org/img/onetwothree.jpg) > > to > >

some text

> > This is what I want and expect. > > However, when transforming markdown to HTML with pandoc, the following > is produced: > >
> some text >

some text

>
> > Is there a way to render the alt text but not a caption? A quick look > at the source code suggests that there is not. Pandoc has an 'implicit_figures' extension which will treat paragraphs containing just an image as figures. This feature can be turned off by calling pandoc like this: pandoc -f markdown-implicit_figures -t html your-file.md Does this solve your issue?