Document ClassesLaTeX 'memoir' not found error, page a day calender

Information and discussion about specific document classes and how to create your own document classes.
3tuxedo
Posts: 7
Joined: Wed Aug 29, 2012 5:52 pm

LaTeX 'memoir' not found error, page a day calender

Post by 3tuxedo »

Hey guys, i'm very new to LaTeX, but i love how thew possibilities are endless. It is very interesting to me and i hope to learn a lot more about it. Anyway, the reason i stumbled across it is because i want to make my own page a day calender. Someone have posted on a blog about how to do this using LaTeX, and it caught my attention. Here is the code he used.

Code: Select all

\documentclass[17pt,oneside,final,showtrims]{memoir}
\usepackage{marvosym}

\setstocksize{11in}{8.5in}

\settrims{0in}{0in}

\settrimmedsize{4in}{6in}{*}
\settypeblocksize{3.5in}{1.75in}{*}
\setlrmargins{0.25in}{*}{*}
\setulmargins{0.05in}{*}{*}
\setheadfoot{0.01in}{0.1in}
\setheaderspaces{*}{*}{*}
\setmarginnotes{0.25in}{3.5in}{0in}

\checkandfixthelayout

\pagestyle{empty}

\usepackage[final]{graphicx}

\pagestyle{empty}

\newcommand{\daypage}[6] {
  \marginpar{\includegraphics[height=3.4in,width=3.4in,keepaspectratio]{imgs/#1.pdf}}
  \begin{center}
    \Large{#2} \\
    \HUGE{\textbf{#3}} \\
    \large{#4}

    \vspace{0.4in}
    \small{#5}

    \vspace{0.2in}
    \scriptsize{\textit{#6}}
  \end{center}
  \newpage
}

\begin{document}
  % Cover page
  %\marginpar{\includegraphics[height=3.4in]{imgs/cover.pdf}}
  %\newpage

  \include{tex-days}
\end{document}
Now when i plug that in, i get 3 errors,
-LaTeX Error, file 'memoir.cls' not found
-Emergency stop
-PDF not created

does anyone have any ideas why this is? It may be something really simple but again, i am new to this, thanks so much.

p.s. here are the links to the websites im using.
http://psung.blogspot.com/2009/06/makin ... endar.html
http://blog.mattj.me/latex-page-a-day-calendar
Last edited by Stefan Kottwitz on Wed Aug 29, 2012 6:28 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

LaTeX 'memoir' not found error, page a day calender

Post by Stefan Kottwitz »

Hi,

welcome to the board!

This means, that the memoir class is not installed on your system. Which TeX distribution do you use - TeX Live, MiKTeX, or a Linux repository TeX version? Use the package manager of the teX distribution or Linux system and install memoir.

Stefan
LaTeX.org admin
3tuxedo
Posts: 7
Joined: Wed Aug 29, 2012 5:52 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by 3tuxedo »

Thank you so much for your reply, I went in to my package manager and installed memoir. Will i also need to install marvosym as well?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by Stefan Kottwitz »

It depends on if it's already installed. Just try, the compiler will tell you. And it can be seen in the package manager, if it's tlmgr (TeX Live) or mpm (MiKTeX).

Stefan
LaTeX.org admin
3tuxedo
Posts: 7
Joined: Wed Aug 29, 2012 5:52 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by 3tuxedo »

Oh ok that makes sense, I installed them, and when i build it, it says no errors or anything, but in the report it says,

(There were 3 error messages)
Couldn't find input index file C:\Users\Dustin\Desktop\MHM\LaTeX3 nor C:\Users\Dustin\Desktop\MHM\LaTeX3.idx

also, when i click F5, my PDF viewer opens, but it is empty. Once again i am very new to this so please excuse my incompetence.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by Stefan Kottwitz »

No problem if you are new to this topic.

It seems that your editor (which one is it?) tries to call makeindex, which produces an index for documents such as books. Find this settings in your editor preferences or in the output profile, and switch it off.

Stefan
LaTeX.org admin
3tuxedo
Posts: 7
Joined: Wed Aug 29, 2012 5:52 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by 3tuxedo »

I am using MiKTeX 2.9, I will have to do some searching to turn off that option. You said it would be in the preferences?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by Stefan Kottwitz »

In the editor preferences (TeXnicCenter?), not in the MiKTeX preferences. MiKTeX provides the LaTeX environment, but it can be used with a lot of different editor programs.

Stefan
LaTeX.org admin
3tuxedo
Posts: 7
Joined: Wed Aug 29, 2012 5:52 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by 3tuxedo »

Ohh my bad, yes, TeXnicCenter. sorry about that.
3tuxedo
Posts: 7
Joined: Wed Aug 29, 2012 5:52 pm

Re: LaTeX 'memoir' not found error, page a day calender

Post by 3tuxedo »

In my project settings, i had checked 'uses BibTeX' before. but the one that says 'uses MakeIndex' is not checked.
Post Reply