-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Create a Japanese PDF #1001
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
Create a Japanese PDF #1001
Conversation
@echo "Running LaTeX files through pdflatex..." | ||
make -C $(BUILDDIR)/latex/$(LANG) all-pdf | ||
@echo "Running LaTeX files through platex and dvipdfmx..." | ||
$(MAKE) -C $(BUILDDIR)/latex/$(LANG) all-pdf-ja |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this not make all the other PDF's as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Japanese document needs "pdf-all-ja".
Other languages are not need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Makefile's LANG is "ja" only.
So, other LANG is not use this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PT's Makefile seems to have the same problem. See: https://github.com/cakephp/docs/blob/master/pt/Makefile#L105
Could you make this PR broader and make sure every language will have its own PDF?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the languages don't build properly on our production servers because of issues with pdflatex and typeface support. At least that's why the PDFs were disabled previously.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@suzuki When I get home I will try to generate the PDF on our servers and see what else should be fixed and what can be enabled already. Thanks for the fixes so far!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@renan Congratulations! I'm glad to be able to help PT community.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My own build server spec
- Debian 7.3
- Sphinx 1.2 + Python 2.7.6
- installed by easy_install
- TeX Live (http://tug.org/texlive) version 2013
- installed by install-tl script
build
$ cd docs/
$ git checkout feature/ja-pdf
$ make website
Result
@markstory If official buildserver used TeX Live 2013, we can build Japanese PDF as well. If not, can you install TeX Live 2013 to official build server ?
@suzuki are able to update this? |
No update since January this year 😿 |
About
Requirements
Testing
Mac OS X
Debian