This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% -*- coding: utf-8 -*- | |
%% | |
%% xpinyin package example | |
%% | |
%% How to compile: | |
%% | |
%% $ docker pull kauplan/xetex | |
%% $ mkdir -p build | |
%% $ opt="-halt-on-error -file-line-error -output-directory=build" | |
%% $ docker run --rm -it -v $PWD:/work kauplan/xetex /bin/bash -c "cd /work; xelatex $opt example1.tex" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% -*- coding: utf-8 -*- | |
\documentclass[uplatex,dvipdfmx,a5paper,10pt,papersize]{jsbook} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[deluxe]{otf} | |
\usepackage{lmodern} | |
\renewcommand{\headfont}{\gtfamily\sffamily\bfseries} | |
%% 日本語フォントを細いものに変更(Notoフォント前提) | |
\special{pdf:mapline uphminr-h unicode NotoSerifCJK-Light.ttc} % 明朝体 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% -*- coding: utf-8 -*- | |
\documentclass[uplatex,dvipdfmx,a5paper,14pt,papersize]{jsbook} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[deluxe]{otf} | |
\usepackage{lmodern} | |
\renewcommand{\headfont}{\gtfamily\sffamily\bfseries} | |
%% 日本語フォントを細いものに変更(Notoフォント前提) | |
\special{pdf:mapline uphminr-h unicode NotoSerifCJK-Light.ttc} % 明朝体 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% -*- coding: utf-8 -*- | |
\documentclass[uplatex,dvipdfmx,a5paper,10pt,papersize]{jsbook} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[deluxe]{otf} | |
\usepackage{lmodern} | |
\renewcommand{\headfont}{\gtfamily\sffamily\bfseries} | |
%% サンセリフ体のフォントを変更 | |
%% https://tug.org/FontCatalogue/roboto/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
## @(#) opensslコマンドでファイルを暗号化/復号する。 | |
## パスワードはパスワードファイルから自動的に読み込む。 | |
## | |
## 事前準備: | |
## $ vi ~/.pass # パスワードファイルを作成 | |
## $ sudo chown ~/.pass # 所有者を root に変更 | |
## $ sudo chmod 600 ~/.pass # root のみアクセス可能に変更 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% -*- coding: utf-8 -*- | |
%% | |
%% 使い方: | |
%% | |
%% 1. config.ymlがあるのと同じディレクトリに「_cover.tex」を保存。 | |
%% 2. _covert.texの内容を適当に変更。 | |
%% 3. config.ymlの最後のほうに、「 coverfile: _cover.tex」を追加(以下を参照)。 | |
%% 4. rake pdfを実行 | |
%% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## リポジトリをローカルにコピー(オリジナルからforkした場合) | |
git clone https://github.com/yourname/c93-onestop-techbook.git . | |
git remote add upstream https://github.com/onestop-techbook/c93-onestop-techbook.git | |
## リポジトリをローカルにコピー(forkせずにオリジナルを直接使う場合) | |
git clone https://github.com/onestop-techbook/c93-onestop-techbook.git . | |
## トピックブランチを作る | |
git branch | grep '^\*' # 現在のブランチを確認 | |
git fetch upstream # リポジトリをforkしてない場合は不要 |
NewerOlder