Skip to content

Commit

Permalink
use pxjahyper package even in platex
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed May 8, 2016
1 parent c7c2838 commit 1659266
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions templates/latex/layout.tex.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,7 @@
\usepackage[dvipdfmx,bookmarks=true,bookmarksnumbered=true,colorlinks=true,%
pdftitle={<%= @config.name_of("booktitle") %>},%
pdfauthor={<%= @config.names_of("aut").join(I18n.t("names_splitter")) %>}]{hyperref}
<%- if @texcompiler == "uplatex" -%>
\usepackage[dvipdfmx]{pxjahyper}
<%- else -%>
\ifnum 46273=\euc"B4C1 % 46273 == 0xB4C1 == 漢(EUC-JP)
\AtBeginShipoutFirst{\special{pdf:tounicode EUC-UCS2}}%
\else
\AtBeginShipoutFirst{\special{pdf:tounicode 90ms-RKSJ-UCS2}}%
\fi
<%- end -%>

<%- if ["utbook", "tbook"].include?(@documentclass) -%>
\newcommand{\headfont}{\gtfamily\sffamily\bfseries}
Expand Down

0 comments on commit 1659266

Please sign in to comment.