# couldn't compile book to pdf

#1

I had a bunch on poems I wrote in Hindi I was trying to compile them into a book. But I can't do that in pdf form.

This is what I get. I searched it and found out I had to install tinytex. I did it. But this is what I get

Please let me know if there is something I am supposed to do differently.

#2

The following is the commands I used to get tinytex installed. Does this follow what you also did?

``````install.packages('tinytex')

# Install tinytext
tinytex::install_tinytex(force = TRUE)

# Printout session info for tinytex
xfun::session_info('tinytex')

# Execute the tlmgr command to search for LaTeX packages,
# install packages, update packages, and so on.
tinytex::tlmgr_path()
``````

#3

This is the error it gave me while trying to install_tinytex

#4

According to Yihui:

There might be an error dialog or two about `luatex.dll` during the installation (like this), but that does not seem to hurt, and I just clicked “OK”. The installation directory is `%APPDATA%/TinyTeX` , where `APPDATA` is an environment variable that typically points to the path `C:\Users\Your Name\AppData\Roaming` .

So that error shouldn't be the cause of your problem. Is the installation in the AppData folder?

#5

Do I need to install any additional software for this to work.

#6

`tinytex` should take care of installing LaTex pacakges.

What does running `tinytex::tlmgr_path()` give you?

#7
``````tinytex::tlmgr_path()