Coder Social home page Coder Social logo

c92-splatoon2guide's Introduction

負けたくない!Splatoon2 CircleCI

この本のビルドの仕方

細かい準備(TeX入れたり)は『技術書をかこう!』に準じます。

TeXの導入をしない場合でもHTML出力は可能です。Dockerコンテナでビルドすることもできます。

執筆環境の準備

本書はAtomlanguage-reviewlinter-redpenを導入している前提です。 内部的にRedPenを利用するため、 brew install redpen とかしておいてください。

Atom以外の環境の場合、prhまたはreviewjs-prhとRedPenを自力でなんとか頑張って適用してください。

警告やlintのエラーを放置して編集に突入してしまうと編集担当が過労で死にます。 RedPenは試験的に導入したため、知見やルールについてまだ固まっていません。 意見・感想・修正案などあればIssueやpull requestでお知らせください。

PDF出力する

rbenvやnodebrewを利用してRubyやNode.jsの準備をしている前提です。 必要であれば適宜sudoを補うこと。 Node.jsは6.x系以上が必須です。

$ gem install bundler
$ git clone https://github.com/vvakame/C92-Splatoon2Guide.git
$ cd C92-Splatoon2Guide
$ git submodule init && git submodule update
$ npm install
$ npm run pdf

Dockerを使う

TeXの環境構築が困難な場合、一式セットアップ済みのdockerイメージを用意してあるので使ってください。 Dockerがうまく動くようになっている場合、以下のコマンドで細かい準備なしにビルドを行うことができます。

$ ./build-in-docker.sh

c92-splatoon2guide's People

Contributors

takahashim avatar vvakame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

c92-splatoon2guide's Issues

本文行間をもうすこし広く

レイアウトですが,本文の行間が狭いんじゃないかと思います.
単純には次で古典的(!)な比率になります(数式まわりのスペースは変えていません).

\renewcommand{\normalsize}{%
  \jsc@setfontsize\normalsize{10}{17.5}
  \abovedisplayskip 11\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
  \abovedisplayshortskip \z@ \@plus3\jsc@mpt
  \belowdisplayskip 9\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
  \belowdisplayshortskip \belowdisplayskip
  \let\@listi\@listI}
\normalsize

とりあえずはtechbooster-doujin.styの先頭にでもいれればよいのですが,
次の問題があります

  • 現行よりページ数が32→45と増えます
  • 印象が変わります.
  • 目次と奥付の行間も変わります

(コレRe:VIEWの利用するTeXのクラスファイルの方の話になりそうです.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.