From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11817 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?David_Haberth=C3=BCr?= Newsgroups: gmane.text.pandoc Subject: Escape double period in image file name Date: Thu, 22 Jan 2015 08:52:35 -0800 (PST) Message-ID: <34fbef04-8125-480a-91ec-4fe08c90e69c@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_744_524471454.1421945555326" X-Trace: ger.gmane.org 1421945558 14467 80.91.229.3 (22 Jan 2015 16:52:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 16:52:38 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCHLFHNKREARBU6VQSTAKGQEJLN4GFI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 22 17:52:37 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f64.google.com ([209.85.218.64]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YEKzk-0002uK-Qo for gtp-pandoc-discuss@m.gmane.org; Thu, 22 Jan 2015 17:52:36 +0100 Original-Received: by mail-oi0-f64.google.com with SMTP id a3sf405446oib.9 for ; Thu, 22 Jan 2015 08:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:subject:mime-version:content-type :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=YNwcYZwuTu8BsxWrCIRP22SzNzmCFIJmY83jZZzPd1Y=; b=KnQrbIjfHoAjaB9XmF7KnNGkDeLzBW+XmaMRqvs9EnnKi/+O8CZBVbI1OKq8DM5P3L z9aCT4C3ajL+Ju6WRLbVkAmn4Bikqecbwgh92aW1JTV7jopiWIv2f6rFipWxL3JTJ3ez nrI+D3Wzk09jRwDsVhhw+9telPrFhiMJSMtB0zO19hsbeOnHgdZ0f/osT6DFK658lo9V j2kTiKsEGAMhp9qPfbbkZxAPKaGsfqY+ZLfE2w6avpbA/+JKi6Pk0wtw7xPuqScuI6pn X8+Ai+rTmIw7h3UKAnKg72nZ6gUjb1RbOXpKORcBedUr4glJfSfAOVrSeb2vap3SEJaD hx9w== X-Received: by 10.140.85.231 with SMTP id n94mr17879qgd.32.1421945556100; Thu, 22 Jan 2015 08:52:36 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.93.165 with SMTP id d34ls699866qge.61.gmail; Thu, 22 Jan 2015 08:52:35 -0800 (PST) X-Received: by 10.140.108.166 with SMTP id j35mr38353qgf.18.1421945555696; Thu, 22 Jan 2015 08:52:35 -0800 (PST) X-Original-Sender: email-32snws64Z+43qbniVyZh5nIPMjoJpjVV@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:11817 Archived-At: ------=_Part_744_524471454.1421945555326 Content-Type: multipart/alternative; boundary="----=_Part_745_1518840090.1421945555326" ------=_Part_745_1518840090.1421945555326 Content-Type: text/plain; charset=UTF-8 Dear all I use pandoc 1.13.1 on Ubuntu 12.04 to make pdf files from my markdown source files. Generally that works nicely, today I stumbled over a problem when my image files contain multiple periods (like 9078505.image.corrected.stretched.png). In LaTeX I can just "escape" these multiple dots with enclosing the filename in two sets of curly brackets. Now, when I call > pandoc -s input.md -o output.pdf TeX complains about an unknown graphic extension (rightfully so). When I call > pandoc -s input.md -o output.tex I see that the call to the image is correct per se, but should be escaped by two sets of curly braces to something like "\includegraphics{img/{{9078505.image.corrected.stretched}}}". Is there some way I can tell pandoc to escape my image paths, do I have to rename all my images or edit the resulting .tex file? Thanks for any insight (and pandoc!) David -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/34fbef04-8125-480a-91ec-4fe08c90e69c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_745_1518840090.1421945555326 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear all

I use pandoc 1.13.1 on Ubuntu 12.04 to mak= e pdf files from my markdown source files.

Generally that works nicely, today I stumbled over a problem when my image files=20 contain multiple periods (like 9078505.image.corrected.stretched.png).=
In LaTeX I can just "escape" these multiple dots with enclosing the fil= ename in two sets of curly brackets.

Now, when I call

> pa= ndoc -s input.md -o output.pdf

TeX complains about an unknown graphi= c extension (rightfully so).

When I call

> pandoc -s inpu= t.md -o output.tex

I see that the call to the image is correct per s= e, but should be escaped by two sets of curly braces to something like "\in= cludegraphics{img/{{9078505.image.corrected.stretched}}}".

Is there = some way I can tell pandoc to escape my image paths, do I have to rename al= l my images or edit the resulting .tex file?

Thanks for any insight = (and pandoc!)
David

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/34fbef04-8125-480a-91ec-4fe08c90e69c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_745_1518840090.1421945555326-- ------=_Part_744_524471454.1421945555326--