public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* l.84 \includegraphics error
@ 2018-02-05  8:25 Juliana Hoyl
       [not found] ` <e1987250-6b37-4706-b7b3-af0169e08235-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Juliana Hoyl @ 2018-02-05  8:25 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1221 bytes --]

 

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?


TIA

-- 
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/e1987250-6b37-4706-b7b3-af0169e08235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2469 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: l.84 \includegraphics error
       [not found] ` <e1987250-6b37-4706-b7b3-af0169e08235-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-02-05 11:43   ` Joost Kremers
  2018-02-05 22:24   ` John MACFARLANE
  1 sibling, 0 replies; 3+ messages in thread
From: Joost Kremers @ 2018-02-05 11:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: l.84 \includegraphics error
       [not found] ` <e1987250-6b37-4706-b7b3-af0169e08235-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2018-02-05 11:43   ` Joost Kremers
@ 2018-02-05 22:24   ` John MACFARLANE
  1 sibling, 0 replies; 3+ messages in thread
From: John MACFARLANE @ 2018-02-05 22:24 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Do you have

\usepackage{graphicx} in your template?
Actually, check the default latex template; there is a bit
of additional associated stuff around this that you'll want
too.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-05 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-05  8:25 l.84 \includegraphics error Juliana Hoyl
     [not found] ` <e1987250-6b37-4706-b7b3-af0169e08235-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-02-05 11:43   ` Joost Kremers
2018-02-05 22:24   ` John MACFARLANE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).