Comments (6)
Adding the line
\usepackage{graphicx} % Needed to insert images into the document
and using 'true' and 'false', instead of 'yes' and 'no', works!
from helpful_lab_materials.
And when I %% out the watermark and delete the "draft" line from the markdown file I get some other error about the Image file...
from helpful_lab_materials.
this error:
Error producing PDF.
! Undefined control sequence.
<argument> \includegraphics
[height=1in]{./Stanford.pdf}
l.62 ...or International Security and Cooperation}
from helpful_lab_materials.
My first guess would be that it has something to do with that final error you mentioned (the watermark itself is at line 57 - 60 in cltemplate.tex
. Hopefully this gets clearer after #1 is fixed.
from helpful_lab_materials.
from helpful_lab_materials.
I am on macOs, installed pandoc (2.3) with brew, and still have the same bug.
From http://pandoc.org/MANUAL.html (search for "Using Variables in templates") I understand that boolean variables as YAML should take the values 'true' or 'false', rather than 'yes' or 'no'.
In fact, commenting line 57-60 in cltemplate.tex (or deleting them) gives the same error if the YAML value is set as "draft: false".
I do not understand why - under these circumstances - one gets the error
! Undefined control sequence.
\includegraphics
It is as if the (LaTeX) package to include graphics is not included explicitly but it gets "inherited", so to speak, by the watermark package inclusion....
from helpful_lab_materials.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helpful_lab_materials.