Skip to content

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

Closed
wants to merge 1 commit into from
Closed

Create a Japanese PDF #1001

wants to merge 1 commit into from

Conversation

suzuki
Copy link
Member

@suzuki suzuki commented Jan 6, 2014

About

  • Create a Japanese PDF.

Requirements

  • Sphinx 1.2
    • Makefile target of "all-pdf-ja" is available in Sphinx 1.2.

Testing

Mac OS X

  • Mac OS X 10.9.1
  • MacTeX 2013
  • Sphinx 1.2 (Python 2.7.3)

Debian

  • Debian 7.3 (x86_64)
  • TexLive 2013
  • Sphinx 1.2 (Python 2.7.6)

@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
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member Author

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.

Copy link
Contributor

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?

Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renan Perhaps, PT docs had another problem. see #1006 .

Copy link
Contributor

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!

Copy link
Member Author

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.

Copy link
Member Author

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

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 ?

@ravage84
Copy link
Member

@suzuki are able to update this?

@ravage84
Copy link
Member

ravage84 commented Nov 4, 2014

No update since January this year 😿
We can open this up again, once someone wants to tackle this.

@ravage84 ravage84 closed this Nov 4, 2014
@ravage84 ravage84 added this to the 2.x milestone Apr 24, 2017
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 this pull request may close these issues.

4 participants