Skip to content

make error, when generating doc/guide.pdf, LuaTeX #17220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
liigo opened this issue Sep 13, 2014 · 11 comments · Fixed by #21992
Closed

make error, when generating doc/guide.pdf, LuaTeX #17220

liigo opened this issue Sep 13, 2014 · 11 comments · Fixed by #21992

Comments

@liigo
Copy link
Contributor

liigo commented Sep 13, 2014

rustdoc: doc/guide.html
pandoc: doc/guide.tex
/usr/bin/pandoc --standalone --toc --number-sections --include-before-body=doc/version.tex --from=markdown --include-before-body=doc/footer.tex --to=latex /home/liigo/rust/rust/src/doc/guide.md --output=doc/guide.tex
latex compiler: doc/guide.pdf
This is LuaTeX, Version beta-0.70.2-2012070300 (TeX Live 2012/Debian)
 restricted \write18 enabled.
make: *** [doc/guide.pdf] Error 1
@kompass
Copy link

kompass commented Sep 18, 2014

Same error, with the last github version.

@nixpulvis
Copy link

Also getting this, I'm running the Yosemite GM 1. Not sure if it's related.

@chenyukang
Copy link
Member

I also getting this on MacOs

@liigo liigo changed the title make error make error, when generating doc/guide.pdf, LuaTeX Nov 4, 2014
@liigo
Copy link
Contributor Author

liigo commented Nov 4, 2014

Still getting this make error, like many others did. Anyone want to fix this? @brson @steveklabnik

@steveklabnik
Copy link
Member

I have no idea how to fix this, other than just installing xetex or however it's spelled

@liigo
Copy link
Contributor Author

liigo commented Nov 4, 2014

@steveklabnik The configure(or make) did find LuaTeX.

@brson
Copy link
Contributor

brson commented Nov 4, 2014

Sadly I don't have time to work on this right now. A simple fix would be to disable pdf generation unless specified in configure, or to require xetex.

@nixpulvis
Copy link

I don't think that LaTeX should be a dependency to build a programming language like Rust.

@steveklabnik
Copy link
Member

it seems reasonable to have the option to not build PDF docs if you don't want to

@th0114nd
Copy link
Contributor

I think I'm getting the same error, which is strange because I believe I was able to make docs a couple days ago. In the log, the complaint is that xunicode.sty is not found. As suggested above, xunicode.sty is included with MacPorts' texlive-xetex package and installing that allowed compilation of docs to go through.

@steveklabnik
Copy link
Member

NO_PDF_DOCS=1 will build without building the PDF docs

steveklabnik added a commit to steveklabnik/rust that referenced this issue Feb 6, 2015
None of the others work, so let's remove them.

Fixes rust-lang#17220.
bors added a commit that referenced this issue Feb 8, 2015
None of the others work, so let's remove them.

Fixes #17220.

r? @brson
lnicola pushed a commit to lnicola/rust that referenced this issue May 19, 2024
fix: Improve confusing literal hovers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants