couldn't compile book to pdf



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.


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


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

# Printout session info for tinytex

# Execute the tlmgr command to search for LaTeX packages,
# install packages, update packages, and so on.


This is the error it gave me while trying to install_tinytex



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?


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


tinytex should take care of installing LaTex pacakges.

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

tlmgr path add
Use of uninitialized value in bitwise or (|) at C:\Users\201101~1\AppData\Roaming\TinyTeX\texmf-dist\scripts\texlive\ line 1482.

Please let me know if I can do something with it.


Please let me know if there is something I could do additionally