Commits

Georg Brandl committed ead8d0d Merge

Merge with 1.0.

Comments (0)

Files changed (12)

File contents unchanged.

File contents unchanged.

Add a comment to this file

sphinx/ext/autosummary/__init__.py

File contents unchanged.

File contents unchanged.

Add a comment to this file

sphinx/locale/fi/LC_MESSAGES/sphinx.po

File contents unchanged.

Add a comment to this file

sphinx/locale/fr/LC_MESSAGES/sphinx.po

File contents unchanged.

Add a comment to this file

sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po

File contents unchanged.

Add a comment to this file

sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po

File contents unchanged.

sphinx/texinputs/Makefile

 all-dvi: $(ALLDVI)
 all-ps: all-dvi
 	for f in *.dvi; do dvips $$f; done
-all-pdf-ja: $(wildcard *.tex)
-	ebb $(wildcard *.pdf *.png *.gif *.jpeg)
-	platex -kanji=utf8 $(LATEXOPTS) '$<'
-	platex -kanji=utf8 $(LATEXOPTS) '$<'
-	platex -kanji=utf8 $(LATEXOPTS) '$<'
-	-mendex -U -f -d '$(basename $<).dic' -s python.ist '$(basename $<).idx'
-	platex -kanji=utf8 $(LATEXOPTS) '$<'
-	platex -kanji=utf8 $(LATEXOPTS) '$<'
-	dvipdfmx '$(basename $<).dvi'
+
+all-pdf-ja:
+	for f in *.pdf *.png *.gif *.jpg *.jpeg; do ebb $$f; done
+	for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
+	for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
+	for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
+	for f in *.idx; do mendex -U -f -d "`basename $$f .idx`.dic" -s python.ist $$f; done
+	for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
+	for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
+	for f in *.dvi; do dvipdfmx $$f; done
 
 zip: all-$(FMT)
 	mkdir $(ARCHIVEPREFIX)docs-$(FMT)
 	rm -f *.dvi *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla
 
 .PHONY: all all-pdf all-dvi all-ps clean
+.PHONY: all-pdf-ja
 

sphinx/writers/latex.py

             if lang:
                 self.elements['classoptions'] += ',' + babel.get_language()
             elif builder.config.language == 'ja':
-                self.elements['classoptions'] += ',english,dvipdfm'
+                self.elements['classoptions'] += ',dvipdfm'
                 # not elements of babel, but this should be above sphinx.sty.
                 # because pTeX (Japanese TeX) cannot handle this count.
-                self.elements['babel'] += r'\newcount\pdfoutput\pdfoutput=0'
+                self.elements['babel'] = r'\newcount\pdfoutput\pdfoutput=0'
                 # to make the pdf with correct encoded hyperref bookmarks
                 self.elements['preamble'] += \
                     r'\AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}'

File contents unchanged.

Add a comment to this file

tests/test_build_latex.py

File contents unchanged.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.