From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19457 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.text.pandoc Subject: Re: l.84 \includegraphics error Date: Mon, 05 Feb 2018 12:43:54 +0100 Message-ID: <87fu6fhdad.fsf@fastmail.fm> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8" X-Trace: blaine.gmane.org 1517830925 523 195.159.176.226 (5 Feb 2018 11:42:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Feb 2018 11:42:05 +0000 (UTC) User-Agent: mu4e 1.0-alpha3; emacs 25.3.50.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS7B5O6XUOBB7MG4HJQKGQEZ2FHCAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Feb 05 12:42:01 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f58.google.com ([209.85.214.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eif9l-0007sn-Dj for gtp-pandoc-discuss@m.gmane.org; Mon, 05 Feb 2018 12:41:53 +0100 Original-Received: by mail-it0-f58.google.com with SMTP id g125sf1236879ita.6 for ; Mon, 05 Feb 2018 03:43:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1517831038; cv=pass; d=google.com; s=arc-20160816; b=xuxSA0hXavJA5nTHjmiXK2LiZb3/WC3HgChegCrnxZcf0wFvwlWW3cFdpOi2Ei5OBD sH1J9yTJAQzbYH+cAfJah6Hbs1rZOKtVDQ5dCH/MJ50mFqixgGTIOaY2c3ehs+do7Rjf k1ka0QYCUfyXAjyF59XsGbGrzb8Iy86XXcOQiA9yeUjgrnS+yO+aDY47FWw3b5xwHPlJ iFlps9X5xfbJ42erY/gIopOySM3iEH2bWmkDuyZSJSTOzJAo77W/42bkYInaM++fst9s OfmygyrcpU2Z3BSDbVJrZNEPNRbF1kx4p0Xu/UkBwkkVGeJXp7Knq/dWPh8uMqbly37y 0hzA== 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 :date:in-reply-to:subject:to:from:user-agent:references :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=cdPDQxMvivVTKo6EX104Bg9v2Xsc1Q2iMTfZVAEgi6c=; b=Ds4reqjok3jlTb2c+puFh9oIaRQtdpqwEticFVa1/8CwDI4g0IaaZeri5QtBJeaf8r 40OqQl13CiNjY4cWl7K/fwLnLYB2eY08AECb3nzv71BXGu6aoPIn5QIRS2VpYJTv/LEw CkUmUXO5ljeVSQNUuRN+/KTnDINNDZUTRripPRJsOEua3iGPadyE67NWPSkKqg5wjIap iHuYdL+fChbhVr4/TbSw8aCF4VsrnmI7X4n+hPWP0Rmewvy3AvqQd0woYIy590rnvwGg g1OhgNqeKznPb0tJCK8FjdPtxHVIQMgDDFrbH4ZSlzGT27Y9nK+E4y2hrRmWAAqrFixK n6kw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@fastmail.fm header.s=fm2 header.b=b+V3f9P5; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=FF/7Zr5N; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:references:user-agent:from:to:subject:in-reply-to:date :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=cdPDQxMvivVTKo6EX104Bg9v2Xsc1Q2iMTfZVAEgi6c=; b=k6HqhjuEGJTVOdrvBVP0JeCVKE1Xhkgo1gMLAbFFdDRugLXrZmKsw3T4bVose94og8 JkbAz66ApW9374evuOhybboEk6EyQZ0Ja3Zmyovwlynzz9CozULAIAvH0gV2LYC23RI+ 0cTxe9uwS1MKtpIgOyaquT26BMSZ8Ubu096k1xwThxPqVBdvaBxwPVmambgD/20AU2QA n1ySIigxkXg3AtBJ6WUaQx1n2inbg3CJEHk/lO2Oa8XyNUn2TbgFWyRs5G5G9oJyjqcr KQy3CNew4yxrf0RdIaLU5GWNhQdmPe3d0NHAM0AYNGxX5A1ovs6gBtZv+G9MRvFSGsc3 P+QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date: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=cdPDQxMvivVTKo6EX104Bg9v2Xsc1Q2iMTfZVAEgi6c=; b=maqgQ2G3JAynjuCzc5c+KD7MTaskmi8M0aunHLhwb8PBuxDyMD/ZIV9t1HtIGoacAh 4QdJm7MNyUpSpmZQHlyoYifIhlNV5Df16/e7z/ooVWKcqP/aSP+b0y8js1PEVfIVDZTs nDxpCZJuXfPZjjJHTDtnA8h8Zj8HwU5u3vR2qpNBrmF/m9znX8QrlWcAsXvoocPnpFKg 8C+p2Fe37oYXOw+dqYi3PB1oHf2J+UE/Rc/YfWzGbHzPxTPC7Ev3yAr6w6Pv1Z3hcH2a 1jxH9z7n1cYqX69ffzXuesoBfgoDOFgV8AHEbL2v49A/sN2SnBmX95t5K6BMxoMsFPYi o8wQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APf1xPDIqkVNQ2jNP0kKiGEq/Awbg39dFBMEm9U4wgAodBgKSvOK0tjr upTyys1YSgRUAwiZ8UxN1PA= X-Google-Smtp-Source: AH8x226vo340Mz1FXZHbY+3pVDy1PUmyaE+wWi+kndkJJ/D+SMaDP/T1aPT4EtOCQY6DAMG9p7ehcQ== X-Received: by 10.36.25.143 with SMTP id b137mr52289itb.2.1517831038650; Mon, 05 Feb 2018 03:43:58 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.85.147 with SMTP id e141ls1810980itb.3.canary-gmail; Mon, 05 Feb 2018 03:43:57 -0800 (PST) X-Received: by 10.36.29.148 with SMTP id 142mr27325174itj.10.1517831037710; Mon, 05 Feb 2018 03:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517831037; cv=none; d=google.com; s=arc-20160816; b=yLTfcW5ZhEY31DrfgPWpcIRoWjXBRqspuczwb+U0G9BmjE017KKnR9KbapGLo5vI2L oQAkDiRdnE1RN4Nq3YdFKi9wG/K3m5q4a2iUNjytryC/Ax8FrJ6WEkLIBRUJbInj0rKJ V8rpbR6zODmHbB689XIhjLR+LfGyqp/U69cbi/kU3ORLwAxw1enBH8Ky9fPO2pw1fBXe OBHzMxRRQJ3djYcZaG3n3JiAeZxuYLVzzW0Pm0OmjGzlkkxhVXl/gmyvvQ/3IqDeLq0J WC76Dk1/blQOzyXZW6aYUp7Kaea8V03CM9/iIcwejUPzrJr2CvEZm71JJp/9EDWUnioe /TSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:in-reply-to:subject:to:from:user-agent :references:dkim-signature:dkim-signature:arc-authentication-results; bh=aj6wHwMCJEMJar/8wsXks/ZLFKGKvmQIBolO4RWlLgk=; b=FNG7hA2ZGd8U1u+6I2rHKVbAb6VEVY6kbwp/NHcwVrRrwbBsSk4Muen58Bdgz9h3BK QSbj+XSj9QZG1mAPPXQTyTJLtiwqbTxM8D2mpe1204Zvh9s4iVcoyikd2NVvqjSehBGw LcwZru/Hm9c58nBbJKB79lk/Y7RUkukLWkXoKn8Yoro38sZhD9z6eslcH3MZHoxSlbg8 8j8CAxAKuewsRxWJ9US/FxNBAXZcxutc3gZLsipuEtSUvCkv+YbCq98bqb9vla9B40Nd rlLyMymOP/KNdKzp4buXYd5aPDAojGFFWXjYw1nY8saOsBw+xL7bNS3gyhWk6IgNWCEL 2csQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@fastmail.fm header.s=fm2 header.b=b+V3f9P5; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=FF/7Zr5N; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm Original-Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com. [66.111.4.29]) by gmr-mx.google.com with ESMTPS id p101si927534ioo.0.2018.02.05.03.43.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 03:43:57 -0800 (PST) Received-SPF: pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.29 as permitted sender) client-ip=66.111.4.29; Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1FD9C208B8 for ; Mon, 5 Feb 2018 06:43:57 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 05 Feb 2018 06:43:57 -0500 X-ME-Sender: Original-Received: from IdeaPad.fastmail.com (ip5f5acb4e.dynamic.kabel-deutschland.de [95.90.203.78]) by mail.messagingengine.com (Postfix) with ESMTPA id 7C5F07E520 for ; Mon, 5 Feb 2018 06:43:56 -0500 (EST) In-reply-to: X-Original-Sender: joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fastmail.fm header.s=fm2 header.b=b+V3f9P5; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=FF/7Zr5N; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:19457 Archived-At: On Mon, Feb 05 2018, Juliana Hoyl wrote: > > > Hi - I have been obtaining the following error whenever > attempting to > generate a .pdf from a .md file using a custom template: > > > Error producing PDF. > > ! Undefined control sequence. > > l.84 \includegraphics > > > I used to be able to generate the file using the template > without any > problems, and a colleague is also able to do the same. > > > I CAN generate a .pdf in the default pandoc template, however. > > > I have copied my template to the pandoc templates folder; there > is only one > graphic in the document and that file is ok - it makes no sense > to me why > this error should happen all of a sudden. > > > Anyone have this problem or have any ideas? Well, the default template includes some code to load the graphicx package and do some setup. You'll need to include this (or similar) code if you want to use images in your file. At the very least, you'll need to load the graphicx package. You may also need to check your LaTeX installation, it could be that something changed there that's the cause of this problem. HTH -- Joost Kremers Life has its moments