# retain index tex file from bookdown project

I've been asked by my publisher to send an index tex file (perhaps `index.tex`?), and I have no idea how to get it.

Right now, I build my project with `bookdown::render_book(output_format = "bookdown::pdf_book")`, and it successfully generates the pdf file. However, I think it's cleaning up all the intermediate files after the final file is generated.

I have tried this solution, and this one, but to no avail. I appreciate any help you're able to offer.

Sorry, dumb question. There's no separate index .tex file. Bookdown calls pandoc to generate one overall .tex file, and the index is made inside that file at the very end with \printindex.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.