Giter Club home page Giter Club logo

Comments (6)

mgiugliano avatar mgiugliano commented on June 4, 2024 1

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.

annaweichselbraun avatar annaweichselbraun commented on June 4, 2024

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.

annaweichselbraun avatar annaweichselbraun commented on June 4, 2024

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.

Microbiology avatar Microbiology commented on June 4, 2024

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.

annaweichselbraun avatar annaweichselbraun commented on June 4, 2024

from helpful_lab_materials.

mgiugliano avatar mgiugliano commented on June 4, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.